/*
Theme Name: Green
Theme URI: https://example.com
Author: webthink
Author URI: https://example.com
Description: Greenオリジナルテーマ
Version: 1.0
Text Domain: green
*/

/*
Theme Name: Green
Description: Greenオリジナルテーマ
Version: 1.0
*/

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

:root {
  --green: #205940;
  --light-green: #e7efeb;
  --pale-green: #dfe9e5;
  --text: #173c2c;
  --white: #ffffff;
  --content-width: 1120px;
  --narrow-width: 900px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans JP", sans-serif;
    font-size:16px;
    line-height:1.8;
    color:#205940;
  background: var(--white);
}

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

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

h1,
h2,
h3,
p,
figure,
dl,
dd {
  margin-top: 0;
}

.site-main {
  overflow: hidden;
}

.section {
  padding: 110px 24px;
}

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

.section__inner--narrow {
  width: min(100%, var(--narrow-width));
}
/* ==============================
見出し
============================== */

.section-title {
  margin-bottom: 54px;
}

.section-title h2 {
  margin-bottom: 0;
  color: #dce7e2;
  font-family: Noto Sans JP;
  font-size: 100px;
  font-weight: 500;
  line-height: 1;
  /* letter-spacing: 0.04em; */
}

.section-title span {
  display: block;
  margin-top: 8px;
  color: #205940;
  font-size: 16px;
  /* letter-spacing: 0.15em; */
}



/* ==============================
ファーストビュー
============================== */

.hero {
  padding: 20px 24px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* .hero__inner {
  width: min(100%, 1300px);
  margin-inline: auto;
} */

.hero__image {
  position: relative;
  width: 100%;
}

.hero__image > img {
  /* width: 1500px; */
  width: 100%;
  height: min(78vh, 790px);
  object-fit: cover;
}
/* =========================
   iPad / タブレット
========================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {

.hero__image > img {
  width: 100%;
}
}
/* =========================
   iPad・タブレット 横向き
========================= */
/* =========================
   iPad 横向き
========================= */
@media screen
  and (min-width: 769px)
  and (max-width: 1366px)
  and (orientation: landscape) {

  .message__image {
    width: 100%;
    margin: 50px 0 0;
  }

  .message__image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

}


.hero__copy {
  position: absolute;
  top: 34%;
  left: -4%;
  width: 290px;
  padding: 30px 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 16px;
  box-shadow: 12px 12px 0 #fff;

}


.hero__copy p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
  letter-spacing: 0.2em;
}
.hero__copy_sub p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.1em;
  margin-top: 10px;
}


/* ==============================
MESSAGE
============================== */

.message {
  padding-top: 90px;
}

.message__body {
  width: 52%;
}

.message__body h3 {
  margin-bottom: 30px;
  color: var(--green);
  font-family: Noto Sans JP;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 500;
  line-height: 2;
}

.message__body p {
  margin-bottom: 22px;
  font-size: 14px;
}

.message__image {
  /* width: 86%; */
  margin: 50px 0 0 auto;
}

.message__image img {
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
}
@media screen and (min-width: 768px) {
.message__image {
  width: 100%;
  margin: 50px 0 0 auto;
}
.message__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
}
}
/* ==============================
SERVICE
============================== */

.service {
  background: var(--light-green);
}

.service__intro {
  width: 70%;
  margin: 0 auto 70px;
}

.service__intro h3 {
  color: var(--green);
  font-family: Noto Sans JP;
  font-size: 28px;
  font-weight: 500;
}

.service__intro p {
  font-size: 16px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px 35px;
  width: 70%;
  margin-inline: auto;
}

.service-card__image {
  margin-bottom: 18px;
  overflow: hidden;
}

.service-card__image img {
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card a:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card__body h3 {
  margin-bottom: 10px;
  color: var(--green);
  font-family: Noto Sans JP;
  font-size: 16px;
  font-weight: 500;
}

.service-card__body p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.8;
}
.service-card__image {
  overflow: hidden;
}

.service-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

/* 右上の写真だけ、上側を多く表示する */
.service-card--consultation .service-card__image img {
  object-position: center 5%;
}
.service-card{
    position: relative;
    padding-bottom: 25px; /* moreの分余白 */
}

.service-more{
    position: absolute;
    right: 0;
    bottom: 0;

    color: #176044;
    font-size: 32px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.service-more:hover{
    opacity: .7;
}

.service-more span{
    margin-left: 6px;
}
.service-more a {
  font-size: 20px;   /* 好きな大きさ */
  font-weight: 500;
  color: #205940;
  text-decoration: none;
}
/* ==============================
NEWS
============================== */

.news-list {
  width: 70%;
  margin-inline: auto;
}

.news-item {
  border-bottom: 1px solid #d5ded9;
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 0;
}

.news-item__thumbnail {
  flex: 0 0 130px;
}

.news-item__thumbnail img {
  width: 130px;
  height: 90px;
  object-fit: cover;
}

.news-item__body time {
  display: block;
  margin-bottom: 5px;
  color: #6a8075;
  font-size: 11px;
}

.news-item__body h3 {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 400;
}

.section-more {
  width: 70%;
  margin: 30px auto 0;
  text-align: right;
}

.section-more a {
  font-size: 12px;
  letter-spacing: 0.15em;
}


/* ==============================
横長画像
============================== */

.wide-image {
  padding: 40px 0 40px;
  background: var(--light-green);
}

.wide-image img {
  width: min(100% - 48px, 1100px);
  height: 500px;
  margin-inline: auto;
  object-fit: cover;
}


/* ==============================
ABOUT
============================== */

.about-info {
  margin-bottom: 70px;
}

.about-info > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid #d7dedb;
}

.about-info dt {
  color: #72827a;
  font-size: 14px;
}

.about-info dd {
  margin: 0;
  font-size: 16px;
}

.profile {
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: start;
  gap: 50px;
}

.profile__image img {
  aspect-ratio: 0.85 / 1;
  object-fit: cover;
}

.profile__position {
  margin-bottom: 0;
  color: var(--green);
  font-size: 13px;
}
.profile__position_name {
  display: flex;
  align-items: flex-end;
}
.profile__position_name span{
  margin-bottom: 31px;
  margin-left: 10px;
}

.profile__body h3 {
  margin-bottom: 22px;
  color: var(--green);
  font-family: Noto Sans JP;
  font-size: 28px;
  font-weight: 500;
}

