
/*========================*/
/*      Base Setting      */
/*========================*/
@media screen, print {
  * {
    box-sizing: border-box;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: 0;
    -webkit-margin-end: 0;
    -webkit-padding-start: 0;
  }

  :root {
    --clr-blck: #383838;
    --clr-blue: #27668c;
    --clr-lightblue: #e9eff3;
    --clr-red: #d93829;
    --fwght-3lght: 300;
    --fwght-4reg: 400;
    --fwght-5med: 500;
    --fwght-6sbld: 600;
    --fwght-7bld: 700;
  }

   :target {
    scroll-margin-top: 2rem;
  }

  html {
    background-color: #fff;
    font-size: 62.5%;  /* 1rem = 10px */
    scroll-behavior: smooth;
  }

  body {
    color: var(--clr-blck);
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: var(--fwght-4reg);
    line-height: 1.9;
    text-align: justify;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 1.6rem;
    font-weight: normal;
    line-height: 1;
    margin-bottom: 0; /* reset */
    padding-left: 0; /* reset */
  }

  p {
    line-height: 1.9;
    margin-bottom: 0; /* reset */
  }

  a {
    color: var(--clr-blck);
    text-decoration: none;
  }

  a:hover {
    opacity: .7;
    text-decoration: none;
  }

  img {
    display: block;
    height: auto;
  }

  ul, ol {
    list-style-type: none;
    margin-bottom: 0; /* reset */
    padding-left: 0; /* reset */
  }

  dl {
    margin-bottom: 0; /* reset */
  }

  dt {
    font-weight: normal; /* reset */
  }

  .bodyscrolloff {
    overflow-y: hidden;
  }

  .uline {
    text-decoration: underline;
  }

  .bold {
    font-weight: 600;
  }

  .para-link {
    text-decoration: underline;
  }

  .no-link {
    pointer-events: none;
  }

  .link-ext {
    text-align: start;
    text-decoration: underline;
  }

  .link-ext-af::after,
  .link-ext-bf::before {
    content: "\e89e";
    display: inline-block;
    font-family: 'Material Symbols Outlined';  
    font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
    vertical-align: middle;
  }

  .link-ext-af::after {
    margin-left: .2rem;
  }

  .link-ext-bf::before {
    margin-right: .2rem;
  }
}

/*** SP BP ***/
@media screen and (min-width: 480px) {

}

/*** TB ***/
@media screen and (min-width: 640px) {
}

/*** PC ***/
@media screen and (min-width: 960px) {
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
}

/*--- responsive ---*/
@media screen, print {
  .visible-splg,
  .visible-tb,
  .tbsm-only,
  .tb-only,
  .tblg-pcsm-only {
    display: none;
  }
}

/** SP splg **/
@media screen and (min-width: 480px) {
  .spsm-only {
    display: none;
  }

  .visible-splg {
    display: block;
  }
}

/** SP BP **/
@media screen and (min-width: 500px) {
  .visible-lt500 {
    display: none;
  }
}

/*** TB ***/
@media screen and (min-width: 640px) {
  .sp-only {
    display: none;
  }

  .visible-tb {
    display: block;
  }

  .tb-only,
  .tbsm-only {
    display: block;
  }
}

/** iPad **/
@media screen and (min-width: 768px) {
  .lt-ipad {
    display: none;
  }
}

/** TB tblg **/
@media screen and (min-width: 800px) {
  .tbsm-only {
    display: none;
  }

  .lt-tblg {
    display: none;
  }

  .tblg-pcsm-only {
    display: block;
  }
}

/*** PC ***/
@media screen and (min-width: 960px) {
  .tb-only,
  .tbsm-only {
    display: none;
  }

  .lt-pc {
    display: none;
  }
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
  .hidden-pclg,
  .tblg-pcsm-only {
    display: none;
  }
}


/*---------------------*/
/*     .container      */
/*---------------------*/
@media screen, print {
  .container, 
  .container-wide {
    margin-left: auto;
    margin-right: auto;
    width: min(94vw, 72rem);
  }   
}

/*** TB ***/
@media screen and (min-width: 640px) {
  .container-wide {
    width: 94vw;
  }
}

