
@import url(./common/_variable.css);
@import url(./common/_reset.css);

/* common 

font-family: "Roboto", sans-serif;

font-family: "Oswald", sans-serif;

font-family: "Noto Sans JP", serif;

font-feature-settings: "palt";
overflow-wrap: anywhere;
word-break: normal;
line-break: strict;

============================================ */

html{
	font-size: 62.5%;
  scroll-behavior: smooth;
  /*scroll-padding-top: 50px; check the header hight!*/
}

body{
	background-color: #FFF;
	color: var(--font_c);
  font-family: var(--font_normal);
  font-size: 1.6rem;
  font-weight: 400;
	line-height: 1.6;
  text-size-adjust: 100%;
  letter-spacing: 0.02em;
  min-height: 100dvh;
  @media (max-width: 896px) {
    font-size: 1.4rem;
  }
  .is-fixed{
    height: 100%;
    overflow: hidden;
  }
}

#wrapper {
  position: relative;
  overflow: hidden;
}

a{
  color: currentColor;
  transition: all 0.3s ease-out;
  &:hover{
    @media(hover:hover){
      /* opacity: 0.7; */
    }
  }
}

img{
  width: 100%;
  height: auto;
}

.reading{
  overflow: hidden;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

.pconly {
  @media (max-width: 896px) {
    display: none;
  }
}
.sponly {
  display: none;
  @media (max-width: 896px) {
    display: block;
  }
}
.portraitonly {
  display: none;
  @media (max-width: 480px) {
    display: block;
  }
}
.portraitnone{
  @media (max-width: 480px) {
    display: none;
  }
}
.tabonly{
  display: none;
  @media (max-width: 1025px) {
    display: block;
  }
}
.tabnone{
  @media (max-width: 1025px) {
    display: none;
  }
}


.newline {
	display: inline-block;
}

.w_wide {
  max-width: 1320px;
  width: calc(100% - 6vw);
  margin: auto;
  @media (width < 480px) {
    width: calc(100% - 40px);
  }
}

.w_narrow {
  max-width: 1120px;
  width: calc(100% - 6vw);
  margin: auto;
  @media (width < 480px) {
    width: calc(100% - 40px);
  }
}

.clearfix {
	/*display: inline-table;*/
  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}


/* pagetop */
/* ============================================ */
.pagetop_arrow {
  position: fixed;
  right: 70px;
  bottom: -100px;
  z-index: 1500;
  transition: all 300ms 0s ease;
  opacity: 0;
  a {
    overflow: hidden;
    outline: none;
    display: block;
    background-color: rgba(0,0,0,0.4);
    padding: 5px;
    img {
      width: 60px;
      height: auto;
    }
  }
  @media (max-width:1025px) {
    right: 10px;
  }
  @media (max-width:896px) {
    a {
      img {
        width: 30px;
      }
    }
  }
}
.fade_in {
  .pagetop_arrow {
    opacity: 1;
    transition: all 300ms 0s ease;
    bottom: 129px;
    @media (width < 896px) {
      bottom: 120px;
    }
  }
}



/* header */
/* ============================================ */
header {
  height: 140px;
  @media (width < 896px) {
    height: 80px;
  }
}
.area__header {
  padding: 0 2vw;
  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  box-sizing: border-box;
  position: absolute;
  z-index: 7000;
  transition: all 0.3s ease-out;
  @media (width < 896px) {
    padding: 0 10px 0 20px;
  }
}

.header_top {
  top: 0px;
}

.btn_fix {
  position: fixed;
  top: -140px;
}

.btn_visible {
  top: 0;
}


.block__header {
  max-width: 1320px;
  margin: auto;
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr 216px;
  align-items: center;
  gap: 30px;
  container-type: inline-size;
  padding: 20px 0;
  @media (width < 896px) {
    grid-template-columns: 160px 1fr 130px;
    gap: 0px;
    padding: 10px 0;
  }
}

.block__header--logo {
  align-content: center;
  img {
    width: 100%;
    height: auto;
  }
}

.list_header_nav {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 2.3cqw;
  @media (width < 1034px) {
    display: none;
  }
}

.item_header_nav {
  font-weight: 400;
  font-size: 1.4rem;
  a {
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 0%;
      height: 26px;
      border-bottom: #000 solid 1px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      transition: all 0.3s ease-out;
    }
    &:hover {
      &::after {
        width: 100%;
      }
    }
  }
}

