/*
Theme Name: Reforma
Description: ピラティススタジオ向けのモダンなWordPressテーマ
Version: 1.0.0
Author: OpticalDesign
Author URI: https://opticaldesignare.jp
Text Domain: reforma
*/

/* ==========================================================================
   1. RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  background-color: #ffffff;
  font-weight: 400;
}

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=Cormorant+Garamond:wght@400;500;600;700&family=Inria+Sans:wght@300;400;700&display=swap");

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
}

.logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  margin: 0;
  line-height: 1.24;
  letter-spacing: -0.05em;
}

.site-title a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: #ffffff;
}

.site-title a:hover {
  color: #db8e76;
}

.site-subtitle {
  font-family: "Hiragino Sans", sans-serif;
  font-size: 0.5rem;
  font-weight: 250;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-subtitle:last-child {
  align-self: flex-end;
}

/* Navigation - Desktop only */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  text-align: center;
}

.main-navigation a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 300;
  font-size: 1rem;
  padding: 0.5rem 0 0.25rem 0;
  transition: all 0.3s ease;
  position: relative;
  text-align: center;
}

.main-navigation p {
  font-size: 0.75rem;
  font-weight: 250;
  color: #ffffff;
  margin: 0;
}

.main-navigation a:hover {
  color: #db8e76;
}

.main-navigation a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #db8e76;
  transition: width 0.3s ease;
}

.main-navigation a:hover::after {
  width: 100%;
}

.hamburger-menu {
  display: none;
}

/* Header scroll themes */
.site-header.header-light {
  backdrop-filter: blur(10px);
}

.site-header.header-light .site-title a {
  color: #1a1a1a;
}

.site-header.header-light .site-subtitle {
  color: #1a1a1a;
}

.site-header.header-light .main-navigation a {
  color: #1a1a1a;
}

.site-header.header-light .main-navigation p {
  color: #1a1a1a;
}

.site-header.header-light .main-navigation a:hover {
  color: #db8e76;
}

.site-header.header-dark {
  backdrop-filter: blur(10px);
}

.site-header.header-dark .site-title a,
.site-header.header-dark .site-subtitle,
.site-header.header-dark .main-navigation a,
.site-header.header-dark .main-navigation p {
  color: #ffffff;
}

.site-header.header-dark .main-navigation a:hover {
  color: #db8e76;
}

/* ==========================================================================
   3. MAIN CONTENT & LAYOUT
   ========================================================================== */

.site-main {
  min-height: calc(100vh - 80px);
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Hiragino Sans";
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 110.961%;
  letter-spacing: -0.96px;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 250;
  color: #1a1a1a;
  margin-bottom: 3rem;
  text-align: center;
  line-height: 2.4;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: left;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  color: #ffffff;
  max-width: 800px;
  padding: 14rem 4rem 0 4rem;
}

.hero-title {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-family: "Toppan Bunkyu Mincho";
  font-size: 3rem;
  font-style: normal;
  font-weight: 200;
  line-height: 110.961%;
  letter-spacing: 1px;
}

.hero-news {
  position: absolute;
  bottom: 1rem;
  left: 0;
  z-index: 10;
  max-width: 500px;
  text-align: left;
  padding: 6rem 4rem 0 4rem;
}

.hero-news h3 {
  text-shadow: 3px 4px 1.4px rgba(0, 0, 0, 0.25);
  font-family: "Hind Jalandhar";
  font-size: 2rem;
  font-style: normal;
  font-weight: 300;
  line-height: 110.961%;
  letter-spacing: -0.96px;
  color: #ffffff;
}

.hero-news p {
  text-shadow: 3px 4px 1.4px rgba(0, 0, 0, 0.25);
  font-family: "Inria Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 110.961%;
  letter-spacing: -0.32px;
  color: #ffffff;
}

/* Hero News Slider */
.hero-news-content {
  position: relative;
  margin-left: -3rem;
  padding: 0 3rem;
  overflow: hidden;
  left: 0px;
  width: 396px;
}

.hero-news-slider {
  position: relative;
  width: 300px;
  height: 200px;
  border-radius: 0.5rem;
  overflow: hidden;
  margin: 1.5rem 0;
  cursor: pointer;
}

.hero-news-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0.5rem;
}

.hero-news-slide.active {
  opacity: 1;
}

.hero-news-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: #ffffff;
}

.hero-news-slide-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.hero-news-slide-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.hero-news-slide-title a:hover {
  color: #db8e76;
}

.hero-news-slide-meta {
  font-size: 0.875rem;
  opacity: 0.9;
}

.hero-news-slide-meta time {
  color: #ffffff;
}

/* Navigation arrows */
.hero-news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  color: #ffffff;
  background: none;
}

.hero-news-prev {
  left: -24px;
}

.hero-news-next {
  right: -24px;
}

/* Dot indicators */
.hero-news-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.hero-news-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-news-dot.active {
  background: #333;
}

.hero-news-dot:hover {
  background: #b0b0b0;
}

/* MORE button */
.hero-news-more {
  display: inline-block;
  background: #333;
  color: #ffffff;
  padding: 0.75rem 2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-news-more:hover {
  background: #db8e76;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(219, 142, 118, 0.3);
}

/* ==========================================================================
   5. ABOUT SECTION
   ========================================================================== */

.about-section {
  position: relative;
  background: #ffffff;
  height: 100vh;
  box-sizing: border-box;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1.5;
  pointer-events: none;
}

.about-section .background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transform: scaleX(-1);
  filter: brightness(0.7) contrast(1.1);
}

