@charset "utf-8";
/*==========================
common
==========================*/
:root {
    --primary-black: #2b2b2b;
    --primary-white: #FFFFFF;
    --primary-green: #00889E;
}
html {
    font-size: 62.5%;
}
body {
    font-family: "Noto Sans JP", sans-serif;
    color:var(--primary-black);
    font-weight: 400;
    font-style: normal;
    font-size: 1.8rem;
    background-color: #FFFFFF;
    padding-top: 60px;
    line-height: 2.0;
    letter-spacing: 0.03em;
}
a {
    color: var(--primary-green);        
    text-decoration: none;   
    transition: color 0.3s;
    /* font-weight: bold; */
}
a:hover {
    color: #005f6b;   
    text-decoration: underline;
}
img {
    max-width: 100%;
}
li {
    list-style: none;
}
.wrapper {
    max-width: 1440px;
    padding: 120px 150px;
    margin: 0 auto;
}
.section__title {
    color: var(--primary-black);
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: center;
    margin-bottom: 75px;
}

.fade-up {
  opacity: 0;
  transform: translateY(200px);
  transition: opacity 2.5s ease, transform 2.5s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width:768px){
    .wrapper {
        padding: 100px 15px 100px 15px;
        margin: 0 auto;
    }
    .section__title {
        margin-bottom: 50px;
        text-align: center;
        font-size: 2.4rem;
        font-weight: 600;
    }
    body {
        font-size: 1.6rem;
        line-height: 1.7;
    }
}
/* ==========================
header
===========================*/
/* =====================================
ハンバーガー制御用（JSなし）
===================================== */
.menu-toggle {
  display: none;
}

/* =====================================
Header 共通（PC）
===================================== */
#header {
  background-color: #FFFFFF;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
}
#header.is-hide {
  transform: translateY(-100%);
}
.header__inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo_pc {
  width: 351px;
  max-width: 60vw;
  height: auto;
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-list {
  display: flex;
  gap: 3.47vw;
  list-style: none;
}
.nav-list a {
  text-decoration: none;
  color: var(--primary-black);
}
.header-member-btn a {
  background-color: #000;
  color: var(--primary-white);
  display: block;
  text-align: center;
  padding: 10px 20px;
  text-decoration: none;
  line-height: 1.1;
}
.header-member-btn span {
  font-size: 11px;
}
.hamburger {
  display: none;
}
.drawer-menu {
    display: none;
}

/* =====================================
   SP / 1024px以下
===================================== */
@media (max-width: 1024px) {
  .header__inner {
    height: 75px;
  }
  .logo_pc {
    width: 351px;
    height: auto;
  }
  /* PCメニュー非表示 */
  .nav-list,
  .header-member-btn {
    display: none;
  }
  /* ハンバーガー */
  .hamburger {
    display: block;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1200;
  }
  .hamburger span {
    position: absolute;   /* ← 必須 */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-black);
    transition: 0.4s ease;
    transform-origin: center;
  } 
  .hamburger span:nth-child(1) {
    top: 0;
  }
  .hamburger span:nth-child(2) {
    top: 11px;
    }
  .hamburger span:nth-child(3) {
      top: 22px;
    }
  /* ×アニメーション */
  .menu-toggle:checked ~ .header__inner .hamburger span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
    background-color: var(--primary-green);
  }
  .menu-toggle:checked ~ .header__inner .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .header__inner .hamburger span:nth-child(3) {
    top: 11px;   /* ← 追加（重要） */
    transform: rotate(-45deg);  /* ← translate削除 */
    background-color: var(--primary-green);
  }
  /* =============================
     ドロワー（全面）
  ============================== */
  .drawer-menu {
    display: block;
    position: fixed;
    top: 74px;
    right: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1100;
    transition: right 0.5s ease;
    overflow-y: auto;
  }
  /* 開いた状態 */
  .menu-toggle:checked ~  .drawer-menu {
    right: 0;
  }
  /* 中央寄せレイアウト */
  .drawer-inner {
    padding: 50px 0 40px;
    max-width: 480px;
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: transparent; /* ← 重要 */
  }
  .drawer-btns {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ← 中央寄せ */
    gap: 15px;
    margin-bottom: 30px;
  }
    .btn-member {
      border: 1px solid var(--primary-green);
      color: var(--primary-green);
      text-align: center;
      padding: 12px;
      text-decoration: none;
  }
  .btn-contact {
    background-color: var(--primary-green);
    color: var(--primary-white);
    text-align: center;
    padding: 12px;
    text-decoration: none;
  }
  .drawer-list {
    list-style: none;
    border-top: 1px solid var(--primary-green);
    width: 225px;
  }
  .drawer-list li {
    border-bottom: 1px solid var(--primary-green);
  }
  .drawer-list li a {
    display: flex;
    justify-content: space-between;
    padding: 18px 5px;
    color: var(--primary-green);
    text-decoration: none;
    font-size: 1.6rem;
  }
  .drawer-list li a::after {
    content: '>';
  }
}
/* ==========================
main-visual
===========================*/
.main-visual {
  position: relative;
  overflow: hidden;
}
.main-visual_img_pc,
.main-visual_img_sp {
  position: relative;
  z-index: 1;
  transform: scale(1.15);
  transition: transform 4s ease-out;
}
.main-visual_img_pc.zoomed,
.main-visual_img_sp.zoomed {
  transform: scale(1);
}
.catchphrase.show {
  opacity: 1;
  transform: translateY(0);
}
.catchphrase {
  color: var(--primary-white);
  font-family: "Noto Sans JP";
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 40px;
  position: absolute;
  top: 23%;
  left: 11%;
  text-align: left;
  z-index: 2;
  opacity: 0;
  transition: opacity 3s ease;
}
.main-visual_img_sp {
    display: none;
}
.main-visual_img_pc {
  width: 100%;
  /* 1440:500 の比率を維持（計算式をそのまま書けます） */
  aspect-ratio: 1440 / 500; 
  
  /* 画像を枠いっぱいに広げ、はみ出し分をカット（歪ませない） */
  object-fit: cover;
  
  /* 画像のどの部分を中心に持ってくるか（中央合わせ） */
  object-position: center;
  
  /* ブロック要素として扱い、下の隙間を消す */
  display: block;
  max-height: 70vh;
}