.profile__body p {
  font-size: 16px;
}


/* ==============================
CONTACT
============================== */

.contact {
  background: var(--pale-green);
}

.contact__heading {
  margin-bottom: 45px;
  text-align: center;
}

.contact__heading h2 {
  margin-bottom: 0;
  color: var(--green);
  font-family: Noto Sans JP;
  font-size: 64px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.contact__heading span {
  display: block;
  margin-bottom: 20px;
  font-size: 16px;
}

.contact__heading p {
  font-size: 14px;
  font-weight: 500;
}

.contact-form {
  width: min(100%, 800px);
  margin-inline: auto;
  padding: 60px;
  border-radius: 30px;
  background: var(--white);
}

.form__item {
  margin-bottom: 28px;
}

.form__item label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
}

.form__item input,
.form__item textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 4px;
  border: 0;
  border-bottom: 1px solid #b9c7c0;
  border-radius: 0;
  font: inherit;
  background: transparent;
}

.form__item textarea,
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form__button {
  margin-top: 40px;
  text-align: center;
}

.form__button button,
.contact-form input[type="submit"] {
  min-width: 150px;
  padding: 12px 30px;
  color: var(--white);
  border: 0;
  border-radius: 50px;
  background: var(--green);
  cursor: pointer;
}


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

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

  .section {
    padding: 85px 30px;
  }

  .hero__copy {
    left: 0;
  }

  .message__body,
  .service__intro,
  .service-list,
  .news-list,
  .section-more {
    width: 85%;
  }

  .profile {
    grid-template-columns: 240px 1fr;
    gap: 35px;
  }
  .contact__heading h2 {
  font-size: 42px;
}
}




/* ==============================
スマートフォン
============================== */

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

  body {
    font-size: 14px;
  }

  .section {
    padding: 70px 20px;
  }

  .section-title {
    margin-bottom: 10px;
  }

  .section-title h2 {
    font-size: 43px;
  }

  .hero {
    padding: 20px 20px 0;
  }

  /* .hero__image > img {
    height: 68vh;
    min-height: 480px;
  } */

  .hero__copy {
    top: auto;
    right: auto;
    bottom: 25px;
    left: -10px;
    width: 170px;
    padding: 20px;
  }

  .hero__copy p {
    font-size: 11px;
  }

  .message__body,
  .service__intro,
  .service-list,
  .news-list,
  .section-more {
    width: 100%;
  }

  .message__body {
    width: 100%;
  }

  .message__image {
    width: 100%;
    margin-top: 35px;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .news-item a {
    align-items: flex-start;
    gap: 15px;
  }

  .news-item__thumbnail {
    flex-basis: 95px;
  }

  .news-item__thumbnail img {
    width: 95px;
    height: 68px;
  }

  .wide-image img {
    width: 100%;
    height: 210px;
  }

  .about-info > div {
    grid-template-columns: 100px 1fr;
  }

  .profile {
    grid-template-columns: 1fr;
  }

  .profile__image {
    width: 100%;
  }

  .contact-form {
    padding: 20px 5px;
    border-radius: 20px;
  }
  .contact__heading h2 {
  font-size: 42px;
}
}

/* ==========================
Contact Form7
========================== */

.contact-form{
    max-width:800px;
    margin:0 auto;
}

.form-item{
    margin-bottom:45px;
}

.form-item label{
    display:block;
    /* margin-bottom:18px; */
    color:#17573f;
    font-size:16px;
    font-weight:500;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    border:none;
    border-bottom:1px solid #9eb2aa;
    background:transparent;
    border-radius:0;
    padding:12px 0;
    font-size:16px;
    color:#333;
    box-shadow:none;
}

.contact-form input{
    height:55px;
}

.contact-form textarea{
    height:260px;
    resize:none;
    border:1px solid #9eb2aa;
    padding:20px;
}

.contact-form input:focus,
.contact-form textarea:focus{
    outline:none;
    border-color:#17573f;
}

.form-submit{
    margin-top:60px;
    text-align:center;
}

.form-submit input{
    width:320px;
    height:65px;
    border:none;
    border-radius:40px;
    background:#0b6439;
    color:#fff;
    font-size:20px;
    cursor:pointer;
    transition:.3s;
}

.form-submit input:hover{
    opacity:.8;
}
@media screen and (max-width: 767px) {
.contact-form textarea{
    font-size:13px;
}
}
/* ==============================
HEADER
============================== */

.site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 84px;
  background: #fff;
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 40px;
}

/* ロゴ */

.site-logo {
  width: 120px;
  margin: 0;
  line-height: 1;
  height: 30px;
  overflow: hidden;
}

.site-logo a {
  display: block;
}

.site-logo img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -60px;
}
@media screen and (max-width: 767px) {
.site-logo img {
  margin-top: -40px;
}
}
/* ==============================
ハンバーガーボタン
============================== */

.menu-button {
  position: absolute;
  top: 50%;
  right: 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.menu-button span {
  position: absolute;
  left: 5px;
  display: block;
  width: 40px;
  height: 1px;
  background: #333;
}

.menu-button span:first-child {
  top: 5px;
}
.menu-button span:nth-child(2)  {
  top: 15px;
}
.menu-button span:last-child {
  top: 25px;
}
/* ホバー */
.menu-button:hover span:first-child {
  width: 22px;
}

.menu-button:hover span:last-child {
  width: 22px;
}
.menu-button span {
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ==============================
ドロワーメニュー全体
============================== */

.drawer-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    visibility 0.35s,
    opacity 0.35s ease;
}

.drawer-menu.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* 背景 */

.drawer-menu__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.drawer-menu.is-open .drawer-menu__overlay {
  opacity: 1;
}

/* 右側パネル */

.drawer-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92%, 450px);
  height: 100%;
  overflow-y: auto;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.45s ease;
}

.drawer-menu.is-open .drawer-menu__panel {
  transform: translateX(0);
}

/* ==============================
閉じるボタン
============================== */

.drawer-menu__close {
  position: absolute;
  top: 25px;
  right: 35px;
  z-index: 10;
  width: 55px;
  height: 55px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.drawer-menu__close span {
  position: absolute;
  top: 27px;
  left: 5px;
  width: 46px;
  height: 1px;
  background: #333;
}

.drawer-menu__close span:first-child {
  transform: rotate(45deg);
}

.drawer-menu__close span:last-child {
  transform: rotate(-45deg);
}

/* ==============================
ドロワーナビ
============================== */

.drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 110px 30px 90px;
}