.about-content {
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
  color: #ffffff;
  padding-top: 140px;
  margin-right: 100px;
}

.about-title {
  text-align: right;
}

.about-title h3 {
  font-family: "Hiragino Sans";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  line-height: 110.961%;
  letter-spacing: -0.4px;
  color: #ffffff;
}

.about-title h2 {
  font-family: "Hiragino Sans";
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  line-height: 110.961%;
  letter-spacing: -1.2px;
  color: #ffffff;
  margin-top: 1.25rem;
}

.about-text {
  font-family: "Toppan Bunkyu Mincho";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  line-height: 240%;
  letter-spacing: -0.02em;
  color: #ffffff;
  width: 50%;
  margin-top: 40px;
}

.more-button {
  display: inline-block;
  padding: 0.5rem 2rem;
  background: transparent;
  color: #db8e76;
  border: 2px solid #db8e76;
  text-decoration: none;
  font-family: "Inria Sans", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  border-radius: 3px;
  transition: all 0.3s ease;
  margin-top: 2rem;
}

.more-button:hover {
  background: #ffffff;
  color: #db8e76;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   6. PRICE SECTION
   ========================================================================== */

.price-section {
  position: relative;
  background: #db8e76;
  color: #ffffff;
}

.price-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1.5;
  pointer-events: none;
}

.price-section .background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(0.7) contrast(1.2);
}

.price-title-container {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 140px;
  margin-left: 100px;
}

.price-title {
  position: relative;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.price-title h3 {
  font-family: "Hiragino Sans";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  line-height: 110.961%;
  letter-spacing: -0.4px;
  color: #ffffff;
  margin-top: 1.25rem;
}

.price-title h2 {
  font-family: "Hiragino Sans";
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  line-height: 110.961%;
  letter-spacing: -1.2px;
  color: #ffffff;
  margin-top: 1.25rem;
}

.price-text {
  font-family: "Toppan Bunkyu Mincho";
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  line-height: 240%;
  letter-spacing: -0.02em;
  color: #ffffff;
  width: 50%;
  margin-top: 40px;
}

.price-content {
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.price-card {
  background: rgba(226, 169, 152, 0.96);
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.price-card-container {
  order: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.price-card-title {
  font-size: 3rem;
  font-weight: 200;
  color: #ffffff;
}

.price-card-subtitle {
  font-size: 1.25rem;
  font-weight: 250;
  color: #ffffff;
}

.price-card-amount {
  font-size: 3rem;
  font-weight: 200;
  color: #ffffff;
}

.price-card-note {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.price-card-original {
  font-size: 1.5rem;
  font-weight: 250;
  color: #ffffff;
  order: 3;
  align-self: flex-end;
}

.line-decoration {
  width: 100%;
  height: 60px;
  object-fit: cover;
}
.line-decoration img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.campaign-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.campaign-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.campaign-title {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 3rem;
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
}

.campaign-subtitle {
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 2rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
  margin-bottom: 2rem;
}

.campaign-badge {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  display: inline-block;
  order: 1;
  align-self: flex-start;
}

.campaign-card-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  margin-top: 2rem;
}
.campaign-card-container .price-card {
  background: #db8e76;
  width: 100%;
}

.plus-icon {
  grid-column: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.pricelist-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.pricelist-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.cautionary-note {
  font-size: 1.25rem;
  font-weight: 250;
  color: #000000;
  margin-top: 1.25rem;
  text-align: center;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 100px;
}

.option-card {
  background: rgba(226, 169, 152, 0.96);
  padding: 2rem 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.option-card-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  order: 1;
  align-self: flex-start;
}

.option-card-title {
  color: #ffffff;
  font-family: "Hiragino Sans";
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 250;
  order: 2;
}

.option-card p {
  font-size: 1.5rem;
  font-weight: 250;
  color: #ffffff;
  text-align: left;
  order: 3;
}

.option-card-container {
  display: flex;
  flex-direction: column;
  order: 2;
}

.option-card-amount-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.option-card-amount-title {
  font-size: 1.5rem;
  font-weight: 250;
  color: #ffffff;
  margin: 0;
  order: 1;
}

.option-card-amount {
  font-size: 1.25rem;
  font-weight: 200;
  color: #ffffff;
  align-self: flex-end;
  order: 2;
}

.option-card-bold {
  font-weight: 700;
}

.option-card-amount-tax {
  font-size: 0.75rem;
  font-weight: 250;
}

.line {
  width: 100%;
  height: 1px;
  background: #ffffff;
  margin: 1rem 0;
}

/* ==========================================================================
   7. CLASS SECTION
   ========================================================================== */

.class-section {
  background: #db8e76;
  padding: 5rem 0;
}

.class-content {
  max-width: 1200px;
  margin: 0 auto;
}

.class-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.class-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.class-image {
  width: 500px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.class-info {
  width: 450px;
  height: 210px;
  object-fit: cover;
  border-radius: 0 0 8px 8px;
}

.energys-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 160px 0 80px 0;
}

.energys-logo {
  width: 260px;
  height: auto;
  object-fit: cover;
}

.energys-info-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 80px 16px 16px 16px;
  gap: 80px;
}

.link-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: #ff8001;
  padding: 1rem 2rem;
  text-decoration: none;
  width: 260px;
  height: 100px;
  transition: all 0.3s ease;
}

.link-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(115, 115, 115, 0.3);
}

.link-button h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.link-button p {
  font-size: 1.25rem;
  font-weight: 250;
  color: #ffffff;
}

/* ==========================================================================
   8. NEWS SECTION
   ========================================================================== */

.news-section {
  background: #db8e76;
  position: relative;
}

.news-section .background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transform: scaleX(-1);
  filter: brightness(0.7) contrast(1.1);
}

.news-title-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
  padding-top: 100px;
}

