/* ==========================================================================
   CSS Variables (Design Tokens)
   ========================================================================== */
:root {
  /* Colors */
  --color-primary: #FC5806;
  --color-secondary: #1076CA;
  --color-background: #FFE7BD;
  --color-background-light: #EBF3D9;
  --color-text: #0F100E;
  --color-text-secondary: #333;
  
  /* Spacing */
  --spacing-xs: 10px;
  --spacing-sm: 20px;
  --spacing-md: 30px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-xxl: 70px;
  --spacing-xxxl: 80px;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-lg: 24px;
  --font-size-xl: 32px;
  --font-size-xxl: 36px;
  --font-size-xxxl: 55px;
  
  /* Breakpoints */
  --breakpoint-mobile: 768px;
  --breakpoint-tablet: 1024px;
}

/* メディアクエリ用のミックスイン（CSS変数はメディアクエリで直接使用できないため、コメントで統一） */
/* Mobile breakpoint: max-width: 768px */
/* Tablet breakpoint: min-width: 769px, max-width: 1024px */
/* Desktop breakpoint: min-width: 1025px */

/* ==========================================================================
   Global Overrides
   ========================================================================== */
html, body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "BIZ UDPGothic", sans-serif;
  position: relative;
}

/* SP版のみ表示する要素 */
.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }
}

/* Page Decoration (Clouds) */
.pageDecoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0; /* Behind content but in front of background */
}

.pageDecoration__item {
  position: absolute;
  top: 0;
}

.pageDecoration__item--left {
  left: 0;
  width: 160px;
  height: auto;
  max-width: 40vw; /* Responsive sizing */
}

.pageDecoration__item--right {
  right: 0;
  width: 160px;
  height: auto;
  max-width: 40vw; /* Responsive sizing */
}

/* ==========================================================================
   Shared Utilities & Components
   ========================================================================== */
/* Precon Section Lead Text */
.preconSectionLead {
  margin: 0 auto;
  color: var(--color-text);
  font-size: var(--font-size-base);
  font-style: normal;
  font-weight: 700;
  line-height: 28px; 
  width: fit-content;
  max-width: 744px;
  margin-top: var(--spacing-md);
  text-align: center;
}
.preconSectionLead br {
  display: none;
}

/* Lined Section Title */
.linedSectionTitle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Fredoka, sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 116.667% */

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.linedSectionTitle::before,
.linedSectionTitle::after {
  content: "";
  height: 2px;
}

.linedSectionTitle::before {
  margin-right: 1rem;   /* 文字の左側の余白 */
}

.linedSectionTitle::after {
  margin-left: 1rem;    /* 文字の右側の余白 */
}

/* Precon Top Section Lined Title */
.preconTopSection__linedTitle {
  color: #5D8A1D;
  font-size: 24px;
}

.preconTopSection__linedTitle::before,
.preconTopSection__linedTitle::after {
  width: 182px;
  background-color: #5D8A1D;
}

/* Consultation Counter Lined Title */
.consultationCounter__linedTitle {
  color: #CA4410;
  font-size: 16px;
}

.consultationCounter__linedTitle::before,
.consultationCounter__linedTitle::after {
  width: 128px;
  background-color: #CA4410;
}

/* Achievements Section Lined Title */
.achievementsSection__linedTitle {
  color: var(--color-primary);
  font-size: var(--font-size-base);
}

.achievementsSection__linedTitle::before,
.achievementsSection__linedTitle::after {
  width: 128px;
  background-color: var(--color-primary);
}

/* Preconception Handbook Section Lined Title */
.preconceptionHandbookSection__linedTitle {
  color: var(--color-secondary);
  font-size: var(--font-size-base);
}

.preconceptionHandbookSection__linedTitle::before,
.preconceptionHandbookSection__linedTitle::after {
  width: 128px;
  background-color: var(--color-secondary);
}

