@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/* =========================================
   PCファースト
   基本スタイル = PC用
   @media (max-width: 1023px) = タブレット用の上書き
   @media (max-width: 900px)  = 縮小ヘッダー
   @media (max-width: 768px)  = スマホ用の上書き
========================================= */

/* 変数（色・サイズはここで一括管理） */
:root{
  --color-primary: #2a6df4;
  --color-primary-dark: #1d4fb8;
  --color-text: #333333;
  --color-text-light: #ffffff;
  --color-bg: #ffffff;
  --color-hfbg: #00a665;
  --color-border: #dddddd;
  --font-base: "Noto Sans JP", sans-serif;
  --bold: 700;
  --container-width: 1200px;
  --container-narrow: 720px;
  --header-height: 80px;
  --radius: 0;
  --transition: .3s ease;
}

/* リセット */
*, *::before, *::after{box-sizing: border-box;}
html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height); /* 固定ヘッダー分のずれ防止 */
  -webkit-text-size-adjust: 100%;
  font-size: 10px;
}
body{
  margin: 0;
  font-family: var(--font-base);
  line-height: 1.8;
  font-optical-sizing: auto;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul, ol, figure{
  margin: 0;
}
p{
  word-break: auto-phrase;
}
ul, ol{
  padding: 0;
  list-style: none;
}
img{
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
a{
  color: inherit;
  text-decoration: none;
  transition: all var(--transition);
}
a:hover{
  opacity: .8;
  color: #ffd156;
}
button, input, textarea, select{
  font: inherit; color: inherit;
}
button{
  cursor: pointer;
}
/* スクリーンリーダー用（見た目は非表示） */
.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* パーツ */
.forpc{
  display: inline-block;
}
.forsp{
  display: none;
}
/* レイアウト */
.content{
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}
.section{
  padding: 80px 0;
}
.section--gray{
  background: var(--color-bg-gray);
}
.section__title{
  margin-bottom: 40px;
  font-size: 1.75rem;
  text-align: center;
  line-height: 1.4;
}
/* フォント */
.font-bold{
  font-weight: var(--bold);
  font-style: normal;
}
/* ボタン リンク */
.txtlink{
  font-family: var(--font-base);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 600;
  text-align: center;
}
.txtlink a::after{
  content: "≫";
  margin-left: .5em;
}
.txtlink:hover{
  color: #977c5c;
}
.linkbtn{
  display: block;
  margin: 2em 0 0;
  padding: .3em;
  font-family: var(--font-mincho);
  font-weight: 600;
  text-align: center;
  color: var(--color-text-light);
  border: 1px solid #ae975a;
  background: #ae975a;
}
.linkbtn:hover{
  color: var(--color-text);
  border: 1px solid #000000;
  background: #f5f1e7;
}
.txtlinkbtn{
  text-decoration: none;
}
.txtlinkbtn::before{
  content: "▲";
  display: inline-block;
  margin-right: .2em;
  transform: rotate(90deg);
}
/* ヘッダー */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--color-hfbg);
}
.site-header__inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
}
.site-logo{
  position: relative;
  z-index: 2;
}
.site-logo img{
  width: auto;
  height: 60px;
}
/* PCでは横並びメニュー */
.global-nav ul{
  display: flex;
  align-items: center;
  gap: 18px;
  color: #ffffff;
}
.global-nav a:hover{
  text-decoration: underline;
  color: #ffd156;
}
.global-nav .navbtn{
  padding: .5em .7em;
  color: #000000;
  background: #dbc97b;
}
.global-nav .navbtn:hover{
  text-decoration: none;
  color: #ffffff;
  background: #403b23;
}
.global-nav__parent{
  position: relative;
}
.global-nav__parent > a::after{
  /*
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  */
}
.global-nav .global-nav__sub{
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  z-index: 10;
  display: block;
  min-width: 200px;
  padding: 1em 0;
  background: #000000;
  border: 1px solid #333333;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.global-nav .global-nav__sub::before{
  content: "";
  position: absolute;
  top: -13px;
  left: 0;
  right: 0;
  height: 13px;
}
.global-nav__parent:hover > .global-nav__sub, .global-nav__parent:focus-within > .global-nav__sub{
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
.global-nav .global-nav__sub a{
  display: block;
  padding: 8px 20px;
  white-space: nowrap;
}
.global-nav .global-nav__sub a:hover{
  background: var(--color-bg-gray);
  opacity: 1;
}
/* PCではハンバーガー関連を使わない */
.nav-toggle-input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle, .nav-overlay{
  display: none;
}
/* フッター */
.site-footer{
  padding: 12px 0 12px;
  color: #ffffff;
  background: var(--color-hfbg);
}
.site-footer__copy{
  width: 100%;
  text-align: center;
}

/* ヘッダーメニュ対策 */
@media (max-width: 1060px){
  /* レイアウト */
  .global-nav ul{
    gap: 12px;
  }
}
/* タブレット（〜1023px） */
@media (max-width: 1023px){
  /* レイアウト */
  .content--hf{
    max-width: var(--container--hf-width__sp);
    padding: 0 10px;
  }
  .content{
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
  }
}
/* 縮小ヘッダー（〜900px） */
@media (min-width: 400px){
  /* パーツ */
  /* ---------- ハンバーガーメニュー（CSSのみ） ---------- */
  /* ボタン（label） */
  .nav-toggle{
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    cursor: pointer;
    border-radius: var(--radius);
 }
  /* 3本線：中央の線 + 前後の疑似要素 */
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after{
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-border);
    transition: transform var(--transition), background var(--transition);
  }
  .nav-toggle__bar{
    position: relative;
  }
  .nav-toggle__bar::before, .nav-toggle__bar::after{
    content: "";
    position: absolute;
    left: 0;
  }
  .nav-toggle__bar::before{
    top: -8px;
  }
  .nav-toggle__bar::after {
    top: 8px;
  }
  /* 開いているとき：×に変形 */
  .nav-toggle-input:checked + .nav-toggle .nav-toggle__bar{
    background: transparent;
  }
  .nav-toggle-input:checked + .nav-toggle .nav-toggle__bar::before{
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle-input:checked + .nav-toggle .nav-toggle__bar::after {
    transform: translateY(-8px) rotate(-45deg);
  }
  /* キーボード操作時のフォーカス表示 */
  .nav-toggle-input:focus-visible + .nav-toggle{
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
  /* 背景オーバーレイ（タップで閉じる） */
  .nav-overlay{
    display: block;
    position: fixed;
    inset: var(--header-height) 0 0 0;
    background: rgba(0, 65, 101, .8);
    visibility: hidden;
    opacity: 0;
    transition: opacity var(--transition), visibility var(--transition);
    cursor: pointer;
  }
  .nav-toggle-input:checked ~ .nav-overlay{
    visibility: visible;
    opacity: 1;
  }
  /* メニュー本体 */
  .global-nav{
    position: absolute;
    top: var(--header-height);
    right: 0;
    width: auto;
    background: rgba(0, 166, 101, .8);
    border-bottom: 1px solid var(--color-border);
    visibility: visible;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }
  .nav-toggle-input:checked ~ .global-nav{
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .global-nav ul{
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1em 1em;
  }
  .global-nav li{
    margin-bottom: .5em;
    text-align: right;
  }
  .global-nav a{
    display: inline-block;
    padding: 12px 0;
    font-size: 1.4rem;
  }
  .global-nav .btn{
    margin-top: 8px;
  }
  .global-nav{
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
  }
  .global-nav__parent > a::before, .global-nav__parent > a::after{
    content: "-";
  }
  .global-nav .global-nav__sub{
    position: static;
    min-width: 0;
    padding: 0 0 1em;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    visibility: inherit; /* メニューが閉じているときは一緒に隠れる */
    opacity: 1;
    transform: none;
    transition: none;
  }
  .global-nav .global-nav__sub::before {
    display: none;
  }
  .global-nav__parent:hover > .global-nav__sub, .global-nav__parent:focus-within > .global-nav__sub{
    visibility: inherit;
    transform: none;
  }
  .global-nav .global-nav__sub a{
    padding: 8px 0;
  }
  .global-nav .global-nav__sub a:hover {
    background: none;
  }
  /* メニューを開いている間は背面のスクロールを止める */
  body:has(.nav-toggle-input:checked){
    overflow: hidden;
  }
  /* フッター */
  .site-footer__info1{
    width: 90%;
    margin: 0 auto;
  }
  .site-footer__info2{
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
  }
  .site-footer__info2 .acalogo{
    width: 100%;
    margin: 1em auto .5em;
    text-align: center;
  }
  .site-footer__info2 .acalogo img{
    display: inline;
    width: 80px;
    height: auto;
  }
}
/* スマホ（〜768px） */
@media (max-width: 768px){
  .forpc{
    display: none;
  }
  .forsp{
    display: inline-block;
  }
  .txtlink{
    font-size: 1.4rem;
  }
}


/* コンテンツエリア */
.wrap{
  background: #fff27e;
}
.container{
  max-width: var(--container-width);
  margin: 0 auto;
  text-align: center;
  background: #ffffff url(/images/bg_pc.png) 50% -40px repeat-y;
}
#main h1{
  padding: 120px 120px 20px 0;
}
.content__title{
  position: relative;
  display: inline-block;
  margin: 2em auto 1em;
  padding: 0 .5em .3em;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #00a161;
  border-bottom: 2px solid #00a161;
}
.content__title::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 20px 10px 0 10px;
  border-color: #00a161 transparent transparent;
  translate: -50% 100%;
}
.content__title::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  border-style: solid;
  border-width: 15.5px 7.8px 0 7.8px;
  border-color: #ffffff transparent transparent;
  translate: -50% 100%;
}

/* スマホ（〜768px） */
@media (max-width: 768px){
  .wrap{
    background: #fff27e url(/images/bg_sp.png) 50% 0 no-repeat;
  }
  .container{
    max-width: 100%;
    background: #ffffff url(/images/bg_sp.png) 50% -40px / 100% auto repeat-y;
  }
  #main h1{
    padding: 70px 20% 20px;
  }
  #main .infobox{
    padding: 10px 20% 20px;
  }
  .content__title{
    margin: 1em auto;
    font-size: 2rem;
  }
}