.news-title {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 100px;
}

.news-title h3 {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -0.4px;
  margin-top: 1.25rem;
}

.news-title h2 {
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -1.2px;
  margin-top: 1.25rem;
}

.news-text {
  font-family: "Toppan Bunkyu Mincho";
  font-size: 1.25rem;
  font-style: normal;
  line-height: 240%;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 40px;
  margin-right: 80px;
}

.news-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding: 80px 80px;
}

.news-posts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: stretch;
  width: 100%;
}

.news-post {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: auto;
  background: rgba(226, 169, 152, 0.96);
  border-radius: 40px;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.news-post a {
  text-decoration: none;
}

.news-post-image {
  width: 100%;
  height: auto;
  padding: 40px 40px 0 40px;
}

.news-post-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover animation for news post card */
.news-post:hover,
.news-post:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.news-post:hover .news-post-image img,
.news-post:focus-within .news-post-image img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .news-post,
  .news-post-image img {
    transition: none;
  }
}

/* News post meta (title & date) */
.news-post-meta {
  width: 100%;
  text-align: center;
  padding: 1rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-post-title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0.75rem 0 0 0;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.news-post-date {
  font-size: 0.875rem;
  color: #ffffff;
  opacity: 0.9;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   9. Q&A SECTION
   ========================================================================== */

.qa-section {
  background: #db8e76;
  position: relative;
}

.qa-section .background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(0.7) contrast(1.1);
}

.qa-title-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  padding-top: 40px;
}

.qa-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 100px;
}

.qa-title h3 {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -0.4px;
  margin-top: 1.25rem;
}

.qa-title h2 {
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -1.2px;
  margin-top: 1.25rem;
}

.qa-text {
  font-family: "Toppan Bunkyu Mincho";
  font-size: 1.25rem;
  font-style: normal;
  line-height: 240%;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 40px;
  margin-left: 100px;
}

.qa-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0 160px 0;
}

.qa-content-title-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.qa-content-title-container h2 {
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -1.2px;
  margin-top: 100px;
}

.qa-content-title-container h3 {
  font-size: 3rem;
  font-style: normal;
  font-weight: 200;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -2px;
  align-self: left;
}

.qa-item {
  margin: 1.5rem 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.3s ease;
}

.qa-item:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qa-question {
  font-size: 1.5rem;
  font-weight: 250;
  color: #ffffff;
  margin: 0;
  padding: 1.5rem 2rem;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  user-select: none;
}

.qa-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qa-arrow {
  width: 40px;
  height: 40px;
  transition: transform 0.5s ease;
  color: #ffffff;
}

.qa-item.active .qa-arrow {
  transform: rotate(180deg);
}

.qa-answer {
  font-size: 1.5rem;
  font-weight: 250;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.24);
  padding: 0 2rem 0 2rem;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.qa-item.active .qa-answer {
  max-height: 200px;
  padding: 1rem 2rem 1.5rem 2rem;
}

/* ==========================================================================
   10. VOICE SECTION
   ========================================================================== */

.voice-section {
  background: #f8f9fa;
  position: relative;
}

.voice-section .background-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  transform: scaleX(-1);
  z-index: 1;
  filter: brightness(0.7) contrast(1.1);
}

.voice-title-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2;
  padding-top: 100px;
}

.voice-title {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 100px;
}

.voice-title h3 {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -0.4px;
  margin-top: 1.25rem;
}

.voice-title h2 {
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
  line-height: 110.961%;
  letter-spacing: -1.2px;
  margin-top: 1.25rem;
}

.voice-text {
  font-family: "Toppan Bunkyu Mincho";
  font-size: 1.25rem;
  font-style: normal;
  line-height: 240%;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-top: 40px;
  margin-right: 100px;
  width: 45%;
}

.voice-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding: 100px 0;
}

.voice-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
  align-items: stretch;
}

.voice-cards:has(a.voice-card-link:only-child) {
  grid-template-columns: 1fr;
  justify-content: center;
}

.voice-card {
  background: #ffffff;
  border: 1px solid #999797;
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  min-height: 450px;
  cursor: pointer;
}

.voice-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
  height: 100%;
}

.voice-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.voice-rating {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
  align-items: center;
  color: #000000;
  font-size: 1.5rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  font-weight: 200;
}

.star-rating-text {
  padding-right: 1rem;
}

.star {
  color: #ffa600;
  font-size: 1.5rem;
}

