/* setting */
/* ============================================ */
html.active body {
  touch-action: none;
  overflow-y: hidden;
}
body{
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.02em;
  color: #03283b;
  font-size: 16px;
  line-height: 1.7;
  background-color: #fff;
  background-color: #fdfdf8;
  background-color: #F0F0ED;
  background-color: #F3F3EB;
}
@media (max-width: 430px){
  body{
    font-size: 14px;
  }
}

img{
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}
::-webkit-full-page-media, :future, :root img{
  image-rendering: unset;
}
a{
  transition: 0.3s;
}
a:hover{
  opacity: 0.8;
}
table { border-collapse: collapse; border-spacing: 0; }

.CL { clear: both; }
.CF:after { clear: both; display: block; content: ""; }

@media screen and (min-width: 768px) {
  .BrSmp,BrSp,.SpBr,.SmpBr,.PcNone { display: none; }
}
@media screen and (max-width: 767px) {
  .BrPc,.PcBr { display: none; }
  .SmpNone { display: none; }
}

/* =========================================
   Base tokens
========================================= */
:root {
  --brand: #6BA17A;              /* ヘッダーのグリーン */
  --menu-bg: rgba(59, 138, 89, 0.9);
  --text: #222;
  --white: #fff;
  --hd-h: 64px;                  /* ヘッダー想定高：JSで上書きも可 */

  /* z-index の序列（可視化＆一元管理） */
  --z-header: 2000;
  --z-overlay: 3000;
  --z-menu: 4000;
}

/* ユーティリティ */
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

/* =========================================
   Catch band (上帯)
========================================= */
.hd__catch {
  background: #03283b;
  color: var(--white);
  font-size: .9rem;
}
.hd__catch .hd__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 3px 8px;
  font-size: 13px;
  @media (max-width: 767px) {
    font-size: 12px;
  }
}

/* =========================================
   Header (PC基準)
========================================= */
.hd {
  background: var(--brand);
  color: var(--white);
  z-index: 5;
}
.hd .hd__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 15px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.hd__logo {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .02em;
  @media (max-width: 767px) {
    font-size: 22px;
  }
}

/* PCナビ */
.hd__nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd__nav-link {
  display: block;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.hd__nav-link:hover {
  text-decoration: underline;
}

/* 固定ヘッダー（JSで .is-fixed / .is-visible / body.has-fixed-header を付与） */
.hd.is-fixed {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  background: var(--brand);
  opacity: 1;
}
.hd.is-fixed.is-visible {
  animation: hd-fade-in .35s ease-out both;
}
@keyframes hd-fade-in {
  from { transform: translateY(-8px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hd.is-fixed.is-visible { animation: none; }
}

/* =========================================
   Hamburger (SPで表示)
========================================= */
.c-hamburger {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: relative;
  color: var(--white);
}
.c-hamburger__bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: currentColor;
  transition: transform .25s, top .25s, opacity .2s;
}
.c-hamburger__bar:nth-child(1) { top: 14px; }
.c-hamburger__bar:nth-child(2) { top: 21px; }
.c-hamburger__bar:nth-child(3) { top: 28px; }
.c-hamburger[aria-expanded="true"] .c-hamburger__bar:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.c-hamburger[aria-expanded="true"] .c-hamburger__bar:nth-child(2) {
  opacity: 0;
}
.c-hamburger[aria-expanded="true"] .c-hamburger__bar:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* =========================================
   Overlay (SPメニュー背面)
========================================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .25);
  backdrop-filter: blur(2px);
  z-index: var(--z-overlay);
  display: none;

  /* ふわっと用追加 */
  opacity: 0;
  transition: opacity .24s ease;
}
body.is-menu-open .overlay {
  display: block;
}
.overlay.is-open {
  opacity: 1;
}

/* =========================================
   Global Menu (SP専用の独立ブロック)
========================================= */
.global-menu {
  position: fixed;
  inset: 0;
  display: none;
  grid-template-rows: auto 1fr;
  background: var(--menu-bg);
  color: var(--white);
  z-index: var(--z-menu);

  /* ふわっと用追加 */
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .28s ease, transform .32s ease;
  will-change: opacity, transform;
}
.global-menu[aria-hidden="true"] {
  display: none;
}
body.is-menu-open .global-menu {
  display: grid;
}
.global-menu.is-open {
  opacity: 1;
  transform: translateY(0);
}

/* 上部バー（左ロゴ／右×） */
.global-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}
.global-menu__logo {
  font-weight: 700;
  @media (max-width: 767px) {
    font-size: 22px;
  }
}
.global-menu__close {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  position: relative;
}
.global-menu__close::before,
.global-menu__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}
.global-menu__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* リスト（中央寄せ） */
.global-menu__list {
  display: grid;
  place-content: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 16px;
  text-align: center;
  overflow: auto;
}
.global-menu__link {
  display: inline-block;
  color: var(--white);
  text-decoration: none;
  font-size: 1.25rem;
  line-height: 1.8;
}
.global-menu__link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* =========================================
   Responsive
