@charset "UTF-8";
/* 使用フォント */
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
/* -----------------------------
//レイアウト 
----------------------------- */
#wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
}

#layout-body {
  flex-grow: 1;
}
@media print, screen and (min-width: 769px) {
  #layout-body {
    -webkit-padding-before: 2rem;
            padding-block-start: 2rem;
    -webkit-padding-after: 2rem;
            padding-block-end: 2rem;
  }
}
@media screen and (max-width: 768px) {
  #layout-body {
    -webkit-padding-before: 1rem;
            padding-block-start: 1rem;
    -webkit-padding-after: 1rem;
            padding-block-end: 1rem;
  }
}

@media print, screen and (min-width: 1201px) {
  .innerwrap {
    max-width: calc(1200px + 40px);
    margin: auto;
    padding-inline: 40px;
  }
}
@media print, screen and (min-width: 769px) and (max-width: 1200px) {
  .innerwrap {
    max-width: 1200px;
    margin: auto;
    padding-inline: 40px;
  }
}
@media screen and (max-width: 768px) {
  .innerwrap {
    width: 96%;
    margin: auto;
  }
}

.sp_img > figure {
  width: 100%;
}
.sp_img > figure > img {
  min-width: 100%;
  max-width: 100%;
}

@media print, screen and (min-width: 769px) {
  .sp_disp {
    display: none !important;
  }
}

@media screen and (max-width: 768px) {
  .pc_disp {
    display: none !important;
  }
}

.tel:has(.symbol-tel) {
  font-size: 1.1em;
  font-weight: 600;
  color: #212529;
  display: inline-flex;
  align-items: center;
}
.tel:has(.symbol-tel) .symbol-tel {
  display: block;
  height: 1em;
  aspect-ratio: 1/1;
  background: url(../images/tel.png) center center #212529;
  background-size: contain;
  border-radius: 100%;
  -webkit-margin-end: 0.2em;
          margin-inline-end: 0.2em;
  border: 3px solid #212529;
}

/* .layout-header */
@media screen and (max-width: 768px) {
  .site-logo {
    height: 100%;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0;
    width: 47.2%;
  }
  .site-logo a {
    height: 100%;
    display: block;
    width: 100%;
  }
  .site-logo img,
.site-logo picture {
    height: 100%;
    -o-object-fit: fill;
       object-fit: fill;
  }
  #g-nav .site-name {
    margin-inline: 1em;
    -webkit-margin-before: 1em;
            margin-block-start: 1em;
    -webkit-margin-after: 0.3em;
            margin-block-end: 0.3em;
  }
  #g-nav .site-name img {
    height: auto;
    width: 80%;
  }
  #g-nav .tel {
    font-size: 1.6rem;
    margin: 0;
  }
}
#layout-header:has(.page-name) {
  position: relative;
}
#layout-header:has(.page-name) .page-name {
  -webkit-margin-before: 0;
          margin-block-start: 0;
}
#layout-header:has(.page-name) #fixd_header {
  top: 0;
}
@media print, screen and (min-width: 769px) {
  #layout-header:has(.page-name) {
    padding-top: 119px;
  }
}
@media screen and (max-width: 768px) {
  #layout-header:has(.page-name) {
    padding-top: 70px;
  }
}

/* .layout-body */
.mainblock {
  min-height: 300px;
}
@media print, screen and (min-width: 769px) {
  .mainblock > .sec {
    margin-block: 5em 3rem;
  }
}
@media screen and (max-width: 768px) {
  .mainblock > .sec {
    margin-block: 3rem;
  }
}
.mainblock > .sec:first-child {
  margin-top: initial;
}
.mainblock > .sec:last-child {
  margin-bottom: initial;
}

