@charset "UTF-8";
/* CSS Document */
.slider img {
  width: 100%;
  height: auto;
}
.slider .slick-slide {
  margin: 0 10px;
}
.profile-section h2::before {
  content: attr(data-title);
  font-size: 4em;
  display: block;
  text-transform: lowercase;
  color: #fff;
  line-height: 0.3;
  font-family: var(--font-english);
}
.voice-section h2::before,
.weaning-about-section h2::before {
  content: attr(data-title);
  font-size: 4em;
  display: block;
  text-transform: lowercase;
  color: #fbf7e4;
  line-height: 0.3;
  font-family: var(--font-english);
}
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6em;
  padding-bottom: 7em;
  position: relative;
  top: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-section_image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.hero-content {
  padding: 8em 6em 0 0;
}
.hero-title {
  text-align: left;
  position: relative;
}
.hero-title::after {
  content: "";
  position: absolute;
  bottom: -13.5em;
  left: 0;
  width: 160%;
  height: 520%;
  background: url("../img/solid_foods_image/solid_foods_ashirai.png") no-repeat
    center / contain;
}
.hero-subtitle {
  color: var(--highlight-yellow);
  padding-bottom: 0.5em;
  font-weight: 600;
}
.hero-highlight {
  padding: 1.5em 0;
  font-size: 1.3em;
  font-weight: 600;
  color: #565656;
}
.hero-highlight span {
  color: var(--highlight-yellow);
}
.hero-description {
  padding-bottom: 1.5em;
}
.fixed-inquiry-button {
  position: fixed;
  top: 50%;
  right: -10em; /* 初期位置：画面外 */
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  transition: right 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease;
  z-index: 1000;
}

/* 表示状態 */
.fixed-inquiry-button.show {
  right: 0;
  opacity: 1;
  pointer-events: auto;
}

/* 非表示（スライドアウト）状態 */
.fixed-inquiry-button.hide {
  right: -10em;
  opacity: 0;
  pointer-events: none;
}

/* 実際のボタンデザイン */
.fixed-inquiry-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4em;
  height: max(149px, 10.91vw);
  font-size: max(1rem, 1.17vw);
  letter-spacing: 0.15em;
  line-height: max(1.125rem, 1.32vw);
  color: #fff;
  background-color: var(--highlight-yellow);
  text-decoration: none;
  writing-mode: vertical-rl;
  padding-top: max(8px, 0.59vw);
  border-radius: 0.73vw 0 0 0.73vw;
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.workshop-section {
  margin-bottom: 7em;
}
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3em;
  align-items: stretch;
  margin-bottom: 9em;
}
.workshop-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.workshop-title h2::before {
  content: attr(data-title);
  font-size: var(--font-m);
  display: block;
  color: var(--highlight-yellow);
  letter-spacing: 0.1em;
  line-height: 2;
  font-family: var(--font-english);
  text-transform: none;
}
.workshop-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: #fbf7e4;
  border-radius: 0 1.5em 1.5em 0;
  z-index: -1;
}
.works-list {
  list-style: none;
  padding: 3em 4em 0;
}
.works-list li h3 {
  font-size: 1.3em;
  font-weight: 600;
  color: #565656;
  line-height: 1;
  text-align: left;
  letter-spacing: 0.3em;
  padding-bottom: 3em;
  position: relative;
}
.works-list li h3::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  background-color: var(--highlight-yellow);
  border-radius: 50%;
  position: absolute;
  left: -1.5em;
  top: 0.5em;
  transform: translateY(-50%);
}
.works-section .works-list_title {
  padding-bottom: 1em;
}
.works-list p {
  margin-bottom: 2em;
}
.seminar-section h2::before,
.column-section h2::before {
  content: attr(data-title);
  font-size: 4em;
  display: block;
  text-transform: lowercase;
  color: #fbf7e4;
  line-height: 0.3;
  font-family: var(--font-english);
}
.works-wrap {
  padding: 0 3em;
  list-style: none;
}
.works-item {
  padding: 2em 0;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2em;
  align-items: center;
}

.works-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 70%;
  height: 100%;
  margin: 0 auto;
}
/* h3 */
.works-info h3,
.column-section h3 {
  font-size: 1.2em;
  margin-bottom: 2em;
  background-color: var(--highlight-yellow);
  border-radius: 0.3em;
  padding: 1em 0.5em 1em 0.9em;
  color: #fff;
}
.seminar-section_br {
  display: none;
}
/* �摜 */
.works-info img,
.event-info img {
  width: 50%;
  height: auto;
  max-width: 120px;
}