.block__header--submenu {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  @media (width < 896px) {
    justify-content: end;
    gap: 10px;
  }
}

.btn_contact_header {
  a {
    display: block;
    width: 100px;
    height: 100px;
    background-color: var(--main_c);
    color: #FFF;
    line-height: 1.2em;
    font-weight: 700;
    align-content: center;
    text-align: center;
    white-space: nowrap;
    position: relative;
    &::after {
      content: "";
      display: block;
      width: 0em;
      height: 3.5em;
      border-bottom: #FFF solid 1px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      transition: all 0.3s ease-out;
    }
    &:hover {
      &::after {
        width: 4em;
      }
    }
    @media (width < 896px) {
      font-size: 1.2rem;
      width: auto;
      height: 60px;
    }
  }
}

.btn_contact_drawer {
  padding: 16px 0 0;
  a {
    display: block;
    background-color: var(--main_c);
    color: #FFF;
    line-height: 1.2em;
    font-weight: 700;
    align-content: center;
    text-align: center;
    white-space: nowrap;
    position: relative;
    padding: 14px 0;
    font-size: 1.6rem;
    &::after {
      content: "";
      display: block;
      width: 0em;
      height: 1.6em;
      border-bottom: #FFF solid 1px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      transition: all 0.3s ease-out;
    }
    &:hover {
      &::after {
        width: 9.5em;
      }
    }
  }
}

/* drawer menu */
/* ============================================ */

@keyframes active-btn-bar {
  100% {
    height: 0;
  }
}

.drawer_menu {
  .wrap_btn_drawser {
    width: 100px;
    height: 100px;
    background-color: var(--main_c);
    align-content: center;
    text-align: center;
    color: #FFF;
    position: relative;
    z-index: 9999;
    @media (width < 896px) {
      width: 60px;
      height: 60px;
    }
  }
  p {
    font-size: 1.3rem;
    line-height: 1em;
    padding: 8px 0 0;
    @media (width < 896px) {
      font-size: 1.1rem;
      padding: 10px 0 0;
    }
  }
  .btn_drawer {
    width: 40%;
    height: 24%;
    margin: auto;
    position: relative;
    /* position: fixed;
    top: 24px;
    right: 0px; */
    color: #FFF;
    @media (width < 1025px) {
    }
    .button {
      position: relative;
      width: 100%;
      height: 100%;
      margin: auto;
      padding: 0;
      border: none;
      background: transparent;
      cursor: pointer;
      display: inline-block;
      transition: all .5s;
      box-sizing: border-box;
      span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #FFF;
        border-radius: 4px;
        display: inline-block;
        transition: all .5s;
        box-sizing: border-box;
        &:nth-of-type(1) {
          top: 0;
        }
        &:nth-of-type(2) {
          top: 50%;
          transform: translateY(-50%);
        }
        &:nth-of-type(3) {
          bottom: 0;
        }
      }
      &.active {
        span:nth-of-type(1) {
          transform: translateY(11px) rotate(-45deg);
          @media (width < 896px) {
            transform: translateY(7px) rotate(-45deg);
          }
        }
        span:nth-of-type(2) {
          left: 60%;
          opacity: 0;
          animation: active-btn-bar .8s forwards;
        }
        span:nth-of-type(3) {
          transform: translateY(-11px) rotate(45deg);
          @media (width < 896px) {
            transform: translateY(-6px) rotate(45deg);
          }
        }
      }
    }
  }
  .menu {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    inset: 0;
    transition: 0.3s ease;

    .drawer_menu__area {
      position: absolute;
      top: 100dvh;
      left: 0px;
      background-color: rgba(255, 255, 255, 0.8);
      width: 100%;
      height: calc(100dvh - 140px);
      padding: 20px 3vw 20px;
      box-sizing: border-box;
      text-align: center;
      overflow: auto;
      display: inline-block;
      transition: 0.3s ease;
      @media (max-width:896px) {
        padding: 40px 20px 20px;
        height: calc(100dvh - 80px);
      }
    }
  }
  
  .menu.is-active {
    opacity: 1;
    visibility: visible;
    width: auto;
    height: 100vh;
    transition: 0.5s ease;
    z-index: 8900;
    .drawer_menu__area {
      top: 140px;
      @media (max-width:896px) {
        top: 80px;
      }
    }
  }
  
  .overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
  }
  
  .list {
    position: relative;
    display: flex;
    z-index: 8100;
    align-items: center;
    justify-content: center;
    height: 100vh;
    height: 100dvh;
    gap: 24px;
    font-size: 20px;
    flex-direction: column;
    list-style-type: none;
  }
  
  .d_inner {
    display: inline-block;
    padding: 80px 0 0;
    @media (max-width:896px) {
      padding: 0px 0px 0;
      width: 100%;
    }
  }

  .drawer_menu__block {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    @media (max-width:896px) {
      grid-template-columns: 1fr;
    }
  }

  .drawer_menu__block--logo {
    .dmenu_logo {
      text-align: center;
      width: 120px;
      margin: auto;
      @media (max-width:480px) {
      }
    }
  }

  .drawer_menu__block--list {
    border-left: var(--text) dotted 1px;
    text-align: center;
    @media (max-width:896px) {
      border-left: none;
      padding-left: 0vw;
    }
  }

  .d_list_box {
    display: inline-block;
    width: 100%;
  }

  .d_list {
    padding: 5px 0 0;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 5px;
    .d_item {
      padding: 5px 0;
      font-size: 1.6rem;
      line-height: 1em;
      border: #666 solid 1px;
      transition: all 0.3s ease-out;
      &:hover {
        border: var(--main_c) solid 1px;
      }
      a {
        display: block;
        padding: 7px 10px 9px 16px;
        position: relative;
        color: var(--font_c);
        &:hover {
          color: var(--main_c);
        }
      }
    }
  }
  .d_list_sub {
    padding: 10px 0 0;
  }
  .d_item_sub {
    padding: 4px 0;
  }

  .box__contact_d {
    padding: 24px 0 0;
    text-align: center;
  }

  .box__contact--tel {
    border-bottom: #666 dotted 1px;
    padding-bottom: 10px;
    .number {
      font-size: 2.4rem;
      font-family: "Roboto", sans-serif;
      font-weight: 700;
      color: #000;
      line-height: 1.2em;
      span {
        font-size: 0.7em;
      }
      a {
        color: var(--text);
        &:hover {
          color: var(--over);
        }
      }
    }
  }

  .box__contact--address_d {
    display: inline-block;
    text-align: left;
    font-size: 1.4rem;
    line-height: 1.4em;
    padding: 10px 0 0;
  }
}




