:root {
  --content-width: 600px;
  --side-width: min(260px, calc((100vw - var(--content-width)) / 2 - 40px));
  --page-bg: #edf4ef;
  --content-bg: #fffdf8;
  --text-color: #3e4b42;
  --accent-color: #5b8068;
  --contact-color: #ef7299;
  --line-color: rgba(62, 75, 66, 0.2);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-color);
  background: var(--page-bg);
  font-weight: 500;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.l-site {
  display: flow-root;
  width: min(100%, var(--content-width));
  min-height: 100vh;
  margin-inline: auto;
  background: var(--content-bg);
  box-shadow: 0 0 30px rgba(48, 65, 54, 0.1);
}

.l-main {
  overflow: hidden;
}

.l-section {
  counter-increment: section-number;
  scroll-margin-top: 24px;
}

.l-section-list {
  counter-reset: section-number;
}

.c-section-heading {
  margin: 0;
  color: var(--section-heading-color, #0098a4);
  text-align: center;
}

.c-section-heading::before {
  display: block;
  margin-bottom: 30px;
  content: counter(section-number, decimal-leading-zero);
  color: var(--section-number-color, rgba(0, 152, 164, 0.1));
  font-family: "Montserrat", sans-serif;
  font-size: 8rem;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0.05em;
  opacity: .75;
}

.c-section-heading__title {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Concerns -------------------------------------------------------------- */
.p-concerns {
  --section-number-color: rgba(255, 255, 255, 0.78);
  position: relative;
  padding: 41.32% 5.33% 20.66%;
  overflow: hidden;
  background: #e6f6fd;
}

.p-concerns__head {
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin-inline: calc(clamp(20px, 7vw, 42px) * -1);
  padding-inline: 5.33%;
  background: #def3ff;
}
.p-concerns__head .c-section-heading{
  margin-top: -10.66%;
  transform: translateY(-50%);
  margin-bottom: -20.66%;
}

.p-concerns__head::before,
.p-concerns__head::after {
  position: absolute;
  left: -10%;
  z-index: -1;
  width: 120%;
  height: 100px;
  border-radius: 50%;
  background: #def3ff;
  content: "";
  pointer-events: none;
}

.p-concerns__head::before {
  top: -5.33%;
}

.p-concerns__head::after {
  bottom: -5%;
}

.p-concerns__intro {
  position: relative;
  margin-top: clamp(34px, 9vw, 54px);
}

.p-concerns__message {
  position: relative;
  margin-top: 21.32%;
}

.p-concerns__lead,
.p-concerns__message-text,
.p-concerns__author-name {
  margin: 0;
}

.p-concerns__list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0 5px;
  margin: clamp(36px, 10vw, 60px) auto 0;
  padding: 0;
  list-style: none;
}

.p-concerns__lead {
  color: #222;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-align: center;
}

.p-concerns__item {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  padding: 5px;
  color: #289aa4;
  background: url("../img/baloon.svg") center / contain no-repeat;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.p-concerns__item:nth-child(1) {
  grid-area: 1 / 1 / 2 / 3;
}

.p-concerns__item:nth-child(2) {
  grid-area: 2 / 2 / 3 / 4;
  transform: translateY(-18px);
}

.p-concerns__item:nth-child(3) {
  grid-area: 1 / 3 / 2 / 5;
}

.p-concerns__item:nth-child(4) {
  grid-area: 2 / 4 / 3 / 6;
  transform: translateY(-18px);
}

.p-concerns__item:nth-child(5) {
  grid-area: 1 / 5 / 2 / 7;
}

.p-concerns__visuals {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin: 0 auto 0;
  transform: translateY(24%);
}

.p-concerns__visuals::before,
.p-concerns__visuals::after {
  display: block;
  flex: 0 0 auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  transform: translateY(-30%);
}

.p-concerns__visuals::before {
  width: 27%;
  aspect-ratio: 139.153 / 168.813;
  background-image: url("../img/01-01.svg");
}

.p-concerns__visuals::after {
  width: 20%;
  aspect-ratio: 133.657 / 257.481;
  background-image: url("../img/01-02.svg");
}

.p-concerns__visual {
  display: block;
  order: 0;
  width: 39%;
  min-width: 0;
}

.p-concerns__message-content {
  line-height: 1.8;}

.p-concerns__message-title {
  margin: 0 0 clamp(32px, 9vw, 54px);
  color: #289aa4;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
}

.p-concerns__message-text {
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.p-concerns__message-content{display:flex;flex-direction:column;gap:1rem}
.p-concerns__author {
  margin: 0 auto;
background:rgba(255,255,255,.5);
border-radius:1em;
padding:0 1rem;
display:flex;gap:1rem;
  width: 90%;
  text-align: center;
align-items:center;
margin-inline:auto;
}

.p-concerns__author-image {
  display: block;
  width: 33%;
padding:1rem;
}

.p-concerns__author-name {
  margin-top: 10px;
  font-size: .92rem;
  line-height: 1.6;
font-weight:700;text-align: left;
}

.p-concerns__author-qualifications{
  font-size: .82rem;
  line-height: 1.6;
text-align:left;
}

/* About ----------------------------------------------------------------- */
.p-about {
  position: relative;
  padding:0 5.33% 5.33%;
  background: #f8fcff;
  border-radius: 2rem;
  z-index: 1;
}
.p-about .c-section-heading{
  margin-top: -5.33%;
  transform: translateY(-25%);
  margin-bottom: -10.33%;}

.p-about__intro-title {
  margin: clamp(34px, 9vw, 54px) 0 0;
  color: #222;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
  text-align: center;
}

.p-about__intro-title strong,
.p-about__free-title strong,
.p-about__summary-title strong {
  color: #0098a4;
  font-weight: 700;
  
}

.p-about__intro-title strong{
  background: linear-gradient(transparent 65%, #FFF1B8 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-size: 1.5rem;
}


.p-about__free-list {
  counter-reset: free-number;
}

.p-about__free {
  counter-increment: free-number;
  margin-top: clamp(54px, 14vw, 84px);
}

.p-about__free-title {
  position: relative;
  min-height: 62px;
  margin: 0 0 28px;
  padding: 5px 0 0 78px;
  color: #222;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.55;
}

.p-about__free-title strong {
  display: block;
  font-size: 1.5em;
}

.p-about__free-title::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 62px;
  aspect-ratio: 1;
  padding-top: 7px;
  border-radius: 50%;
  box-sizing: border-box;
  color: #0098a4;
  background: #fce58a;
  content: counter(free-number);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
   font-family: "Kiwi Maru", serif;
}

.p-about__free-title::after {
  position: absolute;
  top: 37px;
  left: 0;
  width: 62px;
  color: #0098a4;
  content: "free";
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
   font-family: "Kiwi Maru", serif;
}
.p-about__free + .p-about__free .p-about__free-title strong{padding-top: .5rem;}

.p-about__free-content {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.p-about__free-text {
  min-width: 0;
  margin: 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
}
.p-about__free-text strong {
  background: linear-gradient(transparent 65%, #FFF1B8 65%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  font-weight: normal;
}

.p-about__free-image {
  float: right;
  width: 28%;
  margin: 0 0 1em 1em;
}

.p-about__note {
  position: relative;
  margin: 30px 0 0;
  padding: 5.33%;
  border-radius: 14px;
  color: #0098a4;
  background: #fff9df;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
}

.p-about__note-image {
  float: right;
  width: 32%;
  max-height: calc(100% - 28px);
  object-fit: contain;
  object-position: right bottom;
  margin: 0 0 1em 1em;
}

.p-about__summary {
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin: clamp(78px, 20vw, 120px) calc(clamp(22px, 7vw, 42px) * -1) 0;
  padding: 10.33% 5.33% 46.65%;
  text-align: center;
}

.p-about__summary-list::before {
  position: absolute;
  top: -30%;
  left: -10%;
  z-index: -1;
  width: 120%;
  height: 100%;
  background: url(../img/wave.svg) no-repeat center top;
  background-size: 100% auto;
  content: "";
}
.p-about__summary-list::after {
  position: absolute;
  bottom: -30%;
  left: -10%;
  z-index: -1;
  width: 120%;
  height: 100%;
  background: url(../img/wave.svg) no-repeat center top;
  background-size: 100% auto;
  content: "";
  transform: rotate(180deg);
}
.p-about__summary-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 -5.33%;
  padding: 5.33%;
  list-style: none;
  background: #E8F7FF;
}

.p-about__summary-item {
  display: flex;
  min-height: 205px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
}

.p-about__summary-item:first-child {
  background: #fff9df;
}

.p-about__summary-item figure,
.p-about__summary-item p {
  margin: 0;
}

.p-about__summary-item figure {
  display: grid;
  height: 88px;
  place-items: center;
}

.p-about__summary-item img {
  max-height: 82px;
}

.p-about__summary-item p {
  margin-top: 12px;
  color: #0098a4;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
}

.p-about__summary-title {
  margin: 26.65% 0 0;
  color: #0098a4;
  font-size:1.75rem;
  letter-spacing: 0.05em;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.p-about__summary-title strong {
  margin-inline: 0.2em;
  text-decoration: underline;
  text-decoration-color: #fce58a;
  text-decoration-thickness: 5px;
  text-underline-offset: 2px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.p-about__summary-text {
  margin: 22px 0 0;
  color: #222;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.8;
}

.p-about__landscape {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 195px;
}

.p-about__landscape::before {
  position: absolute;
  inset: 0;
  background: url("../img/02-07.svg") center bottom 3rem / 100% auto no-repeat;
  opacity: 0.2;
  content: "";
  pointer-events: none;
}

.p-about__family {
  position: absolute;
  right: 50%;
  bottom:1rem;
  width: min(30%, 200px);
  transform: translateX(50%);
}

/* Skills ---------------------------------------------------------------- */
.p-skills {
  --section-number-color: rgba(255, 255, 255, 0.72);
  position: relative;
  padding: calc(10.66% + 2rem) 5.33% 10.66%;
  background: #def3ff;
  z-index: 0;
  top: -2rem;
}

.p-skills .c-section-heading::before {
  color: #0098A4;
  opacity: .1;
}
.p-skills__content {
  margin-top: clamp(36px, 9vw, 56px);
  position: relative;
  z-index: 1
}

.p-skills__lead {
  margin: 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.p-skills__subtitle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: clamp(44px, 11vw, 68px) 0 24px;
  color: #0098a4;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

.p-skills__subtitle::before,
.p-skills__subtitle::after {
  display: block;
  width: 1px;
  height: 30px;
  background: #0098a4;
  content: "";
}

.p-skills__subtitle::before {
  transform: rotate(-28deg);
}

.p-skills__subtitle::after {
  transform: rotate(28deg);
}

.p-skills__subtitle img {
  position: absolute;
  right: 3px;
  bottom: 0;
  width: 36px;
}

.p-skills__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-skills__item {
  display: grid;
  min-height: clamp(62px, 17vw, 92px);
  place-items: center;
  padding: 8px 4px;
  border: 3px solid #c8edff;
  border-radius: 12px;
  color: #333;
  background: #fff;
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.p-skills__etc {
  margin: 10px 4px 0 0;
  color: #222;
  font-size: 1rem;
  text-align: right;
}

/* Lessons --------------------------------------------------------------- */
.p-lessons {
  position: relative;
  z-index: 1;
  isolation: isolate;
  padding: 15.99% 5.33%;
  overflow: hidden;
  margin-top: -15%;
  background-color: #def3ff;
}
.p-lessons .c-section-heading {
  position: relative;
  z-index: 1;
}

.p-lessons::before {
  position: absolute;
  top: 0%;
  left: -10%;
  z-index: 0;
  width: 120%;
  height: 50%;
  background: url(../img/wave2.svg) no-repeat center top;
  background-size: 100% auto;
  content: "";
}
.p-lessons::after {
  position: absolute;
  bottom: 0%;
  left: -10%;
  z-index: -1;
  width: 120%;
  height: 50%;
  background: url(../img/wave2.svg) no-repeat center top;
  background-size: 100% auto;
  content: "";
  transform: rotate(180deg);
}
.p-lessons__content {
  padding: 10.66% 5.33%;
  margin-inline: -5.33%;
background-color: #F8FCFF;
}

.p-lessons__lead {
  margin: 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
  text-align: center;
  z-index: 1;
  position: relative;
}

.p-lessons__list {
  display: grid;
  gap: 16px;
  margin-top: clamp(36px, 9vw, 56px);
}

.p-lessons__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(105px, 38%);
  grid-template-rows: auto 1fr;
  gap: 10px 12px;
  min-height: 190px;
  padding: 22px 18px;
  border-radius: 18px;
  background: #E3EFF6;
  box-sizing: border-box;
}

.p-lessons__card-title {
  position: relative;
  align-self: start;
  margin: 0;
  padding-left: 22px;
  color: #222;
  font-size: 1.25rem;
  line-height: 1.5;
}

.p-lessons__card-title::before {
  position: absolute;
  top: .75em;
  left: 0;
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #0098a4;
  content: "";
  transform: translateY(-50%);
}

.p-lessons__card-image {
  grid-area: 1 / 2 / 3 / 3;
  align-self: center;
  justify-self: center;
  width: 100%;
  max-height: 155px;
  object-fit: contain;
}

.p-lessons__card-text {
  grid-column: 1;
  align-self: start;
  margin: 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
}

.p-lessons__card:first-child {
  display: flow-root;
  min-height: 250px;
}

.p-lessons__card:first-child .p-lessons__card-title {
  margin-bottom: 12px;
}

.p-lessons__card:first-child .p-lessons__card-image {
  float: right;
  width: 44%;
  max-height: none;
  margin: 0 0 8px 14px;
}

.p-lessons__card:first-child .p-lessons__card-text {
  padding: 0;
}

/* Pace ------------------------------------------------------------------ */
.p-pace {
  --section-number-color: rgba(255, 255, 255, 0.78);
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 10.66% 5.33% 0;
  overflow: hidden;
  background: #def3ff;
}

.p-pace::before {
  position: absolute;
  top: -34px;
  left: -10%;
  z-index: -1;
  width: 120%;
  height: 70px;
  border-radius: 50%;
  background: #def3ff;
  content: "";
}

.p-pace__content {
  margin-top: clamp(34px, 9vw, 54px);
}

.p-pace__lead {
  margin: 0;
  color: #222;
  font-size: .92rem;
  line-height: 1.8;
  text-align: center;
}

.p-pace__visual {
  position: relative;
  margin: clamp(38px, 10vw, 62px) auto 0;
  padding-top: 19%;
}

.p-pace__step {
  position: absolute;
  z-index: 2;
  width: 22%;
}

.p-pace__step--30 {
  top: 28%;
  left: 0;
}

.p-pace__step--60 {
  top: 17%;
  left: 25.5%;
}

.p-pace__step--90 {
  top: 6%;
  left: 51%;
}

.p-pace__step--120 {
  top: -5%;
  right: 0;
}

.p-pace__image {
  display: block;
  width: 108%;
  max-width: none;
  margin-left: -4%;
}

/* Schedule -------------------------------------------------------------- */
.p-schedule {
  --section-number-color: rgba(0, 152, 164, 0.09);
  position: relative;
  padding: 10.66% 5.33%;
  background: #def3ff;
}

.p-schedule::before {
  position: absolute;
  top: -2%;
  left: -10%;
  z-index: 0;
  width: 120%;
  height: 100px;
  border-radius: 50%;
  background: #def3ff;
  content: "";
  pointer-events: none;
}
.p-schedule::after {
  position: absolute;
  bottom: -3%;
  left: -10%;
  z-index: 1;
  width: 120%;
  height: 100px;
  border-radius: 50%;
  background: #def3ff;
  content: "";
  pointer-events: none;
}


.p-schedule__content {
  margin-top: clamp(38px, 10vw, 60px);
  position: relative;
  z-index: 2;
}

.p-schedule__table-wrap {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.p-schedule__table-wrap--fee {
  margin-top: 18px;
}

.p-schedule__table {
  width: 100%;
  border-collapse: collapse;
  color: #222;
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
}

.p-schedule__table th,
.p-schedule__table td {
  padding: 15px 14px;
  border-right: 1px solid #d8edf2;
  border-bottom: 1px solid #d8edf2;
  box-sizing: border-box;
}

.p-schedule__table tr:last-child > * {
  border-bottom: 0;
}

.p-schedule__table tr > *:last-child {
  border-right: 0;
}

.p-schedule__table small {
  display: block;
  margin-top: 5px;
  font-size: .88rem;
  font-weight: 400;
}

.p-schedule__table--info th {
  width: 34%;
  color: #fff;
  background: #009da9;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
}

.p-schedule__table--info td {
  font-weight: 500;
}

.p-schedule__table--fee thead th {
  padding-block: 13px;
  color: #fff;
  background: #009da9;
  font-size: clamp(0.8rem, 3.2vw, 1rem);
  letter-spacing: 0.08em;
}

.p-schedule__table--fee tbody td {
  width: 25%;
  padding: 13px 4px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;
  white-space: nowrap;
}

.p-schedule__table--fee tbody span {
  display: block;
  margin-bottom: 3px;
}

.p-schedule__table--fee tfoot {
  border-top: 1px solid #d8edf2;
}

.p-schedule__table--fee tfoot th {
  width: 25%;
  color: #009da9;
  background: #bdeef2;
  font-weight: 700;
}

.p-schedule__table--fee tfoot td {
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.p-schedule__notes {
  display: grid;
  gap: 7px;
  margin: 28px 0 0;
  padding: 0;
  color: #222;
  font-size: .88rem;
  line-height: 1.55;
  list-style: none;
}

.p-schedule__notes li::before {
  content: "※";
}

/* Flow ------------------------------------------------------------------ */
.p-flow {
  --section-number-color: rgba(0, 152, 164, 0.08);
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 10.66% 5.33%;
  overflow: hidden;
  background: #effbff;
}

.p-flow::before {
  position: absolute;
  top: -34px;
  left: -10%;
  z-index: -1;
  width: 120%;
  height: 70px;
  border-radius: 50%;
  background: #effbff;
  content: "";
}

.p-flow__content {
  margin-top: clamp(42px, 11vw, 66px);
}

.p-flow__list {
  display: grid;
  gap: clamp(30px, 8vw, 48px);
  margin: 0;
  padding: 0;
  counter-reset: flow-step;
  list-style: none;
}

.p-flow__item {
  position: relative;
  min-height: 48px;
  padding-left: 60px;
  counter-increment: flow-step;
}

.p-flow__item::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 40px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #009da9;
  content: counter(flow-step);
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.p-flow__item:not(:last-child)::after {
  position: absolute;
  top: 47px;
  bottom: calc(clamp(30px, 8vw, 48px) * -1 + 7px);
  left: 19px;
  width: 2px;
  background: rgba(0, 157, 169, 0.25);
  content: "";
}

.p-flow__item-title {
  margin: 0;
  color: #009da9;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.p-flow__item-text {
  margin: 7px 0 0;
  color: #222;
  font-size: 1rem;
  line-height: 1.8;
}

/* Contact --------------------------------------------------------------- */
.p-contact {
  --section-number-color: rgba(239, 114, 153, 0.11);
  --section-heading-color: #ef7299;
  position: relative;
  padding: 10.66% 5.33%;
  overflow: hidden;
  color: #333;
  background: #fff0f5;
}

.p-contact__content {
  margin-top: 2rem;
  text-align: center;
}

.p-contact__text {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: left;
}

.p-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: auto;
  min-height: 58px;
  margin-top: clamp(30px, 8vw, 48px);
  padding: 2rem 1.5rem;
  border: 2px solid #fff;
  border-radius: 999px;
  box-sizing: border-box;
  color: #fff;
  background: #ef7299;
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-contact__button:hover,
.p-contact__button:focus-visible {
  box-shadow: 0 8px 20px rgba(168, 54, 90, 0.2);
  transform: translateY(-2px);
}

.p-contact__button img {
  width: 1.5rem;
  flex: 0 0 auto;
}

/* Footer ---------------------------------------------------------------- */
.l-footer {
  position: relative;
  padding: clamp(64px, 16vw, 96px) 24px 28px;
  background: #e7f7ff;
  text-align: center;
}

.l-footer::before {
  content: none;
}

.l-footer__logo {
  position: relative;
  display: block;
  width: min(44%, 210px);
  margin-inline: auto;
}

.l-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.l-footer__nav a {
  display: block;
  padding-inline: 24px;
  color: #009da9;
  font-size: clamp(0.65rem, 2.4vw, 0.8rem);
  font-weight: 700;
  text-decoration: none;
}

.l-footer__nav-list li + li {
  border-left: 1px solid #009da9;
}

.l-footer__copyright {
  margin: 30px 0 0;
  color: #009da9;
  font-family: "Montserrat", sans-serif;
  font-size: 0.68rem;
}

.l-footer__pagetop {
  display: none;
}

/* Header and first view -------------------------------------------------- */
.l-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 10px;
  background: #fff;
}

.l-header__logo {
  width: clamp(112px, 33vw, 170px);
  margin: 0;
}

.l-header__logo a,
.l-header__logo img {
  display: block;
}

.l-header__contact {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: .2rem 1rem;
  border-radius: 999px;
  color: #fff;
  background: var(--contact-color);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.l-header__contact img {
  width: 17px;
  filter: brightness(0) invert(1);
}

.p-home-hero {
  position: relative;
  padding: 10.666% 5.333% 42%;
  overflow: hidden;
  text-align: center;
  background:#e6f6fd url("../img/town.svg") center bottom 2rem / 100% auto no-repeat;
   font-family: "Kiwi Maru", serif;
  font-weight: 400;
  font-style: normal;
}

.p-home-hero__cloud {
  position: absolute;
  right: -130px;
  width: 82px;
  opacity: 0.7;
  animation: cloud-drift 48s linear infinite;
  will-change: transform;
}

.p-home-hero__cloud--left {
  top: 275px;
  --cloud-scale: 1;
  animation-duration: 58s;
  animation-delay: -32s;
}

.p-home-hero__cloud--right {
  top: 95px;
  --cloud-scale: 0.75;
  animation-delay: -6s;
}

@keyframes cloud-drift {
  from {
    transform: translateX(0) scale(var(--cloud-scale, 1));
  }

  to {
    transform: translateX(-760px) scale(var(--cloud-scale, 1));
  }
}

.p-home-hero__copy {
  position: relative;
  z-index: 1;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 702 / 375;
  margin: 0 auto;
}

.p-home-hero__copy::after {
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: -1;
  width: 80px;
  aspect-ratio: 137.35 / 161.148;
  background: url("../img/sun.svg") center / contain no-repeat;
  content: "";
  pointer-events: none;
  transform: rotate(-60deg);
}

.p-home-hero__copy-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4% 2% 0;
  box-sizing: border-box;
  background: url("../img/mv.svg") center / 100% 100% no-repeat;
}

.p-home-hero__title {
  margin: 0;
  color: #0098a4;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.08em;
  
}

.p-home-hero__title span,
.p-home-hero__title strong {
  display: block;
}

.p-home-hero__title span {
  font-size: 1.25rem;
}

.p-home-hero__title strong {
  margin-top: 2px;
  font-size: 2.25rem;
  font-weight: 700;
}

.p-home-hero__description {
  margin: 10px 0 0;
  font-size: 1.125rem;
  letter-spacing: 0.1em;
  color: #0098a4;
  font-weight: 400;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
}

.p-home-hero__message {
  position: relative;
  z-index: 2;
  margin: 2em auto 0;
  color: #0098a4;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.8;
  letter-spacing: 0.08em;
  text-align: left;
    font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
}


.p-home-hero__family {
  position: absolute;
  right: 3%;
  bottom: 1rem;
  z-index: 1;
  display: block;
  width: min(45%, 300px);
}

@media (max-width: 430px) {
  .l-header {
    padding-inline: 16px;
  }

  .l-header__contact {
    min-height: 34px;
    padding-inline: 11px;
  }

  .p-home-hero {
    padding-bottom: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-home-hero__cloud {
    animation: none;
  }

  .p-home-hero__cloud--left {
    right: auto;
    left: -34px;
  }

  .p-home-hero__cloud--right {
    right: -28px;
    transform: scale(var(--cloud-scale));
  }
}

.l-pc-side {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  width: var(--side-width);
  padding-block: clamp(32px, 6vh, 72px);
  box-sizing: border-box;
}

.l-pc-side--left {
  left: max(24px, calc(50% - var(--content-width) / 2 - var(--side-width) - 40px));
  flex-direction: column;
  justify-content: space-between;
}

.l-pc-side--right {
  right: max(24px, calc(50% - var(--content-width) / 2 - var(--side-width) - 40px));
  flex-direction: column;
  justify-content: center;
}

.l-pc-side__brand {
  display: block;
  width: min(100%, 210px);
}

.l-pc-side__lead {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.l-pc-side__nav-title {
  margin: 0 0 20px;
  color: #0098a4;
  font-family: "Montserrat", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.l-pc-side__nav {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  font-weight: 700;
  border-top: 1px solid var(--line-color);
  list-style: none;
}

.l-pc-side__nav a {
  display: block;
  padding: 1rem .5rem;
  border-bottom: 1px solid var(--line-color);
  color: inherit;
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.l-pc-side__nav a:hover,
.l-pc-side__nav a:focus-visible,
.l-pc-side__nav a.is-current {
  padding-left: 10px;
  color: #0098a4;
}

.l-pc-side__contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--contact-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.l-pc-side__contact img {
  width: 18px;
  flex: 0 0 auto;
}

.c-mobile-menu-toggle {
  display: none;
}

.c-mobile-menu {
  box-sizing: border-box;
  width: min(90%, 400px);
  max-height: 85dvh;
  padding: 32px 24px 24px;
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  color: var(--text-color);
  background: var(--content-bg);
}

.c-mobile-menu::backdrop {
  background: rgba(35, 55, 45, 0.45);
}

html:has(.c-mobile-menu[open]) {
  overflow: hidden;
}

.c-mobile-menu__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  color: var(--text-color);
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.c-mobile-menu__title {
  margin: 0 0 16px;
  color: #0098a4;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.c-mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-mobile-menu__list a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-color);
  color: inherit;
  font-size: 1rem;
  text-decoration: none;
}

.c-mobile-menu__contact {
  display: block;
  margin-top: 24px;
  padding: 14px 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--contact-color);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 600px) {
  .c-mobile-menu-toggle:not([hidden]) {
    position: fixed;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #0098a4;
    box-shadow: 0 3px 12px rgba(35, 55, 45, 0.2);
    cursor: pointer;
  }

  .c-mobile-menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }
}

@media (max-width: 1100px) {
  .l-pc-side {
    display: none;
  }

  .l-site {
    box-shadow: none;
  }
}
