:root {
    --font-size-base: 16px;
    --font-size-scale: 1vw;
  }
  
  html {
    font-size: var(--font-size-base);
    line-height: 1.8;
     }
  
  body {
    font-size: 1rem; font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif !important;
   
  }
  h1,
  .fsLL {
    font-size: calc(2rem + var(--font-size-scale));
  }
  
  h2,
  .fsL {
    font-size: calc(1.2rem + var(--font-size-scale));
    font-weight: normal;
  }
  
  h3,
  .fsM {
    font-size: calc(.7rem + var(--font-size-scale));
  }
  
  p, li, a, .fsS {
    font-size: calc(.1rem + var(--font-size-scale));
    font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif !important;
  }
  a{
    text-decoration: none;
  }
  a:hover{
    cursor: pointer;
    transition: ease .7s;
  }
  li{
    list-style: none;
  }
  span.ib{
    display: inline-block
  }
.section-inner{
  padding: 10% 20%;
}
@media screen and (max-width: 768px) {
    :root {
      --font-size-base: 20px;
    }
    h2,
    .fsL {
      font-size: calc(1rem + var(--font-size-scale));
    }
    p, li, a, .fsS {
      font-size: calc(.6rem + var(--font-size-scale));
     }.section-inner{
      padding: 10% 1rem;
    
  }
}
  
  @media screen and (min-width: 1920px) {
    :root {
      --font-size-base: 18px;
      --font-size-scale: 0.5vw;
    }
  }

/***************/
.trigger-f {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transform: translateY(5px);
}

.trigger-f.fade {
  opacity: 1;
  transform: translateY(0px);
}

.delay01 {
  transition-delay: 0.3s;
}

.delay02 {
  transition-delay: 0.6s;
}

.delay03 {
  transition-delay: 0.9s;
}
.delay04 {
  transition-delay: 1.2s;
}
.delay05 {
  transition-delay: 1.5s;
}
/*------------------------------------------------------
/
/ [ header ]
/
/-------------------------------------------------------*/
header{
  position: fixed;
  width: 100%;
  top:0;
  display: flex;
  padding: 0 0 0 1rem;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  z-index: 9;
  height: 70px;
}
.noscroll {
  overflow: hidden; /* スクロールを無効にする */
}

/* デスクトップ環境でのみ padding-right を適用 */
@media (min-width: 768px) {
  .noscroll {
    padding-right: 17px; /* デスクトップのスクロールバーの幅を確保 */
  }
}

/****************************/
body header {
  background-color:none;
  transition: background-color 0.7s ease;
}

body.scrolled header {
  background-color:#fff;
  box-shadow: rgba(0,0,0,0.1) 0px 5px 5px;
}
/*logo*/
header a.logo{
  min-width: 260px;
  transition: 0.7s;
  background-image: url(../image/svg/counter-logo-yoko-blue.svg);
  height: 45px;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
}
header a.logo:hover{
  opacity: 0.5;
}

body.scrolled header a.logo{
  background-image: url(../image/svg/counter-logo-yoko-blue.svg);
}
.menu-toggle {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 0;
  cursor: pointer;
  background-color: #0B467A;
  padding:26px 20px;
  height: 70px;
}

