/* =============================================================================
   おふみさんのデザイン帖 — Main Stylesheet
   ============================================================================= */

/* =============================================================================
   1. CSS Variables (和モダンカラーパレット)
   ============================================================================= */
:root {
  /* Colors */
  --c-bg:            #FAF6F0;   /* 和紙ベージュ */
  --c-bg-alt:        #FEF9F5;   /* 少し白っぽい背景 */
  --c-sakura:        #F2A7BB;   /* 桜ピンク */
  --c-sakura-light:  #FDE8EE;   /* 淡い桜 */
  --c-sakura-dark:   #C85C7E;   /* 深い桜（ホバー等） */
  --c-green:         #2C4A3E;   /* 深緑（アクセント） */
  --c-green-mid:     #4A7A6A;   /* 中緑 */
  --c-green-light:   #E8F2EE;   /* 淡緑 */
  --c-gold:          #C9A96E;   /* 金色 */
  --c-gold-light:    #F0E4C8;   /* 淡金 */
  --c-text:          #3D2B2B;   /* 本文テキスト（温かい濃茶） */
  --c-text-sub:      #7A6060;   /* サブテキスト */
  --c-border:        #E8D5C4;   /* ボーダー */
  --c-white:         #FFFFFF;

  /* Typography */
  --font-serif:      'Shippori Mincho', 'Noto Serif JP', 'Yu Mincho', serif;
  --font-body:       'Noto Serif JP', 'Yu Mincho', serif;

  /* Layout */
  --container:       1100px;
  --header-h:        72px;
  --section-py:      96px;

  /* Effects */
  --radius:          4px;
  --radius-lg:       12px;
  --shadow-sm:       0 2px 12px rgba(61, 43, 43, 0.07);
  --shadow-md:       0 4px 28px rgba(61, 43, 43, 0.11);
  --shadow-lg:       0 8px 48px rgba(61, 43, 43, 0.14);
  --transition:      0.3s ease;
}

/* =============================================================================
   2. Reset & Base
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.85;
  color: var(--c-text);
  background-color: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--c-sakura-dark);
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}
a:hover { color: var(--c-sakura); }

ul, ol { list-style: none; }

/* =============================================================================
   3. Typography
   ============================================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.5;
  color: var(--c-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* Entry content (WP body) */
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2em;
  margin-bottom: 0.75em;
}
.entry-content p { margin-bottom: 1.4em; }
.entry-content ul,
.entry-content ol {
  list-style: revert;
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.entry-content blockquote {
  border-left: 3px solid var(--c-sakura);
  padding: 1em 1.4em;
  margin: 1.5em 0;
  background: var(--c-sakura-light);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: normal;
  color: var(--c-text-sub);
}
.entry-content img {
  border-radius: var(--radius-lg);
  margin: 1.5em 0;
}

/* =============================================================================
   4. Layout Utilities
   ============================================================================= */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}
.section--alt {
  background-color: var(--c-bg-alt);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-en {
  font-family: 'Shippori Mincho', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-sakura);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-family: var(--font-serif);
  color: var(--c-text);
  margin-bottom: 20px;
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--c-gold);
  font-size: 0.9rem;
}
.section-divider::before,
.section-divider::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--c-gold));
}
.section-divider::after {
  background: linear-gradient(to left, transparent, var(--c-gold));
}

.section-more {
  text-align: center;
  margin-top: 48px;
}

