/* ==========================================
   バニラビーンズ - メインスタイル
   ========================================== */

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

:root {
  --brown: #3e2117;
  --white: #ffffff;
  --font-mincho: "Hiragino Mincho Pro", "游明朝", "Yu Mincho", serif;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "游ゴシック", sans-serif;
  --font-kaku: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", sans-serif;
}

body {
  background-color: transparent;
  color: var(--brown);
}

/* 固定背景: PC・スマホ共通でスクロールしない */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url('../img/bg_main.jpg') 0 0 repeat;
  z-index: -1;
}

img {
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==========================================
   スムーススクロール
   ========================================== */

html {
  scroll-behavior: smooth;
}

/* ==========================================
   ヘッダー
   ========================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  background: url(../img/bg_main.jpg) 0 0 repeat;
  /*background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 33, 23, 0.12);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;*/
}

/*.site-header.is-scrolled {
  box-shadow: 0 2px 20px rgba(62, 33, 23, 0.08);
}*/

.header-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--brown);
}

.logo-jp {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.logo-en {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 10px;
  line-height: 1;
  color: rgba(62, 33, 23, 0.6);
}

/* ==========================================
   ハンバーガーボタン
   ========================================== */

.hamburger {
  position: relative;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  z-index: 110;
}

.hamburger-bar {
  display: block;
  width: 28px;
  height: 1.5px;
  background-color: var(--brown);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              opacity   0.3s ease;
  transform-origin: center;
}

.hamburger.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================
   ナビゲーションオーバーレイ
   ========================================== */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  /* bg_main.jpg が固定背景として透けて見えるよう半透明に */
  background-color: rgba(255, 250, 243, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.is-open {
  pointer-events: auto;
  opacity: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.nav-item {
  overflow: hidden;
}

.nav-link {
  display: block;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: 0.12em;
  color: var(--brown);
  text-decoration: none;
  line-height: 1.8;
  padding: 4px 20px;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: color 0.3s ease,
              transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              opacity   0.5s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 20px;
  right: 20px;
  height: 1px;
  background-color: var(--brown);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-overlay.is-open .nav-link {
  transform: translateY(0);
  opacity: 1;
}

/* スタッガーアニメーション (0〜7番目) */
.nav-overlay.is-open .nav-item:nth-child(1) .nav-link { transition-delay: 0.05s; }
.nav-overlay.is-open .nav-item:nth-child(2) .nav-link { transition-delay: 0.10s; }
.nav-overlay.is-open .nav-item:nth-child(3) .nav-link { transition-delay: 0.15s; }
.nav-overlay.is-open .nav-item:nth-child(4) .nav-link { transition-delay: 0.20s; }
.nav-overlay.is-open .nav-item:nth-child(5) .nav-link { transition-delay: 0.25s; }
.nav-overlay.is-open .nav-item:nth-child(6) .nav-link { transition-delay: 0.30s; }
.nav-overlay.is-open .nav-item:nth-child(7) .nav-link { transition-delay: 0.35s; }
.nav-overlay.is-open .nav-item:nth-child(8) .nav-link { transition-delay: 0.40s; }

/* ==========================================
   ページ全体レイアウト
   ========================================== */

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 72px;
}

.main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  position: relative;
}

/* ==========================================
   左カラム: ヒーローイメージ
   ========================================== */

.content-section {
  width: 50%;
  height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 80px;
  overflow: hidden;
  position: sticky;
  top: 72px;
  align-self: flex-start;
  flex-shrink: 0;
}

.hero-image-stack {
  width: min(480px, 100%);
  height: min(540px, 70vh);
  position: relative;
}

.hero-top-image {
  position: absolute;
  inset: 0;
}

.hero-top-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0;
  animation: hero-fade 16s infinite;
}

.hero-top-image img:nth-child(1) { animation-delay:  0s; }
.hero-top-image img:nth-child(2) { animation-delay:  4s; }
.hero-top-image img:nth-child(3) { animation-delay:  8s; }
.hero-top-image img:nth-child(4) { animation-delay: 12s; }

@keyframes hero-fade {
  0%     { opacity: 0; }
  6.25%  { opacity: 1; }
  18.75% { opacity: 1; }
  25%    { opacity: 0; }
  100%   { opacity: 0; }
}

.hero-frame-image {
  position: absolute;
  inset: 0;
}

.hero-frame-image > img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-vector-line {
  position: absolute;
  width: 408.664px;
  height: 71.733px;
  left: 37px;
  top: 234px;
}

.hero-vector-line img {
  width: 100%;
  height: 100%;
}

/* ==========================================
   右カラム: コンテンツ
   ========================================== */

.content-column {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 200px;
  padding: 100px 0;
  position: relative;
  flex-shrink: 0;
}

/* ==========================================
   セクション共通
   ========================================== */

section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================
   1. イントロダクションセクション
   ========================================== */

.section-intro {
  gap: 91px;
  position: relative;
}

.slogan {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 30px;
  line-height: 60px;
  text-align: center;
  color: var(--brown);
}

.intro-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 48px;
  width: 499px;
  color: var(--brown);
  padding: 12px 0;
}