.name {
    font-family: "Noto Sans JP";
    font-weight: 600;
    padding: 50px 5px;
    text-align: center;
    font-weight: 400;
    line-height: 45px; /* 281.25% */
    font-size: 2.4rem;
}
.lead {
    font-family: "Noto Sans JP";
    padding: 75px 5px 100px 5px;
    text-align: center;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0.04em;
    font-size: 2.0rem;
}

@media screen and (max-width:768px) {
    .main-visual {
      padding: 0 ;
    }
    .main-visual_img_pc {
      display: none;
    }
    .main-visual_img_sp {
      display: block;
      margin: 0 auto;
      height: 420px;
      object-fit: cover;
      object-position: 80% center;
    }
    .catchphrase {
      position: absolute;     /* 明示 */
      top: 22%;               /* ←ここ調整 */
      left: 6%;               /* ←ここ調整 */
      padding: 0;             /* いらない */
      margin: 0;
      font-size: 2.0rem;
      line-height: 1.6;
      text-shadow: 0 2px 8px rgba(0,0,0,5);
    }
    .name {
      font-family: "Noto Sans JP";
      padding: 50px 10px 25px 10px;
      text-align: center;
      font-weight: 400;
      line-height: 36px; 
      font-size: 1.8rem;
    }
    .lead {
      font-family: "Noto Sans JP";
      padding: 25px 10px 50px 10px;
      text-align: center;
      font-weight: 400;
      font-size: 1.6rem;
      line-height: 1.8;
    }
} 
/* ==========================
toppage news
===========================*/
#news {
    background-color: #F6F6F6;
}

.news__list {
    margin-bottom: 100px;
}
.news__list li {
    padding: 20px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    gap: 5%;
}
.news__list time {
    padding: 10px 0;
    color:var(--primary-green);
    width: 100px;
    flex-shrink: 0;
}
.news__list p {
    flex: 1;
    margin: 0;
}