.event-content,
.seminar-content {
  display: flex;
  flex-direction: column;
  gap: 1em;
  height: 90%;
}
.event-content {
  height: 95%;
}
.event-content h4,
.seminar-content h4 {
  font-size: 1.3em;
  font-weight: bold;
  color: var(--highlight-yellow);
}

.event-list,
.seminar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-list li,
.seminar-list li {
  padding-left: 1.5em;
  position: relative;
}

.slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin-top: 58em;
}
.application-wrap {
  background-color: #fff;
  border-radius: 56px;
  padding: 6em;
  z-index: 4;
  position: relative;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20em;
  height: 4em;
  font-size: 1em;
  color: var(--highlight-yellow);
  background-color: transparent;
  border: 1px solid var(--highlight-yellow);
  border-radius: 48px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  padding-right: 1.3em;
  overflow: hidden;
}
.btn:hover {
  background-color: var(--highlight-yellow);
  color: #fff;
}
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2em;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background-color: var(--highlight-yellow);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}
.column-section {
  margin: 2em 12em 7em;
  border: 1em solid #fbf7e4;
  padding: 6em 3em;
  border-radius: 24px;
}
.column-section p {
  padding-bottom: 2.5em;
}
.event-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}
.event-list {
  padding-bottom: 2.5em;
}
.event-list a {
  color: var(--text-color);
  text-decoration: none;
  display: inline;
  transition: opacity 0.3s ease;
  word-break: break-word;
}

.event-list a::after {
  content: "";
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="currentColor"><path d="M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42 9.3-9.29H14V3z" fill="currentColor"/><path d="M3 3h7V1H3C1.9 1 1 1.9 1 3v18c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-7h-2v7H3V3z" fill="currentColor"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  top: 2px;
  margin-left: 0.3em;
}
.event-list a:hover {
  opacity: 0.5;
}
.contract-fee {
  display: flex;
  flex-direction: column;
  gap: 1em;
  padding-bottom: 1.5em;
  padding-left: 1.5em;
}

.contract-fee dt,
.contract-fee dd {
  display: inline-block;
  width: auto;
}

.contract-fee dt {
  font-weight: bold;
}

.contract-fee dd {
  flex-grow: 1;
}

@media (max-width: 768px) {
  .fixed-inquiry-button {
    display: none;
  }
  .hero-section {
    display: block;
  }
  .hero-section h1 {
    font-size: 24px;
    left: 0;
    letter-spacing: 0.1em;
    bottom: 0;
  }
  .hero-content {
    padding: 30px 20px;
  }
  .hero-description {
    padding-bottom: 0em;
  }
  .hero-highlight {
    padding: 0.5em 0;
    font-size: 14px;
  }
  .workshop-grid {
    display: block;
    margin-bottom: 60px;
  }
  .workshop-title {
    width: 70%;
    height: 20vh;
  }
  .workshop-title h2::before {
    font-size: 12px;
  }
  .works-grid {
    display: block;
    padding-bottom: 20px;
  }
  .hero-section {
    top: -115px;
    padding-bottom: 20px;
  }
  .hero-title::after {
    bottom: -320px;
    width: 160%;
    height: 220%;
  }
  .works-section {
    margin-top: -115px;
  }
  .works-list {
    padding: 40px 16px 0 45px;
  }
  .heading-primary {
    padding: 0px;
  }
  .works-list li h3 {
    font-size: 18px;
    letter-spacing: 0.1em;
    padding: 0 0px 10px 0;
    line-height: 1.5;
  }
  .works-list li h3::before {
    top: 14px;
  }
  .seminar-section h2::before,
  .column-section h2::before {
    font-size: 14vw;
  }
  .works-wrap {
    padding: 0 10px;
  }
  .works-item {
    padding: 10px 0;
  }
  .works-info h3,
  .column-section h3 {
    margin-bottom: 20px;
  }
  /* h4 */
  .event-content h4,
  .seminar-content h4 {
    font-size: 18px;
    padding: 40px 0 0 0;
    text-align: center;
  }
  .slider {
    margin-top: -78px;
  }
  .column-section {
    margin: -40px 20px 120px;
    padding: 60px 10px;
  }
  .event-list {
    padding-bottom: 0px;
  }
  .event-list li,
  .seminar-list li {
    padding-left: 0px;
  }
  .contract-fee {
    flex-direction: column;
    gap: 0.5em;
    padding-left: 0;
  }

  .contract-fee dt,
  .contract-fee dd {
    width: 100%;
    text-align: left;
  }
  .column-section p {
    padding-bottom: 30px;
    font-size: 15px;
    text-align: left;
  }
  .btn {
    height: 7vh;
    width: 100%;
    font-size: 0.9em;
    padding: 0 3em 0 2em;
    max-width: 270px;
  }
  .btn::after {
    right: 1.5em;
  }
}
@media (max-width: 390px) {
  .seminar-section_br {
    display: block;
  }
}