.drawer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 58px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.drawer-nav__item a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  color: #205940ff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.drawer-nav__item a:hover {
  opacity: 0.65;
}

.drawer-nav__en {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.drawer-nav__ja {
  margin-top: 5px;
  color: #97b2a7;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

/* ==============================
Instagram
============================== */

.drawer-instagram {
  display: block;
  width: 62px;
  height: 62px;
  margin-top: 100px;
  color: #205940ff;
}

.drawer-instagram svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.drawer-instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}

/* メニュー展開中に背景を固定 */

body.is-menu-open {
  overflow: hidden;
}

/* ==============================
スマートフォン
============================== */

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

  .site-header {
    height: 66px;
  }

  .site-header__inner {
    padding: 0 20px;
  }

  .site-logo {
    width: 90px;
  }

  .menu-button {
    right: 18px;
    width: 34px;
    height: 34px;
  }

  .menu-button span {
    left: 5px;
    width: 24px;
  }

  .menu-button span:first-child {
    top: 5px;
  }
    .menu-button span:nth-child(2)  {
      top: 15px;
    }
  .menu-button span:last-child {
    top: 25px;
  }

  .drawer-menu__panel {
    width: calc(100% - 16px);
  }

  .drawer-menu__close {
    top: 20px;
    right: 24px;
    width: 45px;
    height: 45px;
  }

  .drawer-menu__close span {
    top: 22px;
    left: 3px;
    width: 40px;
  }

  .drawer-nav {
    padding: 100px 20px 70px;
  }

  .drawer-nav__list {
    gap: 46px;
  }

  .drawer-nav__en {
    font-size: 27px;
  }

  .drawer-nav__ja {
    font-size: 15px;
  }

  .drawer-instagram {
    width: 58px;
    height: 58px;
    margin-top: 80px;
  }
}

.drawer-instagram {
  display: block;
  width: 60px;
  margin-top: 100px;
}

.drawer-instagram img {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity .3s;
}

.drawer-instagram:hover img {
  opacity: .7;
}
@media screen and (max-width:767px){

.drawer-instagram{
    width:55px;
    margin-top:80px;
}

}
/* ===================================
親子交流支援ページ
=================================== */

.support-page {
  color: #145b42;
  background: #fff;
}

.support-page__container {
  width: min(calc(100% - 40px), 1000px);
  margin-inline: auto;
}

.support-page__hero {
  padding: 0 0 30px;
}

.support-page__logo {
  width: 74px;
  margin: 0 auto 18px;
}

.support-page__logo img {
  width: 100%;
  height: auto;
}

.support-page__title {
  margin: 0;
  padding: 14px 10px;
  border-top: 1px solid #8a9d94;
  border-bottom: 1px solid #c8d1cd;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}


/* 共通見出し */

.support-heading {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 600;
}

.support-heading--large {
  font-size: 22px;
}

.support-section-title {
  margin: 0 0 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid #416d5c;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.support-box {
  padding: 42px;
  background: #f7f8f7;
}


/* 親子交流とは */

.support-introduction {
  padding: 35px 0 65px;
}

.support-introduction__inner {
  display: grid;
  grid-template-columns: 1fr 390px;
  align-items: center;
  gap: 45px;
}

.support-introduction__body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
}

.support-introduction__image img {
  width: 100%;
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
}


/* 二つのモデル */

.support-model {
  padding-bottom: 60px;
}

.support-model__intro {
  margin-bottom: 35px;
  font-size: 14px;
  line-height: 1.9;
}

.support-model__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.support-model__item h3 {
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c4ceca;
  font-size: 20px;
}

.support-model__item p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.9;
}


/* 支援の流れ */

.support-flow {
  padding-bottom: 65px;
}

.support-flow__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 50px;
  padding: 0 45px;
}

.support-flow__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  min-height: 105px;
  background: #f8f9f8;
}

.support-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: #fff;
}

.support-flow__icon--green {
  background: #075f3d;
}

.support-flow__icon img {
  width: 70px;
  height: auto;
}

.support-flow__body {
  padding: 16px 18px;
}

.support-flow__body span {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.support-flow__body h3 {
  margin: 2px 0 6px;
  font-size: 13px;
}

.support-flow__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}


/* 料金 */

.support-price {
  padding-bottom: 65px;
}

.support-price__table {
  padding: 0 45px;
}

.support-price__row {
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  align-items: center;
  gap: 28px;
  min-height: 120px;
  padding: 25px 15px;
  border-bottom: 1px solid #28705a;
}

.support-price__row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.support-price__row p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}

.support-price__amount {
  text-align: left;
}


/* ルール */

.support-rules {
  padding-bottom: 90px;
}

.support-rules__box + .support-rules__box {
  margin-top: 30px;
}

.support-rules__box h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.support-rules__box h3 {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
}

.support-rules__box ol {
  margin: 0;
  padding-left: 22px;
}

.support-rules__box li {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.7;
}


/* タブレット・スマホ */

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

  .support-page__container {
    width: min(calc(100% - 32px), 1000px);
  }

  .support-page__title {
    font-size: 18px;
  }

  .support-introduction {
    padding-top: 20px;
  }

  .support-introduction__inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .support-introduction__image {
    order: -1;
  }

  .support-box {
    padding: 28px 20px;
  }

  .support-model__list {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .support-flow__list {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .support-flow__item {
    grid-template-columns: 90px 1fr;
  }

  .support-price__table {
    padding: 0;
  }

  .support-price__row {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 25px 5px;
  }

  .support-price__row h3 {
    font-size: 16px;
    font-weight: bold;
  }

  .support-price__row p {
    font-size: 12px;
  }

  .support-price__amount {
    font-weight: 600;
  }

  .support-rules {
    padding-bottom: 60px;
  }
}
.support-rules__box ol {
  margin: 0;
  padding-left: 2em;
}

.support-rules__box li {
  margin-bottom: 18px;
  padding-left: 4px;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500
  ;
}

.support-rules__line {
  display: inline;
  padding-bottom: 2px;
  border-bottom: 1px solid #175c43;
  font-weight: 500;
  font-size: 16px;
}

.support-rules__box li p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 2;
  font-weight: 400;
}
/* ===================================
親子関係改善支援
=================================== */

