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

/* ========================================
   LOADING
======================================== */
#page-loading {
  position: fixed;
  inset: 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: loadingFadeIn 0.6s ease forwards;
}

.loading-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.loading-logo-text {
  font-family: 'Hoefler Text', 'Hoefler Text A', 'Hoefler Text B', 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #FFE55F 0%, #FFA40D 50%, #FFE55F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loading-line-wrap {
  margin-top: 16px;
  width: 380px;
  height: 3px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-line {
  position: absolute;
  height: 3px;
  width: 0%;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent 0%, #FFE55F 20%, #FFA40D 50%, #FFE55F 80%, transparent 100%);
  border-radius: 2px;
  animation: loadingLine 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes loadingFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes loadingLine {
  from { width: 0%; }
  to   { width: 100%; }
}

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

:root {
  --color-primary: #febc2f;
  --color-black: #000000;
  --color-white: #ffffff;
  --color-bg: #F1F0EF;
  --color-text: #000000;
  --gradient-hero: linear-gradient(to right, #febc2f 0%, #febc2f 18%, #fdca45 32%, #fdd26a 48%, #fddb8a 64%, #fee3a4 80%, #feecba 100%);
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --max-width: 1100px;
  --fv-max-width: 1320px;
  --header-height: 64px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

/* ========================================
   CONTAINER
======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 60px;
}

/* ========================================
   HEADER
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: var(--color-white);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.header-inner {
  padding: 20px 50px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo img {
  height: 80px;
  width: auto;
}

.header-logo .logo-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--color-primary);
}

.header-nav ul {
  display: flex;
  gap: 36px;
}

.header-nav a {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-black);
  transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-primary);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--color-white);
  z-index: 99;
  padding: 20px 0 30px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding-top: 100px;
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ========================================
   PAGE OFFSET (for fixed header)
======================================== */
.page-top {
  padding-top: var(--header-height);
}

.oyatsu-page {
  padding-top: 0;
}

/* ========================================
   PAGE HERO (inner pages)
======================================== */
.page-hero {
  background: var(--gradient-hero);
  padding: 0 60px;
  height: 800px;
  display: flex;
  align-items: center;
}

.page-hero-inner {
  width: 100%;
  max-width: var(--fv-max-width);
  margin: 0 auto;
}

.page-hero-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-white);
  margin-bottom: 10px;
}

.page-hero-title {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.page-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-white);
  opacity: 0.9;
}

/* ========================================
   SECTION COMMON
======================================== */
.section {
  padding: 100px 0;
}

.section-bg {
  background: #FBF7EF;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 6px;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 48px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header--center .section-heading {
  font-size: 36px;
  margin-bottom: 24px;
}

.section-header-divider {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.15);
}

/* ========================================
   LINK ARROW
======================================== */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-black);
  transition: gap 0.2s, color 0.2s;
}

.link-arrow::after {
  content: '→';
  font-size: 18px;
}

.link-arrow:hover {
  gap: 12px;
}

/* ========================================
   BUTTON
======================================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: opacity 0.2s;
  border: none;
}

.btn:hover {
  opacity: 0.85;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-black);
  color: var(--color-black);
}

/* ========================================
   TOP — HERO
======================================== */
.top-hero {
  padding: 0;
  height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.top-hero-inner {
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 24px;
  align-items: center;
}

.top-hero-text {}

.top-hero-catch {
  font-family: var(--font-serif);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.top-hero-ja {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.top-hero-desc {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 400;
  color: #555;
  line-height: 1.4;
  margin-bottom: 32px;
  max-width: 400px;
}

.top-hero-badge-wrap {
  position: absolute;
  top: 0;
  bottom: 0;
  right: calc((100% - 1100px) / 2 + 1100px * 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  pointer-events: none;
}

.top-hero-badge {
  width: 250px;
  height: auto;
}

.top-hero-badge-label {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  text-align: center;
}

/* ========================================
   TOP — ABOUT
======================================== */
/* .top-about, .top-about-inner, heading 定義はリデザインセクションに統合 */

.top-about-photos {
  margin-top: 56px;
  display: flex;
  gap: 60px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.top-about-photos::-webkit-scrollbar {
  display: none;
}

.top-about-photo {
  flex: 0 0 400px;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.top-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   TOP — SERVICE
======================================== */
.top-service-section {
  padding-left: 60px;
  padding-right: 60px;
}

.top-service-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 72px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.service-item-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-item-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 340px;
}

.service-item-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-item-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #444;
  line-height: 1.4;
  margin-bottom: 28px;
}

.service-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--color-black);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--color-black);
  transition: color 0.2s, border-color 0.2s;
}

.service-link:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ========================================
   TOP — NEWS
======================================== */
.top-news-section {
  padding-left: 60px;
  padding-right: 60px;
}

.top-news-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.news-item:first-child {
  border-top: 1px solid rgba(0,0,0,0.08);
}

.news-item-date {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: #666;
  white-space: nowrap;
}

.news-badge {
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

.news-item-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  flex: 1;
  transition: color 0.2s;
}

.news-item:hover .news-item-title {
  color: var(--color-primary);
}

.top-news-footer {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}

/* ========================================
   TOP — CONTACT CTA
======================================== */
.top-contact {
  position: relative;
  padding: 100px 60px;
  overflow: hidden;
  background: var(--color-white);
}

.top-contact-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.top-contact-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 8px;
}

