@charset "UTF-8";

:root {
  --panda-black: #252525;
  --panda-deep: #363633;
  --panda-light: #f4f3ef;
  --panda-accent: #a78d62;
  --panda-line: #dedbd3;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--panda-black);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
body.panda-menu-open {
  overflow: hidden;
}
.panda-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}

.panda-container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}
.panda-container--narrow {
  width: min(860px, calc(100% - 40px));
}
.panda-section {
  padding: 96px 0;
}
.panda-section__en {
  margin: 0 0 8px;
  color: var(--panda-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-align: center;
}
.panda-section__title {
  margin: 0 0 30px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(25px, 3.2vw, 38px);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}
.panda-section__lead {
  margin: -12px auto 42px;
  text-align: center;
  color: #666;
}
.panda-note {
  margin-top: 16px;
  color: #777;
  font-size: 12px;
}
.pc-only {
  display: inline;
}

/* mobile menu */
.panda-mobile-menu-button,
.panda-mobile-menu,
.panda-mobile-menu-overlay {
  display: none;
}

/* hero */
.panda-hero {
  min-height: 660px;
  margin-top: -2px;
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  color: #fff;
  background: #30302e;
}
.panda-hero__photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(30, 30, 28, 0.1),
      rgba(30, 30, 28, 0.15)
    ),
    url("../images/panda_main.jpg") center 30% / cover no-repeat;
  transform: scale(1.01);
}
.panda-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(24, 24, 23, 0.85) 0%,
    rgba(24, 24, 23, 0.64) 44%,
    rgba(24, 24, 23, 0.12) 100%
  );
}
.panda-hero__inner {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 100px 0 90px;
}
.panda-hero__brand {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.3em;
}
.panda-hero__title {
  margin: 0 0 24px;
  line-height: 1;
}
.panda-hero__name {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(70px, 10vw, 126px);
  font-weight: 400;
  letter-spacing: 0.015em;
}
.panda-hero__jp {
  display: block;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.34em;
}
.panda-hero__copy {
  margin: 0 0 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.6;
}
.panda-hero__lead {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}
.panda-hero__buttons {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.panda-button {
  min-width: 220px;
  min-height: 56px;
  padding: 14px 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: 0.25s ease;
}
.panda-button:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}
.panda-button--main {
  background: #fff;
  color: #222;
}
.panda-button--line {
  background: #506f47;
  color: #fff;
}
.panda-button--tel {
  background: #333;
  color: #fff;
}

/* breadcrumb */
.panda-breadcrumb {
  width: min(1080px, calc(100% - 40px));
  margin: 18px auto 0;
  font-size: 11px;
  color: #777;
}
.panda-breadcrumb ol {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.panda-breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: #bbb;
}

/* intro */
.panda-intro {
  padding-top: 82px;
}
.panda-intro__text {
  margin: 0;
  text-align: center;
  color: #555;
}

/* feature */
.panda-feature {
  background: var(--panda-light);
}
.panda-feature__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.panda-feature-card {
  position: relative;
  padding: 44px 38px 38px;
  background: #fff;
  border: 1px solid #ebe8e1;
  text-align: center;
}
.panda-feature-card__number {
  position: absolute;
  top: 14px;
  left: 18px;
  color: #c1b8a6;
  font-family: Georgia, serif;
  font-size: 36px;
  letter-spacing: 0.12em;
}
.panda-feature-card__icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid var(--panda-accent);
  border-radius: 50%;
  color: var(--panda-accent);
  font-family: Georgia, serif;
  font-size: 25px;
}
.panda-feature-card h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 500;
}
.panda-feature-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  text-align: left;
}