/* ===============================
   離乳食教室についてセクション
================================ */
.weaning-about-section {
  padding: 0 3em 7em;
  text-align: center;
}

.weaning-about-section h2 {
  padding-bottom: 0.5em;
}
/* リード文 */
.weaning-about-lead {
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
}

/* ステージカードのグリッド */
.weaning-stage-list {
  max-width: 1120px;
  margin: clamp(3rem, 5vw, 4rem) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4em;
  text-align: left;
}

/* カード本体 */
.weaning-stage-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 画像 */
.weaning-stage-figure {
  margin: 0;
  border-radius: 2.4rem;
  overflow: hidden;
}

.weaning-stage-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 340 / 230; /* ざっくり元画像と同じ比率 */
  object-fit: cover;
}

/* タイトル・本文 */
.weaning-stage-title {
  color: var(--highlight-yellow);
  font-weight: 600;
  font-size: 1.3em;
  letter-spacing: 0.05em;
}

.weaning-stage-text {
  line-height: 1.9;
}

/* SPレイアウト */
@media (max-width: 768px) {
  .weaning-stage-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .weaning-about-lead {
    text-align: left;
  }
  .weaning-stage-title {
    padding: 0;
  }
}

.profile-section {
  position: relative;
  padding: 7em;
  background: #fbf7e4;
  border-radius: 20em 20em 0 0;
}
.profile-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.profile-section h2 {
  position: relative;
  text-align: center;
  margin-bottom: 4rem;
}

.profile-body {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* 左カラム */
.profile-left {
  max-width: 360px;
  margin: 0 auto;
  margin-right: 0;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}

.profile-meta {
  margin-top: 1.8rem;
}

.profile-name-ja {
  font-weight: 700;
  margin-bottom: 0.3rem;
  font-size: 1.5em;
  color: #565656;
}

.profile-name-en {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  margin-bottom: 1rem;
}

.profile-roles {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.profile-right {
  line-height: 2;
}

.profile-intro {
  margin: 0 0 2.5rem;
}
.worry-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
}

.worry-list li {
  position: relative;
  padding-left: 2.3em;
}

.worry-list li::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  background-color: var(--highlight-yellow);
  border-radius: 50%;
  position: absolute;
  left: 1em;
  top: 1em;
  transform: translateY(-50%);
}
#profile .link.works-link {
  color: var(--highlight-yellow);
}