.star-rating {
  color: #ffa600;
  font-size: 1.5rem;
  font-weight: 400;
  padding-left: 0.5rem;
}

.voice-quote {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e1e1e;
  margin-bottom: 1rem;
  line-height: 1.5;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  min-height: 4.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.voice-card:hover .voice-quote {
  color: #db8e76;
}

.voice-text-content {
  font-size: 1.125rem;
  font-weight: 250;
  color: #1e1e1e;
  line-height: 1.5;
  margin-bottom: 1rem;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
  flex: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.voice-author {
  font-size: 1.5rem;
  font-weight: 250;
  color: #1e1e1e;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
}

.voice-avatar {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.voice-avatar .avatar-image {
  width: 80px;
  height: 120px;
  object-fit: cover;
}

.voice-avatar-large {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.voice-avatar-large .avatar-image-large {
  width: 150px;
  height: 200px;
  object-fit: cover;
}

.voice-images {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.voice-image-item {
  position: relative;
  width: 50%;
}

.voice-image-item .image-label {
  display: block;
  text-align: center;
  color: #333;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding: 0;
}

.voice-before-after {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  background: #ffffff;
}

.voice-author-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  flex: 2;
}

.voice-content-container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex: 1;
  align-items: stretch;
}

/* ==========================================================================
   11. VOICE ARCHIVE & SINGLE PAGES
   ========================================================================== */

/* Voice Archive Section */
.voice-archive-section {
  background: #f8f8f8;
  padding: 120px 0 100px 0;
  min-height: 100vh;
}

.voice-archive-content {
  margin-top: 40px;
}

.voice-archive-content .voice-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.voice-archive-content .voice-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  min-height: 400px;
}

.voice-archive-content .voice-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.voice-archive-content .voice-quote a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.voice-archive-content .voice-quote a:hover {
  color: #8b4513;
}

.voice-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #666;
}

.voice-date {
  font-style: italic;
}

.voice-read-more {
  text-align: center;
  margin-top: 20px;
}

.read-more-link {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #8b4513, #a0522d);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more-link:hover {
  background: linear-gradient(135deg, #a0522d, #cd853f);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.no-voice-posts {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.1rem;
}

.no-voice-message {
  text-align: center;
  padding: 60px 20px;
  color: #000000;
  font-size: 1.1rem;
  font-weight: 500;
  width: 100%;
}

/* Voice Pagination */
.voice-pagination {
  margin-top: 60px;
  text-align: center;
}

.pagination-list {
  display: inline-flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}

.pagination-item {
  margin: 0;
}

.pagination-item a,
.pagination-item .current {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pagination-item a:hover {
  background: #8b4513;
  color: white;
  border-color: #8b4513;
}

.pagination-item .current {
  background: #8b4513;
  color: white;
  border-color: #8b4513;
}

.pagination-item .dots {
  padding: 12px 16px;
  color: #999;
  background: transparent;
  border: none;
}

/* Voice Single Page */
.voice-single-section {
  background: #f8f8f8;
  padding: 180px 0 80px 0;
  min-height: 100vh;
}

.voice-single {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.voice-single .entry-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.voice-single .entry-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.voice-single .entry-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #666;
}

.voice-single .entry-meta time {
  color: #db8e76;
  font-weight: 500;
}

.voice-single .voice-author {
  background: #f0f0f0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.voice-single .entry-thumbnail {
  text-align: center;
  margin: 2rem 0;
}

.voice-single .entry-thumbnail img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.voice-single .entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin: 2rem 0;
}

.voice-single .entry-content p {
  margin-bottom: 1.5rem;
}

/* Voice Gallery Styles */
.voice-gallery {
  margin: 2rem 0;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 12px;
}

.voice-gallery h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #ffffff;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #ffffff;
}

/* Before/After Gallery Styles */
.before-after-gallery {
  margin: 40px 0;
  padding: 30px;
  background: #f9f9f9;
  border-radius: 12px;
}

.before-after-gallery h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
  color: #333;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.before-after-item {
  text-align: center;
}

.before-after-item h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #666;
  font-weight: 500;
}

.before-after-image {
  width: 100%;
  height: auto;
  min-height: 250px;
  max-height: 400px;
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.before-after-image:hover {
  transform: scale(1.02);
}

/* ==========================================================================
   12. NEWS SECTION & NEWS SINGLE PAGES
   ========================================================================== */

/* News Single Page */
.news-single-section {
  background: #f8f8f8;
  padding: 180px 0 80px 0;
  min-height: 100vh;
}

.news-single {
  max-width: 1200px;
  margin: 0 auto 80px auto;
  background: #ffffff;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.news-single .entry-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.news-single .entry-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-single .entry-meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #666;
}

.news-single .entry-meta time {
  color: #db8e76;
  font-weight: 500;
}

.entry-thumbnail {
  text-align: center;
  margin: 2rem 0;
}

.news-single .entry-thumbnail img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.entry-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  margin: 2rem 0;
}

.news-single .entry-content p {
  margin-bottom: 1.5rem;
}

.post-gallery {
  margin: 2rem 0;
}

/* ==========================================================================
   13. POST NAVIGATION
   ========================================================================== */