.intro-text p + p {
  margin-top: 0;
}

.intro-underline {
  width: 50%;
  height: 1px;
  border-bottom: 1px #3e2117 solid;
}



/* ==========================================
   2. プロフィールセクション
   ========================================== */

.section-profile {
  gap: 50px;
  padding: 0 25px;
  position: relative;
}

.profile-ornaments {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.profile-vector {
  width: 298.052px;
  height: 85.247px;
}

.profile-vector img {
  width: 100%;
  height: 100%;
}

.profile-ornament-img {
  width: 210px;
  height: 102px;
}

.profile-ornament-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 48px;
  letter-spacing: -0.4395px;
  width: 499px;
  color: var(--brown);
}

.ornament-pair {
  position: absolute;
  top: 100px; /* 画像高さ150pxの半分: section-servicesの上端にまたがる */
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.ornament-left,
.ornament-right {
  width: 98px;
  height: 150px;
}

.ornament-left img,
.ornament-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ornament-right img.flip-x {
  transform: scaleX(-1);
}

/* ==========================================
   3. お手伝いできることセクション
   ========================================== */

.section-services {
  position: relative;
  gap: 8px;
  padding-top: 0; /* ornament-pair の上半分(75px)＋余白 */
  padding-bottom: 100px;
  width: 500px;
}

.section-heading-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 30px;
  line-height: 60px;
  height: 150px;
  text-align: center;
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-vector {
  width: 317.443px;
  height: 60.437px;
  margin-bottom: 20px;
}

.heading-vector img {
  width: 100%;
  height: 100%;
}

.service-subtitle {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 24px;
  line-height: 60px;
  height: 143px;
  text-align: center;
  color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.service-description {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 48px;
  width: 500px;
  color: var(--brown);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 3つの理由 */
.reasons-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 1px;
}

.reasons-container {
  display: flex;
  flex-direction: column;
  width: 480px;
}

.reasons-header {
  background-color: rgba(255, 255, 255, 0);
  border: 1px solid var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 38px;
}

.reasons-header p {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 28px;
  line-height: 82px;
  height: 82px;
  text-align: center;
  color: var(--brown);
  width: 403px;
}

.reason-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 290px;
  border-left: 1px solid var(--brown);
  border-right: 1px solid var(--brown);
  border-bottom: 1px solid var(--brown);
  overflow: hidden;
  position: relative;
}

.reason-image {
  width: 217px;
  height: 290px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.reason-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.reason-text-block {
  display: flex;
  flex-direction: column;
  gap: 42px;
  width: 263px;
  height: 290px;
  padding: 20px;
  flex-shrink: 0;
  color: var(--brown);
}

.reason-title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 30px;
  line-height: 60px;
}

.reason-body {
  font-family: var(--font-mincho);
  font-weight: 300;
  font-size: 20px;
  line-height: 40px;
}

/* ==========================================
   4. 制作料金セクション
   ========================================== */

.section-pricing {
  gap: 8px;
  padding-top: 5px;
  padding-bottom: 5px;
  width: 592px;
  align-items: center;
  background-color: #ffffff;
}

.pricing-vector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 20px;
  width: 100%;
}