.menu-icon {
  width: 30px;
  height: 20px;
  position: relative;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { bottom: 0; }

.menu-icon.active span {
  background: #fff; /* メニューが開いているときは白色に変更 */
}

.menu-icon.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-icon.active span:nth-child(2) {
  transform: translateY(-8.5px) rotate(-45deg);
}



@media screen and (max-width: 768px){
  header{
    height: 50px;
    padding:0 0 0 .5rem;
  } 
  
  .menu-toggle {
    padding:16px 10px;
    height: 50px;
  }
  
/*logo*/
header a.logo{
  width: 160px;
 height: 30px;align-content;
	background-position:left
}

body.scrolled header a.logo{
  background-position: left;
}
  .menu-icon {
    width: 28px;
    height: 17px;
    position: relative;
  }
  .menu-icon.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  
  .menu-icon.active span:nth-child(2) {
    transform: translateY(-8px) rotate(-45deg);
  }
  }
.menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background:#0B467A;
  transition: top 0.5s ease .1s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu.active {
  top: 0;
}

.menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.menu ul li {
  margin: 20px 0;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  transition: opacity 0.4s ease;
}

.menu ul li a:hover {
  opacity: .5;
}

@media screen and (max-width: 768px){


  
  .menu ul {
    list-style: none;
    padding: 0;
    text-align: center;
    width: 100%;
  }
  
  .menu ul li {
    margin: 20px 0;
    border-bottom:dotted #fff 1px;
    padding-bottom: 20px;
  }
  .menu ul li a{

  display: block;
  width: 100%;
  height: 100%;

  }
  
}
/*------------------------------------------------------
/
/ [ footer ]
/
/-------------------------------------------------------*/
footer{
  background-color: #0B467A;
  color: #fff;
  position: relative;
  text-align: center;
}
footer ul{
  padding: 6% 0 0;
  display: flex;
  gap:0 40px;
  justify-content: center;
}
footer ul a{
  color: #fff;
  transition: ease .4s;
}
footer p{
  letter-spacing: 2px;
  text-align: center;
  font-size: xx-small;

}
footer a.pgtop{
  background-color: #0f233d;
  width: 60px;
  height: 120px;
  position: absolute;
  right: 0;
  top:50%;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  transform: translateY(-50%);
  background-image: url(../image/svg/c-pagetop.svg);
  background-repeat: no-repeat;
  background-size: 9px;
  padding: 20px;
  background-position: center left 9px, center;
  transition: ease .4s;
}
footer a.pgtop svg{
  height: 70px;
}

footer a.pgtop:hover {
  top:48%;
  transform: translateY(-48%);
  background-color: #131313;
}
footer ul a:hover{
  opacity: .5;
}
footer a.instagram{
  width: 40px;
  height: 40px;
  margin: 2% auto;
  display: inline-block;
  background-image: url(../image/svg/icon_instagram.svg);
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center;
  transition: ease .3s;
}
footer a.instagram:hover{
  background-size: 35px;
}
@media screen and (max-width: 768px) {
  footer ul{
    padding: 0;
    gap:0;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }
  footer ul a{
    border-bottom: dotted #4875b0 1px;
    width: 100%;
    padding: .9rem 2rem;
    transition: ease .4s;
  }
  footer ul a:hover{
    background-color: #131313;
    transition: ease .4s;
    padding-left: 2.5rem;
    opacity: 1;
  }
}
/*------------------------------------------------------
/
/ [ hero ]
/
/-------------------------------------------------------*/
.hero{
  background:url();
  background-size: cover;
  position: relative;
  margin-top: 70px;
  overflow: hidden;
}
.hero h1{
  position: relative;
  color: #fff;
  font-weight: normal;
  font-size: calc(1.1rem + var(--font-size-scale));
    text-align: center;
    letter-spacing: 0.1em;
    position: relative;
    color: #fff;
    padding: 110px 0px;
    transition: .8s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: anmblur 2s forwards;
}

@media screen and (max-width: 768px){
  
.hero{
  margin-top: 50px;
}
.hero h1{
    padding: 70px 0px;
}

}
@keyframes anmblur {
  from {
    filter: blur(12px);
    opacity: 0;
  }
  to {
    filter: blur(0);
    opacity: 1;
  }
}
.hero:before{
  animation: anm-hero 3s ease-out forwards .5s;
  position:absolute;
  right: -20px;
  top:0;
  width: calc(100% + 50px);
  background-color:#0F243D;
  height: 100%;
  content: "";
  transform: skewX(10deg);
}
.hero:after{
  animation: anm-hero 3s forwards .4s;
  position:absolute;
  right: -20px;
  top:0;
  width: calc(100% + 50px);
  background-color:  rgb(255, 255, 255);
  height: 100%;
  content: "";
  transform: skewX(10deg);
}
@keyframes anm-hero {
  from {
    right: -20px
  }
  to {
    right:-120%
  }
}
/*------------------------------------------------------
/
/ [ service ] -common
/
/-------------------------------------------------------*/
.h-hero{
  background:url(../image/s_hero_bg.jpg);
  background-size: cover;
}
ul.s-menu {
  background-color: #0B467A;
  display: flex;
  justify-content: space-evenly;
  padding: 1rem 0;
  position: sticky;
  top:70px;
  z-index: 1;
}

ul.s-menu a{
  color: #fff;
  display: block;
  width: 100%;
  height: 100%;
  transition: ease .4s;
}
ul.s-menu a:hover{
  opacity: .5;
}

.wrap_ttl{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
section.service .wrap_ttl:before{
  content: "";
  width: 1px;
  height: 70px;
  background-color: #000;
  position: absolute;
  top:100px;
  left: 50%;
  transform: translateX(-50%);
}

.wrap_ttl p{
	margin:7% 1rem
}
section.service .wrap_ttl p{
margin: 200px 0 100px;
position: relative;
}
section.service .wrap_ttl p.fsL {
	font-size: calc(.7rem + var(--font-size-scale));
}
section.service .wrap_ttl br{
	display:none
}

.wrap_ttl-s{
  font-size: medium;
  text-align: center;
}
.wrap_ttl-s p{
  
margin: 8% 0;
}
section.service h3{
  position: relative;
  margin-bottom: 30px;
  border-bottom: solid gray 1px;
  padding-left: 1rem;
}
section.service h3:before{
  content: "";
  width: 8px;
  height: 100%;
  background-color: #0B467A;
  position: absolute;
  left: 0;

}
section.service h3 span{
  display: inline-block;
}
@media screen and (max-width: 768px) {

  ul.s-menu {
    position: relative;
    top:0px;
  }
  
  ul.s-menu {
    flex-wrap: wrap;
    justify-content:center;
    padding:0 ;
    gap:0
  }
  ul.s-menu li{
    padding:20px 0 20px 10px ;
    width: 100%;
    border-bottom:  dotted #668bbb 1px;
    position: relative;
  }
  ul.s-menu li:after{
    content: "";
    color: #fff;
    position: absolute;
    top:50%;
    right: 30px;
    transform: translateY(-50%)  rotate(45deg);
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    width: 9px;
    height: 9px;
  }
  ul.s-menu li:last-child{
    border-bottom:  none
  }
	.wrap_ttl-s {
		padding: 10% 1rem;
	}
}
/*------------------------------------------------------
/
/ [ all-press ] 
/
/-------------------------------------------------------*/
.p-hero{
  background:url(../image/pr_hero_bg.jpg);
  background-size: cover;
}
.all-press li{
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  border-bottom: dotted 1px #333;
  padding-bottom: 50px;
  position: relative;
}

.all-press li span:nth-child(1){
  word-break: keep-all;
  margin-right: 30px;
}
.all-press li ol{
  display: inline;
  word-break: keep-all;
  width: 15%;
  margin-right: 30px;
}
.all-press li ol span{

  background-color: #0B467A;
  color: #fff;
  padding: 4px 8px;
}
@media screen and (max-width: 768px) {

  .all-press li span:nth-child(1){
    word-break: keep-all;
    margin-right: 0;
    font-size: .6rem;
  }
  .all-press li{
    align-items:flex-start;
    margin-bottom: 30px;
    padding-bottom: 30px;
    flex-direction: column;
  }
  .all-press li ol{
    margin-bottom: 10px;
  }
.all-press li ol span{

  padding: 2px 4px;
  position: absolute;
  top:0;
  right: 0;
  font-size: .5rem;
}
}
/*------------------------------------------------------
/
/ [ reqruit ] 
/
/-------------------------------------------------------*/
.r-hero{
  background:url(../image/r_hero_bg.jpg);
  background-size: cover;
}
.reqruit table th{
  background-color: #f6f6f6;
  width: 30%;
}
.reqruit-contact{
  background-image: url(../image/r-contact-bg.jpg);
  padding: 10%;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items:center;
}

.reqruit-contact p span{
  color: #22508B;
}
.reqruit-contact p,
.reqruit-contact a
{
flex:1;
}
.reqruit-contact a{
  background-color: #fff;
  padding:30px;
  display: inline-block;
  max-width: 400px;
  color: #22508B;
  position: relative;
  transition: ease .4s;
}
.reqruit-contact a:hover{
  box-shadow: 5px 4px 10px rgba(1,1,1,.1);
  transform: translateY(-3px);
  background-color: #22508B;
  color: #fff;
}
.reqruit-contact a span:before{
  content: "ENTRY";
  display: block;
  font-size: 2rem;
}
.reqruit-contact a:after{
  content:"";
  height: 0; width: 0;
border: solid;
border-color: rgba(0, 0, 0, 0);
border-right-color: #22508B;
border-width: 50px 50px 0px 0px;
position: absolute;
bottom:0;
right: 0;
transition: ease .4s;
}
.reqruit-contact a:hover:after{
border-right-color: #fff;
transition: ease .4s;
border-width: 40px 40px 0px 0px;
transition: ease .4s;
}
/**/


#cb{
  display: none;
}

.more_btn{
  display: block;
  position: relative;
  margin: 1em auto 0;
  padding: 8px 16px;
  border: 1px solid #999;
  text-align: center;
  cursor: pointer;
}
#cb ~ .more_btn::before{
  content: "＋ 詳細をもっと見る";
}
#cb:checked ~ .more_btn::before{
  content: "閉じる";
}
#cb ~ .more_btn::after{
  content: "";
  position: absolute;
  top: calc(-6em - 1px);
  left: 0;
  width: 100%;
  height: 6em;
  background: linear-gradient(transparent,#ffffff);
}
#cb:checked ~ .more_btn::after{
  display: none;
}