========================================= */
/* PC >= 769px：ハンバーガー非表示 */
@media (min-width: 769px) {
  .c-hamburger { display: none; }
}

/* SP <= 768px：PCナビは隠す（CSSだけでオフ） */
@media (max-width: 768px) {
  .hd__nav { display: none; }
  body.is-menu-open { overflow: hidden; } /* メニュー中の背面スクロール抑止 */
}

/* 動きに弱い設定の人へ配慮 */
@media (prefers-reduced-motion: reduce) {
  .global-menu, .overlay {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* パンくずリスト
--------------------------- */
#breadcrumbs {
  padding: 16px 0;
  width: 100%;
}
#breadcrumbs .content_width{
  width: 95%;
  max-width: 1420px;
  font-size: 13px;
  margin: 0px auto;
}

/* ///// CONTENT BODY ///////////////////////// */

@media screen and (min-width: 768px) {

/* One Column */
.ContentBody.one-column {
  margin: 0px auto;
  padding-bottom: 50px;
  width: 980px;
}

/* Two Column */
.ContentBody.two-column{
  display: flex;
  gap: 40px;
  margin: 0px auto;
  padding-bottom: 30px;
  width: 1320px;
}
.MainArea {
  flex: 1;
  padding-bottom: 50px;
  max-width: 980px;
  min-height: 400px;
}

/* wide */
section.ContentArea {
  clear: both;
  padding: 50px 0;
  width: 100%;
  overflow: hidden;
}
section .ContentBody {
  margin: 0px auto;
  width: 980px;
}


}
@media screen and (max-width: 767px) {

/* Wide */
section.ContentArea {
  padding: 30px 0 10px;
  width: 100%;
  overflow: hidden;
}
.ContentBody {
  box-sizing: border-box;
  padding: 0 10px;
  width: 100%;
}

/* One column */
.ContentBody#main_area {
  padding-top: 30px;
}

/* Two column */
.MainArea {
  width: 100%;
  height: auto;
  padding: 30px 0;
}
}



/* ///// SIDE AREA ////////////////////////////// */
/* PC */
@media (min-width: 768px) {
  .SideArea {
    flex-shrink: 0;
    padding-bottom: 50px;
    width: 300px;
  }

  /* SIDE MENU
  --------------------------- */
  dl.SideMenu {
    display: block;
    margin: 0 0 20px;
    padding: 0px;
    width: 100%;
  }
  dl.SideMenu dt {
    display: block;
    margin: 0px;
    padding: 16px 5px;
    width: auto;
    background-color: #03283b;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
  }
  dl.SideMenu dd {
    margin: 0;
    padding: 0;
  }
  dl.SideMenu dd.SList {
    display: block;
    border-bottom: 1px gray dotted ;
  }
  dl.SideMenu a {
    position: relative;
    display: block;
    padding: 10px 10px 10px 30px;
    width: auto;
    color: #444;
  }

  dl.SideMenu a::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  border-top: solid 2px #0b9eeb;
  border-right: solid 2px #0b9eeb;
  width: 10px;
  height: 10px;
  transform: rotate(45deg) translateY(-50%);
}


  dl.CategoryMenu {
    margin: 0;
    padding: 0;
  }
  dl.CategoryMenu dt {
    border-bottom: 1px gray dotted ;
    padding: 10px 5px;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    color: #634e25;
  }
  dl.CategoryMenu dd a {
    padding-left: 45px;
    background: var(--sm-arrow) 16px center/14px no-repeat;
  }
  a#sm_current,
  dd.SmCurrent a { font-weight: bold; }

  /* SIDE BANNER
  --------------------------- */
  ul.SideBanner {
    display: block;
    margin: 0px;
    padding: 0px;
    width: 100%;
    list-style-type: none;
  }
  ul.SideBanner li {
    display: block;
    margin: 0 0 10px 0;
    padding: 0px;
  }
  ul.SideBanner a {
    display: block;
    width: 100%;
  }
  ul.SideBanner img {
    display: block;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
  }
}
/* SP */
@media (max-width: 767px) {
  #side_area {
    margin: 0 auto;
    width: 100%;
    height: auto;
    max-width: 480px;
    background-color: #fff;
  }
  .SideArea {
    box-sizing: border-box;
    padding: 10px;
  }

  /* SIDE MENU
  --------------------------- */
  dl.SideMenu {
    display: block;
    margin: 0 0 20px;
    padding: 0px;
    width: 100%;
  }
  dl.SideMenu dt {
    display: block;
    margin: 0px;
    padding: 13px 5px;
    width: auto;
    background-color: #03283b;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
  }

  dl.SideMenu dl {
    margin: 0;
    padding: 0;
  }
  dl.SideMenu dd {
    margin: 0px;
    padding: 0px;
  }
  dl.SideMenu dd.SList {
    display: block;
    border-bottom: 1px gray dotted ;
  }
  dl.SideMenu a {
    position: relative;
    display: block;
    padding: 10px 10px 10px 30px;
    width: auto;
    background: var(--sm-arrow) 8px center/14px no-repeat;
    color: #444;
  }
  dl.SideMenu a::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  border-top: solid 2px #0b9eeb;
  border-right: solid 2px #0b9eeb;
  width: 10px;
  height: 10px;
  transform: rotate(45deg) translateY(-50%);
  }
  dl.CategoryMenu {
    margin: 0;
    padding: 0;
  }
  dl.CategoryMenu dt {
    border-bottom: 1px #ccc dotted ;
    padding: 10px 5px;
    background-color: #fff;
    text-align: center;
    font-weight: bold;
    color: #3297d1;
  }
  dl.CategoryMenu dd a {
    padding-left: 45px;
    background: var(--sm-arrow) 16px center/14px no-repeat;
  }
  a#sm_current,
  dd.SmCurrent a { font-weight: bold; }

  /* SIDE BANNER
  --------------------------- */
  ul.SideBanner {
    display: block;
    margin: 0 auto;
    padding: 0px;
    width: 300px;
    list-style-type: none;
  }
  ul.SideBanner li {
    display: block;
    margin: 0 0 10px 0;
    padding: 0px;
    text-align:center;
  }
  ul.SideBanner a {
    display: block;
    width: 100%;
  }
  ul.SideBanner img {
    display: block;
    margin: 0 auto;
    padding: 0;
    max-width: 100%;
  }
}