/* recommend */
.panda-recommend__box {
  display: grid;
  grid-template-columns: 34% 1fr;
  border: 1px solid var(--panda-line);
  background: #fff;
}
.panda-recommend__heading {
  padding: 48px 36px;
  background: var(--panda-deep);
  color: #fff;
}
.panda-recommend__heading .panda-section__en {
  text-align: left;
  color: #d5c49e;
}
.panda-recommend__heading h2 {
  margin: 0;
  font-family: "Yu Mincho", serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.6;
}
.panda-check-list {
  margin: 0;
  padding: 40px 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 30px;
  list-style: none;
}
.panda-check-list li {
  position: relative;
  padding-left: 28px;
  border-bottom: 1px dotted #ddd;
  padding-bottom: 12px;
}
.panda-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--panda-accent);
  font-weight: bold;
}

/* parts */
.panda-parts {
  background: #faf9f6;
}
.panda-parts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.panda-part-card {
  min-height: 210px;
  padding: 28px 20px;
  background: #fff;
  border: 1px solid #e8e5df;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.panda-part-card span {
  color: var(--panda-accent);
  font-family: Georgia, serif;
  font-size: 12px;
  letter-spacing: 0.2em;
}
.panda-part-card strong {
  margin: 12px 0 10px;
  font-family: "Yu Mincho", serif;
  font-size: 25px;
  font-weight: 500;
}
.panda-part-card small {
  color: #777;
  font-size: 12px;
  line-height: 1.8;
}

/* price */
.panda-price__notice {
  margin: 0 auto 28px;
  padding: 22px 26px;
  background: #f6f1e7;
  border-left: 4px solid var(--panda-accent);
}
.panda-price__notice strong {
  display: block;
  margin-bottom: 4px;
}
.panda-price__notice p {
  margin: 0;
  color: #666;
  font-size: 13px;
}
.panda-price-table-wrap {
  overflow-x: auto;
}
.panda-price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}
.panda-price-table th,
.panda-price-table td {
  padding: 18px 14px;
  border: 1px solid #ddd9d0;
  text-align: center;
}
.panda-price-table thead th {
  background: var(--panda-deep);
  color: #fff;
  font-weight: 500;
}
.panda-price-table tbody th {
  background: #f3f1ec;
  font-weight: 500;
}

/* flow */
.panda-flow {
  background: var(--panda-light);
}
.panda-flow__list {
  max-width: 900px;
  margin: 0 auto;
}
.panda-flow-item {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 26px;
  align-items: center;
  padding: 26px 30px;
  background: #fff;
  border-bottom: 1px solid #e4e1da;
}
.panda-flow-item:first-child {
  border-top: 1px solid #e4e1da;
}
.panda-flow-item__number {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--panda-deep);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 20px;
}
.panda-flow-item h3 {
  margin: 0 0 5px;
  font-size: 19px;
  font-weight: 500;
}
.panda-flow-item p {
  margin: 0;
  color: #666;
  font-size: 14px;
}
.panda-preparation {
  max-width: 900px;
  margin: 28px auto 0;
  padding: 26px 30px;
  border: 1px solid #cfc9bc;
  background: #fff;
}
.panda-preparation h3 {
  margin: 0 0 7px;
  font-size: 17px;
}
.panda-preparation p {
  margin: 0;
  color: #666;
  font-size: 13px;
}

/* faq */
.panda-faq-item {
  border-top: 1px solid var(--panda-line);
}
.panda-faq-item:last-child {
  border-bottom: 1px solid var(--panda-line);
}
.panda-faq-item summary {
  position: relative;
  padding: 22px 48px 22px 4px;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.panda-faq-item summary::-webkit-details-marker {
  display: none;
}
.panda-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
}
.panda-faq-item[open] summary::after {
  content: "−";
}
.panda-faq-item summary span,
.panda-faq-item__answer > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--panda-deep);
  color: #fff;
  font-family: Georgia, serif;
}
.panda-faq-item__answer {
  display: grid;
  grid-template-columns: 42px 1fr;
  padding: 0 18px 24px 4px;
  color: #666;
}
.panda-faq-item__answer > span {
  background: var(--panda-accent);
}
.panda-faq-item__answer p {
  margin: 0;
}

