/* スマホのみ表示 */
.sp-only {
  display: none;
}

.pc-only {
  display: block;
}

@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  background-color: #fff;
  color: #333;
}

.header, .footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1em;
}

.header {
  background-color: #000;
  padding: 1em;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img {
  width: 60px;
  height: auto;
  box-shadow: 4px 4px 4px 0px #C49A6C;

}

.hamburger {
  width: 24px;
  height: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

.logo {
  height: 40px;
}

section {
  padding: 1.5em;
}

.top {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5em;
  gap: 1em;
  flex-wrap: wrap;
  background: url(../img/top-background.jpg);
  background-size: cover;         /* 要素にフィットさせて切り取り */
  background-position: center;    /* 中央配置 */
  background-repeat: no-repeat;   /* 繰り返しなし */
}

.top-logo {
  display: flex;
  align-items: center;
  gap: 1.5em;
}

.top-logo img {
  width: 120px;
  height: auto;
  box-shadow: 4px 4px 4px 0px #333;

}

.top-logo p {
  margin: 0;
  font-size: 1.1em;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
  line-height: 1.6;
}

.card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  margin: 1em;
  padding: 1.5em;
}

.section-service img{
  width: 120px;
  height: auto;
  box-shadow: 4px 4px 4px 0px #c9c7c7;
}
.underline {
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #c49a6c;

}

h2 {
  font-size: 1.2em;
  border-left: 4px solid #c49a6c;
  padding-left: 0.5em;
  margin-bottom: 1em;
  text-decoration: underline;
}

.gold {
  color: #c49a6c;
}

ul, ol {
  padding-left: 1.2em;
}

.button {
  display: inline-block;
  background-color: #c49a6c;
  color: #fff;
  padding: 0.8em 1.2em;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
  background-color: #b38650;
  transform: translateY(-2px);
}

.section-problem ul {
  padding-left: 1.2em;
  margin-bottom: 1em;
  list-style-type: disc;
}

.section-problem ul li {
  margin-bottom: 0.5em;
  line-height: 1.6;
}

.section-problem p {
  line-height: 1.8;
  font-weight: 500;
}

.method-block {
  margin-bottom: 2em;
  padding: 1em 0;
  border-bottom: 1px solid #eee;
}

.method-block h3 {
  font-size: 1.1em;
  color: #c49a6c;
  margin-bottom: 0.5em;
}

.reason-block {
  margin-bottom: 2em;
  padding: 1em 0;
  border-bottom: 1px solid #ddd;
}

.reason-block h3 {
  font-size: 1.1em;
  color: #c49a6c;
  margin-bottom: 0.5em;
}

.program-block {
  margin-bottom: 2em;
  padding: 1em 0;
  border-bottom: 1px solid #ddd;
}

.program-block h3 {
  font-size: 1.1em;
  color: #c49a6c;
  margin-bottom: 0.5em;
}

.section-price h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
  color: #333;
  border-left: 6px solid #c49a6c;
  padding-left: 0.5em;
}

.table-note {
  font-size: 0.85rem;
  color: #666;
  margin: 0.2em 0 0.6em;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.price-table thead th {
  background-color: #555;
  color: #fff;
  padding: 10px;
  text-align: left;
}

.price-table tbody td {
  border: 1px solid #555;
  padding: 10px;
  vertical-align: top;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}


.trainer-profile {
  text-align: center;
  padding: 1em 0;
}

.trainer-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1em;
}

.trainer-profile {
  text-align: center;
  padding: 1.5em 0;
}

.trainer-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1em;
  border: 3px solid #c49a6c;
}

.trainer-profile h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.trainer-profile p {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 1em;
}

.trainer-message details {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1em;
  margin-top: 1.5em;
  cursor: pointer;
  border: 1px solid #ddd;
}

.trainer-message summary {
  font-weight: bold;
  color: #c49a6c;
  font-size: 1.05em;
  margin-bottom: 0.5em;
}

.trainer-message p {
  margin: 0.5em 0;
  line-height: 1.8;
}


.faq-item {
  border-bottom: 1px solid #ccc;
  padding: 1em 0;
}

.faq-question {
  font-weight: bold;
  cursor: pointer;
  position: relative;
  padding-right: 1.5em;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
}

.faq-question.active::after {
  content: '-';
}

.faq-answer {
  display: none;
  padding-top: 0.5em;
  color: #333;
}

.faq-answer.open {
  display: block;
}


.flow-list {
  list-style: none;
  padding: 0;
}

.flow-step {
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.step-title {
  cursor: pointer;
  font-weight: bold;
  position: relative;
}

.step-title::after {
  content: "＋";
  position: absolute;
  right: 0;
}

.step-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-top: 0;
}

.step-detail.active {
  max-height: 500px; /* 十分な高さ */
  padding-top: 8px;
}

.step-detail.active + .step-title::after {
  content: "－";
}


/* セクションごとの背景色 */
.section-news     { background-color: #f8f8f8; }
.section-concept  { background-color: #ffffff; }
.section-service  { background-color: #f1f1f1; }
.section-problem  { background-color: #fdf6f1; }
.section-method   { background-color: #f5f5f5; }
.section-beforeafter { background-color: #fff; }
.section-reason   { background-color: #f0f0f0; }
.section-program  { background-color: #fefefe; }
.section-flow     { background-color: #fafafa; }
.section-price    { background-color: #f9f4ef; }
.section-trainer  { background-color: #ffffff; }
.section-access   { background-color: #f3f3f3; }
.section-company  { background-color: #eeeeee; }