@media (max-width: 768px) {
  .preconSectionLead {
    margin-top: 20px;
    font-size: 14px;
    line-height: 20px;
  }
  .preconSectionLead br {
    display: block;
  }

  .preconTopSection__linedTitle {
    font-size: 20px;
  }
  
  .consultationCounter__linedTitle {
    font-size: 12px;
  }

  .achievementsSection__linedTitle {
    margin-top: 0;
  }

  .achievementsSection__linedTitle,
  .preconceptionHandbookSection__linedTitle {
    font-size: 12px;
  }
  
  .linedSectionTitle::before,
  .linedSectionTitle::after {
    width: 24px;         /* 余白を埋めるように線を伸ばす */
  }
}

/* Section Titles (Figma Match) */
.consultationCounterSectionTitle {
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
}

.consultationCounterSectionTitle img {
  width: 421px;
  height: 49px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .consultationCounterSectionTitle img {
    width: 276px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  .consultationCounterSectionTitle {
    padding-bottom: 0px;
  }
}

.achievementsSectionTitle {
  text-align: center;
  margin: 0 auto;
  margin-top: 70px;
  padding: 20px 0;
}

.achievementsSectionTitle img {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .achievementsSectionTitle {
    margin-top: 20px;
  }
  
  .achievementsSectionTitle img {
    width: 213px;
    height: 34px;
  }
}

.preconceptionHandbookSectionTitle {
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
}

.preconceptionHandbookSectionTitle img {
  width: 860px;
  height: 57px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .preconceptionHandbookSectionTitle img {
    width: 345px;
    height: 77px;
  }
}
/* ==========================================================================
   Page Sections
   ========================================================================== */
/* 1. Top Section */
.preconTopSection {
  background-color: #EBF3D9;
  background-image: url('./images/top_bg.svg');
  background-position: 50% -150px;
  background-size: 1250px auto;
  background-repeat: no-repeat;
  padding-top: 70px;
  position: relative;
  z-index: 1; /* Ensure content is above decoration if needed, or adjust based on layout */
}

.preconTopSection__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
}

.preconTopSection__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: 0px;
}

.preconTopSection__description {
  color: #59504D;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px; /* 187.5% */
  width: fit-content;
  max-width: 527px;
  margin-top: 60px;
}

.preconTopSection__linedTitle {
  margin-top: 80px;
}

.preconTopSection__topButtons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
  overflow: visible;
}

.preconTopSection__menu_wrapper {
  padding-top: 0px;
}