/* Vertical text utility */
.vertical-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* Content area (sidebar layout) */
.page-container {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 80px;
}
.content-area {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

/* =============================================================================
   5. Buttons
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  text-decoration: none;
  line-height: 1;
}
.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-primary {
  background-color: var(--c-sakura);
  color: var(--c-white);
  border-color: var(--c-sakura);
}
.btn-primary:hover {
  background-color: var(--c-sakura-dark);
  border-color: var(--c-sakura-dark);
  color: var(--c-white);
}

.btn-outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn-outline:hover {
  border-color: var(--c-sakura);
  color: var(--c-sakura-dark);
}

.btn-text {
  background: transparent;
  color: var(--c-sakura-dark);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-text:hover {
  color: var(--c-sakura);
}

.btn-gold {
  background-color: var(--c-gold);
  color: var(--c-white);
  border-color: var(--c-gold);
}
.btn-gold:hover {
  background-color: #a8873f;
  border-color: #a8873f;
  color: var(--c-white);
}

/* =============================================================================
   6. Header & Navigation
   ============================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background-color: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.site-logo-text {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--c-text);
  line-height: 1.2;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-text);
}
.logo-tagline {
  font-size: 0.65rem;
  color: var(--c-text-sub);
  letter-spacing: 0.1em;
}
.custom-logo {
  max-height: 52px;
  width: auto;
}

/* Nav Menu */
.site-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-menu li a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--c-text);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li.current-menu-item > a {
  color: var(--c-sakura-dark);
  background: var(--c-sakura-light);
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--c-text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================================
   7. Hero Section
   ============================================================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: linear-gradient(145deg, #FAF6F0 0%, #FDE8EE 40%, #FAF6F0 100%);
}

/* 和紙っぽい背景パターン */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F2A7BB' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.5;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 80px;
  width: 100%;
}

/* 縦書きキャッチコピー */
.hero-left {
  flex-shrink: 0;
}
.hero-catch {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--c-text-sub);
  line-height: 2.2;
  height: 320px;
  animation: fadeIn 1.4s ease both;
}

.hero-center {
  flex: 1;
  min-width: 0;
}
.hero-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--c-sakura);
  text-transform: uppercase;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.35s both;
}
.hero-title em {
  font-style: normal;
  color: var(--c-sakura-dark);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--c-sakura), var(--c-gold));
  border-radius: 2px;
  opacity: 0.5;
}
.hero-desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: var(--c-text-sub);
  line-height: 2;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.5s both;
}
.hero-sub {
  display: block;
  font-size: 0.85em;
  color: var(--c-sakura);
  margin-top: 4px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.65s both;
}

/* Hero Image */
.hero-right {
  flex-shrink: 0;
  width: clamp(240px, 30vw, 380px);
  animation: fadeIn 1s ease 0.4s both;
}
.hero-image-frame {
  position: relative;
  border-radius: 8px 40px 8px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-sakura-light);
  aspect-ratio: 3 / 4;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--c-sakura-light), var(--c-gold-light));
}
.placeholder-icon { font-size: 3rem; }
.placeholder-text {
  font-size: 0.85rem;
  color: var(--c-text-sub);
  text-align: center;
  line-height: 1.8;
}

/* Frame decorations */
.hero-frame-deco {
  position: absolute;
  width: 48px;
  height: 48px;
}
.hero-frame-deco--tl {
  top: -1px; left: -1px;
  border-top: 2px solid var(--c-gold);
  border-left: 2px solid var(--c-gold);
  border-radius: 8px 0 0 0;
}
.hero-frame-deco--br {
  bottom: -1px; right: -1px;
  border-bottom: 2px solid var(--c-gold);
  border-right: 2px solid var(--c-gold);
  border-radius: 0 0 40px 0;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: fadeIn 1s ease 1.2s both;
}
.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--c-text-sub);
  text-transform: lowercase;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--c-text-sub), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* =============================================================================
   8. About Section
   ============================================================================= */
.about-section { padding-top: var(--section-py); padding-bottom: var(--section-py); }

.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}
.about-image-inner {
  border-radius: 4px 32px 4px 32px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 4;
  background: var(--c-sakura-light);
}
.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* 縦書き名前 */
.about-name-vertical {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
}
.about-name-vertical .vertical-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-border);
  line-height: 1;
}

.about-catch {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 24px;
}
.about-catch strong { color: var(--c-sakura-dark); }

.about-body p {
  color: var(--c-text-sub);
  margin-bottom: 1em;
}