/* shop */
.panda-shop {
  background: #f1f0ec;
}
.panda-shop__box {
  max-width: 900px;
  margin: auto;
  display: grid;
  grid-template-columns: 34% 1fr;
  background: #fff;
}
.panda-shop__brand {
  padding: 50px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--panda-deep);
  color: #fff;
  text-align: center;
}
.panda-shop__brand span {
  font-size: 9px;
  letter-spacing: 0.22em;
}
.panda-shop__brand strong {
  font-family: Georgia, serif;
  font-size: 57px;
  font-weight: 400;
  line-height: 1.15;
}
.panda-shop__brand small {
  color: #d3c8b1;
  letter-spacing: 0.14em;
}
.panda-shop__data {
  margin: 0;
  padding: 28px 38px;
}
.panda-shop__data > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}
.panda-shop__data dt {
  font-weight: 500;
}
.panda-shop__data dd {
  margin: 0;
  color: #666;
}
.panda-contact {
  max-width: 900px;
  margin: 34px auto 0;
  text-align: center;
}
.panda-contact > p {
  font-size: 18px;
  font-weight: 500;
}
.panda-contact__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  .pc-only {
    display: none;
  }
  .panda-mobile-menu-button {
    position: fixed;
    top: 14px;
    right: 14px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(54, 54, 51, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
  }
  .panda-mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: 0.25s ease;
  }
  .panda-mobile-menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .panda-mobile-menu-button.is-open span:nth-child(2) {
    opacity: 0;
  }
  .panda-mobile-menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .panda-mobile-menu-overlay.is-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(0, 0, 0, 0.38);
  }

  .panda-mobile-menu {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9998;
    width: min(82vw, 320px);
    height: 100vh;
    padding: 82px 22px 30px;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.12);
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  .panda-mobile-menu.is-open {
    transform: translateX(0);
  }
  .panda-mobile-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .panda-mobile-menu li + li {
    border-top: 1px solid #ece8df;
  }
  .panda-mobile-menu a {
    display: block;
    padding: 16px 4px;
    font-size: 14px;
    line-height: 1.7;
  }

  .panda-section {
    padding: 68px 0;
  }
  .panda-hero {
    min-height: 560px;
    margin-top: -2px;
  }
  .panda-hero__photo {
    background-position: 58% center;
  }
  .panda-hero__overlay {
    background: rgba(25, 25, 24, 0.64);
  }
  .panda-hero__inner {
    width: calc(100% - 30px);
    padding: 68px 0 64px;
    text-align: center;
  }
  .panda-hero__buttons {
    justify-content: center;
  }
  .panda-feature__grid {
    grid-template-columns: 1fr;
  }
  .panda-recommend__box,
  .panda-shop__box {
    grid-template-columns: 1fr;
  }
  .panda-recommend__heading {
    padding: 34px 28px;
    text-align: center;
  }
  .panda-recommend__heading .panda-section__en {
    text-align: center;
  }
  .panda-check-list {
    grid-template-columns: 1fr;
    padding: 30px 26px;
  }
  .panda-parts__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  body {
    line-height: 1.8;
  }
  .panda-container,
  .panda-container--narrow,
  .panda-breadcrumb {
    width: calc(100% - 30px);
  }
  .panda-hero {
    min-height: 520px;
  }
  .panda-hero__name {
    font-size: 74px;
  }
  .panda-hero__copy {
    font-size: 23px;
  }
  .panda-hero__lead {
    font-size: 12px;
  }
  .panda-hero__buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .panda-button {
    width: 100%;
    min-width: 0;
  }
  .panda-intro__text {
    text-align: left;
  }
  .panda-intro__text br {
    display: none;
  }
  .panda-feature-card {
    padding: 42px 24px 28px;
  }
  .panda-parts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .panda-part-card {
    min-height: 175px;
    padding: 22px 12px;
  }
  .panda-part-card strong {
    font-size: 21px;
  }
  .panda-flow-item {
    grid-template-columns: 56px 1fr;
    gap: 14px;
    padding: 22px 16px;
    align-items: start;
  }
  .panda-flow-item__number {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  .panda-shop__data {
    padding: 20px;
  }
  .panda-shop__data > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .panda-shop__data dt {
    font-size: 12px;
    color: #888;
  }
}

