@charset "utf-8";

/* ------------------
 reset.css
------------------ */
@charset "utf-8";*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}:where([hidden]:not([hidden='until-found'])){display:none!important}:where(html){color-scheme:normal;scroll-behavior:smooth;cursor:auto;-moz-tab-size:2;tab-size:2;-webkit-tap-highlight-color:transparent;-ms-text-size-adjust:100%;text-size-adjust:100%;-webkit-text-size-adjust:100%;word-break:break-word;font-size:62.5%;line-height:1.5;margin:0;padding:0}@supports not (min-block-size:100dvb){:where(html){block-size:100%}}@media (prefers-reduced-motion:no-preference){:where(html:focus-within){scroll-behavior:smooth}}:where(body){block-size:100%;block-size:100dvb;line-height:1.5;-webkit-font-smoothing:antialiased}:where(input,button,textarea,select){font:inherit;color:inherit}:where(textarea){resize:vertical;resize:block}:where(button,label,select,summary,[role='button'],[role='option']){cursor:pointer}:where(:disabled){cursor:not-allowed}:where(label:has(>input:disabled),label:has(+input:disabled)){cursor:not-allowed}:where(button){border:none;background:none}:where(a){text-underline-offset:.4ex;text-decoration:none}:where(ul,ol,li){list-style:none}:where(img,svg,video,canvas,audio,iframe,embed,object){display:block}:where(img,picture,svg){max-inline-size:100%;block-size:auto}:where(p,h1,h2,h3,h4,h5,h6){overflow-wrap:break-word}:where(hr){border:none;border-block-start:1px solid;color:inherit;block-size:0;overflow:visible}:where(address){font-style:normal}:where(table){border-collapse:collapse}:where(:focus-visible){outline:2px solid var(--focus-color,Highlight);outline-offset:2px}:where(.visually-hidden:not(:focus,:active,:focus-within,.not-visually-hidden)){clip-path:inset(50%)!important;height:1px!important;width:1px!important;overflow:hidden!important;position:absolute!important;white-space:nowrap!important;border:0!important}

/* ------------------
 グローバル変数
------------------ */
:root {
  /* 色 */
  --main-color: #298C5A;
  --sub-color: #FC0020;
  --bg-color: #D4E3E8;

  /* 文字サイズ */
  --main-txt: 1.6rem;
  --font-28: 2.8rem;
  --font-32: 3.2rem;

  /* 幅 */
  --contents-w: 1200px;

  /* 余白 */
  --space-65: 65px;

}
@media screen and (max-width: 767px) {
  :root {
    /* 文字サイズ */
    --main-txt: 1.5rem;
    --font-28: 2.2rem;
    --font-32: 2.4rem;

    /* 余白 */
    --space-65: 35px;
  }
}

html {
	scroll-padding-top: 78px;
}

/* ------------------
 フォント
------------------ */
body {
	padding-top: 78px;
  font-family: 'Noto Sans JP','Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',Meiryo,sans-serif;
  font-size: var(--main-txt);
	line-height: 1.8;
  color: #222;
	position: relative;
  @media screen and (max-width: 767px) {
    padding-top: 70px;
  }
}