.more_wrap{
  display: none;
}
#cb:checked ~ .more_wrap{
  display: block;
}


/**/

@media screen and (max-width: 768px){

  .reqruit table th{
    width: 100%;
  }
  
  .reqruit table th,
  .reqruit table td {
    border-bottom: none;
    display: block;
    width: 100%;
  }
.reqruit-contact{
  flex-direction: column;
  padding: 20% 1rem;
}

.reqruit-contact p{
margin-bottom: 30px;
}
.reqruit-contact a{
  padding:10px;
  max-width: 80%;
  min-width: 80%;
}
.reqruit-contact a span:before{
  font-size: calc(1.2rem + var(--font-size-scale));
}

.reqruit-contact a:after{
border-width: 30px 30px 0px 0px;
}
}
/*------------------------------------------------------
/
/ [ c-table ] 
/
/-------------------------------------------------------*/
table {
  width: 100%;
  border-collapse: collapse;
}
.tbl-r02 th {
  border-bottom: solid 1px #ccc;
  padding: 2rem 0;
}
.tbl-r02 td {
 border-bottom: solid 1px #ccc;
  padding: 2rem;
} 
.tbl-r02 td p:not(:last-child){margin-bottom: 30px;
} 
.last th{
  border-bottom:none;
}
.last td {
  border-bottom: none;
}
 