.news__more-btn {
    text-align: center;
}
.news__more-btn a {
    display: inline-block;
    color: var(--primary-green);
    padding: 18px 60px;
    margin: 0 auto;
    background: var(--primary-white);
    border: 1px solid var(--primary-green);
    transition: all 0.3s ease;
}
.news__more-btn a:hover {
    color: var(--primary-white);
    background: var(--primary-green);
}

@media screen and (max-width:768px){
  .news__list {
    margin-bottom: 50px;
  }

  .news__list li {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
  }

  .news__list time {
      border-bottom: none;
      width: auto;
  }
  .news__text {
      line-height: 1.5;
  }     
  .news__more-btn a {
      padding: 5px 25px;
      margin: 0 auto;
      background: var(--primary-white);
      border: 1px solid var(--primary-green);
  }
}
/* ==========================
toppage organization
===========================*/
#organization {
    /* 背景画像の指定 */
    background-image: url("../img/organization_pc.png");
    /* 画像の表示サイズを調整（重要！） */
    background-size: cover;      /* 隙間なく全体に広げる */
    background-position: center; /* 画像の中央を基準にする */
    background-repeat: no-repeat; /* 繰り返し禁止 */
}

.organization__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.organization__text {
    font-family:  "Noto Sans JP", sans-serif;
    text-align: center;
}

.organization_pc__img {
    opacity: 7%;
    max-height: 567px;
}

@media screen and (max-width:768px){

}
/* ==========================
toppage member
===========================*/
.member__inner p {
    text-align: center;
    margin-bottom: 100px;
}

@media screen and (max-width:768px) {

}

/* ==========================
subpage-common
===========================*/
.wrapper.subpage {
  padding: 150px 220px;
}
.catchphrase.subpage {
  color: var(--primary-black);
  top: 46%;
  text-shadow: none;
  font-weight: 600;
  transition: opacity 2s linear;
}
.wrapper.subpage .section__title {
  text-align: start;
  font-size: 2.4rem;
}
.main-visual__subpage_img_pc {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: 50% 20%;
}

@media screen and (max-width:768px) {
  .wrapper.subpage {
    padding: 100px 15px;
  } 
  .wrapper.subpage .section__title {
    font-size: 2.0rem;
  }
  .catchphrase.subpage {
    font-size: 2.4rem;
  }
}

/* ==========================
subpage document-page common
===========================*/
.document-section {
  padding: 50px 220px 0 220px;
}
.document-section:first-of-type {
  margin-top: 150px;
}
.document-section:last-of-type {
  margin-bottom: 150px;
}

@media screen and (max-width:768px) {
  .wrapper.document-section {
    padding: 25px 15px;
  } 
}

/* ==========================
subpage
===========================*/
/* about */
.about .section__title {
  text-align: start;
}
.overview__row {
    display: flex;
    border-bottom: 1px solid #ccc; /* dt→dd 全体に線 */
    padding: 10px 0;
}
.overview__row dt {
    width: 150px;
    font-weight: 400;
}
.overview__row dd {
    flex: 1;
    margin: 0;
}
#purpose {
  background-color:#00889E11 ;
}
.purpose__inner {
  display: flex;
  flex-direction: column;
}
.purpose__inner h4 {
  margin-bottom: 25px;
}
.purpose__text {
  margin-bottom: 50px;
}
.officer-name {
  font-weight: 400;
}
.officer-item {
    display: flex;
    flex-direction: column;
    padding: 30px 0;
}
.officer-item dl {
  display: flex;
  padding: 5px 0 10px 0;
  border-bottom: 1px solid #ccc;
  line-height: 2;
}
.role {
  font-weight: 400;
  width: 15%;
  min-width: 90px;
  flex-shrink: 0;
}
.officer-detail {
  margin-left: 0;
  display: flex;
  flex-direction: column;
}
.officer-name {
  display: block;
}
.officer-profile {
  font-size: 1.5rem;
}
#greeting {
  background-color:#F6F6F6 ;
}
.greeting__inner {
  display: flex;
  flex-direction: column;
  gap: 75px;
}
.greeting__content {
  border-left: 5px solid #999;
  padding-left: 20px;
}
.greeting__title {
  margin-bottom: 15px;
}
.organization-img {
      width: 100%;
    max-width: 700px;
    margin: 0 auto;
    display: block;
}