/* media footer */
/* ============================================ */
.media-ft {
  clear: both; 
  background: url(/img/fm/aj01/frame/bg-cta.webp) center/cover no-repeat;
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.media-ft__inner {
  max-width: 1920px;
  max-width: 1420px;
  margin: 0 auto;
}

.media-ft__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
}

.media-ft__desc {
  font-size: 18px;
  margin-bottom: 40px;
}

.media-ft__menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

@media (max-width: 767px) {
  .media-ft__title {
    font-size: 28px;
    font-size: 22px;
  }

  .media-ft__desc {
    font-size: 16px;
    margin-bottom: 30px;
  }
}


.media-ft__menu-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  margin-bottom: 6px;
  list-style: none;
  padding: 0;
}

.media-ft__menu-row li a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 6px;
  transition: 0.3s;
}

.media-ft__menu-row li a:hover {
  background-color: rgba(255,255,255,0.1);
  text-decoration: underline;
  text-decoration: none;
}


/* domain footer */
/* ============================================ */
.ft {
  width: 100%;
  background-color: #03283b;
  color: #fff;
}

.ft__inner {
  width: 95%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 70px 0;
}

.ft__title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 6px;
}

.ft__desc {
  font-size: 18px;
  margin-bottom: 40px;
}

.ft__content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

.ft__column {
  min-width: 200px;
}

.ft__column--right {
  display: flex;
}

.ft__column--right .ft__nav-list {
  margin: 0 40px;
}

.ft__column--right .ft__nav-list:last-child {
  margin-right: 0;
}

.ft__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft__nav-item {
  margin-bottom: 15px;
}

.ft__nav-link {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.ft__nav-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.ft__logo {
  margin-bottom: 50px;
}

.ft__logo img {
  width: 300px;
}

.ft__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ft__info-item {
  margin-bottom: 8px;
  line-height: 1.6;
}

.ft__copyright {
  text-align: center;
  font-size: 14px;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
  .ft__content {
    font-size: 13px;
  }
  .ft__column--right .ft__nav-list {
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  .ft__inner {
    padding: 10% 0;
  }
  .ft__content {
    display: block;
    text-align: center;
    margin-bottom: 20%;
  }
  .ft__logo {
    margin-bottom: 10%;
  }
  .ft__column--right {
    display: none;
  }
  .ft__copyright {
    text-align: center;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .ft__inner {
    padding: 15% 0;
  }
}

/* return top */
/* ============================================ */
/* 初期は非表示 */
.return-top {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0);
  transition: opacity .25s, transform .25s;
}

.return-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* ← 見えてる時だけホバー効果を効かせる */
.return-top.is-visible:hover {
  transform: translateY(-5px);
}

/* 小さい画面では少し縮小 */
@media (max-width: 768px) {
  .return-top { bottom: 20px; right: 10px; }
  .return-top__link { width: 40px; height: 40px; }
}

/* 画像サイズ系（そのままでOK） */
.return-top__link { display:inline-block; width:50px; height:50px; }
.return-top__icon { width:100%; height:auto; display:block; }