@media screen and (max-width: 640px) {

  table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
  }
  .tbl-r02 th{
    padding: 1rem 0;
  }
  .tbl-r02 td{
    text-align: left;
    padding: 20px;
  }
}
 
/*------------------------------------------------------
/
/ [ company ] 
/
/-------------------------------------------------------*/
.co-hero{
  background:url(../image/co_hero_bg.jpg);
  background-size: cover;
}
.co-sec h2{
  font-size: 1rem;
  margin-bottom: 50px;
}
.co-sec h2:before{
  content: "";
  display: block;
  color: #22508B;
  font-size: 4rem;
  letter-spacing: 10px;
  font-size: calc(2.5rem + var(--font-size-scale));
}
.co-message h2:before{
  content: "MESSAGE";
}
.co-message p:last-child{
text-align: right;
margin-top: 1rem; 
font-size: .9rem;
}
.co-info h2:before{
  content: "INFO";
}.co-access h2:before{
  content: "ACCESS";
}
.co-info{
  background-color: #ebeff7;
}
.co-info table {
  text-align: left;
}
.co-info table th{
  width: 25%;
}
.co-access iframe{
  margin-bottom: 50px;
  width: 100%;
  height: 450px;
}
.co-access-detail{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
}
.co-access-detail a{
  background-color: black;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  width: 250px;
  gap:30px
}
.co-access-detail a svg{
  max-width: 40px;
  transition: 0.8s;

}


.co-access-detail a{
  transition: 0.8s;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.co-access-detail a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #22508B;
  transform: translateX(-100%);
  transition: 0.8s;
  z-index: -1;
}
.co-access-detail a:hover svg{
transform: translateX(10px);
transition: 0.8s;
}
.co-access-detail a:hover:before {
  transform: translateX(0);
}

.solid-arrow{
    fill: #fff;
    stroke: #fff;
    stroke-width: 1px;
    fill-rule: evenodd;
}

@media screen and (max-width:768px){

.co-sec h2:before{
  font-size: calc(1.5rem + var(--font-size-scale));
}
  .co-access-detail{
    justify-content:center;
    align-items: center;
    flex-direction: column;
    gap:20px 0
  }
}