.relationship-page {
  color: #155f43;
  background: #fff;
}

.relationship-container {
  width: min(calc(100% - 40px), 1000px);
  margin-inline: auto;
}


/* タイトル */

.relationship-hero {
  padding: 0 0 28px;
}

.relationship-title {
  margin: 0;
  padding: 16px 10px;
  border-top: 1px solid #86988f;
  border-bottom: 1px solid #86988f;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}


/* 導入 */

.relationship-intro {
  padding: 45px 0 60px;
}

.relationship-intro__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 50px;
}

.relationship-intro__body h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.relationship-intro__body p {
  margin: 0 0 18px;
  color: #245e4b;
  font-size: 14px;
  line-height: 2;
}

.relationship-intro__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}


/* 共通見出し */

.relationship-section-title {
  margin: 0 0 36px;
  padding: 14px 0;
  border-top: 1px solid #86988f;
  border-bottom: 1px solid #86988f;
  font-size: 23px;
  font-weight: 600;
  text-align: center;
}


/* 支援の流れ */

.relationship-flow {
  padding-bottom: 70px;
}

.relationship-flow__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(100%, 460px);
  margin-inline: auto;
}

.relationship-flow__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 115px;
  background: #f8f9f8;
}

.relationship-flow__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
}

.relationship-flow__logo--green {
  background: #075f3d;
}

.relationship-flow__logo img {
  width: 74px;
  height: auto;
}

.relationship-flow__body {
  padding: 18px 20px;
}

.relationship-flow__body span {
  display: block;
  font-size: 16px;
}

.relationship-flow__body h3 {
  margin: 3px 0 8px;
  font-size: 16px;
}

.relationship-flow__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
}


/* 料金表 */

.relationship-price {
  padding-bottom: 110px;
}

.relationship-price__table {
  width: min(100%, 620px);
  margin-inline: auto;
}

.relationship-price__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 90px;
  padding: 20px 40px;
  border-bottom: 1px solid #2b7058;
}

.relationship-price__row h3,
.relationship-price__row p {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.relationship-price__row p {
  text-align: right;
}


/* スマホ */

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

  .relationship-container {
    width: min(calc(100% - 32px), 1000px);
  }

  .relationship-title {
    font-size: 19px;
  }

  .relationship-intro {
    padding-top: 30px;
  }

  .relationship-intro__inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .relationship-intro__image {
    order: -1;
  }

  .relationship-intro__body h2 {
    font-size: 18px;
  }

  .relationship-intro__body p {
    font-size: 13px;
  }

  .relationship-section-title {
    font-size: 20px;
  }

  .relationship-flow__item {
    grid-template-columns: 90px 1fr;
  }

  .relationship-flow__logo {
    padding: 12px;
  }

  .relationship-flow__logo img {
    width: 60px;
  }

  .relationship-price__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px 5px;
  }

  .relationship-price__row h3,
  .relationship-price__row p {
    font-size: 15px;
  }

  .relationship-price__row p {
    text-align: left;
  }
}
/* ==============================
NEWS トップページ
============================== */

.news-list {
  width: min(100%, 900px);
  margin-inline: auto;
}

.news-item {
  border-bottom: 1px solid #c9d4cf;
}

.news-item a {
  display: flex;
  align-items: center;
  gap: 35px;
  padding: 22px 0;
}

.news-item__thumbnail {
  flex: 0 0 150px;
}

.news-item__thumbnail img {
  display: block;
  width: 150px;
  height: 110px;
  object-fit: cover;
}

.news-item__body time {
  display: block;
  /* margin-bottom: 10px; */
  color: #70867d;
  font-size: 14px;
}

.news-item__body h3 {
  margin: 0;
  color: #205940ff;
  font-size: 18px;
  font-weight: 400;
}


/* ===================================
NEWS一覧ページ
=================================== */

.news-archive-page {
  color: #205940ff;
  background: #e7efec;
}

.news-archive {
  padding: 90px 20px 130px;
}

.news-archive__inner {
  width: min(100%, 1000px);
  margin-inline: auto;
}


/* 見出し */

.news-archive__header {
  margin-bottom: 55px;
  text-align: center;
}

.news-archive__title {
  margin: 0;
  color: #205940ff;
  font-size: clamp(58px, 8vw, 96px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.18em;
}

.news-archive__subtitle {
  margin: 16px 0 0;
  color: #6f9185;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}


/* タグナビ */

.news-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 70px;
}

.news-filter__link {
  position: relative;
  padding-bottom: 5px;
  color: #205940ff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.news-filter__link:hover {
  opacity: 0.55;
}

.news-filter__link.is-current::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #205940ff;
}


/* 一覧 */

.news-archive__list {
  border-top: 1px solid rgba(255, 255, 255, 0.95);
}

.news-archive__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
}

.news-archive__link {
  display: grid;
  grid-template-columns: 205px 1fr;
  align-items: center;
  gap: 30px;
  min-height: 185px;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
}

.news-archive__thumbnail {
  width: 205px;
  height: 140px;
  margin: 0;
  overflow: hidden;
}

.news-archive__thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-archive__link:hover .news-archive__thumbnail img {
  transform: scale(1.03);
}

.news-archive__body {
  min-width: 0;
}

.news-archive__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.news-archive__tag {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 3px;
  color: #fff;
  background: #97938f;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.08em;
}

.news-archive__meta time {
  color: #6f887f;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.news-archive__item-title {
  margin: 0;
  color: #205940ff;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.news-archive__link:hover .news-archive__item-title {
  opacity: 0.6;
}

.news-archive__empty {
  padding: 50px 0;
  text-align: center;
}


/* ページネーション */

.news-archive__pagination {
  margin-top: 60px;
}

.news-archive__pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.news-archive__pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #205940ff;
  color: #205940ff;
  text-decoration: none;
}

.news-archive__pagination .page-numbers.current {
  color: #fff;
  background: #205940ff;
}


/* タブレット */

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

  .news-archive {
    padding: 80px 35px 110px;
  }

  .news-archive__link {
    grid-template-columns: 180px 1fr;
  }

  .news-archive__thumbnail {
    width: 180px;
    height: 125px;
  }
}