.top-contact-heading {
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.top-contact-text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #444;
  margin-bottom: 36px;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: var(--color-bg);
  padding: 0;
}

.footer-inner {
  padding: 100px;
}

.footer-nav {
  margin-bottom: 60px;
}

.footer-nav ul {
  display: flex;
  gap: 32px;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 400;
  color: var(--color-black);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--color-primary);
}

.footer-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin-bottom: 48px;
}

.footer-company {
  font-family: 'Hoefler Text', 'Georgia', serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-info {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #555;
  line-height: 1.4;
}

/* ========================================
   ABOUT PAGE
======================================== */
.about-section {
  padding: 100px 60px;
}

.about-section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.about-section-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin-bottom: 64px;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding: 0 60px;
  box-sizing: border-box;
}

.about-section-label {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-left: 3px solid var(--color-primary);
  padding-left: 16px;
  margin-bottom: 32px;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  max-width: 680px;
}

.ceo-message {
  display: grid;
  grid-template-columns: 7fr 13fr;
  gap: 80px;
  align-items: start;
}

.ceo-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

.ceo-sign {
  margin-top: 2em;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: #000;
  text-align: right;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.company-table th,
.company-table td {
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
}

.company-table th {
  width: 180px;
  font-weight: 500;
  color: #555;
  padding-right: 32px;
}

/* ========================================
   SERVICE PAGE
======================================== */
.service-section {
  position: relative;
  padding: 100px 60px;
  overflow: hidden;
}

.service-section-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: -60px;
  margin-right: -60px;
  background: #FBF7EF;
}

.service-section-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.service-section-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-card {
  background: var(--color-white);
  padding: 120px 80px;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 48px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}

.service-card-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card-text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  margin-bottom: 24px;
}

.service-card-body .link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 48px;
  border: 1.5px solid var(--color-black);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s, gap 0.2s;
}

.service-card-body .link-arrow::after {
  content: '→';
  font-size: 16px;
}

.service-card-body .link-arrow:hover {
  background: var(--color-black);
  color: var(--color-white);
  gap: 14px;
}

/* ========================================
   NEWS LIST PAGE
======================================== */
.news-page {
  padding: 100px 60px;
}

.news-page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.news-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.news-filter-btn {
  padding: 8px 20px;
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.news-list-page {
  display: flex;
  flex-direction: column;
}

.news-loading,
.news-empty {
  font-family: var(--font-sans);
  font-size: 18px;
  color: #888;
  padding: 40px 0;
  text-align: center;
}

/* ========================================
   NEWS DETAIL PAGE
======================================== */
.news-detail {
  padding: 100px 60px;
}

.news-detail-inner {
  max-width: 880px;
  margin: 0 auto;
}

.news-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: #555;
  margin-bottom: 48px;
  transition: color 0.2s;
}

.news-back::before {
  content: '←';
}

.news-back:hover {
  color: var(--color-primary);
}

.news-detail-title {
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}

.news-detail-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.news-detail-date {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: #666;
}

.news-detail-divider {
  height: 1px;
  background: rgba(0,0,0,0.1);
  margin-bottom: 40px;
}