.about-profile {
  margin: 28px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 16px 0;
}
.about-profile li {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--c-text-sub);
  border-bottom: 1px dashed var(--c-border);
}
.about-profile li:last-child { border-bottom: none; }
.about-profile li span {
  flex-shrink: 0;
  width: 48px;
  font-weight: 600;
  color: var(--c-gold);
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* =============================================================================
   9. Services Section
   ============================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card--primary {
  border-color: var(--c-sakura);
  box-shadow: 0 0 0 3px var(--c-sakura-light);
}

.service-card__deco {
  position: absolute;
  top: -12px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 800;
  color: var(--c-sakura-light);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}
.service-card--primary .service-card__deco {
  color: var(--c-sakura-light);
}

.service-card__icon {
  font-size: 1.5rem;
  color: var(--c-gold);
  margin-bottom: 12px;
}
.service-card__icon i {
  font-size: 1.4rem;
  line-height: 1;
}
.section-divider i {
  font-size: 0.75rem;
  color: var(--c-gold);
}
.service-card__title {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.service-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--c-sakura-dark);
  background: var(--c-sakura-light);
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.service-card__desc {
  font-size: 0.9rem;
  color: var(--c-text-sub);
  line-height: 1.8;
  margin-bottom: 20px;
}
.service-card__list {
  margin-bottom: 28px;
}
.service-card__list li {
  font-size: 0.88rem;
  color: var(--c-text);
  padding: 6px 0 6px 16px;
  position: relative;
  border-bottom: 1px dashed var(--c-border);
}
.service-card__list li:last-child { border-bottom: none; }
.service-card__list li::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";  /* fa-check */
  position: absolute;
  left: 0;
  color: var(--c-gold);
  font-size: 0.62rem;
  top: 50%;
  transform: translateY(-50%);
}

/* =============================================================================
   10. Blog Cards
   ============================================================================= */
.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card__thumb-link {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-sakura-light);
}
.blog-card__thumb-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__thumb-link img {
  transform: scale(1.04);
}
.blog-card__no-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--c-sakura-light), var(--c-gold-light));
}