/* スマホ */

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

  .news-archive {
    padding: 60px 20px 90px;
  }

  .news-archive__header {
    margin-bottom: 40px;
  }

  .news-archive__title {
    font-size: 52px;
  }

  .news-archive__subtitle {
    margin-top: 10px;
    font-size: 13px;
  }

  .news-filter {
    gap: 18px;
    margin-bottom: 45px;
  }

  .news-filter__link {
    font-size: 12px;
  }

  .news-archive__link {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    min-height: 125px;
    padding: 18px 0;
  }

  .news-archive__thumbnail {
    width: 110px;
    height: 82px;
  }

  .news-archive__meta {
    gap: 8px;
    margin-bottom: 7px;
  }

  .news-archive__tag {
    padding: 3px 8px;
    font-size: 10px;
  }

  .news-archive__meta time {
    font-size: 11px;
  }

  .news-archive__item-title {
    font-size: 14px;
  }
}


/* ==============================
NEWS 詳細
============================== */

.news-single__article {
  padding: 100px 20px 140px;
}

.news-single__inner {
  width: min(100%, 850px);
  margin-inline: auto;
}

.news-single__header {
  margin-bottom: 45px;
}

.news-single__header time {
  color: #778b83;
  font-size: 14px;
}

.news-single__header h1 {
  margin: 15px 0 0;
  color: #205940ff;
  font-size: clamp(27px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.5;
}

.news-single__image {
  margin: 0 0 50px;
}

.news-single__image img {
  display: block;
  width: 100%;
  height: auto;
}

.news-single__content {
  color: #315f4f;
  font-size: 15px;
  line-height: 2;
}

.news-single__content p {
  margin-bottom: 25px;
}

.news-single__back {
  margin-top: 70px;
  text-align: center;
}

.news-single__back a {
  display: inline-block;
  padding: 13px 35px;
  border-radius: 30px;
  color: #fff;
  background: #205940ff;
}
.news-item__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.news-item__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 3px;
  color: #fff;
  background: #aaa6a3;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.news-item__meta time {
  color: #8eaaa0;
  font-size: 14px;
}

.news-item__body h3 {
  margin: 0;
  color: #205940ff;
  font-size: 16px;
  font-weight: 500;
}

/* スマホ */

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

  .news-item a {
    align-items: flex-start;
    gap: 18px;
  }

  .news-item__thumbnail {
    flex-basis: 100px;
  }

  .news-item__thumbnail img {
    width: 100px;
    height: 75px;
  }

  .news-item__body h3 {
    font-size: 15px;
  }

  .news-archive__section,
  .news-single__article {
    padding: 70px 20px 100px;
  }

  .news-archive__heading {
    margin-bottom: 45px;
  }

  .news-archive__item a {
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 25px 0;
  }

  .news-archive__body h2 {
    margin: 6px 0 0;
    font-size: 16px;
  }

  .news-archive__body p {
    display: none;
  }

  .news-single__header h1 {
    font-size: 25px;
  }
}
/* ===================================
single-news
=================================== */

.single-news-page {
  color: #205940ff;
  background: #e7efec;
}

.single-news {
  padding: 110px 20px 130px;
}

.single-news__inner {
  width: min(100%, 900px);
  margin-inline: auto;
}


/* 記事上部 */

.single-news__header {
  display: grid;
  grid-template-columns: 290px 1fr;
  align-items: center;
  gap: 40px;
  padding: 45px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.single-news__thumbnail {
  width: 100%;
  overflow: hidden;
}

.single-news__thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.single-news__heading {
  min-width: 0;
}

.single-news__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.single-news__tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  color: #fff;
  background: #918f8b;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.single-news__meta time {
  color: #769287;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.single-news__title {
  margin: 0;
  color: #205940ff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}


/* 本文 */

.single-news__content {
  padding: 65px 0 95px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  color: #205940ff;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.single-news__content h2 {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 600;
}

.single-news__content h3 {
  margin: 35px 0 15px;
  font-size: 16px;
  font-weight: 600;
}

.single-news__content p {
  margin: 0 0 18px;
}

.single-news__content ul,
.single-news__content ol {
  margin: 0 0 22px;
  padding-left: 1.5em;
}

.single-news__content a {
  color: #205940ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-news__content .wp-block-file {
  margin: 14px 0;
  padding-top: 13px;
  border-top: 1px solid rgba(23, 92, 67, 0.35);
}

.single-news__content .wp-block-file a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.single-news__content .wp-block-file a::before {
  content: "▣";
  font-size: 13px;
}


/* 下部NEWS */

.single-news__bottom {
  padding-top: 75px;
}

.single-news__bottom-heading {
  margin-bottom: 35px;
}

.single-news__bottom-heading h2 {
  margin: 0;
  color: #205940ff;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.08em;
}

.single-news__bottom-heading p {
  margin: 10px 0 0;
  color: #769287;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.single-news__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.single-news__categories a {
  color: #205940ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.single-news__categories a:hover {
  opacity: 0.55;
}


/* タブレット */

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

  .single-news {
    padding: 90px 35px 110px;
  }

  .single-news__header {
    grid-template-columns: 240px 1fr;
    gap: 30px;
  }
}


/* スマホ */

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

  .single-news {
    padding: 65px 20px 90px;
  }

  .single-news__header {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 0;
  }

  .single-news__thumbnail {
    width: 100%;
  }

  .single-news__thumbnail img {
    aspect-ratio: 1.4 / 1;
  }

  .single-news__title {
    font-size: 20px;
  }

  .single-news__content {
    padding: 45px 0 65px;
    font-size: 13px;
  }

  .single-news__bottom {
    padding-top: 55px;
  }

  .single-news__bottom-heading h2 {
    font-size: 34px;
  }

  .single-news__categories {
    gap: 16px 22px;
  }
}
/*====================================
footer
====================================*/

.footer{
    padding:30px 20px 50px;
    background:#fff;
}

.footer__inner{
    max-width:1200px;
    margin:0 auto;
    text-align:center;
}

/* メニュー */

.footer-nav{
    margin-bottom:120px;
}

.footer-nav__list{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:70px;
    list-style:none;
    margin:0;
    padding:0;
}

.footer-nav__list a{
    color:#1c6045;
    font-size:16px;
    letter-spacing:.08em;
    text-decoration:none;
    transition:.3s;
}