/* ------------------
 config
------------------ */
:where(a){color: #000;&:hover {opacity: 0.8;}}
:where(h1,h2,h3,h4,h5){line-height: 1.5;}

/* スマホメニュー非表示 */
.spNav_btn,.spNav_panel {display: none;}

/* スマホ閲覧時のみ表示 */
.sp_block {display: none;}

/* ------------------
 SVGスプライト
------------------ */
.fill_white {
  fill: #fff;
}
.fill_sub {
  fill: #FC0020;
}

/* ------------------
 レイアウト
------------------ */
[class$="container"] {
	max-width: var(--contents-w);
	width: 90%;
	margin-inline: auto;
}

/* ------------------
 各種パーツ
------------------ */
.more_btn {
  text-align: center;
}
.more_btn a {
  padding: 6px 6px 6px 24px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  gap: 1em;
  background: var(--sub-color);
  color: #fff;
  font-weight: bold;
}
.more_btn span {
  min-width: 32px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* ------------------
 見出し関連
------------------ */
/* 見出し */
.cmn_heading {
  padding-bottom: 2em;
  text-align: center;
  line-height: 1.5;
}
.cmn_heading--en {
  font-size: var(--font-28);
  font-weight: bold;
  letter-spacing: 0.1em;
}
.cmn_heading--jp {
  font-size: var(--main-txt);
  font-weight: 500;
}

/* ------------------
 テーブル
------------------ */

/* ------------------
 テキスト関連
------------------ */
.main_txt {
  padding-bottom: 1.5em;
  &:last-child {
    padding-bottom: 0;
  }
}

/* ------------------
 リスト、インデント関連
------------------ */

/* ------------------
 header
------------------ */
.header {
  width: 100%;
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  @media screen and (min-width: 768px) {
    min-width: 1280px;
  }
  @media screen and (max-width: 767px) {
    height: 70px;
    padding-right: 80px;
  }
}
.header_logo {
  height: 100%;
  a {
    height: 100%;
    padding-left: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.gnav {
  height: 100%;
}
.pc_nav--list {
  width: 100%;
  height: 100%;
  display: flex;
}
.pc_nav--item {
  height: 100%;
  a {
    width: 100%;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: bold;
    position: relative;
  }
}
.pc_nav--item:last-child a {
  padding-right: 20px;
}
.pc_nav--item:not(:last-child) a::before {
  content: "";
  width: 1px;
  height: 1em;
  display: block;
  background: var(--main-color);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ------------------
 お問い合わせ
------------------ */
.cmn_contact {
  width: 100%;
  padding: var(--space-65) 5%;
  background: var(--bg-color);
  position: relative;
}
.cmn_contact--box {
  max-width: 590px;
  width: 100%;
  padding: var(--space-65) 5%;
  border-radius: 16px;
  background: #fff;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}
.cmn_contact--img01 {
  position: absolute;
  top: -60px;
  left: 0;
  z-index: 1;
  @media screen and (max-width: 767px) {
    width: 80%;
  }
}
.cmn_contact--img02 {
  position: absolute;
  bottom: -45px;
  right: 0;
  z-index: 1;
  @media screen and (max-width: 767px) {
    width: 45%;
  }
}

/* ------------------
 footer
------------------ */
.footer {
  width: 100%;
  position: relative;
}
.footer_address {
  width: 100%;
  padding: 65px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer_img01 {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 0;
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.footer_img02 {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.footer_img03 {
  position: absolute;
  right: 0;
  bottom: 65px;
  z-index: 3;
  @media screen and (max-width: 767px) {
    display: none;
  }
}
.footer_bar {
  width: 100%;
  background: #261915;
  position: relative;
  z-index: 2;
}
.copyright {
  width: 100%;
  height: 92px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  letter-spacing: 0.05em;
  font-size: var(--main-txt);
  font-weight: 500;
  @media screen and (max-width: 767px) {
    height: auto;
    padding: 1em 5%;
    display: inline-block;
    font-size: 1.3rem;
    text-align: center;
  }
}

/* ------------------
  Backtop
------------------ */
#backtop {
  position: fixed;
  display: block;
  width: 50px;
  height: 50px;
  right: 3%;
  bottom: 50px;
  border-radius: 50%;
  background: rgba(50,50,50,0.9);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  z-index: -10;
}
#backtop::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-25%) rotate(-45deg);
  top: 50%;
  left: 0;
  right: 0;
  margin-inline: auto;
}
#backtop.active {
  opacity: 0.6;
  visibility: visible;
  z-index: 50;
}

@media screen and (max-width: 1279px) {
/* 推奨動作環境1280pxに固定 */
  body {
    width: 1280px;
  }
}

@media screen and (min-width: 768px) {
/* PCの場合はtelリンクを無効 */
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

/* iPad調整用 */
@media screen and (orientation: portrait) and (min-width: 768px){}

@media screen and (max-width: 767px) {
  body {width: 100%;}
  .sp_block {display: block;}
  .pc_block {display: none;}

  .pc_nav--list {display: none;}

  /* ------------------
  スマホメニュー
  ------------------ */
  /* ボタン */
  .spNav_btn {
    display: block;position: absolute; width: 50px;height: 50px;padding-top: 26px; background: var(--main-color);top:10px;right: 10px;transition: all 0.5s;z-index: 11;color: #fff;font-size: 1.2rem;font-weight: bold;border-radius: 0;
    span {position: absolute;display: block;height: 3px;background: #fff;margin-inline: auto;}
    
    /* 閉じた状態 */
    &[aria-pressed="false"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="false"] span:nth-child(1) {top: 8px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(2) {top: 16px;left: 0;right: 0;}
    &[aria-pressed="false"] span:nth-child(3) {top: 24px;left: 0;right: 0;}
    
    /* 開いた状態 */
    &[aria-pressed="true"] span {width: 30px;transition: all 0.5s;}
    &[aria-pressed="true"] span:nth-child(1) {top: 35%;transform: translateY(-1.5px) rotate(45deg);left: 11px;}
    &[aria-pressed="true"] span:nth-child(2) {display: none;}
    &[aria-pressed="true"] span:nth-child(3) {bottom: 65%;transform: translateY(1.5px) rotate(-45deg);left: 11px;}
  }

  /* メニューパネル */
  .spNav_panel {
    display: block;
    height: 100vh;
    width: 85%;
    max-width: 340px;
    padding-top: 80px;
    position: fixed;
    top: 0;
    right: 0;
    transition: all 0.5s;
    background: var(--main-color);
    box-shadow: -8px 0px 8px -1px rgba(0, 0, 0, 0.2);
    overflow: auto;
    z-index: 9;
    
    /* パネルが閉じている状態 */
    &[aria-hidden="true"] {
      visibility: hidden;
      pointer-events: none;
      transform: translateX(100%);
    }

    /* パネルが開いている状態 */
    &[aria-hidden="false"] {
      visibility: visible;
      transform: translateX(0);
    }
  }

  /* メニューパネル内の項目 */
  .spNav_panel--contact {
    width: 90%;
    padding: 10px;
    background: #fff;
    margin: 90px auto 20px;
  }
  .spNav_panel--contact .cmn_heading {
    padding-bottom: 10px;
  }
  .spNav_panel--contact .cmn_heading--txt {
    font-size: var(--font-24);
  }
  .spNav_panel--contact .cmn_heading--txt {
    font-size: var(--font-15);
  }
  .spNav_panel--contact .cmn_contact--btns {
    gap: 10px;
    p:nth-child(1) {
      max-width: calc(27.5% - 20px / 3);
    }
    p:nth-child(2) {
      max-width: calc(45% - 20px / 3);
    }
    p:nth-child(3) {
      max-width: calc(27.5% - 20px / 3);
    }
    a {
      padding: 0.5em 0.25em 0.25em;
      flex-direction: column;
      gap: 3px;
      font-size: 1.3rem;
    }
    img {
      width: 18px;
      height: auto;
    }
    svg {
      width: 18px;
      aspect-ratio: 23 / 16;
    }
    & .icon_fill {
      fill: var(--sub-color);
    }
  }

  .spNav_list {
    width: 100%;
    padding: 0 0 150px;
    font-size: 1.5rem;
  }
  .spNav_list--item {
    border-bottom: 1px solid #fff;
    a {
      display: block;
      padding: 12px 20px;
      color: #fff;
    }
    & > a {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    & > a .arrow_icon {
      --arrow-size: 30px;
      border: 1px solid #fff;
    }
    & > a .arrow_icon::after {
      border-top: 1px solid #fff;
      border-right: 1px solid #fff;
    }
    & > a .arrow_icon::before {
      background: #fff;
      height: 1px;
    }
  }
  .spNav_accordion--title {
    width: 100%;
    padding: 12px 30px 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    &::after {
      display: inline-flex;
      justify-content: center;
      align-items: center;
    }
    
    /* アコーディオン開閉時の状態表示 */
    &[aria-expanded="false"]::after {content: "+";}
    &[aria-expanded="true"]::after {content: "-";}

    /* アコーディオン内の項目 */
    &[aria-expanded="false"] + .spNav_accordion {
      max-height: 0;
      height: auto;
    }
    &[aria-expanded="true"] + .spNav_accordion {
      max-height: 1800px;
    }
  }
  .spNav_accordion {
    overflow: hidden;
    background: #fff;
    transition: all 0.5s;
    a {
      padding-left: 5%;
      color: var(--main-color);
      font-weight: bold;
    }
    & .arrow_icon {
      --arrow-size: 30px;
    }
    a:has(> .arrow_icon) {
      width: 100%;
      display: flex;
      align-items: center;
      gap: 10px;
    }
  }
  .spNav_accordion--item:not(:last-child) > a {
    border-bottom: 1px dashed #ccc;
  }
  /* アコーディオン内のアコーディオン */
  .spNav_accordion .spNav_accordion {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 6px;
  }
  .spNav_accordion .spNav_accordion--title {
    color: var(--main-color);
    font-weight: bold;
    background: var(--bg-color);
  }
  .spNav_accordion--subItem {
    max-width: calc(50% - 3px);
    &:nth-child(1) {
      padding-top: 6px;
    }
    &:nth-child(2) {
      padding-top: 6px;
    }
    &:nth-last-child(1) {
      padding-bottom: 6px;
      border-bottom: none;
    }
    &:nth-last-child(2) {
      padding-bottom: 6px;
      border-bottom: none;
    }
  }
  .spNav_accordion--subItem a {
    width: 100%;
    height: auto;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    border-bottom: none;
    font-size: var(--font-14);
    img {
      width: 100%;
      height: auto;
    }
  }
  /* bodyをタッチ不可に */
  #onbody {position: absolute;height: 100%;width: 100%; top: 0;left: 0;background: rgba(0, 0, 0, 0.6);z-index: 8;overflow: hidden;pointer-events: none;}
  body:has(#onbody[aria-hidden="true"]) {height: 100%; overflow: hidden;}
}

/* 印刷用設定 */
@media print {
  body {
    width:1280px!important;
    zoom: 0.68;
    -webkit-print-color-adjust: exact;
  }
  .header {
    position: absolute;
    min-width: 1280px;
  }
  #backtop {
    display: none;
  }
}
@page {
  size: A4;margin: 5px;
}