/** iPad **/
@media screen and (min-width: 768px) {
  .container {
    width: 72rem;
  }

}

/** TB tblg **/
@media screen and (min-width: 800px) {
  .container-wide {
    width: 750px;
    width: 860px;
    width: calc(68.8vw + 20rem);
  }

}

/*** Special BP ***/
@media screen and (min-width: 960px) {
  .container-wide {
    width: min(90vw, 110rem);
  }
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
  .container-wide {
    width: 110rem;
  }
}


/*========================*/
/*         header         */
/*========================*/
@media screen, print {
  header {
    --ellipse-height: 3rem;
    --ellipse-width: 105vw;


    background-color: #fff;
    overflow-x: clip;
    overflow-y: visible;
    padding: 1rem 3vw .5rem;
    position: sticky;
    top: 0;
    transition: transform .5s;
    z-index: 100;
  }

  header::after {
    background-color: #fff;
    border-radius: 50vw / calc( var(--ellipse-height) / 2);
    bottom: calc( var(--ellipse-height) / -2);
    content: '';
    display: block;
    height: var(--ellipse-height);
    left: calc( -1 * (var(--ellipse-width) - 100vw) / 2);
    position: absolute;
    width: var(--ellipse-width);    


    -webkit-transform: translateZ(0); /* for iOS */
    transform: translateZ(0); /* for iOS */
  }

  header.headerHide {
    transform: translateY( calc( -1 * (100% + 1.5rem ) ));
    transform: translateY( calc( -1 * (100% + calc( var(--ellipse-height) / 2) ) ) );
  }

  .headerArea {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;

    .logo {
      align-self: flex-start;
      z-index: 1;
    }

    .logo-img {
      aspect-ratio: 75 / 16;
      height: 40px;
      height: 45px;
      height: calc(1.56vw + 3.5rem);
      position: relative;
      width: auto;
    }
  }

  .gnav {
    z-index: 1;
  }

  .gnav-head {
    /* bottom: 1rem; */
    position: absolute;
    right: 3vw;
    top: 1.5rem;
  }

  .toggle-hamburger {
    height: 2.3rem;
    position: relative;
    transition: all .4s;
    width: 3rem;
  }

  .toggle-bar {
    background-color: var(--clr-blck);
    border-radius: 2px;
    display: inline-block;
    height: .3rem;
    position: absolute;
    transition: all .3s;
    width: 100%; /* 30px */
  }

  .toggle-bar:nth-of-type(1) {
    top: 0;
  }

  .toggle-bar:nth-of-type(2) {
    top: 1rem;
  }

  .toggle-bar:nth-of-type(3) {
    top: 2rem;
  }

  /* hamburger clicked */
  .toggle-hamburger.toggle-hamburger-open {
    transform: rotateX(360deg);
  }
  
  .toggle-hamburger-open .toggle-bar:nth-of-type(1) {
    top: -1rem;
    transform: translateY(20px) rotate(-45deg);
  }

  .toggle-hamburger-open .toggle-bar:nth-of-type(2) {
    opacity: 0;
  }

  .toggle-hamburger-open .toggle-bar:nth-of-type(3) {
    top: 3rem;
    transform: translateY(-20px) rotate(45deg);
  }

  .gnav-body {
    background-color: #fff;
    display: none;
    height: 100vh;
    left: 0;
    padding-top: 2rem;
    /* position: absolute; */
    /* top: 40px; */
    width: 100vw;
  }

  .gnav-list {
    align-items: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 5rem;
  }

  .gnav-link {
    color: var(--clr-blck);
    display: block;
    font-weight: 400;
    line-height: 1;
    padding: 1.5rem 0;
  }

  .gnav-link-blog {
    align-items: center;
    display: flex;
  }

  .hd-list {
    display: grid;
    gap: 2rem 3rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .hd-item {
    grid-column: 1 / -1;
    line-height: 1;
    text-align: center;
  }

  .hd-item-fax {
    margin-bottom: 2rem;
  }

  .hd-item-instg {
    grid-column: 1 / 2;
    justify-self: end;
  }

  .hd-item-fbook {
    grid-column: 2 / 3;
    justify-self: start;
  }

  .hd-ic-instg,
  .hd-ic-fbook {
    height: auto;
    width: 3rem;
  }
}

/*** SP BP ***/
@media screen and (min-width: 480px) {
}

/*** TB ***/
@media screen and (min-width: 640px) {
}

/** iPad **/
@media screen and (min-width: 768px) {
  header {
    --ellipse-height: 4rem;
  }
}

/** TB tblg **/
@media screen and (min-width: 800px) {
  header {
    --ellipse-height: 6rem;
    --ellipse-width: 115vw;    

    padding: 1rem 2vw 0;
  }

  .headerArea {
    align-items: flex-end;
    flex-direction: row;

    .logo {
      align-self: flex-end;
    }

    .logo-img {
      height: 40px;
      height: 55px;
      height: calc(9.38vw - 3.5rem);
    }
  }

  .gnav-head {
    display: none;
  }

  .gnav-body {
    align-items: flex-end;
    background-color: transparent; /* reset */
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    gap: 15px;
    gap: calc(3.13vw - 1.5rem);
    height: auto; /* reset */
    padding-top: 0; /* reset */
    position: static; /* reset */
    width: fit-content;
  }

  .gnav-list {
    align-items: flex-end;
    flex-direction: row;
    gap: 13px;
    gap: 20px;
    gap: calc(4.38vw - 2.2rem);
    justify-content: flex-end;
    margin-bottom: 0; /* reset */
  }

  .gnav-link {
    font-size: 1.5rem;
    letter-spacing: -.5px;
    padding: 0; /* reset */
  }

  .hd-list {
    align-items: center;
    display: flex;
    gap: 2.5rem;
    justify-content: flex-end;
  }

  .hd-item-fax {
    margin-bottom: 0; /* reset */
  }
   
  .hd-ic-instg,
  .hd-ic-fbook {  
    width: 2.5rem;
  }

  .hd-item-instg {
    margin-right: -.5rem;
  }
}

/*** PC ***/
@media screen and (min-width: 960px) {
  header {
    --ellipse-height: 60px;
    --ellipse-height: 80px;
    --ellipse-height: 6.25vw;

    padding: 2rem 20px 0;
    padding: 2rem 40px 0;
    padding: 2rem calc(6.25vw - 4rem) 0;
  }
  
  .headerArea {
    .logo-img {
      height: 55px;
      height: 70px;
      height: calc(4.69vw + 1rem);
    }
  }

  .gnav-body {
    gap: 15px;
    gap: 20px;
    gap: 1.56vw;
  }

  .gnav-link {
    font-size: 1.6rem;
    letter-spacing: normal;
  }
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
  header {
    --ellipse-height: 6vw;

    padding: 2rem 3vw 0;
  }

  .headerArea {
    .logo-img {
      height: 7rem;
    }
  }

  .gnav-body {
    gap: 2rem;
  }

}


/*=================*/
/*    breadcrumb   */
/*=================*/
@media screen, print {
  .breadcrumb {
    padding: 1rem 3vw 5rem;
  }

  .breadcrumb-list {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    content: '>';
    display: inline-block;
    margin: 0 0.5rem;
  }
}

/*** SP BP ***/
@media screen and (min-width: 480px) {
}

/*** TB ***/
@media screen and (min-width: 640px) {
}

/*** iPad ***/
@media screen and (min-width: 768px) {
  .breadcrumb {
    padding-bottom: 7rem;
    padding-left: 2rem; /* align with .headerArea .logo */
  }
}

/** TB tblg **/
@media screen and (min-width: 800px) {
}

/*** PC ***/
@media screen and (min-width: 960px) {
  .breadcrumb {
    padding-bottom: 8rem;
  }

  .breadcrumb-item {
    font-size: 1.4rem;
  }
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
  .breadcrumb {
  }
}

/*=================*/
/*    contents     */
/*=================*/
@media screen, print {
  main {
    background: url(../img/bg.svg) repeat;
    background-position: center top;
    background-size: 250px;
    background-size: 450px; /* vw 1280 */
    background-size: calc(20.8rem + 18.3rem); 
    padding-bottom: 10rem;
  }

  .kvArea {
    position: relative;
  }

  .kv-pic-img {
    object-fit: cover;
    width: 100%;
  }

  .kv-pagetitle {
    align-items: center;
    aspect-ratio: 100 / 41 ;
    background: url(../img/ic_mgr.svg) no-repeat;
    background-size: contain;
    bottom: 0;
    color: var(--clr-blue);
    display: flex;
    font-size: 18px;
    font-size: 24px;
    font-size: calc(1.88vw + 1.2rem);
    font-weight: var(--fwght-4reg);
    height: auto;
    justify-content: center;
    left: 0;
    letter-spacing: .1rem;
    margin: auto;
    padding-bottom: 5px;
    padding-bottom: 10px; /* vw1280 */
    padding-bottom: calc(.521vw + .333rem);
    padding-left: 40px;
    padding-left: 60px;
    padding-left: calc(6.25vw + 2rem);
    position: absolute;
    right: 0;
    top: 0;
    top: 2rem;
    width: 200px;
    width: 260px;
    width: calc(18.8vw + 14rem);
  }

  .leadArea {
    margin: 0 auto 5rem;
    width: min(94vw, 72rem);
  }

  .lead-para {
    font-size: 1.8rem;
    line-height: 2;
    text-align: center;
  }

  .lnavArea {
    margin: 0 auto 5rem;
    width: min(94vw, 72rem);
  }

  .lnav-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .lnav-link {
  }

  .lnav-link::before {
    content: "\e313";
    display: inline-block;
    font-family: 'Material Symbols Outlined';
    font-size: 2rem;
    font-variation-settings:
    'FILL' 0,
    'wght' 200,
    'GRAD' 0,
    'opsz' 24;
    line-height: 1;
    margin-right: .2rem;
    vertical-align: middle;
  }

  .cont-para + .cont-para {
    margin-top: 2rem;
  }

  .cont-block + .cont-block {
    margin-top: 8rem;
  }

  .block-heading {
    font-size: 20px;
    font-size: 24px; /* vw 1280 */
    font-size: calc(.417vw + 1.87rem);
    font-weight: var(--fwght-5med);
    line-height: 1;
    margin-bottom: 30px;
    text-align: center;
  }

  .block-table {
    margin-left: auto;
    margin-right: auto;
    width: min(88vw, 72rem);    
  }

  .block-tblist {
    border-bottom: var(--clr-blck) solid .1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }

  .block-tblist:first-of-type {
    border-top: var(--clr-blck) solid .1rem;
  }

  .block-tbterm {
    font-weight: var(--fwght-5med);
    line-height: 1;
  }

  .block-tbdesc {
    line-height: 1.4;
  }

  .tbdesc-list {

  }

  .tbdesc-item {
    padding-left: 1em;
    text-indent: -1em;
  }
  
  .tbdesc-item::before {
    content: '\30FB';
  }

  .tbdesc-item + .tbdesc-item {
    margin-top: 1rem;
  }

  .link-button {
    align-items: center;
    background-color: #fff;
    border: var(--clr-blck) solid .1rem;
    border-radius: 1rem;
    display: flex;
    justify-content: center;
    line-height: 1;
    margin: 0 auto 3rem;
    padding: 1.5rem 3rem;
    width: fit-content;
  }

}

/*** SP BP ***/
@media screen and (min-width: 480px) {
}

/*** TB ***/
@media screen and (min-width: 640px) {
  .kv-pagetitle {
    font-size: 24px;
    font-size: 28px;
    font-size: calc(3.13vw + .4rem);
    padding-left: 60px;
    padding-left: 70px;
    padding-left: calc(7.81vw + 1rem);
    width: 260px;
    width: 300px;
    width: calc(31.3vw + 6rem);
  }

  .leadArea {
    margin-bottom: 7rem;
  }

  .lnavArea {
    margin-bottom: 7rem;
  }

  .lnav-link::before {
    font-size: 4rem;
  }

  .block-tblist {
    flex-direction: row;
    gap: 0; /* reset */
    padding-bottom: 3rem;
    padding-top: 3rem;
  }

  .block-tbterm {
    font-weight: var(--fwght-4reg);
    line-height: 1.4;
    width: 13rem;
  }

  .block-tbdesc {
    width: calc(100% - 14rem);
  }
}

/** iPad **/
@media screen and (min-width: 768px) {
  .kv-pagetitle {
    font-size: 28px;
    font-size: 32px;
    font-size: calc(2.08vw + 1.2rem);
    padding-left: 70px;
    padding-left: 80px;
    padding-left: calc(5.21vw + 3rem);
    width: 300px;
    width: 340px;
    width: calc(20.8vw + 14rem);
  }

  .leadArea {
    margin-bottom: 8rem;
  }

  .lnavArea {
    margin-bottom: 8rem;
  }

}

/** TB tblg **/
@media screen and (min-width: 800px) {
}

/*** PC ***/
@media screen and (min-width: 960px) {
  .kv-pic-img {
    max-height: 50rem;
    object-fit: cover;
  }

  .kv-pagetitle {
    font-size: 3.2rem;
    padding-bottom: 1rem;
    padding-left: 8rem;
    width: 34rem;
  }

  .leadArea {
    margin-bottom: 10rem;
  }

  .lnavArea {
    margin-bottom: 10rem;
  }

  .cont-block + .cont-block {
    margin-top: 10rem;
  }

  .block-tblist {
    padding-left: 2rem;
  }

}

/** PC pclg **/
@media screen and (min-width: 1280px) {
  main {
    background-size: 45rem;
  }

  .kv-pic-img {
    height: 50rem;
    max-height: none; /* reset */
  }

  .block-heading {
    font-size: 2.4rem;
  }
}


/*=============*/
/*    totop    */
/*=============*/
@media screen, print {
  .totop {
    bottom: 3rem;
    position: fixed;
    right: 3vw;
    z-index: 10;
  }

  .totop-link {
    aspect-ratio: 52 / 75;
    background: url(../img/totop.svg) no-repeat;
    background-size: contain;
    display: block;
    height: auto;
    width: 4rem;
  }
}

/*** TB ***/
@media screen and (min-width: 640px) {
}

/** iPad **/
@media screen and (min-width: 768px) {
}

/** TB tblg **/
@media screen and (min-width: 800px) {
  .totop-link {
    width: 40px;
    width: 55px;
    width: calc(9.38vw - 3.5rem);
  }
}


/*** PC ***/
@media screen and (min-width: 960px) {
  .totop-link {
    width: 55px;
    width: 70px;
    width: calc(4.69vw + 1rem);
  }
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
  .kvArea::before {
  }

  .totop-link {
    width: 7rem;
  }
}

/*================*/
/*     footer     */
/*================*/
@media screen, print {
  footer {
    border-bottom: var(--clr-red) solid 1rem;    
    padding: 8rem 0 1rem;
  }

  .ft-snslist {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .ft-ic-instg {
    height: 2rem;
  }

  .ft-ic-fbook {
    height: 2rem;
  }

  .ft-para {
    line-height: 1;
    text-align: center;
  }
}

/*** TB ***/
@media screen and (min-width: 640px) {
}

/** iPad **/
@media screen and (min-width: 768px) {
  footer {
    border-bottom-width: 1.5rem;
  }

  .ft-para {
  }
}

/** TB tblg **/
@media screen and (min-width: 800px) {
  footer {
    border-bottom-width: 2rem;
    padding: 13rem 0 3rem;
  }

  .ft-snslist {
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .ft-ic-instg,
  .ft-ic-fbook {
    height: 2.5rem;
  }

  .ft-para {
    font-size: 1.8rem;
  }

}

/*** PC ***/
@media screen and (min-width: 960px) {
}

/** PC pclg **/
@media screen and (min-width: 1280px) {
}


/*****************/
/***   Print   ***/
/*****************/
@media print {
  body {
    font-size: 12px;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 14px;
  }

  .sp-only,
  .spsm-only {
    display: none;
  }

  .visible-tb {
    display: block;
  }

  .no-link {
    opacity: 1; /* reset */
  }
}