.footer-nav__list a:hover{
    opacity:.6;
}
@media screen and (max-width: 768px) {

  .footer-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0px 20px;
    margin: 0;
  }

  .footer-nav li {
    width: 100%;
    text-align: center;
  }

  .footer-nav a {
    font-size: 18px;
    white-space: nowrap;
  }
}

/* プライバシーポリシー */

.footer-policy{
    margin-bottom:25px;
}

.footer-policy a{
    position:relative;
    color:#1c6045;
    text-decoration:none;
    font-size:16px;
    letter-spacing:.08em;
}

.footer-policy a::before,
.footer-policy a::after{
    content:"";
    display:inline-block;
    width:1px;
    height:18px;
    background:#1c6045;
    vertical-align:middle;
}

.footer-policy a::before{
    margin-right:18px;
}

.footer-policy a::after{
    margin-left:18px;
}

/* コピーライト */

.footer-copy{
    color:#1c6045;
    font-size:15px;
    letter-spacing:.08em;
}
/* ===================================
個人情報保護方針
=================================== */

.privacy-page {
  color: #333;
  background: #e8efec;
}

.privacy-page__section {
  padding: 120px 20px 180px;
}

.privacy-page__inner {
  width: min(100%, 980px);
  margin-inline: auto;
}

.privacy-page__title {
  margin: 0 0 85px;
  padding-bottom: 16px;
  border-bottom: 1px solid #7f958c;
  color: #333;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.privacy-page__content {
  width: 100%;
}

.privacy-page__content p,
.privacy-page__content li {
  color: #333;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
}

.privacy-page__content p {
  margin: 0 0 18px;
}

.privacy-page__content h2 {
  margin: 26px 0 10px;
  color: #333;
  font-size: 15px;
  font-weight: 500;
}

.privacy-page__content ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.privacy-page__content li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 1em;
}

.privacy-page__content li::before {
  content: "・";
  position: absolute;
  top: 0;
  left: 0;
}

/* タブレット */

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

  .privacy-page__section {
    padding: 90px 40px 130px;
  }

  .privacy-page__title {
    margin-bottom: 65px;
  }
}

/* スマートフォン */

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

  .privacy-page__section {
    padding: 70px 20px 100px;
  }

  .privacy-page__title {
    margin-bottom: 45px;
    padding-bottom: 12px;
    font-size: 20px;
  }

  .privacy-page__content p,
  .privacy-page__content li {
    font-size: 13px;
    line-height: 1.9;
  }

  .privacy-page__content h2 {
    margin-top: 24px;
    font-size: 14px;
  }
}
/* ==========================
スマホ表示の調整
========================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

  .site-header,
  .site-header__inner,
  .site-main,
  .hero,
  .hero__inner,
  .message,
  .section,
  .section__inner {
    width: 100%;
    max-width: 100%;
  }

  .site-header__inner {
    padding-inline: 20px;
  }

  /* .site-logo {
    width: 120px;
  } */

  .menu-button {
    right: 20px;
  }

  /* メインビジュアル */
  .hero {
    padding: 20px;
  }

  .hero__inner {
    margin: 0;
  }

  .hero__image {
    position: relative;
  }

  .hero__image > img {
    width: 100%;
    /* height: 620px;
    object-fit: cover; */
    object-position: center;
    height: auto;
  }

  /* 緑の文章ボックス */
  .hero__copy {
    position: relative;
    top: 15px;
    right: 15px;
    bottom: auto;
    left: auto;

    order: 2;
    width: 300px;
    max-width: none;
    margin: -55px auto 0;
    padding: 20px 24px 30px;

    color: #fff;
    background: #075936;
    border-radius: 22px;
    box-shadow: 12px 12px 0 #fff;

    z-index: 2;
    width: 300px;
    height: 180px;
  }
  

  .hero__copy p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.12em;
  }
  .hero__copy_sub p {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.04em;
  }

  /* MESSAGE */
  .message {
    padding: 30px 20px;
  }

  .message .section__inner,
  .section__inner--narrow {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .section-title h2 {
    font-size: 42px;
    line-height: 1;
  }

  .message__body {
    width: 100%;
  }

  .message__body h3 {
    font-size: 19px;
    line-height: 2;
  }

  .message__body p {
    font-size: 14px;
    line-height: 2;
  }

  img {
    order: 1;
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    /* aspect-ratio: 4 / 5; */
    object-fit: cover;
    object-position: 68% center;
    margin: 15px 0 0 5px;
  }
  
}
/* ==========================
   Contact Form 7
========================== */

/* 同意欄 */
.wpcf7 .wpcf7-acceptance {
    margin: 80px 0 60px;
    text-align: center;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

/* チェックボックス */
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 32px;
    height: 32px;
    margin: 0;
    flex-shrink: 0;
}

/* テキスト */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 32px;
    line-height: 1.5;
    color: #1f6b4b;
}

/* 注意書き */
.contact-note{
    text-align:center;
    font-size:30px;
    line-height:2;
    margin:80px 0;
}

/* 送信ボタン（現在のまま） */
.wpcf7 input[type="submit"]{
    width:640px;
    height:120px;
    border-radius:60px;
    font-size:48px;
}

/* ==========================
   Contact Form 7
========================== */

/* 同意欄全体 */
.privacy-check {
  margin: 80px 0 60px;
  text-align: center;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* チェックボックス */
.wpcf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
}

/* 同意文 */
.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 16px;
  line-height: 1.5;
  color: #1f6b4b;
  white-space: nowrap;
}

.privacy-check a {
  color: #1f6b4b;
  text-decoration: underline;
}

/* 注意書き */
.contact-note {
  width: 100%;
  margin: 80px 0;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  color: #1f6b4b;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
}

.wpcf7 input[type="submit"] {
  display: block;
  width: 250px;
  height: 60px;
  margin: 0 auto;
  border-radius: 60px;
  font-size: 20px;
}
.contact-note span {
  display: block;
}

/* ==========================
   スマホ
========================== */

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

  .privacy-check {
    margin: 40px 0 50px;
  }

  .wpcf7 .wpcf7-acceptance label {
    gap: 8px;
  }

  .wpcf7 .wpcf7-acceptance input[type="checkbox"] {
    width: 18px;
    height: 18px;
  }

  .wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 13px;
    line-height: 1.6;
    white-space: nowrap;
  }

  .contact-note {
    margin: 40px auto 60px;
    padding: 0 8px;
    font-size: 13px;
    line-height: 1;
    text-align: center;
  }

  /* ボタンサイズはPCと同じ */
  .wpcf7 input[type="submit"] {
    width: 250px;
    height: 60px;
    font-size: 20px;
  }
}