#profile .link.works-link::before,
#profile .link.works-link::after {
  background-color: var(--highlight-yellow);
}
.solid_foods_link {
  width: 100%;
  justify-content: flex-end;
}
/* ===============================
   保護者の声（Voice）
================================ */
.voice-section {
  position: relative;
  padding: 19em 7em 10em;
}
.voice-section::before {
  content: "";
  position: absolute;
  top: 17em;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 100%;
  background: url(../img/style_images/lesson-section_elements.png) no-repeat
    center top;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.voice-section h2 {
  position: relative;
  text-align: center;
  margin-bottom: 5rem;
}

/* リスト全体 */
.voice-list {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  z-index: 1;
}

/* 各ボイスカード */
.voice-list li {
  display: flex;
  align-items: center;
  gap: 4em;
}

/* イラスト */
.voice-list img {
  width: 160px;
  height: auto;
  flex-shrink: 0;
}

.voice-list_name {
  font-size: var(--font-m);
  padding-top: 1em;
  display: block;
  font-weight: 500;
}

/* 本文バルーン */
.voice-list p {
  margin: 0;
  background-color: #fbf7e4;
  border-radius: 18px;
  padding: 1.5em 2em;
}
.seminar-section {
  padding: 9em 12em;
  position: relative;
  background-color: #fbf7e4;
}
.slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin-top: -2em;
}
.application-wrap {
  background-color: #fff;
  border-radius: 16px;
  padding: 6em;
  z-index: 4;
  position: relative;
}
.seminar-section h3 {
  position: relative;
}
.seminar-section h3::before {
  content: "";
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  background-color: var(--highlight-yellow);
  border-radius: 50%;
  position: absolute;
  left: -1.5em;
  top: 0.8em;
  transform: translateY(-50%);
}
.seminar-section h3::after {
  content: "";
  display: block;
  width: 24%;
  height: 3px;
  background-color: var(--highlight-yellow);
  position: absolute;
  left: -13px;
  bottom: -0.1em;
}
.seminar-section h3:nth-of-type(2)::after {
  width: 22%;
}
.seminar-info {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 0.5em 1em;
  width: 85%;
  margin: 0 auto;
  padding: 2em 0em 2em;
}
.seminar-info dt {
  font-weight: bold;
}
.seminar-info dt,
.seminar-info dd {
  padding: 1em 0;
}
.seminar-info dt:nth-child(odd) {
  border-bottom: 2px dashed #fbf7e4;
  width: 430%;
  padding-left: 2em;
}
.seminar-info dt:last-of-type,
.seminar-info dd:last-of-type {
  border-bottom: none;
}
.seminar-info_text {
  text-align: center;
  padding: 2em 0 1.5em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20em;
  height: 4em;
  font-size: 1em;
  color: var(--highlight-yellow);
  background-color: transparent;
  border: 1px solid var(--highlight-yellow);
  border-radius: 48px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  padding-right: 1.3em;
  overflow: hidden;
}
.btn:hover {
  background-color: var(--highlight-yellow);
  color: #fff;
}
.btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2em;
  transform: translateY(-50%);
  width: 1em;
  height: 1em;
  background-color: var(--highlight-yellow);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}
.seminar-btn_under {
  text-align: center;
  padding-top: 0.5em;
}
#seminar .btn_contain {
  padding-bottom: 6em;
}

@media (max-width: 768px) {
  .weaning-about-section {
    padding: 0 20px 60px;
  }
  .voice-section {
    padding: 280px 20px 60px;
  }
  .voice-list {
    gap: 40px;
  }
  .voice-list p {
    padding: 14px 16px;
    text-align: left;
    margin-top: 8px;
  }
  .profile-section h2::before,
  .voice-section h2::before,
  .weaning-about-section h2::before {
    font-size: 14vw;
  }
  .profile-section {
    padding: 60px 0;
    border-radius: 4em 4em 0 0;
  }
  .profile-section h2 {
    margin-bottom: 10px;
  }
  .profile-inner {
    padding: 0 1.5rem;
  }

  .profile-heading-en {
    font-size: 3.2rem;
  }

  .profile-heading-ja {
    margin-top: -1.2rem;
  }

  .profile-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .profile-left {
    order: 1;
    margin: 0 auto;
  }

  .profile-right {
    order: 2;
  }

  .profile-button-wrap {
    text-align: center;
  }
  .voice-list li {
    display: block;
    text-align: center;
    padding: 0px;
  }
  .voice-list_name {
    font-size: 14px;
  }
  .seminar-section {
    padding: 18% 20px 60px;
    margin: 0;
  }
  .seminar-info {
    margin: 0;
    width: 100%;
  }
  #seminar .btn_contain {
    padding-bottom: 40px;
  }
  .application-wrap {
    padding: 50px 20px 0;
  }
  .seminar-section h3 {
    padding: 0 0 0 28px;
    line-height: 1.3;
  }
  .seminar-section h3::before {
    left: 8px;
    top: 14px;
  }
  .seminar-section h3:nth-of-type(2)::before {
    left: 8px;
    top: 14px;
  }
  .seminar-section h3::after {
    width: 168px;
    bottom: -14px;
    left: 3px;
  }
  .seminar-section h3:nth-of-type(2)::after {
    width: 157px;
  }
  .application-item_text {
    padding: 40px 0 20px;
    line-height: 1.7;
    text-align: left;
  }
  .profile-section .link::before {
    bottom: -2px;
    width: 103%;
  }
  .voice-section::before {
    top: 11em;
    width: 90%;
  }
  .voice-section h2 {
    margin-bottom: 0;
  }
  .seminar-info dt:nth-child(odd) {
    padding-left: 16px;
  }
}
@media (max-width: 500px) {
  .voice-section {
    padding: 210px 20px 60px;
  }
}