.blog-card__body {
  padding: 20px 22px 24px;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.blog-card__meta time {
  font-size: 0.75rem;
  color: var(--c-text-sub);
  letter-spacing: 0.05em;
}
.blog-card__cat {
  font-size: 0.7rem;
  background: var(--c-green-light);
  color: var(--c-green);
  padding: 2px 8px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 500;
}
.blog-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 10px;
}
.blog-card__title a {
  color: var(--c-text);
  text-decoration: none;
  transition: color var(--transition);
}
.blog-card__title a:hover { color: var(--c-sakura-dark); }
.blog-card__excerpt {
  font-size: 0.82rem;
  color: var(--c-text-sub);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Blog card horizontal (archive / index) */
.blog-card-horizontal {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  transition: box-shadow var(--transition);
}
.blog-card-horizontal:hover { box-shadow: var(--shadow-md); }
.blog-card-horizontal + .blog-card-horizontal { margin-top: 24px; }

.blog-card-horizontal__thumb {
  display: block;
  overflow: hidden;
  background: var(--c-sakura-light);
}
.blog-card-horizontal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card-horizontal:hover .blog-card-horizontal__thumb img { transform: scale(1.04); }

.blog-card-horizontal__body {
  padding: 24px 28px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.blog-card-horizontal__title {
  font-size: 1.05rem;
}
.blog-card-horizontal__title a {
  color: var(--c-text);
}
.blog-card-horizontal__title a:hover { color: var(--c-sakura-dark); }
.blog-card-horizontal__excerpt {
  font-size: 0.87rem;
  color: var(--c-text-sub);
  line-height: 1.75;
}

/* Post meta */
.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.post-meta time {
  font-size: 0.78rem;
  color: var(--c-text-sub);
}
.post-meta .post-cats a {
  font-size: 0.72rem;
  background: var(--c-green-light);
  color: var(--c-green);
  padding: 2px 8px;
  border-radius: 20px;
  text-decoration: none;
}

/* =============================================================================
   11. CTA Section — Fumi Mail Studio Pro
   ============================================================================= */
.cta-section {
  position: relative;
  background-color: var(--c-green);
  padding: var(--section-py) 0;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A96E' fill-opacity='0.06'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* 縦書き装飾 */
.cta-deco-vertical {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  display: flex;
  align-items: center;
}
.cta-deco-vertical .vertical-text {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: rgba(201, 169, 110, 0.3);
  line-height: 2.5;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
}
.cta-content {
  flex: 1;
  min-width: 0;
}
.cta-powered {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--c-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--c-white);
  margin-bottom: 16px;
}
.cta-catch {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--c-gold-light);
  font-family: var(--font-serif);
  margin-bottom: 16px;
  line-height: 1.8;
}
.cta-catch em {
  font-style: normal;
  color: var(--c-gold);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 110, 0.5);
  text-underline-offset: 4px;
}
.cta-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 28px;
}
.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 36px;
}
.cta-features li {
  font-size: 0.88rem;
  color: var(--c-gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-check {
  color: var(--c-gold);
  font-weight: 700;
}

.cta-image-area {
  flex-shrink: 0;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-sakura-large {
  font-size: 7rem;
  opacity: 0.3;
  animation: floatSakura 4s ease-in-out infinite;
}

/* =============================================================================
   12. Contact Teaser
   ============================================================================= */
.contact-teaser { padding-top: var(--section-py); padding-bottom: var(--section-py); }
.contact-teaser-inner { text-align: center; }
.contact-teaser__text {
  font-size: 1rem;
  color: var(--c-text-sub);
  line-height: 2;
  margin-bottom: 32px;
}

/* =============================================================================
   13. Footer
   ============================================================================= */
.site-footer {
  background-color: var(--c-text);
  color: rgba(255,255,255,0.7);
}

.footer-widgets-area {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-widget-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-gold);
  display: inline-block;
}

.footer-bottom {
  padding: 28px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-white);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.footer-logo:hover { color: var(--c-sakura); }

.footer-menu {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.footer-menu li a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  padding: 4px 10px;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-menu li a:hover { color: var(--c-sakura); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0;
}

/* =============================================================================
   14. Single Post — 1カラム
   ============================================================================= */

/* ラッパー */
.single-outer {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 64px;
}
.single-container {
  max-width: 780px;
}

/* 記事本体 */
.single-post {
  margin-bottom: 56px;
}
.single-post__header {
  margin-bottom: 40px;
}
.single-post__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.single-post__meta time {
  font-size: 0.8rem;
  color: var(--c-text-sub);
  letter-spacing: 0.05em;
}
.single-post__title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  line-height: 1.5;
  margin-bottom: 28px;
  font-family: var(--font-serif);
}
.single-post__eyecatch {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.single-post__eyecatch img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.single-post__content {
  margin-top: 40px;
  margin-bottom: 40px;
}
.single-post__tags {
  padding: 20px 0;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.single-post__tag-label {
  font-size: 0.8rem;
  color: var(--c-text-sub);
  flex-shrink: 0;
}
.single-post__tags a {
  display: inline-block;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--c-text-sub);
  transition: all var(--transition);
  text-decoration: none;
}
.single-post__tags a:hover {
  border-color: var(--c-sakura);
  color: var(--c-sakura-dark);
}

/* =============================================
   Author Bio
   ============================================= */
.author-bio {
  background: linear-gradient(145deg, #FAF6F0 0%, #FDE8EE 45%, #FAF6F0 100%);
  border: 1px solid var(--c-sakura-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
/* 和紙風ドットパターン（ヒーローと同じ） */
.author-bio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F2A7BB' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
/* 左側のアクセントライン */
.author-bio::after {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--c-sakura), var(--c-gold));
  border-radius: 0 2px 2px 0;
}
.author-bio__inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.author-bio__avatar {
  flex-shrink: 0;
}
.author-bio__img {
  width: 100px !important;
  height: 100px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 3px solid var(--c-sakura-light);
  display: block;
}
.author-bio__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--c-sakura);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.author-bio__name {
  font-size: 1.1rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 12px;
}
.author-bio__desc {
  font-size: 0.9rem;
  color: var(--c-text-sub);
  line-height: 1.9;
  margin-bottom: 16px;
}
.author-bio__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--c-sakura-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--c-sakura-light);
  padding-bottom: 2px;
  transition: all var(--transition);
}
.author-bio__link:hover {
  color: var(--c-sakura);
  border-bottom-color: var(--c-sakura);
}

/* =============================================
   前の記事 / 次の記事
   ============================================= */
.post-nav-area {
  margin-bottom: 64px;
}
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.post-nav-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--c-text);
  transition: all var(--transition);
}
.post-nav-card:hover {
  border-color: var(--c-sakura);
  box-shadow: var(--shadow-sm);
  color: var(--c-text);
}
.post-nav-card--empty {
  background: transparent;
  border: 1px dashed var(--c-border);
  pointer-events: none;
}
.post-nav-card--next {
  align-items: flex-end;
  text-align: right;
}
.post-nav-card__dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--c-sakura);
}
.post-nav-card--next .post-nav-card__dir {
  flex-direction: row-reverse;
}
.post-nav-card__thumb {
  width: 72px;
  height: 52px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}