.pricing-vector img {
  width: 229.612px;
  height: 62.627px;
}

.section-pricing .service-subtitle {
  padding-bottom: 40px;
}
.price-wrapper{
  width: 98%;
  margin: 0 auto;
  border: #3e2117 2px solid;
  padding: 5px 0;
}
.price-wrapper2{
  width: 98%;
  margin: 0 auto;
  border: #3e2117 1px solid;
  padding: 10px;
}
.price-table {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-bottom: 30px;
  width: 100%;
}

.price-card {
  padding: 12px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  background-size: 100px 100px;
  background-position: top left;
  background-color: var(--white);
}

.price-card--bg {
  background-image: url('../img/bg_paper.jpg');
}

.price-card-inner {
  border: 1px solid var(--brown);
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 22px;
  color: var(--brown);
  overflow: hidden;
}

.price-names {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.price-names p {
  line-height: 48px;
}

.price-value {
  text-align: right;
  line-height: 48px;
  white-space: nowrap;
}

.pricing-note {
  font-family: var(--font-kaku);
  font-weight: 300;
  font-size: 20px;
  line-height: 48px;
  color: var(--brown);
  padding-left: 10px;
}

.included-section {
  padding-top: 30px;
  padding-bottom: 50px;
  width: 90%;
  margin: 0 auto;
}

.included-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  line-height: 48px;
  color: var(--brown);
  height: 64px;
  display: flex;
  align-items: center;
}

.included-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 5px 12px;
}

.included-list li {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 20px;
  line-height: 48px;
  color: var(--brown);
  height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 1px dashed var(--brown);
}

/* ==========================================
   5. 制作の流れセクション
   ========================================== */

.section-process {
  gap: 25px;
  padding: 100px 0;
}

.process-vector {
  width: 197.876px;
  height: auto;
  display: flex;
  justify-content: center;
}

.process-vector img {
  width: 100%;
  height: 100%;
}

.process-title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 24px;
  line-height: 60px;
  text-align: center;
  color: var(--brown);
  height: 98px;
  width: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-bottom: 100px;
  width: 680px;
}

.process-step {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 220px;
  padding: 31px 0;
  overflow: hidden;
  position: relative;
  background-color: rgba(255, 255, 255, 0);
  border-left: 1px solid var(--brown);
}

.step-icon {
  width: 150px;
  height: auto;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 480px;
  padding: 0 10px;
  color: var(--brown);
}

.step-title {
  font-family: var(--font-kaku);
  font-weight: 600;
  font-size: 24px;
  line-height: 60px;
}

.step-body {
  font-family: var(--font-kaku);
  font-weight: 300;
  font-size: 22px;
  line-height: 40px;
  color: #000;
  width: 450px;
}

/* お問合せボタン */
.contact-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn {
  position: relative;
  width: 338px;
  height: 223px;
  display: block;
}

.contact-btn-outer {
  position: absolute;
  border: 2px solid var(--brown);
  width: 328px;
  height: 136px;
  left: 10px;
  top: 78px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-btn-inner {
  border: 1px solid var(--brown);
  width: 320px;
  height: 128px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: end;
  overflow: hidden;
}

.contact-btn-text {
  font-family: var(--font-mincho);
  font-weight: 400;
  font-size: 25px;
  line-height: 60px;
  color: var(--brown);
  display: block;
  padding-right: 80px;
}

.contact-btn-arrow {
  position: absolute;
  right: 12px;
  top: 45px;
  width: 36px;
  height: 36px;
}

.contact-btn-arrow img {
  width: 100%;
  height: 100%;
}

.contact-btn-deco {
  position: absolute;
  width: 159px;
  height: 239px;
  left: -10px;
  top: -20px;
  pointer-events: none;
}

.contact-btn-deco img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-btn:hover .contact-btn-outer {
  background-color: rgba(62, 33, 23, 0.05);
}

/* ==========================================
   6. Works セクション
   ========================================== */

.section-works {
  height: 1018px;
  overflow: hidden;
  position: relative;
  width: 100%;
  align-items: center;
}

.works-decoration {
  width: 237.215px;
  height: 74.836px;
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
}

.works-decoration img {
  width: 100%;
  height: 100%;
}

.works-slider-wrapper {
  position: absolute;
  top: 13.17%;
  left: 50%;
  transform: translateX(-50%);
  width:100%;
  overflow: hidden;
}

.works-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.work-item {
  flex-shrink: 0;
  width: 386px;
  padding: 0 23px;
  height: 672px;
}

.work-item img {
  width: 339px;
  height: 672px;
  object-fit: cover;
}

/* Works ナビゲーション */
.works-nav {
  position: absolute;
  bottom: 11.83%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 16.39% 0 16.39%;
  z-index: 10;
}

.nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
}