/* =================================
   支援の流れ スマホ修正
================================= */
@media screen and (max-width: 767px) {

  .support-flow__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    padding: 0;
  }

  .support-flow__item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 110px;
  }

  /* ロゴを必ず左側 */
  .support-flow__icon {
    grid-column: 1;
    grid-row: 1;
    width: 90px;
    min-width: 90px;
    height: 100%;
    padding: 10px;
  }

  .support-flow__icon img {
    width: 100%;
    max-width: 70px;
    height: auto;
    object-fit: contain;
  }

  /* 文章を必ず右側 */
  .support-flow__body {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 0;
    padding: 15px;
  }

  .support-flow__body h3 {
    margin: 3px 0 8px;
    font-size: 16px;
    line-height: 1.5;
  }

  .support-flow__body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
  }

}
/* =================================
   親子関係改善支援 支援の流れ スマホ
================================= */
@media screen and (max-width: 767px) {

  .relationship-flow__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  .relationship-flow__item {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    min-height: 110px;
  }

  /* Greenロゴを左 */
  .relationship-flow__logo {
    grid-column: 1;
    grid-row: 1;
    width: 90px;
    min-width: 90px;
    height: 100%;
    padding: 10px;
  }

  .relationship-flow__logo img {
    width: 100%;
    max-width: 65px;
    height: auto;
    object-fit: contain;
  }

  /* 文章を右 */
  .relationship-flow__body {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-width: 0;
    padding: 15px;
  }

  .relationship-flow__body h3 {
    margin: 3px 0 8px;
    font-size: 15px;
    line-height: 1.5;
  }

  .relationship-flow__body p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    font-weight: bold;
  }
}

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

  .relationship-flow__logo {
    grid-column: 1;
    grid-row: 1;

    width: 90px;
    height: 100%;

    display: flex;
    align-items: center;      /* 上下中央 */
    justify-content: center;  /* 左右中央 */

    padding: 10px;
    box-sizing: border-box;
  }

  .relationship-flow__logo img {
    display: block;
    width: 65px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin: 0;
  }
}

/* ===================================
   support-flow ロゴ背景
   PC・タブレット・スマホ共通
=================================== */

/* step01・02 → 白 */
.support-flow__item:nth-child(4n + 1) .support-flow__icon,
.support-flow__item:nth-child(4n + 2) .support-flow__icon {
  background-color: #fff !important;
}

/* step03・04 → 緑 */
.support-flow__item:nth-child(4n + 3) .support-flow__icon,
.support-flow__item:nth-child(4n + 4) .support-flow__icon {
  background-color: #075f3d !important;
}
@media screen and (max-width: 767px) {

  .support-flow__item {
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    padding: 16px;
  }

  .support-flow__icon {
    width: 132px;
    height: 132px;
    min-width: 132px;
    min-height: 0;
    padding: 15px;
  }

  .support-flow__icon img {
    width: 85px;
  }

  .support-flow__body {
    padding: 10px 0 10px 16px;
  }
}


/* ===================================
   1列表示時
   白 → 緑 → 白 → 緑
=================================== */

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

  /* 01・03・05・07 */
  .support-flow__list > .support-flow__item:nth-child(odd)
  .support-flow__icon {
    background: #fff !important;
  }

  /* 02・04・06・08 */
  .support-flow__list > .support-flow__item:nth-child(even)
  .support-flow__icon {
    background: #075f3d !important;
  }

}
/* ===================================
   レスポンシブ
   ロゴ背景 白 → 緑 → 白 → 緑
=================================== */

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

  /* step01・03・05・07 → 白 */
  .support-flow__item:nth-child(odd) > img {
    background-color: #fff !important;
  }

  /* step02・04・06・08 → 緑 */
  .support-flow__item:nth-child(even) > img {
    background-color: #075f3d !important;
  }

}

/* pictureをロゴエリアとして扱う */
.support-flow__item > picture {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
}

.support-flow__item > picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ===================================
   支援の流れ
   ロゴ画像を正方形で固定
=================================== */

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

  .support-flow__item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
  }

  /* ロゴエリア */
  .support-flow__item > picture {
    display: block;

    width: 132px;
    height: 132px;

    align-self: center;
  }

  .support-flow__item > picture img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
  }

  .support-flow__body {
    min-width: 0;
    padding: 20px 18px;
  }
}


/* ===================================
   スマホ
=================================== */

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

  .support-flow__item {
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;

    padding: 16px;
  }

  .support-flow__item > picture {
    width: 110px;
    height: 110px;
  }

  .support-flow__item > picture img {
    width: 100%;
    height: 100%;

    object-fit: contain;
  }

  .support-flow__body {
    padding: 10px 0 10px 16px;
  }
}

/* ===================================
   支援の流れ
   2枚目のサイズ感に合わせる
=================================== */

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

  .support-flow__list {
    width: min(calc(100% - 32px), 830px);
    margin: 0 auto;
    gap: 28px;
  }

  .support-flow__item {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;

    width: 100%;
    min-width: 0;

    padding: 28px 32px;
    background: #f8f9f8;
  }

  /* ロゴ */
  .support-flow__item > picture {
    display: block;

    width: 180px;
    height: 180px;

    margin: 0;
  }

  .support-flow__item > picture img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
  }

  /* 本文 */
  .support-flow__body {
    min-width: 0;
    padding: 0 0 0 22px;
  }

  .support-flow__body span {
    display: block;

    margin-bottom: 7px;

    font-size: 18px;
    line-height: 1.4;
  }

  .support-flow__body h3 {
    margin: 0 0 14px;

    font-size: 21px;
    line-height: 1.5;
  }

  .support-flow__body p {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;
  }
}


/* ===================================
   スマホ
=================================== */

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

  .support-flow__list {
    width: calc(100% - 24px);
    gap: 18px;
  }

  .support-flow__item {
    grid-template-columns: 100px minmax(0, 1fr);

    padding: 16px;
  }

  .support-flow__item > picture {
    width: 100px;
    height: 100px;
  }

  .support-flow__body {
    padding-left: 14px;
  }

  .support-flow__body span {
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: bold;
  }

  .support-flow__body h3 {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .support-flow__body p {
    font-size: 12px;
    line-height: 1.7;
    font-weight: bold;
    }
}