.post-nav-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-nav-card__title {
  font-size: 0.88rem;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.55;
  color: var(--c-text);
}

/* =============================================
   関連記事カルーセル
   ============================================= */
.related-posts {
  padding: 56px 0 72px;
  background-color: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}
.related-posts__header {
  margin-bottom: 28px;
}
.related-posts__title {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
}
.related-posts__title i {
  color: var(--c-sakura);
  font-size: 1rem;
}

/* カルーセル本体 */
.carousel-wrap {
  position: relative;
  padding: 0 4px;
}
.carousel-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.carousel-track::-webkit-scrollbar {
  display: none;
}
.carousel-item {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
  min-width: 220px;
}

/* 矢印ボタン */
.carousel-btn {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  font-size: 0.82rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.carousel-btn:hover {
  background: var(--c-sakura);
  border-color: var(--c-sakura);
  color: var(--c-white);
  box-shadow: var(--shadow-md);
}
.carousel-btn:disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}
.carousel-btn--prev { left: -22px; }
.carousel-btn--next { right: -22px; }

/* =============================================================================
   15. Pages
   ============================================================================= */
.page-header {
  margin-bottom: 40px;
}
.page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.page-title-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--c-sakura), var(--c-gold));
  border-radius: 2px;
}
.page-content { margin-top: 8px; }

/* =============================================================================
   16. Sidebar & Widgets
   ============================================================================= */
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.widget {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.widget-title {
  font-size: 0.9rem;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-sakura-light);
}
.widget-title span {
  position: relative;
}
.widget-title span::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--c-sakura);
}
.widget ul li {
  padding: 7px 0;
  border-bottom: 1px dashed var(--c-border);
  font-size: 0.87rem;
}
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--c-text-sub); }
.widget ul li a:hover { color: var(--c-sakura-dark); }

/* =============================================================================
   17. Pagination
   ============================================================================= */
.pagination {
  margin-top: 48px;
}
.pagination .nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--c-text);
  text-decoration: none;
  transition: all var(--transition);
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--c-sakura);
  border-color: var(--c-sakura);
  color: var(--c-white);
}

/* =============================================================================
   18. No posts / Archive desc
   ============================================================================= */
.no-posts {
  color: var(--c-text-sub);
  font-size: 0.95rem;
  text-align: center;
  padding: 48px 0;
}
.archive-desc {
  text-align: center;
  color: var(--c-text-sub);
  font-size: 0.9rem;
  margin-top: -32px;
  margin-bottom: 8px;
}

/* =============================================================================
   19. 404 Page
   ============================================================================= */
.error-404 {
  text-align: center;
  padding: 80px 0;
}
.error-404__icon { font-size: 4rem; margin-bottom: 16px; }
.error-404__title {
  font-size: 5rem;
  font-weight: 800;
  color: var(--c-sakura-light);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 16px;
}
.error-404__message {
  color: var(--c-text-sub);
  line-height: 2;
  margin-bottom: 32px;
}

/* =============================================================================
   20. Sakura Petal Animation
   ============================================================================= */