.post-navigation {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-previous,
.nav-next {
  flex: 1;
  max-width: 48%;
}

.nav-previous a,
.nav-next a {
  display: block;
  padding: 1.5rem 2rem;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 1rem 0;
}

.nav-previous a:hover,
.nav-next a:hover {
  border-color: #db8e76;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(219, 142, 118, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #faf9f7 100%);
}

.nav-previous a::before,
.nav-next a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(219, 142, 118, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-previous a:hover::before,
.nav-next a:hover::before {
  left: 100%;
}

.nav-subtitle {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #db8e76;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.nav-previous a::after {
  content: "←";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #db8e76;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-previous a:hover::after {
  opacity: 1;
  left: 0.5rem;
}

.nav-previous a:hover .nav-title {
  margin-left: 2rem;
}

.nav-next a::after {
  content: "→";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #db8e76;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-next a:hover::after {
  opacity: 1;
  right: 0.5rem;
}

.nav-next a:hover .nav-title {
  margin-right: 2rem;
}

/* ==========================================================================
   14. STUDIO SECTION
   ========================================================================== */

.studio-section {
  background: #c3c3c3;
  padding-bottom: 160px;
}

.studio-title-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  padding: 100px 0 80px 0;
  margin-left: 100px;
}

.studio-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.studio-title h3 {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
}

.studio-title h2 {
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
}

.studio-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: flex-start;
}

.studio-info {
  font-size: 1.5rem;
  line-height: 2.06;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.shop-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.5rem;
  line-height: 2.06;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.shop-info-table th {
  border-bottom: 1px solid #ffffff;
  text-align: left;
  font-weight: bold;
  vertical-align: top;
  width: 40%;
  padding: 1rem 0;
}

.shop-info-table td {
  vertical-align: top;
  border-bottom: 1px solid #ffffff;
  padding: 1rem 0;
}

.shop-info-table tr:first-child th,
.shop-info-table tr:first-child td {
  padding-top: 0;
}

.studio-image {
  width: 100%;
  height: auto;
}

.card-icon {
  width: 60%;
  height: auto;
  object-fit: cover;
}

/* ==========================================================================
   15. CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: #db8e76;
  padding: 5rem 0;
  color: #ffffff;
}

.contact-title-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.contact-title {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-right: 100px;
}

.contact-title h3 {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 250;
  color: #ffffff;
}

.contact-title h2 {
  font-size: 4rem;
  font-style: normal;
  font-weight: 600;
  color: #ffffff;
}

.contact-content {
  padding: 80px 100px;
  text-align: left;
}

.contact-text {
  font-size: 1.5rem;
  font-weight: 250;
  color: #ffffff;
  line-height: 1.5;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.24);
  margin-bottom: 3rem;
}

.contact-bold-text {
  font-size: 2rem;
  font-weight: 600;
}

.contact-text a {
  color: #ffffff;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.site-footer {
  background: #ffffff;
  color: #000000;
  padding: 3rem 0 0 0;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0;
}

.footer-subtitle {
  font-family: "Hiragino Sans", sans-serif;
  font-size: 0.5rem;
  font-weight: 250;
  color: #000000;
  letter-spacing: 0.16em;
}

.footer-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: #000000;
  letter-spacing: -0.05em;
}

.footer-title a {
  color: #000000;
  text-decoration: none;
}

.footer-title a:hover {
  color: #db8e76;
}

.footer-navigation {
  padding-bottom: 40px;
}

.footer-navigation ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-navigation li {
  margin-bottom: 0.5rem;
}

.footer-navigation a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 250;
  transition: color 0.3s ease;
  letter-spacing: -0.02em;
}

.footer-navigation a:hover {
  color: #db8e76;
}

.footer-navigation p {
  font-size: 0.75rem;
  font-weight: 250;
  color: #000000;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: #000000;
}

.footer-links a img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.footer-links a:last-child img {
  width: 45px;
  height: 45px;
}

.footer-policy {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}

.footer-policy a {
  text-decoration: none;
  color: #000000;
}

.footer-policy a p {
  font-size: 1rem;
  font-weight: 250;
  color: #000000;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer-bottom {
  background-color: #db8e76;
  text-align: center;
  padding: 1rem 0;
}

.site-info {
  font-family: "Inria Sans", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   17. ERROR 404 PAGE
   ========================================================================== */

.error-404-section {
  min-height: 100vh;
  padding: 140px 0 80px 0;
  display: flex;
  align-items: center;
}

.error-404-content {
  text-align: center;
  margin: 0 auto;
  padding: 4rem;
}

.error-404-number {
  font-size: 8rem;
  font-weight: 700;
  color: #db8e76;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.error-404-message {
  font-size: 1.125rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.error-404-actions {
  text-align: center;
  margin-bottom: 3rem;
}

.btn-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #db8e76;
  color: #ffffff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.125rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(219, 142, 118, 0.3);
}

.btn-home:hover {
  background: #c67c68;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(219, 142, 118, 0.4);
  color: #ffffff;
}

/* ==========================================================================
   18. LEGAL PAGES
   ========================================================================== */

.legal-page-section {
  min-height: 100vh;
  padding: 140px 0 80px 0;
}

.legal-page-content {
  margin: 0 auto;
  padding: 4rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.legal-page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #db8e76;
}

.legal-content {
  line-height: 1.8;
  color: #333333;
}

.last-updated {
  text-align: right;
  color: #666666;
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid #db8e76;
}

.legal-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 1.5rem 0 0.8rem 0;
}