/*.layout-footer*/
.layout-footer {
  min-height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.layout-footer:after {
  content: " ";
  display: block;
  height: 291px;
  width: 100vw;
  position: absolute;
  z-index: -1;
  margin: 0 calc(50% - 50vw);
  bottom: 0;
}
@media print, screen and (min-width: 769px) {
  .layout-footer .site-name {
    width: 31.8333333333%;
  }
}
@media screen and (max-width: 768px) {
  .layout-footer .site-name {
    width: 53.4666666667%;
  }
}
.layout-footer .contact {
  font-style: normal;
  font-family: "M PLUS Rounded 1c", sans-serif;
  align-items: center;
  display: inline-grid;
  grid-template-columns: auto auto;
}
.layout-footer .contact p {
  margin-block: 0;
}
.layout-footer .contact .add {
  grid-row: 1/2;
  grid-column: 1/3;
}
.layout-footer .contact .fax {
  font-size: 0.86em;
  grid-row: 2/3;
  grid-column: 2/3;
}
.layout-footer .contact .tel {
  font-size: 1.1em;
  font-weight: 600;
  grid-row: 2/3;
  grid-column: 1/2;
}
.layout-footer .contact .tel:has(.symbol-tel) {
  display: inline-flex;
  align-items: center;
}
.layout-footer .contact picture {
  grid-row: 3/4;
  grid-column: 1/3;
}
@media screen and (max-width: 768px) {
  .layout-footer .contact {
    width: -webkit-min-content;
    width: -moz-min-content;
    width: min-content;
    margin: auto;
    grid-template-columns: 10em 7em;
  }
}
.layout-footer .link-area a {
  display: block;
}
@media screen and (max-width: 768px) {
  .layout-footer .link-area {
    flex-direction: column;
  }
}
.layout-footer .innerwrap {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0.8em;
}
.layout-footer .copyright {
  margin-inline: auto;
  margin-top: auto;
  margin-bottom: 0;
}
@media print, screen and (min-width: 1201px) {
  .layout-footer {
    margin-top: -30px;
    padding-top: 30px;
    min-height: 290px;
    background: url(../images/footer_bg_pc.png) center bottom repeat-x;
  }
  .layout-footer .innerwrap {
    margin-top: 1.8rem;
  }
}
@media print, screen and (min-width: 769px) and (max-width: 1200px) {
  .layout-footer {
    min-height: 240px;
    background: url(../images/footer_bg_pc.png) center bottom repeat-x;
  }
  .layout-footer .innerwrap {
    margin-top: 1.8rem;
  }
}
@media screen and (max-width: 768px) {
  .layout-footer {
    background: url(../images/footer_bg_pc.png) center bottom repeat-x;
    background-size: auto 50%;
  }
  .layout-footer .innerwrap {
    flex-direction: column;
  }
  .layout-footer .link-area {
    display: flex;
    align-items: center;
    margin-bottom: 2em;
    gap: 0.5em;
  }
}

/*------------------------------
// メニュー
------------------------------*/
@media print, screen and (min-width: 769px) {
  #fixd_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    inset-inline: 0;
    margin: auto;
  }
}
@media screen and (max-width: 768px) {
  /*   #layout-header {
     padding-top: 70px; //付随するMENUの高さ
   }
  */
  html.is-fixed,
html.is-fixed body {
    height: 100%;
    overflow: hidden;
  }
  #fixd_header {
    position: fixed;
    height: 70px;
    width: 100%;
    z-index: 999;
    top: 0;
    display: flex;
    align-items: center;
    background: #fff;
    color: #fff;
    text-align: center;
    padding: 10px 15px;
  }
  #fixd_header.UpMove {
    -webkit-animation: UpAnime 0.5s forwards;
            animation: UpAnime 0.5s forwards;
  }
  @-webkit-keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }
  @keyframes UpAnime {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-100px);
    }
  }
  #fixd_header.DownMove {
    -webkit-animation: DownAnime 0.5s forwards;
            animation: DownAnime 0.5s forwards;
  }
  @-webkit-keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes DownAnime {
    from {
      opacity: 0;
      transform: translateY(-100px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .wrap {
    position: relative;
  }
  #overlay {
    width: 0;
    height: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s;
    background: rgba(255, 255, 255, 0.7);
  }
  #overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  .openbtn {
    position: fixed;
    z-index: 9999;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #009a88;
  }
  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
}
.menu li {
  list-style-type: none;
}
.menu li > a {
  display: block;
  width: 100%;
}
.menu li > a span {
  display: block;
}
.menu li.menu-item-has-children ul.sub-menu {
  display: none;
}

