@charset "UTF-8";

/* ==================================================
   基本設定
================================================== */

:root {
  --color-text: #222222;
  --color-background: #ffffff;
  --color-soft: #f6f6f3;
  --content-width: 1120px;
  --reading-width: 720px;
  --page-padding: clamp(20px, 5vw, 64px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-background);
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: 1.9;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ==================================================
   ヘッダー
================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}

.site-header__inner {
  width: min(
    calc(100% - var(--page-padding) * 2),
    var(--content-width)
  );
  min-height: 80px;
  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo img {
  width: 200px;
}

.menu-toggle {
  display: none;
}

.global-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;

  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a,
.global-nav a:visited {
  color: #222222;
  text-decoration: none;
  transition: color 0.25s ease;
}

.global-nav a:hover,
.global-nav a.current,
.global-nav a.current:visited {
  color: #e61576;
}


/* ==================================================
   ヒーロー
================================================== */

.hero {
  min-height: calc(100svh - 80px);
  padding: 70px var(--page-padding) 60px;

  display: grid;
  place-items: center;

  text-align: center;
  background: #fff4bf;
}

.hero__inner {
  width: min(100%, 860px);
}

.hero__mark {
  width: min(66vw, 490px);
  margin: 0 auto 48px;
}

.hero__title {
  margin: 0;
  color: #5c4735;
  font-size: clamp(28px, 3.6vw, 50px);
  line-height: 1.35;
  font-weight: 700;
}

.hero__lead {
  max-width: 680px;
  margin: 24px auto 0;
  color: #6a5643;
  font-size: clamp(15px, 1.4vw, 17px);
}

.hero__since {
  margin-top: 60px;
  color: rgba(92, 71, 53, 0.7);
  letter-spacing: 0.6em;
  font-size: 13px;
}


/* ==================================================
   はじめに
================================================== */

.intro {
  padding: clamp(100px, 13vw, 180px) var(--page-padding);
  background: var(--color-soft);
}

.intro__inner {
  width: min(100%, var(--reading-width));
  margin-inline: auto;
}

.intro__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.intro__teacher {
  width: 260px;
　margin-right:-20px;
  height: auto;
  flex-shrink: 0;
}

.intro__heading {
  text-align: left;
}

.section-label {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.18em;
}

.intro__title {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.4;
}

.intro__questions {
  margin-top: 64px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.8;
}

.intro__questions p {
  margin: 0 0 10px;
}

.intro__body {
  margin-top: 64px;
  font-size: clamp(15px, 1.6vw, 18px);
}

.intro__body p {
  margin: 0 0 2.2em;
}


/* ==================================================
   支援プログラム
================================================== */

.support-program {
  padding: 120px 24px;
  background: #FFFBF3;
  text-align: center;
}

.support-program__inner {
  max-width: 920px;
  margin: 0 auto;
}

.support-program__eyebrow,
.support-program__label {
  margin: 0 0 18px;
  color: #777777;
  font-size: 13px;
  letter-spacing: 0.25em;
}

.support-program__title {
  margin: 0 0 30px;
  color: #2f2f2f;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
}

.support-program__lead {
  max-width: 620px;
  margin: 0 auto 30px;
  color: #66605b;
  font-size: 18px;
  line-height: 2;
}


.support-program__list{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;

    margin:50px 0 60px;
    padding:0;

    list-style:none;
}

.support-program__list li{

    padding:12px 24px;

    border-radius:999px;

    font-weight:700;

    font-size:16px;

    border:none;

    box-shadow:0 4px 12px rgba(0,0,0,.04);

}

.support-program__list li:nth-child(1){
    background:#F8DDE6;
    color:#A64C68;
}

.support-program__list li:nth-child(2){
    background:#FFF0BF;
    color:#8A6A00;
}

.support-program__list li:nth-child(3){
    background:#DFF2E7;
    color:#2D7B57;
}

.support-program__list li:nth-child(4){
    background:#E9E1F8;
    color:#6C5A9A;
}

.support-program__list li:nth-child(5){
    background:#DDECF8;
    color:#4D74A5;
}
/* 支援プログラム：PDFボタン */

.support-program__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  padding: 20px 42px;

  color: #ffffff;
  background: #2d7b57;
  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.support-program__button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.support-program__button span {
  font-size: 14px;
}


/* ==================================================
   共通フッター
================================================== */

.site-footer {
  padding: 75px 0 28px;
  color: #313131;
  background: #fffdf8;
  border-top: 1px solid #eee8dd;
}

.site-footer__container {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  padding-bottom: 55px;
}

.site-footer__info {
  flex: 0 1 380px;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 25px;
}

.site-footer__logo img {
  display: block;
  width: 220px;
  height: auto;
}

.site-footer__service {
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.site-footer__name {
  margin: 0 0 20px;
  color: #247150;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-footer__address {
  margin: 0 0 6px;
  font-size: 14px;
  font-style: normal;
  line-height: 1.9;
}

.site-footer__tel {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.site-footer__tel a {
  color: inherit;
  text-decoration: none;
}


/* フッターメニュー */

.site-footer__nav {
  flex: 1;
  max-width: 520px;
}

.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li {
  border-bottom: 1px solid #e7e0d5;
}

.site-footer__nav a {
  display: block;
  padding: 15px 4px;
  color: #313131;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.site-footer__nav a:hover {
  padding-left: 9px;
  color: #247150;
}


/* コピーライト */

.site-footer__bottom {
  padding-top: 25px;
  border-top: 1px solid #e7e0d5;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__bottom small {
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}


/* ==================================================
   タブレット
================================================== */

@media (max-width: 900px) {

  .global-nav {
    display: none;
  }

  .support-orbit {
    width: min(680px, 92vw);
    aspect-ratio: auto;
    margin: 55px auto;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .support-orbit::before {
    display: none;
  }

  .support-orbit__bird {
    position: static;
    grid-column: 1 / -1;
    width: 90px;
    margin: 0 auto 8px;
    transform: none;
  }

  .support-orbit__item {
    position: static;
    width: 100%;
    min-height: 230px;
    padding: 28px 20px;
    border-radius: 36px;
    transform: none;
  }

  .support-orbit__item--word {
    grid-column: 1 / -1;
    width: min(100%, 320px);
    justify-self: center;
  }
}


/* ==================================================
   タブレット・スマートフォン
================================================== */

@media (max-width: 800px) {

  .support-program {
    padding: 80px 24px;
  }

  .support-program__lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .site-footer {
    padding: 60px 0 25px;
  }

  .site-footer__container {
    width: min(100% - 36px, 680px);
  }

  .site-footer__main {
    flex-direction: column;
    gap: 45px;
    padding-bottom: 45px;
  }

  .site-footer__info {
    flex-basis: auto;
    width: 100%;
    text-align: center;
  }

  .site-footer__logo img {
    width: 175px;
    margin: 0 auto;
  }

  .site-footer__nav {
    width: 100%;
    max-width: none;
  }
}


/* ==================================================
   スマートフォン用メニュー
================================================== */

@media (max-width: 768px) {

  .site-header {
    position: relative;
    z-index: 1000;
  }

  .site-header__inner {
    min-height: 76px;
    gap: 20px;
  }

  .site-logo img {
    width: 180px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;

    width: 46px;
    height: 46px;
    padding: 8px;

    border: 0;
    background: transparent;
    cursor: pointer;

    position: relative;
    z-index: 1002;
  }

  .menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;

    background: #2d2a2a;
    border-radius: 999px;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .global-nav {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    overflow-y: auto;

    padding: 18px var(--page-padding) 24px;

    background: #ffffff;
    border-top: 1px solid #ececec;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);

    z-index: 1001;
  }

  .global-nav.is-open {
    display: block;
  }

  .global-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .global-nav li {
    width: 100%;
  }

  .global-nav a {
    display: block;
    width: 100%;
    padding: 14px 8px;
    text-align: center;
    border-bottom: 1px solid #eeeeee;
  }

  .global-nav li:last-child a {
    border-bottom: 0;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero__title {
    font-size: 36px;
  }
}


/* ==================================================
   小さなスマートフォン
================================================== */

@media (max-width: 600px) {

  .site-header__inner {
    min-height: 72px;
  }

  .site-logo img {
    width: 150px;
  }

  .hero {
    min-height: auto;
  }

  .hero__mark {
    width: min(75vw, 280px);
    margin-bottom: 40px;
  }

  .hero__since {
    margin-top: 56px;
  }

  .intro__header {
    flex-direction: column;
    gap: 22px;
    margin-bottom: 48px;
  }

  .intro__teacher {
    width: 150px;
  }

  .intro__heading {
    text-align: center;
  }

  .intro__questions,
  .intro__body {
    margin-top: 48px;
  }

  .support-orbit {
    grid-template-columns: 1fr;
  }

  .support-orbit__bird {
    grid-column: auto;
  }

  .support-orbit__item,
  .support-orbit__item--word {
    grid-column: auto;
    width: min(100%, 320px);
    justify-self: center;
  }
}


/* ==================================================
   最小幅
================================================== */

@media (max-width: 520px) {

  .site-footer__nav ul {
    grid-template-columns: 1fr;
  }

  .site-footer__nav a {
    padding: 14px 3px;
  }

  .site-footer__logo img {
    width: 160px;
  }
}