/*------------------------------------------------------
/
/ [ contact ] 
/
/-------------------------------------------------------*/
.cnt-hero{
  background:url(../image/idx_kv_bg.jpg);
  background-size: cover;
}
/******************************/
/** コンタクトフォームの装飾 **/
/******************************/
/*　フォーム全体　*/
#wrap_form {
  width:100%;
  margin: 0 auto 50px;
  padding: 0 20%;
  }
  
  .row {
  display: flex;
  align-items: flex-start;
  justify-content:flex-start;
  margin: 0 0 1.75em;
  }
  
  .row-q {
  width: 30%;
  margin: 0 0 0 10px;
  }
  
  .row-a {
  width: 60%;
  }

  /* 各項目共通 */
  #wrap_form label{
  font-weight:bold;
  }
  
  #wrap_form input[type="text"],#wrap_form input[type="email"],#wrap_form input[type="tel"],#wrap_form textarea {
  background: #F0F8FF;
  width:100%;
  margin-left:10px;
  }
  
  #wrap_form input[type="text"]:focus,#wrap_form input[type="email"]:focus,#wrap_form input[type="tel"]:focus,#wrap_form textarea:focus {
  background: #FFE4E1;
  border: 2px solid #FF1493;
  outline: 0;
  }
  
  #wrap_form input[type="checkbox"], #wrap_form input[type="radio"]{
  appearance: auto;
  }
  
  #wrap_form .wpcf7-list-item {
  display: block;
  }
  
  #wrap_form textarea{
  height:200px;
  padding: 0.625em 0.4375em;
  }
  
  .cf7-accept-check{
  text-align: center;
  margin: 50px auto;
  }
  
  .form-submit {
  width: 40%;
  margin: 0 auto;
  text-align: center;
  padding: .5rem 0;
  }
  
  #wrap_form input[type="submit"]
  {
  width: 100%;
  background-color: #22508B;
  color: #ffffff;
  border-radius: 5px;
  padding: 1em 10px;
  }
  
  #wrap_form input[type="submit"]:hover
  {
  background-color:#ffffff;
  border: 2px solid #22508B;
  color:#22508B;
  }
  
  .form-submit{
  width: 40%;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  }
  
  /*　必須ラベル　*/
  .req{
  font-size:.8rem;
  padding: 2px 4px;
  background: #22508B;
  color: #ffffff;
  margin-left: 10px;
  display:inline;
  border-radius: 3px;
	  margin-right:8px;
  }
  
  @media screen and (max-width:768px){
    #wrap_form {
      padding: 0 1rem;
      }
      
  .row {
  display: block;
  }
  
  #wrap_form label{
  display: block;
  margin-bottom: 10px;
  }
  
  .row-q {
  width: 100%;
  margin: 0;
  background-color: #ebeff7;
  }
  
  .row-a {
  width: 100%;
  }
  
  #wrap_form input[type="text"], #wrap_form input[type="email"], #wrap_form input[type="tel"], #wrap_form textarea{
  margin-left: 0;
  }
  
  .form-submit{
  width: 90%;
  }
  }
  

/******/
.effect {
          margin: 0;
          opacity: 0;
}
.effect .effect-inner {
          display: inline-block;
          position: relative;
}
.effect .effect-inner,
.effect .effect-inner::after {
          animation-iteration-count: var(--iterations, 1);
          animation-duration: var(--duration, 1000ms);
          animation-fill-mode: both;
          animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.effect.scroll-in{
        opacity: 1;
 } 
.effect.scroll-in .effect-inner {
          --animation-delay: var(--delay, 0);
          --animation-duration: var(--duration, 1000ms);
          --animation-iterations: var(--iterations, 1);
          position: relative;
          animation-name: clip-text;
          animation-delay: var(--animation-delay);
      }
      .effect.scroll-in .effect-inner::after {
          content: "";
          position: absolute;
          z-index: 10;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background-color: #c5c5c5;
          transform: scaleX(0);
          transform-origin: 0 50%;
          pointer-events: none;
          animation-name: text-revealer;
          animation-delay: var(--animation-delay);
      }
      
      .effect-inner.delay {
          --delay: 500ms;
      }
      
      @keyframes clip-text {
          from {
              clip-path: inset(0 100% 0 0);
          }
          to {
              clip-path: inset(0 0 0 0);
          }
      }
      @keyframes text-revealer {
          0%, 50% {
              transform-origin: 0 50%;
          }
          60%, 100% {
              transform-origin: 100% 50%;
          }
          60% {
              transform: scaleX(1);
          }
          100% {
              transform: scaleX(0);
          }
      }
/*****/
.content-style{
	background-color:#fff;
}
.content-style a{
	color:#22508B;
	border-bottom:solid #22508B 1px
}
.content-style h2{
	margin:3rem 0 1rem;
}
.content-style h2:first-child{
	margin:1rem 0 1rem;
}

br.sp_block{
	display:none
}

@media screen and (max-width: 768px){
br.sp_block{
	display:block
}
}