#sakura-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.sakura-petal {
  position: absolute;
  top: -20px;
  border-radius: 50% 0 50% 0;
  animation: sakuraFall linear forwards;
  pointer-events: none;
  will-change: transform, opacity;
}

@keyframes sakuraFall {
  0% {
    top: -20px;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    top: 110vh;
    transform: translateX(var(--drift, 100px)) rotate(var(--rotation, 360deg));
    opacity: 0;
  }
}

/* =============================================================================
   21. Animations
   ============================================================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%       { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%       { transform: scaleY(1); transform-origin: bottom; }
  99%       { transform: scaleY(0); transform-origin: bottom; opacity: 0.3; }
}

@keyframes floatSakura {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-16px) rotate(8deg); }
}

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
   22. Responsive
   ============================================================================= */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .hero-catch { height: 260px; font-size: 0.9rem; }
  .about-layout { grid-template-columns: 240px 1fr; gap: 40px; }
  .about-name-vertical { display: none; }
  .blog-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { gap: 24px; }
  .cta-deco-vertical { display: none; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --section-py: 56px;
  }

  /* Header */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(250,246,240,0.97);
    backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--c-border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-menu li a {
    padding: 12px 8px;
    font-size: 1rem;
    border-radius: 0;
    border-bottom: 1px solid var(--c-border);
  }
  .nav-menu li:last-child a { border-bottom: none; }

  /* Hero */
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 5px;
    padding-top: 24px;
    padding-bottom: 110px;
  }
  .hero-left { display: none; }
  /* hero-center の子要素を hero-inner の flex 子として直接並べる */
  .hero-center { display: contents; }
  .hero-label  { order: 1; }
  .hero-title  { order: 2; }
  .hero-right  {
    width: 240px;
    order: 3;
    margin: 0 auto;
  }
  .hero-desc  { order: 4; margin-bottom: 0; }
  .hero-btns  { order: 5; justify-content: center; }
  /* scroll-hint が被らないよう padding-bottom を十分に確保（scroll-hint 高さ約70px＋下余白32px） */
  .hero-scroll-hint { display: flex; }

  /* About */
  .about-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-image-inner { max-width: 260px; margin: 0 auto; aspect-ratio: 1/1; border-radius: 50%; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Blog */
  .blog-cards-grid { grid-template-columns: 1fr; }

  /* Blog horizontal */
  .blog-card-horizontal {
    grid-template-columns: 1fr;
  }
  .blog-card-horizontal__thumb {
    aspect-ratio: 16/7;
  }
  .blog-card-horizontal__body {
    padding: 16px 20px 20px;
  }

  /* Content area (remove sidebar on mobile) */
  .content-area {
    grid-template-columns: 1fr;
  }
  .sidebar { display: none; }

  /* CTA */
  .cta-inner { flex-direction: column; gap: 32px; text-align: center; }
  .cta-image-area { display: none; }
  .cta-features { justify-content: center; }

  /* Footer */
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .footer-menu { justify-content: center; }

  /* Post nav */
  .post-navigation { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-right { width: 200px; }
  .btn { padding: 12px 24px; }
  .service-card { padding: 28px 24px; }
}

/* =============================================================================
   Single Post — Responsive
   ============================================================================= */
@media (max-width: 768px) {
  .single-outer {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 40px;
  }
  /* Author bio */
  .author-bio { padding: 24px 20px; }
  .author-bio__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .author-bio__link { margin: 0 auto; }
  /* Post nav */
  .post-nav-grid { grid-template-columns: 1fr; }
  .post-nav-card--next {
    align-items: flex-start;
    text-align: left;
  }
  .post-nav-card--next .post-nav-card__dir {
    flex-direction: row;
  }
  /* Carousel */
  .carousel-item { flex: 0 0 calc((100% - 22px) / 2); }
  .carousel-btn--prev { left: -14px; }
  .carousel-btn--next { right: -14px; }
}

@media (max-width: 480px) {
  .carousel-item { flex: 0 0 82%; }
  .carousel-btn { display: none; }
  .author-bio { padding: 20px 16px; }
}