.news-detail-eyecatch {
  margin-bottom: 40px;
  background: #FBF7EF;
  overflow: hidden;
}

.news-detail-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
}

.news-detail-body {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  color: #333;
}

.news-detail-body p {
  margin-bottom: 20px;
}

.news-detail-author {
  margin-top: 48px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 500;
  color: #555;
}

/* ========================================
   THANKS PAGE
======================================== */
.thanks-page {
  padding: 160px 60px;
}

.thanks-page-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thanks-title {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-black);
  margin-bottom: 32px;
}

.thanks-text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.9;
  color: #555;
  margin-bottom: 48px;
}

@media (max-width: 1024px) {
  .thanks-page {
    padding: 120px 40px;
  }

  .thanks-title {
    font-size: 30px;
  }
}

@media (max-width: 767px) {
  .thanks-page {
    padding: 80px 20px;
  }

  .thanks-title {
    font-size: 26px;
  }

  .thanks-text {
    font-size: 16px;
  }
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-page {
  padding: 100px 60px;
}

.contact-page-inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
}

.form-label .required {
  color: var(--color-primary);
  margin-left: 4px;
  font-size: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-black);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.form-textarea {
  min-height: 180px;
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: #444;
  cursor: pointer;
  line-height: 1.4;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--color-primary);
}

.form-submit {
  text-align: center;
  margin-top: 8px;
}

.form-submit .btn {
  min-width: 200px;
}

.form-message {
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  display: none;
}