@media print, screen and (min-width: 769px) {
  #g-nav {
    width: 42.25%;
  }
  #g-nav > ul {
    display: flex;
    justify-content: center;
    gap: 1.2em;
  }
  li.menu-item-has-children {
    position: relative;
  }
  li.menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    z-index: 999;
  }
}
@media screen and (max-width: 768px) {
  #globalmenu {
    -webkit-margin-before: 5em;
            margin-block-start: 5em;
    margin-inline: 0.5em;
  }
  .menu li {
    background-color: #f0e5d9;
    border-radius: 999px;
    margin-bottom: 0.5em;
  }
  .menu li > a {
    display: flex;
    align-items: center;
  }
  .menu picture {
    line-height: 0;
  }
  #g-nav {
    position: fixed;
    z-index: 999;
    top: 0;
    overflow: auto;
    right: -120%;
    width: 75%;
    min-height: 100vh;
    background: #fff;
    transition: all 0.6s;
    height: 100%;
  }
  #g-nav img {
    width: auto;
    max-height: 80px;
    min-height: 45px;
    width: 100%;
  }
  #g-nav.panelactive {
    right: 0;
  }
  #g-nav .menu-item-has-children > a:first-of-type {
    position: relative;
    padding-right: 2em;
  }
  #g-nav .menu-item-has-children > a.open:first-of-type {
    color: #212529;
  }
  #g-nav .menu-item-has-children > a:after,
#g-nav .menu-item-has-children > a:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    width: 10px;
    height: 1px;
    background: #212529;
    transition: 0.2s;
  }
  #g-nav .menu-item-has-children > a:after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  }
  #g-nav .menu-item-has-children > a.open:before {
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  #g-nav .menu-item-has-children > a.open:after {
    background: transparent;
  }
}
/* -----------------------
// ページ上部へ戻る 
-----------------------*/
@media screen and (min-width: 769px) {
  div.tothetop {
    position: fixed;
    right: 2%;
    bottom: 0%;
    z-index: 1500;
  }
  div.tothetop a {
    display: block;
    margin: 0;
    background: url(../images/scrolltop_pc.png);
    width: 108px;
    aspect-ratio: 108/170;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.3;
  }
  div.tothetop a:hover {
    opacity: 1;
  }
}
@media screen and (max-width: 768px) {
  div.tothetop {
    position: fixed;
    right: 2%;
    bottom: 1%;
    z-index: 1500;
  }
  div.tothetop a {
    display: block;
    margin: 0;
    background: url(../images/scrolltop_sp.png);
    width: 60px;
    aspect-ratio: 108/170;
    background-size: contain;
    text-indent: -9999px;
    overflow: hidden;
    opacity: 0.3;
  }
  div.tothetop a:hover {
    opacity: 1;
  }
}
/*==============
// タブ 
==============*/
.tab-area {
  display: flex;
  padding: 0;
  margin-top: 0;
  cursor: pointer;
  width: 100%;
}

.tab {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* タブの中身 */
.panel {
  display: none;
  width: 100%;
  margin: 0 auto;
}

.panel.activetab {
  display: block;
}

/* -----------------------
// プラグイン：modaal 
-----------------------*/
.modaal-outer-wrapper {
  max-width: 1160px;
  max-height: 90%;
  width: 80%;
  height: fit-conten;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
}

.modaal-inner-wrapper {
  display: block;
  width: 100%;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  position: relative;
  text-align: center;
  padding: 0 !important;
  max-height: 100%;
  margin: auto;
}

.modaal-wrapper {
  overflow: hidden;
}

.modaal-close:before,
.modaal-close:after {
  background: #cfcfcf;
}

@media screen and (max-width: 768px) {
  .modaal-outer-wrapper {
    width: 98%;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    height: fit-content;
  }
  .modaal-close {
    right: 8px;
    top: 8px;
  }
}