/* business */
.business__content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 75px;
}
.business__content:nth-of-type(even) {
    flex-direction: row-reverse;
}
.business__text {
  width: 57%;
}
.business__title {
  font-size: 2.0rem;
  margin-bottom: 15px;
}

/* admission */
.admission__lead {
  padding: 150px 220px 0 220px;
}
#admission__category {
  padding: 150px 220px 0 220px;
}
.admission__list {
  display: grid;
  grid-template-columns: 280px 1fr;
  margin-bottom: 50px;
}
.admission__list dt,
.admission__list dd {
  padding: 15px 0;
  border-bottom: 1px solid #e5e5e5;
}
.admission__list dt {
  font-weight: 400;
}
.admission__list dd {
  margin: 0;
}
.admission__list dt {
  font-weight: 400;
}

/* sitemap */
.sitemap__grid{
  display:flex;
  justify-content: space-around;
}
.sitemap__list{
  display: flex;
  flex-direction: column;
  gap: 75px;
  list-style:none;
}
.sitemap__list ul{
  margin-top:10px;
  margin-left:20px;
}

@media screen and (max-width:768px) {
  .overview__row {
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.5;
    border-bottom: 1px solid #e5e5e5;
    gap: 10px;
    padding: 20px 0;
  }
  .officer-profile {
    font-size: 1.4rem;
  }
/* business */
  .business__content {
        flex-direction: column;
        gap: 20px;
        border-bottom: 1px solid #ccc;
    }
  .business__content:nth-of-type(even) {
        flex-direction: column;
    }
  .business__text {
      width: 100%;
      margin-bottom: 75px;
    }
  .business__img {
      order: -1;
    }
  /* admission */
  .admission__lead {
  padding: 150px 15px 0 15px;
}
  .admission__list {
    grid-template-columns: 1fr;
  }
  .admission__list dt {
    border-bottom: none;
    padding-bottom: 5px;
  }
  .admission__list dd {
    padding-top: 0;
    margin-bottom: 15px;
  }
  #admission__category {
    padding: 100px 15px;
  }
  #admission__contact {
    padding: 100px 15px;
  }

  /* sitemap */
  .sitemap__grid {
      flex-direction: column;
    }
  .sitemap__list {
      margin-bottom: 75px;
    }
}


/* ==========================
footer
===========================*/
#footer {
    width: 100%;
    background-color: #FFFFFF;
    padding: 75px 0 100px 0;
    text-align: center;
    background-image: url("../img/footer_pc.png");
    background-size: cover;      /* 隙間なく全体に広げる */
    background-position: center; /* 画像の中央を基準にする */
    background-repeat: no-repeat; /* 繰り返し禁止 */
}
.footer__inner {
    max-width: 1440px;
    width: 100%;
    padding: 0 7%;
    margin: 0 auto 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo__footer {
    width: 132px;
}
.footer__menu ul {
  display: flex;
  gap: clamp(20px, 3vw, 40px);  /* ← 画面幅に応じて変化 */
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__inner a {
  font-size: 1.4rem;
  color: var(--primary-black);
  font-weight: 400;
}

#footer p {
  font-size: 1.4rem;
}

@media screen and (max-width:768px) {
  .footer__inner {
    flex-direction: column;      /* 縦並び */
    justify-content: center;     /* 上下中央寄せ */
    align-items: center;         /* 左右中央寄せ */
    gap: 20px;                   /* ロゴ消したときの間隔調整 */
    padding: 0;
  }

  .logo__footer {
    display: none;
  }

  .footer__menu ul {
    flex-direction: column;      /* liを縦に並べる */
    gap: 10px;                   /* liの間隔 */
    padding: 0;
    margin: 0;
  }
  .footer__menu a {
    font-size: 1.4rem;
  }
}