/* footer */
/* ============================================ */
.area__footer {
  position: relative;
}

.area__footer--join {
  /* background-image: url(../images/common/dummy02.jpg);
  background-position: center center;
  background-size: cover; */
  position: relative;
}

.block__footer {
  padding: 5vw 0 8vw;
  position: relative;
  z-index: 200;
  @media (width < 480px) {
    padding: 30px 0 60px;
  }
  .btn_andmore {
    padding: 80px 0 0;
    @media (width < 480px) {
      padding: 50px 0 0;
    }
  }
}

.area__footer--link {
  background-color: var(--gray_01);
}

.list_link {
  padding: 4vw 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  @media (width < 480px) {
    padding: 20px 0 40px;
  }
}

.item_link {
  padding: 2vw;
  box-sizing: border-box;
  width: 18.75vw;
  min-width: 280px;
  @media (width < 480px) {
    padding: 16px 0;
  }
}

.box_txt_link {
  font-size: 1.4rem;
  text-align: justify;
  padding: 16px 0 0; 
  @media (width < 480px) {
    padding: 8px 0 0;
  }
}

.area__footer--bottom {
  padding: 4vw 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  @media (width < 480px) {
    padding: 24px 0; 
  }
}

.logo_footer {
  width: 240px;
  @media (width < 480px) {
    width: 140px;
  }
}

.copyrights {
  font-size: 1.3rem;
  padding: 16px 0 0; 
  @media (width < 480px) {
    padding: 10px 0 0; 
  }
}

.side_link {
  text-align: center;
  a {
    &:hover {
      .txt_aap {
        color: var(--main_c);
        &::before, &::after {
          background-color: var(--main_c);
        }
      }
    }
  }
}

.logo_set_aap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: end;
}