.legal-section p {
  margin-bottom: 1rem;
}

.legal-section ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.contact-info {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1rem 0;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.legal-page-actions {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

/* ==========================================================================
   19. FIXED LINK CONTAINER
   ========================================================================== */

.link-container {
  position: fixed;
  bottom: 2rem;
  right: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 0 1rem 1rem;
  opacity: 1;
  transform: translateX(0);
  visibility: visible;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0s;
}

body.menu-open .link-container {
  opacity: 0;
  transform: translateX(12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

/* Hide fixed links when footer is visible */
body.footer-in-view .link-container {
  opacity: 0;
  transform: translateX(12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

/* Hide fixed links when QA section is visible */
body.qa-in-view .link-container {
  opacity: 0;
  transform: translateX(12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
}

.link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  width: 180px;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
}

.link:first-child {
  background: #db8e76;
}

.link:last-child {
  background: #ffffff;
}

.link p {
  font-size: 1.5rem;
  font-weight: 250;
  line-height: 110.961%;
  letter-spacing: -0.48px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.link p:first-child {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.25rem;
}

.link:first-child p {
  color: #ffffff;
}

.link:last-child p {
  color: #000000;
}

.link:first-child p:nth-child(2),
.link:last-child p:nth-child(2) {
  font-size: 0.75rem;
}

.link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.link p img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.link:first-child p img {
  width: 22px;
  height: 22px;
  transform: scaleX(-1);
}

/* ==========================================================================
   20. RESPONSIVE DESIGN
   ========================================================================== */

/* =================================
   Large Screens (1200px以下)
   ================================= */
@media (max-width: 1200px) {
  /* Section Order: Header & Navigation → Hero → About → Price → Class → News → Q&A → Voice → Studio → Contact → Footer → Archive/Single → Pagination → Gallery → Legal → Fixed Links */
  /* Header Layout */
  .site-header {
    padding: 1rem;
  }

  .main-navigation {
    display: none;
  }

  .hamburger-menu {
    display: block;
    order: 2;
  }
  .hamburger {
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
  }

  .hamburger-line {
    width: 26px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.5s;
    z-index: 1001;
    display: block;
  }

  .site-header.header-light .hamburger-line {
    background-color: #1a1a1a;
  }

  /* メニューオープン時 */
  .hamburger.active .hamburger-line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
    background-color: #db8e76;
  }
  .hamburger.active .hamburger-line:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger.active .hamburger-line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
    background-color: #db8e76;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    transform: translateX(-100%);
    transition: transform 0.5s;
    z-index: 1000;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav-list {
    margin: 0;
    padding: 50px 0 0;
    list-style: none;
  }

  .nav-item {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #000000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 250;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
  }
  .nav-item p {
    font-size: 1rem;
    font-weight: 250;
    color: #000000;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
  }

  .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .site-branding {
    order: 1;
  }

  /* Hero Section */
  .hero-content {
    padding: 180px 0 0 80px;
  }
  .hero-news {
    padding: 40px 0 0 80px;
  }

  /* About Section */
  .about-content {
    margin-right: 2.25rem;
  }
  .about-text {
    width: 60%;
  }

  /* Grid Layouts */
  .about-content {
    gap: 2rem;
  }
  .studio-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .voice-cards {
    grid-template-columns: 1fr;
  }

  .option-grid {
    gap: 3rem;
  }
  .option-card-amount-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
  }
}

/* =================================
   Tablets (1024px以下)
   ================================= */
@media (max-width: 1024px) {
  /* Section Order: Header & Navigation → Hero → About → Price → Class → News → Q&A → Voice → Studio → Contact → Footer → Archive/Single → Pagination → Gallery → Legal → Fixed Links */
  /* About Section */
  .about-text {
    width: 70%;
  }

  /* Price Section */
  .option-card-title {
    font-size: 2rem;
  }
  .option-card p {
    font-size: 1.25rem;
  }
  .option-card-amount-title {
    font-size: 1.25rem;
  }
  .option-card-amount {
    font-size: 1.25rem;
  }
  .option-card-amount-tax {
    font-size: 0.75rem;
  }

  /* Class Section */
  .class-image {
    width: 400px;
    height: 300px;
  }
  .class-info {
    width: 380px;
    height: 180px;
  }

  /* Single Pages */
  .voice-single-section,
  .news-single-section,
  .error-404-section {
    padding: 120px 1rem 80px 1rem;
  }

  .voice-single,
  .news-single,
  .error-404-content {
    padding: 2rem;
  }

  .voice-single .entry-title,
  .news-single .entry-title,
  .error-404-title {
    font-size: 2rem;
  }

  .error-404-number {
    font-size: 6rem;
  }
}

/* =================================
  Mobile Devices (768px以下)
  ================================= */
@media (max-width: 768px) {
  /* Section Order: Header & Navigation → Hero → About → Price → Class → News → Q&A → Voice → Studio → Contact → Footer → Archive/Single → Pagination → Gallery → Legal → Fixed Links */
  /* Header & Navigation */
  .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .site-branding {
    order: 1;
  }

  /* Main Content */
  .hero-section {
    height: 100vh;
  }

  /* Typography */
  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .price-card-title,
  .voice-quote {
    font-size: 1.25rem;
    min-height: 3.75rem;
  }
  .price-card-subtitle {
    font-size: 1rem;
  }

  .about-text,
  .price-text,
  .news-text,
  .qa-text,
  .voice-text,
  .voice-text-content {
    font-size: 1rem;
    line-height: 2;
  }

  .studio-info,
  .shop-info-table,
  .qa-question,
  .qa-answer,
  .contact-text {
    font-size: 1.25rem;
  }

  /* Layout Components */

  .voice-before-after {
    width: 100%;
    height: 200px;
  }

  /* Tables */
  .shop-info-table th {
    width: 30%;
    padding: 0.75rem;
  }

  .shop-info-table td {
    padding: 0.75rem;
  }

  /* Q&A */
  .qa-question {
    padding: 1rem 1.5rem;
  }

  .qa-item.active .qa-answer {
    padding: 0.75rem 1.5rem 1rem 1.5rem;
  }

  /* Hero News */
  .hero-news {
    position: absolute;
    bottom: 1rem;
    left: 0;
    max-width: 90%;
    padding-top: 60px;
  }

  .hero-news h3 {
    font-size: 2rem;
  }

  .hero-news-slider {
    height: 200px;
  }

  .hero-news-nav {
    width: 40px;
    height: 40px;
  }

  .hero-news-prev {
    left: 0px;
  }

  .hero-news-next {
    right: 0px;
  }

  .hero-news-dots {
    margin-bottom: 1rem;
  }

  .hero-news-more {
    padding: 0.5rem 1.5rem;
    font-size: 0.75rem;
  }

  /* Energys info content - adjust font sizes */
  .link-button {
    width: 220px;
    height: 100px;
  }
  .energys-info-content .link-button h4 {
    font-size: 1.25rem;
  }
  .energys-info-content .link-button p {
    font-size: 1rem;
  }

  /* Stack grids vertically */
  .price-grid {
    grid-template-columns: 1fr;
  }
  .option-grid {
    grid-template-columns: 1fr;
  }
  .option-card-amount-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .class-list {
    grid-template-columns: 1fr;
  }
  .plus-icon {
    grid-column: 1;
    justify-self: center;
    margin: 1rem 0;
  }
  .campaign-card {
    width: 100%;
  }

  /* Navigation */
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-previous,
  .nav-next {
    max-width: 100%;
  }

  .nav-previous a,
  .nav-next a {
    padding: 1.25rem 1.5rem;
  }

  .nav-previous a::after,
  .nav-next a::after {
    font-size: 1.25rem;
  }

  /* Single Pages */
  .voice-single-section,
  .news-single-section,
  .error-404-section,
  .legal-page-section {
    padding: 150px 1rem 60px 1rem;
  }

  .voice-single,
  .news-single,
  .error-404-content,
  .legal-page-content {
    padding: 1.5rem;
  }

  .voice-single .entry-title,
  .news-single .entry-title,
  .error-404-title,
  .news-single-title,
  .legal-page-title {
    font-size: 1.75rem;
  }

  .voice-single .entry-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .voice-single .entry-content,
  .news-single .entry-content,
  .error-404-message {
    font-size: 1rem;
  }

  .error-404-number {
    font-size: 5rem;
  }

  /* Archive Pages */
  /* Footer (Logo → Navigation → Links → Policy) */
  .footer-logo {
    padding: 120px 0 60px 0;
  }
  .footer-navigation {
    padding: 0 40px 40px 40px;
  }
  .footer-navigation ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(80px, 1fr));
    gap: 0;
    justify-items: center;
    text-align: center;
  }
  .footer-navigation li {
    margin-bottom: 0;
  }
  .footer-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1.5rem;
  }
  .site-info {
    font-size: 1rem;
  }
  .voice-archive-section {
    padding: 100px 0 80px 0;
  }

  .voice-archive-content .voice-cards {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .voice-archive-content .voice-card {
    padding: 20px;
  }

  /* News posts: stack to 1 column on mobile */
  .news-posts {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .voice-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Pagination */
  .pagination-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-item a,
  .pagination-item .current {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .gallery-item img {
    max-height: 300px;
  }

  .voice-gallery {
    padding: 1.5rem;
  }

  .before-after-grid {
    gap: 20px;
  }

  .before-after-image {
    min-height: 200px;
    max-height: 300px;
  }

  /* Legal Pages */
  .legal-section h2 {
    font-size: 1.2rem;
  }

  .legal-section ul {
    padding-left: 1.5rem;
  }

  /* Fixed Links */
  .link-container {
    bottom: 1rem;
  }

  .link {
    width: 140px;
    padding: 0.4rem 0.8rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  }

  .link p {
    font-size: 1.2rem;
  }

  .link:first-child p:nth-child(2),
  .link:last-child p:nth-child(2) {
    font-size: 0.65rem;
  }

  .link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .news-post-meta {
    padding: 0.75rem 0 0.75rem 0;
    gap: 0.5rem;
  }
  .news-post-title {
    font-size: 1rem;
  }
  .news-post-date {
    font-size: 0.6rem;
  }
}

/* =================================
   Small Mobile (480px以下)
   ================================= */
@media (max-width: 480px) {
  /* Section Order: Header & Navigation → Hero → About → Price → Class → News → Q&A → Voice → Studio → Contact → Footer → Archive/Single → Pagination → Gallery → Legal → Fixed Links */
  /* Container */
  .container {
    padding: 0 1rem;
  }

  .about-text,
  .price-text,
  .news-text,
  .qa-text,
  .voice-text {
    width: 85%;
  }

  /* Typography */
  .site-title {
    font-size: 1.5rem;
  }

  .site-subtitle {
    font-size: 0.3rem;
  }

  .about-title h2,
  .price-title h2,
  .news-title h2,
  .qa-title h2,
  .voice-title h2,
  .studio-title h2,
  .contact-title h2 {
    font-size: 3rem;
  }

  .hero-title,
  .section-title {
    font-size: 2rem;
  }

  .voice-quote {
    font-size: 1.1rem;
    min-height: 3.3rem;
  }

  /* Layout */
  .hero-section {
    height: 100vh;
  }
  .hero-content {
    padding: 180px 0 0 2.5rem;
  }
  .hero-news {
    padding: 40px 0 0 2.5rem;
  }
  .hero-news-prev {
    left: 0.5rem;
  }

  .hero-news-next {
    right: 0.5rem;
  }

  .about-text {
    width: 90%;
  }

  .voice-author {
    font-size: 1rem;
  }

  .class-section {
    padding: 0;
  }
  .class-image {
    width: 300px;
    height: 200px;
  }
  .class-info {
    width: 280px;
    height: 140px;
  }

  .studio-title-container {
    margin-left: 40px;
  }
  .studio-image iframe {
    width: 340px;
    height: 250px;
  }

  .section {
    padding: 3rem 0;
  }

  .price-title-container {
    margin-left: 40px;
  }

  .price-grid {
    gap: 0;
  }
  .campaign-group {
    gap: 0;
    margin-top: 0;
  }

  .news-content {
    padding: 40px 40px;
  }
  .news-post-image {
    padding: 30px 30px 0 30px;
  }

  /* Cards */
  .price-card,
  .voice-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .voice-card {
    margin-bottom: 2rem;
    min-height: 380px;
  }

  /* Grid */
  .voice-content-container {
    flex-direction: column;
  }

  /* Campaign */
  .campaign-badge {
    font-size: 1.25rem;
  }
  .campaign-title {
    font-size: 2rem;
  }
  .campaign-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  .line-decoration {
    height: 30px;
  }
  .line-decoration img {
    width: 100%;
  }
  .campaign-card-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .cautionary-note {
    font-size: 0.75rem;
  }

  .option-card {
    padding: 1.5rem;
  }
  .option-card-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .option-card p {
    font-size: 1rem;
  }
  .option-card-amount-container {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .energys-info-content {
    flex-direction: column;
  }

  .news-title {
    margin-right: 40px;
  }
  .news-text {
    margin-right: 40px;
  }

  .voice-cards {
    padding: 0;
  }

  .qa-title {
    margin-left: 40px;
  }
  .qa-text {
    margin-left: 40px;
  }
  .voice-title {
    margin-right: 40px;
  }
  .voice-text {
    margin-right: 40px;
  }
  .contact-title {
    margin-right: 40px;
  }
  .contact-content {
    padding: 40px;
  }
  .contact-text {
    font-size: 1rem;
  }

  /* Archive */
  .voice-archive-content .voice-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .voice-archive-content .voice-card {
    padding: 15px;
  }

  /* Pagination */
  .pagination-item a,
  .pagination-item .current {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    max-height: 350px;
  }

  /* Legal Pages */
  .legal-page-section {
    padding: 100px 1rem 60px 1rem;
  }

  .legal-page-content {
    padding: 1.5rem;
  }

  .legal-page-title {
    font-size: 1.8rem;
  }

  .legal-section h2 {
    font-size: 1.1rem;
  }

  /* Studio */
  /* Shop info table: stack label above value */
  .shop-info-table tr {
    display: block;
    padding: 0.75rem 0;
  }
  .shop-info-table th,
  .shop-info-table td {
    display: block;
    width: 100%;
  }
  .shop-info-table th {
    border-bottom: none;
    padding: 0 0 0.25rem 0;
  }
  .shop-info-table td {
    padding: 0 0 0.75rem 0;
    font-size: 1rem;
  }

  /* Footer (Logo → Navigation → Links → Policy) */
  .footer-content {
    text-align: center;
  }
  .site-info {
    font-size: 0.9rem;
  }

  /* Ensure 480px rules override 768px footer menu grid (Navigation) */
  .footer-navigation ul {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 0.5rem 1rem;
  }

  /* Links (order is defined in markup; style stays) */

  /* Policy */
  .footer-policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* Hide fixed links while hero is visible on very small screens */
  body.hero-in-view .link-container {
    opacity: 0;
    transform: translateX(12px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s linear 0.5s;
  }

  .news-post-meta {
    padding: 0.5rem 0 0.5rem 0;
  }
  .news-post-title {
    font-size: 1rem;
  }
  .news-post-date {
    font-size: 0.6rem;
  }
}

/* ==========================================================================
   21. ANIMATION EFFECTS
   ========================================================================== */

.section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.section.animate {
  opacity: 1;
  transform: translateY(0);
}