.form-message.success {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* ========================================
   TABLET (768px - 1024px)
======================================== */
@media (max-width: 1024px) {
  .header-inner {
    padding: 12px 20px;
  }

  .header-logo img {
    height: 70px;
  }

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

  .container,
  .top-about-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-section-label {
    font-size: 28px;
  }

  .footer-inner {
    padding: 80px 40px;
  }

  .page-hero,
  .top-service-section,
  .top-news-section,
  .top-contact,
  .about-section,
  .news-page,
  .news-detail,
  .contact-page,
  .service-section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .service-section-bg {
    margin-left: -40px;
    margin-right: -40px;
  }

  .section,
  .about-section,
  .news-page,
  .news-detail,
  .contact-page {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .page-hero {
    height: 700px;
  }

  .service-section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .top-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .top-hero-inner {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    display: block;
    position: relative;
    z-index: 1;
  }

  .top-hero-badge-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
  }

  .top-hero-badge {
    width: 680px;
    opacity: 0.15;
  }

  .top-hero-text {
    position: relative;
    z-index: 1;
  }

  .top-hero-catch {
    font-size: 40px;
    white-space: nowrap;
  }

  .top-hero-ja {
    font-size: 22px;
  }

  .top-about-heading-en {
    font-size: 28px;
  }

  .top-about-heading-ja {
    font-size: 22px;
  }

  .top-about-photo {
    flex: 0 0 350px;
  }

  .top-about-photos {
    gap: 40px;
  }

  .service-item {
    grid-template-columns: 220px 1fr;
    gap: 36px;
    padding: 40px 0;
  }

  .service-card {
    grid-template-columns: 200px 1fr;
    gap: 36px;
    padding: 50px 40px;
  }

  .ceo-message {
    grid-template-columns: 7fr 13fr;
    gap: 36px;
  }
}

/* ========================================
   MOBILE (< 768px)
======================================== */
@media (max-width: 767px) {
  .loading-logo {
    gap: 9px;
  }

  .loading-logo img {
    width: 91px;
    height: 91px;
  }

  .loading-logo-text {
    font-size: 25px;
  }

  .loading-line-wrap {
    width: 289px;
    margin-top: 12px;
  }

  .news-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .news-filter-btn {
    font-size: 13px;
    padding: 8px 0;
    text-align: center;
  }

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

  .header-logo img {
    height: 50px;
  }

  .footer-inner {
    padding: 60px 20px;
  }

  .container,
  .top-about-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .news-detail-inner {
    max-width: 100%;
  }

  .contact-page-inner {
    max-width: 100%;
  }

  .page-hero,
  .top-service-section,
  .top-news-section,
  .top-contact,
  .about-section,
  .news-page,
  .news-detail,
  .contact-page,
  .service-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-section-bg {
    margin-left: -20px;
    margin-right: -20px;
  }

  .section,
  .about-section,
  .news-page,
  .news-detail,
  .contact-page {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .page-hero {
    height: 600px;
  }

  .service-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .top-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
  }

  .top-hero-inner {
    padding-left: 24px;
    padding-right: 24px;
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .top-hero-badge-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
  }

  .top-hero-badge {
    width: 460px;
    opacity: 0.15;
  }

  .top-hero-text {
    position: relative;
    z-index: 1;
  }

  .top-hero-catch {
    font-size: 30px;
    white-space: normal;
    text-align: left;
  }

  .top-hero-ja {
    text-align: left;
    font-size: 20px;
  }

  .top-hero-desc {
    text-align: left;
    max-width: 100%;
  }

  .top-hero-cta {
    text-align: center;
  }

  .top-about-photo {
    flex: 0 0 300px;
  }

  .top-about-photos {
    gap: 40px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 0;
  }

  .service-item-image {
    width: 70%;
    max-width: none;
    margin: 0 auto;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 20px;
  }

  .service-card-image {
    width: 70%;
    max-width: none;
    margin: 0 auto;
  }

  .ceo-message {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ceo-photo {
    width: 70%;
    max-width: none;
    margin: 0 auto;
  }

  .header-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .page-hero-title {
    font-size: 30px;
  }

  .section-heading {
    font-size: 26px;
  }

  .top-contact-heading {
    font-size: 30px;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-item-title {
    flex-basis: 100%;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }

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

  /* セクション大見出し 26px */
  .section-heading,
  .top-contact-heading,
  .top-about-heading-en {
    font-size: 26px;
  }

  /* コンテンツ内タイトル 20px */
  .service-item-title,
  .service-card-title,
  .about-section-label,
  .about-heading,
  .top-about-heading-ja,
  .news-detail-title {
    font-size: 20px;
  }

  .top-about-cta {
    justify-content: flex-start;
  }

  /* 本文系テキスト 16px統一 */
  .about-text,
  .ceo-text,
  .ceo-sign,
  .top-about-text,
  .top-hero-desc,
  .top-contact-text,
  .service-item-text,
  .service-card-text,
  .news-detail-body,
  .footer-info {
    font-size: 16px;
  }

  .about-section-divider {
    padding: 0 20px;
  }

  .news-detail-title {
    font-size: 24px;
  }

  .company-table th {
    width: 120px;
    font-size: 17px;
  }

  .company-table td {
    font-size: 17px;
  }
}

/* ========================================
   ANIMATIONS
======================================== */

/* スクロールフェードアップ */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ヒーローの子要素（ロードアニメ） */
.anim-hero-child {
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ヒーローバッジ（スケール＋フェード） */
.anim-hero-badge {
  opacity: 0;
  transform: scale(0.88);
  animation: heroBadge 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes heroBadge {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* FV全体がその場でゆっくりフェードイン */
.anim-hero-fade-slow {
  opacity: 0;
  animation: heroFadeSlow 1.4s ease-out forwards;
}

@keyframes heroFadeSlow {
  to {
    opacity: 1;
  }
}

/* ページロード時のヘッダーフェード */
.header {
  animation: headerFade 0.5s ease forwards;
}

@keyframes headerFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================================
   TOP — ABOUT リデザイン
======================================== */
.top-about {
  position: relative;
  overflow: hidden;
  padding: 100px 0 0;
}

.top-about-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 60px;
  z-index: 1;
}

@media (max-width: 767px) {
  .top-about-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.top-about-header {
  text-align: center;
  margin-bottom: 64px;
}

.top-about-header .section-label {
  display: block;
  margin-bottom: 6px;
}

.top-about-header .section-heading {
  font-size: 36px;
  margin-bottom: 24px;
}

.top-about-divider {
  height: 1px;
  background: rgba(0,0,0,0.12);
  width: 100%;
}

.top-about-heading-en {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 8px;
}

.top-about-heading-ja {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 40px;
  line-height: 1.4;
}

.top-about-text {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
  max-width: 780px;
  margin-bottom: 40px;
}

.top-about-cta {
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 767px) {
  .top-about-header .section-heading {
    font-size: 26px;
  }

  .top-about-heading-en {
    font-size: 26px;
  }

  .top-about-heading-ja {
    font-size: 20px;
  }

  .top-about-text {
    font-size: 16px;
  }

  .top-about-cta {
    justify-content: flex-start;
  }
}

/* ========================================
   WORKS（制作実績）
======================================== */
.works-page {
  padding: 100px 60px;
}

.works-page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.works-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
}

.works-loading,
.works-empty {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #888;
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 0;
}

.works-item {
  display: block;
  text-decoration: none;
  color: inherit;
}

.works-item-image {
  width: 100%;
  overflow: hidden;
}

.works-item-image img {
  width: 100%;
  height: auto;
  display: block;
}

.works-item-title {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  color: var(--color-black);
  margin-top: 16px;
}

@media (max-width: 1024px) {
  .works-page {
    padding: 80px 40px;
  }

  .works-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
}

@media (max-width: 767px) {
  .works-page {
    padding: 60px 20px;
  }

  .works-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .works-item-title {
    font-size: 15px;
  }
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  transition: background 0.2s, color 0.2s;
}

/* 回転サークル */
.top-about-circle-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 20vw;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.top-about-circle-spin {
  width: 280vw;
  height: 280vw;
  flex-shrink: 0;
  animation: spinCircle 240s linear infinite;
}

.top-about-circle-spin svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes spinCircle {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

/* top-about タブレット/スマホは主メディアクエリに統合済み */

/* ========================================
   HOVER COLOR 統一（primary = #febc2f）
======================================== */

/* link-arrow */
.link-arrow:hover {
  color: var(--color-primary);
  gap: 12px;
}

/* pill ボタン */
.btn-pill:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ニュースアイテム */
.news-item:hover .news-item-title {
  color: var(--color-primary);
}

.news-item:hover .news-item-date {
  color: var(--color-primary);
}

/* モバイルナビ */
.mobile-nav a:hover {
  color: var(--color-primary);
}

/* ニュース詳細 back リンク */
.news-back:hover {
  color: var(--color-primary);
}

/* ニュースフィルターボタン */
.news-filter-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* フォームのチェックボックスラベル */
.form-checkbox:hover {
  color: var(--color-primary);
}

/* ハンバーガー */

.circle-text {
  font-family: var(--font-serif);
}

/* ========================================
   OYATSU（3時のおやつ便）
======================================== */
.oyatsu-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* HERO */
.oyatsu-hero {
  background: var(--color-white);
  padding: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.oyatsu-hero-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.oyatsu-hero-left {
  width: 30%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.oyatsu-hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1025px) {
  .oyatsu-hero-logo {
    margin-top: -15px;
  }
}

.oyatsu-hero-logo {
  margin-bottom: 24px;
}

.oyatsu-hero-logo img {
  height: 110px;
  width: auto;
}

.oyatsu-hero-label {
  display: block;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.oyatsu-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.oyatsu-hero-btn:hover {
  opacity: 0.85;
}

.oyatsu-hero-btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.oyatsu-hero-image {
  width: 70%;
  flex-shrink: 0;
  height: 100%;
}

.oyatsu-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 140px 0 0 140px / 50% 0 0 50%;
  background: #e6e6e6;
}

/* 定期便について */
.oyatsu-about {
  padding: 100px 60px;
}

.oyatsu-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.oyatsu-about-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
  color: #8D4926;
}

.oyatsu-about .section-heading,
.oyatsu-features .section-heading,
.oyatsu-scenes .section-heading,
.oyatsu-price .section-heading,
.oyatsu-faq .section-heading,
.oyatsu-contact .section-heading {
  color: #8D4926;
}

.oyatsu-about-body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: #8D4926;
  line-height: 1.8;
}

.oyatsu-about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #e6e6e6;
}

/* 特徴 */
.oyatsu-features {
  padding: 100px 60px;
}

.oyatsu-features-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  color: #8D4926;
  text-align: left;
}

.oyatsu-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}

.oyatsu-feature {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.oyatsu-feature-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: #8D4926;
  margin-bottom: 16px;
  line-height: 1;
}

.oyatsu-feature-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 32px;
  height: 100%;
}

.oyatsu-feature-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oyatsu-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oyatsu-feature-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #8D4926;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: calc(18px * 1.5 * 2);
}