.nav-btn .nav-arrow {
  width: 100px;
  height: auto;
}


/* ==========================================
   ホバーエフェクト
   ========================================== */

.nav-btn:hover {
  opacity: 0.7;
}

/* ==========================================
   フッター
   ========================================== */

.site-footer {
  background-color: var(--brown);
  color: var(--white);
  width: 100%;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 30px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

/* --- 左カラム: オフィス情報 --- */

.footer-office {
  width: 678px;
  display: flex;
  flex-direction: column;
  gap: 60px;
  flex-shrink: 0;
  order: 1;
}

.footer-office-info {
  display: flex;
  flex-direction: column;
  padding: 40px;
}

.footer-office-name {
  height: 123px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.footer-office-name img {
  height: 43.37px;
  width: auto;
}

.footer-info-row {
  height: 80px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
}

.footer-info-row p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 24px;
  line-height: 80px;
  color: var(--white);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.info-main {
  font-size: 24px;
  line-height: 80px;
}

.info-sub {
  font-size: 18px;
  line-height: 60px;
  opacity: 0.85;
}

/* ナビリンクボタン */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 40px;
}

.footer-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  background-color: var(--white);
  color: var(--brown);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.footer-link-btn:hover {
  background-color: var(--brown);
  color: var(--white);
  outline: 1px solid rgba(255, 255, 255, 0.5);
}

/* --- 右カラム: お問合せフォーム --- */

.footer-form-section {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 53px;
  flex-shrink: 0;
  padding: 30px;
  order: 2;
}

.footer-form-title {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 30px;
  line-height: 60px;
  text-align: center;
  color: var(--white);
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 53px;
}

.footer-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-form-fields input,
.footer-form-fields textarea {
  width: 100%;
  background-color: var(--white);
  border: none;
  padding: 11px 16px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 48px;
  color: var(--brown);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.footer-form-fields input {
  height: 70px;
}

.footer-form-fields textarea {
  height: 150px;
  resize: vertical;
  vertical-align: top;
  line-height: 1.8;
  padding-top: 11px;
}

.footer-form-fields input::placeholder,
.footer-form-fields textarea::placeholder {
  color: rgba(62, 33, 23, 0.45);
}

.footer-form-fields input:focus,
.footer-form-fields textarea:focus {
  outline: 2px solid rgba(62, 33, 23, 0.4);
  outline-offset: -2px;
}

.form-required-note {
  font-size: 12px;
  color: #999;
  margin: 4px 0 12px;
}

.footer-form-fields input.is-error,
.footer-form-fields textarea.is-error {
  border-bottom-color: #c0392b;
  outline: none;
}

.field-error {
  display: none;
  color: #c0392b;
  font-size: 12px;
  margin: 4px 0 8px;
  line-height: 1.5;
}

.footer-submit-wrap {
  display: flex;
  justify-content: center;
}

.footer-submit-btn {
  background-color: var(--white);
  border: none;
  padding: 6px 31px;
  height: 60px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 22px;
  line-height: 48px;
  color: var(--brown);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.footer-submit-btn:hover {
  background-color: rgba(255, 255, 255, 0.85);
}

.footer-privacy {
  background-color: var(--white);
  min-height: 211px;
  padding: 0;
  display: flex;
  align-items: flex-start;
}

.privacy-text {
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 36px;
  color: var(--brown);
  max-height: 300px;
  overflow: scroll;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 10px;
}
.privacy-text p{
  font-size: 16px;
}

/* --- コピーライト --- */

.footer-copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.footer-copyright p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 48px;
  color: var(--white);
  text-align: center;
  width: 100%;
}

/* ==========================================
   レスポンシブ: スマホ (max-width: 1023px)
   ========================================== */

@media (max-width: 1023px) {

  /* --- レイアウト --- */

  .page {
    padding-top: 60px;
  }

  .site-header {
    height: 60px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .logo-jp {
    font-size: 15px;
  }

  .main-content {
    flex-direction: column;
  }

  /* 左カラム: sticky解除・全幅・高さauto */
  .content-section {
    width: 100%;
    height: 56vh;
    min-height: 220px;
    max-height: 420px;
    position: static;
    padding: 30px 10px;
  }

  .hero-image-stack {
    width: min(340px, 80%);
    height: min(380px, 100%);
  }
  .hero-vector-line {
    
    width: 80%;
    height: auto;
    left: 37px;
    top: 42%;
  }
  

  /* 右カラム: 全幅 */
  .content-column {
    width: 100%;
    gap: 80px;
    padding: 60px 0;
  }

  /* --- イントロ --- */

  .section-intro {
    gap: 40px;
  }

  .slogan {
    font-size: 20px;
    line-height: 40px;
  }

  .intro-text {
    width: 80%;
    padding: 0 24px;
    font-size: 15px;
    line-height: 32px;
  }

  

  /* --- プロフィール --- */

  .section-profile {
    gap: 32px;
    padding: 0 24px;
  }

  .profile-text {
    width: 80%;
    font-size: 15px;
    line-height: 32px;
  }

  

  /* --- サービス --- */

  .section-services {
    width: 100%;
    padding: 70px 24px 60px; /* ornament-pair の上半分分だけ確保 */
  }

  .ornament-pair {
    top: 120px; /* スマホはオーナメント画像が小さいので調整 */
  }
  
  .ornament-left, .ornament-right {
    width: 20%;
    height: auto;
  }

  .section-title {
    font-size: 22px;
    height: auto;
    line-height: 48px;
    padding: 12px 0;
  }

  .heading-vector img {
    width: 240px;
    height: auto;
    margin: 30px auto 0;
  }

  .service-subtitle {
    font-size: 18px;
    line-height: 48px;
    height: auto;
    padding: 12px 0;
  }

  .service-description {
    width: 80%;
    font-size: 15px;
    line-height: 32px;
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 20px;
  }

  /* 3つの理由 */
  .reasons-wrapper {
    padding: 0;
    width: 60%;
  }

  .reasons-container {
    width: 100%;
  }

  .reasons-header p {
    font-size: 18px;
    line-height: 56px;
    height: auto;
  }

  .reason-item {
    height: auto;
    min-height: 180px;
  }

  .reason-image {
    width: 120px;
    height: auto;
    min-height: 180px;
  }

  .reason-text-block {
    width: calc(100% - 120px);
    height: auto;
    min-height: 180px;
    gap: 12px;
    padding: 16px 12px;
  }

  .reason-title {
    font-size: 20px;
    line-height: 40px;
  }

  .reason-body {
    font-size: 14px;
    line-height: 28px;
  }

  /* --- 料金 --- */

  .section-pricing {
    padding: 10px ;
  }

  .pricing-vector img {
    width: 160px;
    height: auto;
  }

  .price-card-inner {
    height: auto;
    min-height: 90px;
    padding: 12px 16px;
    font-size: 16px;
    flex-wrap: wrap;
    gap: 4px;
  }

  .price-names p {
    line-height: 36px;
  }

  .price-value {
    line-height: 36px;
  }

  .pricing-note {
    font-size: 14px;
    line-height: 32px;
    width: 100%;
    min-height: 0;
  }

  .included-label {
    font-size: 15px;
    height: auto;
    padding: 8px 0;
  }

  .included-list {
    width: 100%;
    padding: 4px 8px;
  }

  .included-list li {
    font-size: 14px;
    line-height: 36px;
    height: auto;
    padding: 6px 0;
  }

  /* --- 制作の流れ --- */

  .section-process {
    gap: 20px;
    padding: 60px 0;
  }

  .process-vector img {
    width: 130px;
    height: auto;
  }

  .process-title {
    font-size: 20px;
    height: auto;
  }

  .process-steps {
    width: 100%;
    gap: 0;
    padding: 0 0 60px;
  }

  .process-step {
    height: auto;
    min-height: 120px;
    padding: 20px 16px 20px 0;
    gap: 12px;
    border-left: none;
    border-top: 1px solid rgba(62, 33, 23, 0.2);
  }

  .step-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .step-content {
    width: calc(100% - 92px);
    padding: 0;
  }

  .step-title {
    font-size: 16px;
    line-height: 36px;
  }

  .step-body {
    font-size: 13px;
    line-height: 26px;
    width: 100%;
  }

  /* お問合せボタン */
  .contact-btn {
    transform: scale(0.85);
    transform-origin: center;
  }

  /* --- Works --- */

  .section-works {
    height: auto;
    min-height: 400px;
    overflow: hidden;
  }

  .works-slider-wrapper {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    overflow: hidden;
  }

  .works-slider {
    display: flex;
  }

  .work-item {
    flex-shrink: 0;
    width: 68%;
    padding: 0 16px;
    height: auto;
  }

  .work-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .works-nav {
    position: static;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 0 30px;
  }

  /* --- フッター --- */

  .footer-inner {
    flex-direction: column;
    gap: 0;
    padding: 24px 20px;
  }

  .footer-office {
    width: 100%;
    gap: 32px;
    order: 2;
  }

  .footer-office-info {
    padding: 20px 0;
  }

  .footer-office-name {
    height: 80px;
  }

  .footer-info-row p {
    font-size: 16px;
    line-height: 56px;
    white-space: normal;
  }

  .info-main {
    font-size: 16px;
    line-height: 40px;
  }

  .info-sub {
    font-size: 13px;
    display: block;
    line-height: 32px;
  }

  .footer-links {
    padding: 0;
    gap: 12px;
  }

  .footer-link-btn {
    height: 56px;
    font-size: 16px;
  }

  .footer-form-section {
    width: 100%;
    gap: 32px;
    padding-top: 40px;
    order: 1;
  }

  .footer-form-title {
    font-size: 22px;
  }

  .footer-form {
    gap: 32px;
  }

  .footer-form-fields input,
  .footer-form-fields textarea {
    font-size: 16px;
    line-height: 36px;
  }

  .footer-form-fields input {
    height: 54px;
  }

  .footer-submit-btn {
    font-size: 16px;
    height: 50px;
  }

  .footer-privacy a {
    font-size: 16px;
  }

  .footer-copyright p {
    font-size: 13px;
    line-height: 36px;
  }

  .footer-copyright {
    height: auto;
    padding: 12px 0;
  }

  /* ナビオーバーレイ */
  .nav-link {
    font-size: 24px;
  }
}

/* ==========================================
   レスポンシブ: iPad横向き専用
   (1024px〜1366px のタッチデバイス)
   ========================================== */

@media (min-width: 1024px) and (max-width: 1366px) and (pointer: coarse) {

  /* ===== 左カラム: メインビジュアル見切れを修正 ===== */
  /* パディングを減らして hero-image-stack の表示幅を確保 */
  .content-section {
    padding: 40px 30px;
  }

  /* ===== 右カラム: 横幅オーバーフローを修正 ===== */
  .content-column {
    gap: 120px;
    padding: 80px 20px;
  }

  .intro-text,
  .profile-text {
    width: 100%;
  }

  .section-services {
    width: 100%;
  }

  .service-description {
    width: 100%;
  }

  .reasons-container {
    width: 100%;
  }

  .section-pricing {
    width: 100%;
  }

  .process-steps {
    width: 100%;
  }

  .step-body {
    width: 100%;
  }
  
  .footer-office{
    order: 2;
  }
  .footer-form-section{
    order: 1;
  }
}

@media (max-width: 640px) {
  .intro-text, .profile-text, .service-description{
    width : 100%;
  }
  .reasons-wrapper{
    width: 100%;
  }
  .section-pricing{
    width: calc(100% - 10px);
  }


}