@media (max-width: 768px) {
  .preconTopSection {
    padding-top: 90px;
  }

  .preconTopSection__row {
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    padding-top: 50px;
  }

  .preconTopSection__inner {
    display: contents;
  }

  .preconTopSection__logo {
    order: 1;
    width: 100%;
    max-width: 280px;
    margin-bottom: 40px;
  }

  .preconTopSection__illust {
    order: 2;
    width: 100%;
    margin-bottom: 40px;
  }

  .preconTopSection__menu_wrapper {
    display: block;
    background-image: url('./images/sp/keyvisual_section_bg.svg');
    background-size: 120% auto;
    background-position: top center;
    padding-top: 70px;
    width: 100%;
  }

  .preconTopSection__description {
    order: 3;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .preconTopSection__linedTitle {
    margin: 30px 0px;
  }
  .preconTopSection__topButtons {
    gap: 16px;
  }
}

/* 2. Consultation Counter Section */
.preconConsultationCounterSection {
  background-color: #FCEDE9;
  background-image: url('./images/top_counter_bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;
}

.preconConsultationCounterSection__inner {
  /* Container style if needed */
  width: 100%;
}

.preconConsultationCounterSection__consultationBanner {
  margin: 0px auto;
  margin-top: 40px;
  padding: 60px 80px;
  gap: 40px;
}

@media (max-width: 768px) {
  .preconConsultationCounterSection{
    padding-bottom: 20px;
  }
}

/* 3. Achievements Section */
.achievementsSection {
  background-color: #FFE7BD;
  position: relative;
  z-index: 1;

  background-image: url('./images/top_record_bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

.achievementsSection .pageDecoration {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.achievementsSection__cards {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .achievementsSection__cards {
    margin-top: 20px;
    display: block;
  }
}

/* 4. Handbook Section */
.preconceptionHandbookSection {
  background-color: #EAF6FB;
  padding-bottom: 72px;
  position: relative;
  z-index: 1;

  background-image: url('./images/top_handbook_bg.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto;
}

.preconceptionHandbookSection__handbookCard {
  margin: 0px auto;
  margin-top: 40px;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Card Buttons (PreconceptionBooklet, SagaInitiatives, ConsultationCounter) */
.preconceptionBooklet,
.sagaInitiatives,
.consultationCounter {
  position: relative;
  display: block;
  width: 254px;
  text-decoration: none;
  margin: 60px 0 20px; /* アイコンのはみ出し分を考慮 */
  transition: opacity 0.3s;
}

.preconceptionBooklet:hover,
.sagaInitiatives:hover,
.consultationCounter:hover {
  opacity: 0.8;
}

.preconceptionBooklet__body,
.sagaInitiatives__body,
.consultationCounter__body {
  border-radius: 16px;
  border: 5px solid #FFFFFF;
  padding: 45px 10px 15px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  height: 100%; /* 高さを揃える */
  box-sizing: border-box;
}

.preconceptionBooklet__body { background-color: #E3F6F9; }
.sagaInitiatives__body { background-color: #FFEBC6; }
.consultationCounter__body { background-color: #FEE4E1; }

.preconceptionBooklet__iconWrapper,
.sagaInitiatives__iconWrapper,
.consultationCounter__iconWrapper {
  position: absolute;
  top: -35px; /* Half of height (70px) */
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.topButtons__text {
  color: #000;
  font-family: "BIZ UDPGothic", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
}

.preconceptionBooklet__arrow,
.sagaInitiatives__arrow,
.consultationCounter__arrow {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .preconTopSection__topButtons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    overflow: visible;
  }

  .preconceptionBooklet,
  .sagaInitiatives,
  .consultationCounter {
    width: 100%;
    max-width: 352px;
    margin: 0;
    overflow: visible;
  }

  .preconceptionBooklet__body,
  .sagaInitiatives__body,
  .consultationCounter__body {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-radius: 8px;
  }

  .sagaInitiatives__body,
  .consultationCounter__body {
    padding: 14px 40px 14px 60px;
  }
  .preconceptionBooklet__body {
    padding: 10px 40px 10px 60px;
  }

  .preconceptionBooklet__iconWrapper,
  .sagaInitiatives__iconWrapper,
  .consultationCounter__iconWrapper {
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    box-shadow: none;
    border-radius: 9999px;
  }

  .preconceptionBooklet__iconWrapper img,
  .sagaInitiatives__iconWrapper img,
  .consultationCounter__iconWrapper img {
    width: 30px;
    height: 30px;
  }

  
  .topButtons__text br {
    display: none;
  }

  .preconceptionBooklet__arrow,
  .sagaInitiatives__arrow,
  .consultationCounter__arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }
  
  .preconceptionBooklet__arrow svg,
  .sagaInitiatives__arrow svg,
  .consultationCounter__arrow svg {
    width: 16px;
    height: 16px;
  }

  .topButtons__text {
    font-size: 15px;
    margin: 0 auto;
    line-height: 1.2;
  }
  
  .preconceptionBooklet .topButtons__text br {
    display: block;
  }
}

/* Consultation Banner */
.consultationBanner {
  display: flex;
  background-color: #fff;
  border: 5px solid #CA4410;
  border-radius: 20px;
  overflow: hidden;
  max-width: 920px;
}

.consultationBanner__image {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 318px;
  height: 242px;
}

.consultationBanner__content {
  flex: 1.2;
  text-align: left;
}

.consultationBanner__title {
  background-color: #C04312;
  color: #fff;
  font-size: 22px;
  padding: 10px 20px;
  text-align: center;
  margin-bottom: 24px;
  border-radius: 4px;
}

.consultationBanner__text {
  font-family: "BIZ UDPGothic";
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

/* Common Button Styles */
.commonButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #FFD500;
  color: var(--color-text-secondary);
  text-decoration: none;
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  padding: 15px 72px;
  border-radius: 50px;
  transition: opacity 0.3s;
  position: relative;
}

.commonButton,
.commonButton:link,
.commonButton:visited,
.commonButton:hover,
.commonButton:active {
  color: var(--color-text-secondary);
}

.commonButton:hover {
  opacity: 0.8;
}

/* CSS arrow decoration */
.commonButton::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent #333;
  flex-shrink: 0;
}

/* Button variations */
.commonButton--block {
  display: block;
  width: 80%;
  margin: 0 auto;
  padding: 15px 72px;
}

.commonButton--center {
  align-self: center;
}

.commonButton--handbook {
  width: fit-content;
  padding: 15px 72px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .commonButton {
    padding: 15px 40px;
  }
}


@media (max-width: 768px) {
  .consultationBanner {
    flex-direction: column;
    align-items: center;
    margin: 20px auto;
    width: 95%;
    gap: 20px;
    padding: 45px 25px;
  }
  .consultationBanner__content {
    display: contents; /* Remove the container visually */
  }
  .consultationBanner__title {
    order: 1;
    margin: 0;
    padding: 10px 30px;

    font-size: 16px;
  }
  .consultationBanner__text {
    order: 2;
    margin: 0 20px 20px;
  }
  .consultationBanner__image {
    order: 3;
    height: auto; /* Let image size dictate height or use fixed */
    margin-bottom: 20px;
    width: 230px;
  }
  .commonButton--block {
    order: 4;
  }
  
  .consultationBanner__text br { display: none; }
}

/* Achievement Card */
.achievementCard {
  display: flex;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  max-width: 844px;
  margin: 0px auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  aspect-ratio: 844/269;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s, transform 0.3s;
}

.achievementCard:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.achievementCard__imageWrapper {
  flex: 1;
  position: relative;
  min-height: 269px;
  display: flex;
  align-items: stretch;
  aspect-ratio: 300/270;
  overflow: hidden;
}

.achievementCard__imageWrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.achievementCard__imagePlaceholder {
  width: 100%;
  height: 100%;
  min-height: 250px;
  background-color: #f0f0f0;
  position: relative;
}

.achievementCard__ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  z-index: 1;
}

.achievementCard__ribbon span {
  position: absolute;
  display: block;
  width: 120px;
  padding: 5px 0;
  background-color: #ff0000;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font-weight: bold;
  text-align: center;
  left: -25px;
  top: 20px;
  transform: rotate(-45deg);
}

.achievementCard__content {
  flex: 1.5;
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  min-height: 100%;
  box-sizing: border-box;
}

.achievementCard__title {
  color: var(--color-primary);
  font-size: 20px;
  font-weight: bold;
  line-height: 26px;
}

.achievementCard__text {
  font-size: 16px;
  line-height: 26px;
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 78px; /* 3行分の高さを確保 (26px × 3) */
  flex-shrink: 0; /* 縮小を防ぐ */
}


@media (max-width: 768px) {
  .achievementCard {
    flex-direction: column;
    margin: 20px auto;
    width: 95%;
    max-width: 100px;
    aspect-ratio: auto;
  }
  .achievementCard__imageWrapper { 
    aspect-ratio: 350/250;
    min-height: 250px;
    max-height: 250px;
    overflow: hidden;
  }
  .achievementCard__content { padding: 20px; }
  
  /* Slider adjustments */
  .achievementsSection__cards.slick-dotted.slick-slider {
    margin-bottom: 0;
    background-color: #FFE7BD;
  }
  
  .achievementsSection__cards .slick-slider {
    width: 100%;
    padding: 0 20px 0; /* Left/right padding */
    background-color: #FFE7BD;
  }
  
  .achievementsSection__cards .slick-list {
    overflow: visible;
  }
  
  .achievementsSection__cards .slick-track {
    display: flex;
  }
  
  .achievementsSection__cards .slick-slide {
    padding: 0 20px;
  }
}

/* Wrapper for slide content */
.achievementCardWrapper {
  box-sizing: border-box;
}

.achievementCardWrapper .achievementCard {
  width: 100%;
  margin: 0; 
}

@media (max-width: 768px) {
  .achievementCardWrapper {
    padding: 0 40px;
  }
  
  .achievementCardWrapper .achievementCard {
    max-width: none;
  }
}

.achievementsSection__cards .slick-dots {
  bottom: 5px;
  position: relative;
  margin-top: 10px; 
}

.achievementsSection__cards .slick-dots li {
  margin: 0 8px;
  width: 18px;
  height: 18px;
}

/* SP時のドットの装飾 - Figmaデザインに合わせて円形に */
@media (max-width: 768px) {
  .achievementsSection__cards .slick-dots li {
    width: 18px;
    height: 18px;
  }
  
  .achievementsSection__cards .slick-dots li button {
    width: 18px;
    height: 18px;
    padding: 0;
  }
  
  .achievementsSection__cards .slick-dots li button:before {
    content: "";
    width: 18px;
    height: 18px;
    background-color: rgba(252, 88, 6, 0.3); /* 非アクティブなドットの色（薄いオレンジ） */
    border-radius: 50%; /* 円形にする */
    opacity: 1;
    line-height: 12px;
  }
  
  .achievementsSection__cards .slick-dots li.slick-active button:before {
    background-color: #FC5806; /* アクティブなドットの色（濃いオレンジ） */
    opacity: 1;
  }
}

/* Slick Arrow Customization (if needed) */
.achievementsSection__cards .slick-prev,
.achievementsSection__cards .slick-next {
  z-index: 1;
  width: 40px;
  height: 40px;
}
.achievementsSection__cards .slick-prev:before,
.achievementsSection__cards .slick-next:before {
  color: var(--color-primary);
  font-size: 30px;
}
.achievementsSection__cards .slick-prev { left: 10px; }
.achievementsSection__cards .slick-next { right: 10px; }


/* Handbook Card */
.handbookCard {
  background-color: #fff;
  border: 4px solid #1076CA;
  border-radius: 20px;
  max-width: 920px;
  padding: 60px 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.handbookCard__top {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  position: relative;
}

.handbookCard__cover {
  flex: 0 0 236px;
}

.handbookCard__coverPlaceholder {
  width: 236px;
  height: 321px;
  background-color: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.handbookCard__coverPlaceholder img {
  width: 100%;
  height: 100%;
}

.handbookCard__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.handbookCard__header {
  border-radius: 0 20px 20px 0;
  background: rgba(234, 246, 251, 0.5);
  position: relative;
  padding: 40px;
  margin-left: -40px; /* gap分だけ左に広げる */
  padding-left: calc(40px + 20px); /* gap + original padding */
}

.handbookCard__title {
  color: #2888D7;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.handbookCard__subtitle {
  color: #2888D7;
  font-size: 20px;
  font-weight: normal;
}

.handbookCard__thumbnails {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  margin-bottom: 30px;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}


.handbookCard__description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  text-align: left;
}

@media (max-width: 768px) {
  .handbookCard {
    padding: 20px;
    width: 95%;
  }
  .handbookCard__top {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }
  .handbookCard__cover {
    flex: 0 0 auto;
    width: auto;
    max-width: 300px;
    order: 2;
    z-index: 1;
    margin-top: -30px;
  }
  .handbookCard__coverPlaceholder {
    height: auto;
    aspect-ratio: 300/420;
  }
  .handbookCard__info { 
    width: 100%;
    display: contents;
  }
  .handbookCard__header {
    order: 1;
    margin-left: 0;
    padding: 20px;
    width: 100%;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .handbookCard__thumbnails { 
    display: none;
  }
  .commonButton--handbook {
    order: 3;
    margin-top: 10px;
  }
}

.headerPc--precon .headerPc__logoBox--precon {
  width: 195px;
  margin: 10px 0;
}

.headerPc--precon .headerPc__logoSite--precon {
  width: 195px;
}