.oyatsu-feature-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  color: #8D4926;
  line-height: 1.9;
  text-align: left;
}

/* ご利用シーン */
.oyatsu-scenes {
  padding: 100px 60px;
}

.oyatsu-scenes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.oyatsu-scene-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #e6e6e6;
  overflow: hidden;
  margin-bottom: 24px;
}

.oyatsu-scene-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.oyatsu-scene-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.oyatsu-scene-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #8D4926;
  line-height: 1.9;
}

/* 料金 */
.oyatsu-price {
  padding: 100px 60px;
}

.oyatsu-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.oyatsu-price-image {
  height: 100%;
}

.oyatsu-price-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #e6e6e6;
}

.oyatsu-price-card {
  background: var(--color-white);
  padding: 48px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oyatsu-price-table-wrap {
  display: contents;
}

.oyatsu-price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.oyatsu-price-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.oyatsu-price-table th,
.oyatsu-price-table td {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  padding: 16px 0;
  text-align: left;
}

.oyatsu-price-table th {
  font-weight: 500;
  color: #8D4926;
}

.oyatsu-price-table td {
  text-align: right;
  color: #8D4926;
}

.oyatsu-price-total th,
.oyatsu-price-total td {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.oyatsu-price-note {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #8D4926;
  margin-bottom: 32px;
}

.oyatsu-price-btn {
  display: block;
  text-align: center;
}

/* FAQ */
.oyatsu-faq {
  padding: 100px 60px;
}

.oyatsu-faq-list {
  border-top: 1px solid rgba(0,0,0,0.1);
}

.oyatsu-faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.oyatsu-form .form-label,
.oyatsu-form .form-input,
.oyatsu-form .form-textarea,
.oyatsu-form .form-checkbox {
  color: #8D4926;
}

.oyatsu-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #8D4926;
  text-align: left;
}

.oyatsu-faq-icon {
  flex-shrink: 0;
  font-size: 18px;
  color: var(--color-primary);
  transition: transform 0.2s;
}

.oyatsu-faq-item.open .oyatsu-faq-icon {
  transform: rotate(45deg);
}

.oyatsu-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.oyatsu-faq-item.open .oyatsu-faq-answer {
  max-height: 300px;
}

.oyatsu-faq-answer p {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
  padding-bottom: 24px;
}

/* お問い合わせ */
.oyatsu-contact {
  padding: 100px 60px;
}

.oyatsu-contact-lead {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #8D4926;
  margin-top: 16px;
}

.oyatsu-form {
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .oyatsu-hero {
    height: auto;
    overflow: visible;
  }

  .oyatsu-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "text"
      "image"
      "btn";
    gap: 0;
    height: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .oyatsu-hero-left {
    display: contents;
  }

  .oyatsu-hero-text {
    grid-area: text;
    padding: 64px 20px 40px;
  }

  .oyatsu-hero-image {
    grid-area: image;
    width: 100%;
  }

  .oyatsu-hero > .oyatsu-hero-inner > .oyatsu-hero-left > .oyatsu-hero-btn {
    grid-area: btn;
    justify-self: center;
  }

  .oyatsu-hero-logo img {
    height: 110px;
  }

  .oyatsu-hero-label {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    text-align: center;
    font-size: 32px;
    margin-bottom: 0;
  }

  .oyatsu-hero-image img {
    height: auto;
    aspect-ratio: 3/4;
    border-radius: 50% 50% 0 0 / 60px 60px 0 0;
  }

  .oyatsu-hero > .oyatsu-hero-inner > .oyatsu-hero-left > .oyatsu-hero-btn {
    margin-top: -28px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
  }

  .oyatsu-about,
  .oyatsu-features,
  .oyatsu-scenes,
  .oyatsu-price,
  .oyatsu-faq,
  .oyatsu-contact {
    padding: 80px 40px;
  }

  .oyatsu-about-grid {
    gap: 40px;
  }

  .oyatsu-about-title {
    font-size: 26px;
  }

  .oyatsu-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oyatsu-feature-image {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .oyatsu-scenes-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oyatsu-scene-image {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
  }

  .oyatsu-feature-text {
    font-size: 14px;
  }

  .oyatsu-price-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .oyatsu-price-image {
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .oyatsu-price-image img {
    height: auto;
    aspect-ratio: 16/10;
    border-radius: 0;
  }

  .oyatsu-price-card {
    background: transparent;
    padding: 0;
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .oyatsu-price-table-wrap {
    display: block;
    width: 100%;
    background: var(--color-white);
    padding: 80px 36px;
    margin: -56px 24px 0;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
  }

  .oyatsu-price-table tr {
    border-bottom: 1px dashed rgba(0,0,0,0.2);
  }

  .oyatsu-price-note {
    text-align: center;
    margin-top: 32px;
  }

  .oyatsu-price-btn {
    margin: 24px 24px 0;
  }
}

@media (max-width: 767px) {
  .oyatsu-features-heading,
  .oyatsu-price .section-header--center .section-heading,
  .oyatsu-contact .section-header--center .section-heading {
    font-size: 22px;
  }

  .oyatsu-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oyatsu-feature-card {
    padding: 24px;
  }

  .oyatsu-hero-text {
    padding: 56px 20px 32px;
  }

  .oyatsu-hero-label {
    font-size: 24px;
  }

  .oyatsu-hero-image img {
    aspect-ratio: 4/5;
    border-radius: 50% 50% 0 0 / 40px 40px 0 0;
  }

  .oyatsu-about,
  .oyatsu-features,
  .oyatsu-scenes,
  .oyatsu-price,
  .oyatsu-faq,
  .oyatsu-contact {
    padding: 60px 20px;
  }

  .oyatsu-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .oyatsu-about-image {
    width: 70%;
    max-width: none;
    margin: 0 auto;
  }

  .oyatsu-about-title {
    font-size: 22px;
  }

  .oyatsu-about-body {
    font-size: 15px;
  }

  .oyatsu-features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .oyatsu-feature-image {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .oyatsu-scenes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .oyatsu-scene-image {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .oyatsu-price-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .oyatsu-price-image {
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .oyatsu-price-image img {
    height: auto;
    aspect-ratio: 4/3;
    border-radius: 0;
  }

  .oyatsu-price-card {
    background: transparent;
    padding: 0;
    margin: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .oyatsu-price-table-wrap {
    display: block;
    width: 100%;
    background: var(--color-white);
    padding: 40px 28px;
    margin: -40px 16px 0;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
    position: relative;
    z-index: 2;
  }

  .oyatsu-price-table tr {
    border-bottom: 1px dashed rgba(0,0,0,0.2);
  }

  .oyatsu-price-table th,
  .oyatsu-price-table td {
    font-size: 15px;
  }

  .oyatsu-price-total th,
  .oyatsu-price-total td {
    font-size: 18px;
  }

  .oyatsu-price-note {
    text-align: center;
    margin-top: 28px;
  }

  .oyatsu-price-btn {
    margin: 24px 16px 0;
  }
}

/* ========================================
   OYATSU 専用ヘッダー
======================================== */
.oyatsu-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: transparent;
  z-index: 200;
  border-bottom: none;
  pointer-events: none;
}

.oyatsu-header-inner {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.oyatsu-header-nav {
  display: none;
}

.oyatsu-hamburger {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: -84px;
  right: -84px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  gap: 6px;
  padding-top: 84px;
  padding-right: 84px;
  z-index: 201;
  transition: background-color 0.3s ease;
}

.oyatsu-hamburger:hover {
  background: var(--color-white);
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.oyatsu-hamburger:hover .oyatsu-hamburger-lines span {
  background-color: var(--color-primary);
}

.oyatsu-hamburger:hover .oyatsu-hamburger-close,
.oyatsu-hamburger:hover .oyatsu-hamburger-label {
  color: var(--color-primary);
}

.oyatsu-hamburger .oyatsu-hamburger-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.oyatsu-hamburger .oyatsu-hamburger-lines span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-white);
}

.oyatsu-hamburger .oyatsu-hamburger-close {
  display: none;
  width: auto;
  height: auto;
  background: none;
  color: var(--color-white);
}

.oyatsu-hamburger .oyatsu-hamburger-close svg {
  display: block;
  width: 40px;
  height: 40px;
}

.oyatsu-hamburger .oyatsu-hamburger-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.oyatsu-hamburger.oyatsu-hamburger .oyatsu-hamburger-label-open,
.oyatsu-hamburger.oyatsu-hamburger .oyatsu-hamburger-label-close {
  width: auto;
  height: auto;
  background: none;
}

.oyatsu-hamburger .oyatsu-hamburger-label-open {
  display: inline;
}

.oyatsu-hamburger .oyatsu-hamburger-label-close {
  display: none;
}

.oyatsu-hamburger.open .oyatsu-hamburger-lines {
  display: none;
}

.oyatsu-hamburger.open .oyatsu-hamburger-close {
  display: block;
}

.oyatsu-hamburger.open .oyatsu-hamburger-label-open {
  display: none;
}

.oyatsu-hamburger.open .oyatsu-hamburger-label-close {
  display: inline;
}

.oyatsu-mobile-nav {
  z-index: 199;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.oyatsu-mobile-nav.open {
  display: flex;
}

.oyatsu-mobile-nav ul {
  padding-top: 0;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 420px;
}

.oyatsu-mobile-nav li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.oyatsu-mobile-nav a {
  display: block;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  padding: 18px 8px;
}

.oyatsu-mobile-nav a.oyatsu-mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  width: calc(100% - 16px);
  max-width: 420px;
  padding: 18px 40px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  border-bottom: none;
  letter-spacing: 0;
}

.oyatsu-mobile-nav-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .oyatsu-mobile-nav a {
    font-size: 26px;
  }
}


@media (max-width: 1024px) {
  .oyatsu-header-inner {
    padding: 16px 40px;
  }

  .oyatsu-hamburger {
    width: 215px;
    height: 215px;
    top: -80px;
    right: -80px;
    padding-top: 80px;
    padding-right: 80px;
  }
}

@media (max-width: 767px) {
  .oyatsu-header-inner {
    padding: 14px 20px;
  }

  .oyatsu-hamburger {
    width: 120px;
    height: 120px;
    top: -45px;
    right: -45px;
    padding-top: 45px;
    padding-right: 45px;
  }

  .oyatsu-hamburger .oyatsu-hamburger-lines span {
    width: 20px;
  }

  .oyatsu-hamburger .oyatsu-hamburger-close svg {
    width: 23px;
    height: 23px;
  }

  .oyatsu-hamburger .oyatsu-hamburger-label {
    display: none;
  }
}

/* ========================================
   OYATSU 専用フッター
======================================== */
.oyatsu-footer {
  background: #FBF7EF;
  padding: 64px 60px;
}

.oyatsu-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.oyatsu-footer-nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 56px;
}

.oyatsu-footer-nav a {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: #777;
  transition: color 0.2s;
}

.oyatsu-footer-nav a:hover {
  color: var(--color-primary);
}

.oyatsu-footer-company-label {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
}

.oyatsu-footer-company-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: #555;
  text-decoration: underline;
  transition: color 0.2s;
}

.oyatsu-footer-company-link:hover {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .oyatsu-footer {
    padding: 64px 40px;
  }
}

@media (max-width: 767px) {
  .oyatsu-footer {
    padding: 48px 20px;
  }

  .oyatsu-footer-nav ul {
    gap: 16px 24px;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .oyatsu-hero-logo img {
    height: 75px;
  }

  .oyatsu-hero-logo {
    margin-bottom: 24px;
  }
}

/* ========================================
   OYATSU 送信完了モーダル
======================================== */
.oyatsu-thanks-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
}

.oyatsu-thanks-modal.open {
  display: flex;
}

.oyatsu-thanks-card {
  position: relative;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-width: 480px;
  width: 100%;
  padding: 56px 40px 48px;
  text-align: center;
}

.oyatsu-thanks-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #8D4926;
  padding: 0;
}

.oyatsu-thanks-close svg {
  width: 22px;
  height: 22px;
}

.oyatsu-thanks-logo {
  margin-bottom: 24px;
}

.oyatsu-thanks-logo img {
  height: 100px;
  width: auto;
  margin: 0 auto;
}

.oyatsu-thanks-en {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  color: #8D4926;
  margin-bottom: 24px;
}

.oyatsu-thanks-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: #8D4926;
  margin-bottom: 24px;
}

.oyatsu-thanks-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #8D4926;
  line-height: 1.9;
  margin-bottom: 32px;
}

.oyatsu-thanks-btn {
  display: inline-block;
}

@media (max-width: 767px) {
  .oyatsu-thanks-card {
    padding: 48px 28px 40px;
  }

  .oyatsu-thanks-logo img {
    height: 80px;
  }

  .oyatsu-thanks-title {
    font-size: 22px;
  }
}