/* ===================================
   支援の流れ
   ロゴを上下左右中央に配置
=================================== */

.support-flow__item > picture {
  display: flex;
  align-items: center;
  justify-content: center;

  align-self: center;
  justify-self: center;

  margin: 0;
}

.support-flow__item > picture img {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;

  object-fit: contain;
  object-position: center center;
}
.required-label {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;

  background-color: #99958d;
  color: #fff;

  border-radius: 4px;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;

  vertical-align: middle;
}
/* ===================================
   iPad / タブレット
   768px ～ 1024px
=================================== */

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

  /* 支援の流れを1列にする */
  .support-flow__list {
    display: grid !important;
    grid-template-columns: 1fr !important;

    width: min(100%, 760px);
    margin: 0 auto;
    padding: 0 20px;

    gap: 26px;
  }

  /* 1つのカード */
  .support-flow__item {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    align-items: center;

    width: 100%;
    min-width: 0;

    padding: 24px 28px;

    background: #f8f9f8;
  }

  /* ロゴ */
  .support-flow__item > picture {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 180px;
    height: 180px;

    margin: 0;
  }

  .support-flow__item > picture img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0 !important;

    object-fit: contain;
    object-position: center !important;
  }

  /* 本文 */
  .support-flow__body {
    min-width: 0;

    padding: 0 0 0 24px !important;
  }

  .support-flow__body span {
    display: block;

    margin-bottom: 6px;

    font-size: 18px;
  }

  .support-flow__body h3 {
    margin: 0 0 12px;

    font-size: 21px;
    line-height: 1.5;
  }

  .support-flow__body p {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;

    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* =================================
   支援の流れ ロゴサイズ固定
================================= */

.support-flow__item {
  align-items: center;
}

/* ロゴを入れている部分 */
.support-flow__icon {
  width: 100px;
  height: 100px;
  min-width: 100px;

  padding: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  align-self: center;
}

/* ロゴ画像 */
.support-flow__icon img {
  display: block;

  width: 70px;
  height: auto;

  max-width: 100%;

  margin: 0 auto;

  object-fit: contain;
}

/* ==========================================
   relationship 支援の流れ
   iPad表示を support-flow と同じサイズにする
========================================== */

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

  /* 全体を1列 */
  .relationship-flow__list {
    display: grid !important;
    grid-template-columns: 1fr !important;

    width: min(100%, 760px);
    margin: 0 auto;
    padding: 0 20px;

    gap: 26px;
  }

  /* カード */
  .relationship-flow__item {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    align-items: center;

    width: 100%;
    min-width: 0;
    min-height: 0;

    padding: 24px 28px;

    background: #f8f9f8;
  }

  
  /* 本文 */
  .relationship-flow__body {
    min-width: 0;
    padding: 0 0 0 24px;
  }

  .relationship-flow__body span {
    display: block;

    margin-bottom: 6px;

    font-size: 18px;
    line-height: 1.4;
  }

  .relationship-flow__body h3 {
    margin: 0 0 12px;

    font-size: 21px;
    line-height: 1.5;
  }

  .relationship-flow__body p {
    margin: 0;

    font-size: 16px;
    line-height: 1.8;

    word-break: normal;
    overflow-wrap: normal;
  }
}
/* ==========================================
   relationship-flow
   iPad ロゴの縦横比を維持
========================================== */

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

  .relationship-flow__item {
    display: grid !important;
    grid-template-columns: 180px minmax(0, 1fr) !important;
    align-items: center;

    width: 100%;
    min-width: 0;
    padding: 24px 28px;

    background: #f8f9f8;
  }

  /* ロゴ画像 */
  .relationship-flow__item > img {
    display: block;

    width: 180px;
    height: auto !important;

    max-width: 100%;

    margin: 0;

    align-self: center;
    justify-self: center;

    object-fit: contain;
  }

  /* 本文 */
  .relationship-flow__body {
    min-width: 0;
    padding: 0 0 0 24px;
  }
}

/* ===================================
   PC：支援の流れ ロゴ位置微調整
=================================== */

@media screen and (min-width: 1025px) {

  .support-flow__item {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    min-height: 180px;
  }

  /* ロゴ枠を固定 */
  .support-flow__item > picture {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 150px;

    margin: 0;

    align-self: center;
    justify-self: center;
  }

  /* ロゴ画像 */
  .support-flow__item > picture img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0 !important;

    object-fit: contain;
    object-position: center center !important;
  }

  /* 本文 */
  .support-flow__body {
    min-width: 0;
    padding: 20px 24px;
  }

  .support-flow__body span {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .support-flow__body h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.5;
  }

  .support-flow__body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
  }
}
/* ===================================
   relationship-flow
   ロゴ部分調整
=================================== */

/* PC */
@media screen and (min-width: 1025px) {

  .relationship-flow__list {
    width: min(100%, 760px);
    margin: 0 auto;
    gap: 24px;
  }

  .relationship-flow__item {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;

    width: 100%;
    min-height: 220px;

    padding: 24px;
    background: #f8f9f8;
  }

  /* ロゴ枠 */
  .relationship-flow__logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 160px;
    height: 160px;
    min-width: 160px;

    padding: 20px;
    margin: 0;

    align-self: center;
    justify-self: center;

    background: #fff;
  }

  .relationship-flow__logo--green {
    background: #075f3d;
  }

  /* ロゴ画像 */
  .relationship-flow__logo img {
    display: block;

    width: 105px;
    max-width: 100%;
    height: auto;

    margin: 0;

    object-fit: contain;
    object-position: center;
  }

  /* 本文 */
  .relationship-flow__body {
    min-width: 0;
    padding: 20px 0 20px 28px;
  }
}

/* ==============================
   HERO PCのみ横幅を広げる
============================== */
@media screen and (min-width: 1025px) {

  .hero__inner {
    width: min(92vw, 1500px);
    margin-inline: auto;
  }

  .hero__image {
    width: 100%;
  }

  .hero__image > img {
    width: 100%;
    height: min(78vh, 790px);
    object-fit: cover;
    object-position: center;
  }
}