.logo_aap {
  width: 36px;
  @media (width < 480px) {
    width: 30px; 
  }
  img {
    width: 100%;
    height: auto;
  }
}

.eieipee {
  font-size: clamp(1.2rem, 0.19vw + 1.127rem, 1.5rem);
  font-weight: 400;
  line-height: 1.4em;
  padding-bottom: 3px;
}

.txt_aap {
  /* padding-left: 0.5em; */
  position: relative;
  font-size: 1.3rem;
  display: inline-block;
  font-feature-settings: "palt";
  font-weight: 400;
  text-align: left;
  line-height: 1.2em;
  padding-bottom: 4px;
  @media (width < 480px) {
    font-size: 1.1rem; 
    padding-bottom: 0px;
  }
  /* &::before, &::after {
    content: "";
    position: absolute;
    transform: translate(-42%);
    top: 6px;
    width: 2px;
    height: 6px;
    background-color: #004B9E;
    transition: .5s;
    @media (width < 480px) {
      top: 4px;
    }
  }
  &::before {
    transform: rotate(-45deg);
    left: 0px;
  }
  &::after {
    transform: rotate(45deg) translateY(5px) translateX(0px) ;
    left: 4px; 
  } */
}



/* camel pagenation */
/* ============================================ */
.camel_paging {
  padding: 4.166cqw 0 0;
  @media (width < 480px) {
    padding: 30px 0 0;
  }
  ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    li {
      border: #CCC solid 1px;
      border-radius: 4px;
      padding: 5px 0 5px 4px;
      margin: 4px;
      line-height: 1em;
      font-size: 1.3rem;
      font-family: "Manrope", sans-serif;
      font-weight: 700;
      text-align: center;
      position: relative;
      display: flex;
      justify-content: center;
      width: 25px;
      position: relative;
      z-index: 8;
      @media (max-width: 896px){
        margin: 4px 2px;
        width: 23px;
      }
      &.active {
        background-color: var(--main_c) !important;
        color: #FFF;
        &:hover {
          color: #000;
        }
      }
      &:hover {
        background-color: var(--gray_02) !important;
      }
      &.mostprev {
        width: 25px;
        box-sizing: border-box;
        letter-spacing: -0.2em;
        padding: 5px 2px 5px 2px;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      &.prev {
        width: 25px;
        box-sizing: border-box;
        padding: 5px 2px 5px 2px;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      &.next {
        width: 25px;
        box-sizing: border-box;
        padding: 5px 2px 5px 2px;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      &.mostnext {
        width: 25px;
        box-sizing: border-box;
        letter-spacing: -0.2em;
        padding: 5px 2px 5px 2px;
        @media (max-width: 896px){
          width: 23px;
        }
      }
      a {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
      }
    }
  }
}


/* elemments */
/* ============================================ */

.btn_andmore {
  display: inline-block;
  position: relative;
  &:hover {
    &::before {
      width: 100%;
    }
  }
  &::before {
    content: "";
    display: block;
    background-color: #FFF;
    width: 27px;
    height: 1px;
    position: absolute;
    bottom: -2px;
    right: 0px;
    z-index: 25;
    transition: all 0.3s ease-out;
  }
  &::after {
    content: "";
    display: block;
    background-color: var(--main_c);
    width: 27px;
    height: 1px;
    position: absolute;
    bottom: -2px;
    right: -27px;
    z-index: 25;
  }
  @media (width < 1281px) {
    padding: 40px 0 0;
  }
  a {
    background-color: var(--main_c);
    color: #FFF;
    padding: 20px 30px;
    position: relative;
    z-index: 20;
  }
}

.wrap_btn_detail {
  text-align: center;
  padding: 16px 0 0;
  @media (width < 896px) {
    padding: 10px 0 8px;
  }
  .btn_detail {
    background-color: var(--main_c);
    color: #FFF;
    padding: 12px 20px;
    position: relative;
    margin: auto;
    display: inline-block;
    font-size: 1.4rem;
    line-height: 1em;
    &::after {
      content: "";
      display: block;
      width: 0%;
      height: 2.4rem;
      border-bottom: #FFF solid 1px;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      transition: all 0.3s ease-out;
    }
    &:hover {
      &::after {
        width: 70%;
      }
    }
  }
}

.catch_copy {
  font-size: clamp(3rem, 1.94vw + 2.272rem, 6rem);
  line-height: 1.4em;
  font-weight: 700;
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  font-family: "Roboto", sans-serif;
}

.catch_copy_and {
  color: var(--main_c);
  font-size: 1.4em;
  padding: 0 5px;
  font-weight: 900;
}

.lead_copy {
  padding: 2vw 0 0;
  font-size: clamp(1.6rem, 0.52vw + 1.406rem, 2.4rem);
  line-height: 1.8em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hd_second {
  font-size: clamp(3rem, 1.04vw + 2.612rem, 4.6rem);
  line-height: 1.4em;
  font-weight: 700;
}

.hd_second_en {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  line-height: 1.3em;
  padding: 0.8vw 0 0;
  color: var(--main_c);
}

.hd_second_txt {
  font-size: clamp(1.5rem, 0.58vw + 1.282rem, 2.4rem);
  font-weight: 700;
  padding: 1.1vw 0 0;
}

.hd_contents {
  font-size: clamp(2.6rem, 1.29vw + 2.115rem, 4.6rem);
  line-height: 1.4em;
  font-weight: 700;
}

.area_title_contents {
  text-align: center;
}

.list_bc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-size: clamp(1.2rem, 0.13vw + 1.151rem, 1.4rem);
}

.item_bc:has(a) {
  &::after {
    content: "＞";
    padding: 0 10px;
    font-size: 0.8em;
  }
  a {
    &:hover {
    color: var(--main_c);
    }
  }
}

.area__c_title--title {
  padding: 3vw 0 0;
  text-align: center;
  @media (width < 480px) {
    padding: 20px 0 0;
  }
}



.label_case {
  display: block;
}

.resets_case {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.txt_checkbox {
  cursor: pointer;
  display: inline-block;
  padding: 5px 0 5px 30px;
  position: relative;
}

input[type=checkbox]:checked+.txt_checkbox::after {
  opacity: 1;
}

.txt_checkbox::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  border: 1px solid #777;
}

.txt_checkbox::after {
  content: "";
  display: block;
  width: 5px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 6px;
  transform: rotate(35deg) skewY(16deg) translateY(-50%);
  transform-origin: center right;
  border-right: 2px solid var(--main_c);
  border-bottom: 2px solid var(--main_c);
  opacity: 0;
}



.area__about {
  padding: 3vw 0 8vw;
  @media (width < 480px) {
    padding: 30px 0 70px;
  }
  .wrap_andmore {
    text-align: center;
    .btn_andmore {
      padding: 80px 0 0;
      @media (width < 480px) {
        padding: 50px 0 0;
      }
    }
  }
}

.area__about--ttl {
  text-align: center;
}

.block__about {
  padding: 7vw 0 0;
  container-type: inline-size;
  @media (width < 480px) {
    padding: 40px 0 0;
  }
}

.block__about--ttl {
  display: flex;
  align-items: end;
  border-bottom: var(--gray_02) dotted 1px;
  box-sizing: border-box;
  padding-bottom: 10px;

}

.type_logo {
  color: var(--main_c);
  font-size: 1.4em;
  padding: 0 5px 0 0;
  font-weight: 300;
  font-family: "Roboto", sans-serif;
}

.bold_ttl {
  font-weight: 900;
}

.hd_major {
  font-size: clamp(2.6rem, 1.29vw + 2.115rem, 4.6rem);
  font-weight: 700;
  line-height: 1.3em;
}

.hd_major_en {
  font-family: "Roboto", sans-serif;
  font-size: clamp(1.5rem, 0.58vw + 1.282rem, 2.4rem);
  line-height: 1em;
  font-weight: 900;
  color: var(--main_c);
  padding-left: 3.75cqw;
  @media (width < 480px) {
    transform: translateX(-10px);
    white-space: nowrap;
  }
  &.c_a {
    @media (width < 480px) {
      transform: translateX(-20px);
      white-space: nowrap;
    }
  }
  &.slt {
    @media (width < 480px) {
      transform: translateX(-15px);
      white-space: nowrap;
    }
  }
}

.pt200 {
  padding-top: 17.85cqw;
}

.mt200 {
  margin-top: 17.85cqw;
}

#ttr278770 {
  display: none;
}