@media screen and (max-width: 800px) {
  .panda-mobile-menu {
    display: block;
    transform: translateX(100%);
  }

  .panda-mobile-menu.is-open {
    transform: translateX(0);
  }

  .panda-mobile-menu-overlay.is-open {
    display: block;
  }

  .panda-mobile-menu-button {
    top: 44px !important;
  }
}

/* ABOUT PANDA 下部の画像 */
.panda-intro-image {
  width: 580px;
  max-width: 100%;
  height: 360px;
  margin: 45px auto -20px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: #eee;
}

.panda-intro-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* スマホ表示 */
@media screen and (max-width: 800px) {
  .panda-intro-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 34px auto -68px;
  }

  .panda-intro-image img {
    object-fit: cover;
    object-position: center center;
  }
}

/* =====================================
   症例写真・お客さまの声
===================================== */

.panda-cases {
  background: #fff;
}

.panda-voices {
  background: #f5f3ee;
}

/* PC：横4列 */
.panda-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* 共通カード */
.panda-photo-card,
.panda-voice-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e5e1d9;
}

/* 画像部分：縦横比3対4 */
.panda-photo-card__image {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee;
}

.panda-photo-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.panda-photo-card:hover .panda-photo-card__image img,
.panda-voice-card:hover .panda-photo-card__image img {
  transform: scale(1.03);
}

/* 症例写真の文章 */
.panda-photo-card__body {
  padding: 20px 18px 22px;
  text-align: center;
}

.panda-photo-card__body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
}

.panda-photo-card__body p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.8;
}

/* お客さまの声 */
.panda-voice-card {
  display: flex;
  flex-direction: column;
}

.panda-voice-card__body {
  flex: 1;
  padding: 20px 18px 24px;
}

.panda-voice-card__profile {
  margin: 0 0 8px;
  color: #a78d62;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.panda-voice-card__body h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.7;
}

.panda-voice-card__body > p:last-child {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.9;
}

/* スマホ：横2列 */
@media screen and (max-width: 800px) {
  .panda-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .panda-photo-card__body,
  .panda-voice-card__body {
    padding: 14px 12px 16px;
  }

  .panda-photo-card__body h3 {
    font-size: 15px;
  }

  .panda-photo-card__body p {
    font-size: 11px;
    line-height: 1.7;
  }

  .panda-voice-card__profile {
    font-size: 10px;
  }

  .panda-voice-card__body h3 {
    font-size: 14px;
    line-height: 1.6;
  }

  .panda-voice-card__body > p:last-child {
    font-size: 11px;
    line-height: 1.7;
  }
}

@media screen and (max-width: 800px) {
  /* 1列に変更 */
  .panda-cases .panda-photo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .panda-voices .panda-photo-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* =====================================
   スタッフ紹介
===================================== */

.panda-staff {
  background: #f5f3ee;
}

.panda-staff__layout {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 36px;
  align-items: stretch;
}

.panda-staff__main-image {
  min-height: 560px;
  overflow: hidden;
  background: #eee;
}

.panda-staff__main-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.panda-staff__content {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border: 1px solid #e5e1d9;
}

.panda-staff__position {
  margin: 0 0 5px;
  color: #a78d62;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.panda-staff__name {
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5e1d9;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 26px;
  font-weight: 500;
}

.panda-staff__message {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 2;
}

.panda-staff__sub-images {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.panda-staff__sub-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.panda-staff__sub-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* スマホ表示 */
@media screen and (max-width: 800px) {
  .panda-staff__layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .panda-staff__main-image {
    min-height: 0;
    aspect-ratio: 3 / 4;
  }

  .panda-staff__content {
    padding: 28px 22px 30px;
  }

  .panda-staff__name {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .panda-staff__message {
    font-size: 13px;
    line-height: 1.9;
  }

  .panda-staff__sub-images {
    margin-top: 24px;
    gap: 10px;
  }

  .panda-staff__sub-image {
    aspect-ratio: 1 / 1;
  }
}
