/* ================================================
   SkyCrest — Zoho Commerce Custom CSS
   Paste this in: 設定 → テンプレート → カスタムCSS
   ================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Noto+Serif+JP:wght@300;400&display=swap');

/* --- Design Tokens --- */
:root {
  --sc-royal:        #1a3a6b;
  --sc-royal-dark:   #122a52;
  --sc-royal-light:  #e8eef7;
  --sc-black:        #0f0f0f;
  --sc-gray:         #6b6b6b;
  --sc-gray-light:   #f5f5f3;
  --sc-border:       rgba(15, 15, 15, 0.10);
  --sc-white:        #ffffff;
  --ff-en:           'Cormorant Garamond', Georgia, serif;
  --ff-ja:           'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --max-w:           1160px;
  --header-h:        68px;
}

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

body.sc-body {
  font-family: var(--ff-ja);
  font-weight: 300;
  color: var(--sc-black);
  background: var(--sc-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
}

/* Hide Zoho Commerce default cart / wishlist icons if not needed */
.theme-cart-area,
.theme-wishlist-area {
  display: none !important;
}

/* --- Typography helpers --- */
.sc-eyebrow {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sc-gray);
  display: block;
  margin-bottom: 10px;
}
.sc-eyebrow--center { text-align: center; }

.sc-accent { color: var(--sc-royal); }

/* --- Container --- */
.sc-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.sc-container--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ================================================
   HEADER
   ================================================ */
.sc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #0b2045;
  border-bottom: 0.5px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s;
}
.sc-header--scrolled {
  border-bottom-color: rgba(255,255,255,0.12);
}
.sc-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.sc-logo { display: flex; align-items: center; text-decoration: none; }
.sc-logo__img { height: 36px; width: auto; filter: brightness(0) invert(1); }

/* Fallback text logo if image not set */
.sc-logo:not(:has(img)) .sc-logo__img::after,
.sc-logo .sc-logo__text {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #f0f5fb;
}

/* Nav */
.sc-nav__list {
  display: flex;
  gap: 36px;
  list-style: none;
}
.sc-nav__link {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,245,251,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.sc-nav__link:hover {
  color: #f0f5fb;
}

/* Hamburger (mobile) */
.sc-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.sc-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(240,245,251,0.7);
  transition: transform 0.3s, opacity 0.3s;
}
.sc-hamburger--open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.sc-hamburger--open span:nth-child(2) { opacity: 0; }
.sc-hamburger--open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ================================================
   MAIN & SECTION SPACING
   ================================================ */
.sc-main { padding-top: var(--header-h); }

.sc-section {
  padding: 96px 0;
  border-bottom: 0.5px solid var(--sc-border);
}
.sc-section__title {
  font-family: var(--ff-ja);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-align: center;
  margin-bottom: 56px;
  color: var(--sc-black);
}

/* ================================================
   HERO
   ================================================ */
.sc-hero {
  position: relative;
  padding: 40px 48px;
  text-align: center;
  overflow: hidden;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

/* 背景グラデーション */
.sc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    #1a3a6b 0%,
    #2471a3 25%,
    #3498db 50%,
    #76b9e6 75%,
    #c5e3f7 100%
  );
  z-index: 0;
}

/* 暗めオーバーレイ */
.sc-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg,
    rgba(8,24,60,0.10) 0%,
    rgba(8,24,60,0.20) 100%
  );
  z-index: 1;
}

/* 虹SVG — デスクトップ */
.sc-hero__rainbow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.sc-hero__rainbow--mobile { display: none; }

.sc-hero__inner {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
}

.sc-hero__eyebrow {
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.18);
}

.sc-hero__en {
  font-family: var(--ff-en);
  font-size: clamp(40px, 7vw, 64px);
  font-weight: 300;
  letter-spacing: 0.07em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.sc-hero__en em {
  color: #e8c84a;
  font-style: italic;
}

.sc-hero__line {
  width: 32px;
  height: 0.5px;
  background: rgba(255,255,255,0.70);
  margin: 0 auto 14px;
}

.sc-hero__ja {
  font-size: 13px;
  font-weight: 400;
  line-height: 2.1;
  letter-spacing: 0.09em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 6px rgba(0,0,0,0.12);
}

/* ================================================
   BUTTONS
   ================================================ */
.sc-btn {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 40px;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  border: 0.5px solid transparent;
}
.sc-btn--primary {
  background: var(--sc-royal);
  color: var(--sc-white);
  border-color: var(--sc-royal);
}
.sc-btn--primary:hover {
  background: var(--sc-royal-dark);
  border-color: var(--sc-royal-dark);
}
.sc-btn--ghost {
  background: transparent;
  color: var(--sc-black);
  border-color: rgba(15,15,15,0.25);
}
.sc-btn--ghost:hover {
  border-color: var(--sc-royal);
  color: var(--sc-royal);
}

/* ================================================
   4 PILLARS
   ================================================ */
.sc-pillars-section { background: var(--sc-white); }

.sc-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 0.5px solid var(--sc-border);
}

.sc-pillar {
  padding: 40px 28px 44px;
  border-right: 0.5px solid var(--sc-border);
  transition: background 0.25s;
}
.sc-pillar:last-child { border-right: none; }
.sc-pillar:hover { background: var(--sc-gray-light); }

.sc-pillar__num {
  display: block;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--sc-royal);
  margin-bottom: 16px;
}
.sc-pillar__bar {
  width: 20px;
  height: 0.5px;
  background: var(--sc-royal);
  margin-bottom: 20px;
}
.sc-pillar__title {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: var(--sc-black);
}
.sc-pillar__desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
  color: var(--sc-gray);
}

/* ================================================
   PHILOSOPHY
   ================================================ */
.sc-philosophy {
  background: var(--sc-gray-light);
  text-align: center;
}

.sc-phil__quote {
  font-family: var(--ff-ja);
  font-size: clamp(17px, 2.4vw, 22px);
  font-weight: 400;
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: var(--sc-black);
  margin-bottom: 24px;
  font-style: normal;
  border-left: none;
  padding: 0;
}
.sc-phil__en {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 15px;
  font-weight: 300;
  line-height: 2;
  letter-spacing: 0.03em;
  color: var(--sc-gray);
}

/* ================================================
   SERVICES
   ================================================ */
.sc-services { background: var(--sc-white); }

.sc-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 0.5px solid var(--sc-border);
}

.sc-svc-card {
  padding: 52px 44px;
  border-right: 0.5px solid var(--sc-border);
  transition: background 0.25s;
}
.sc-svc-card:last-child { border-right: none; }
.sc-svc-card:hover { background: var(--sc-gray-light); }

.sc-svc-card__icon {
  color: var(--sc-royal);
  margin-bottom: 24px;
}
.sc-svc-card__title {
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  color: var(--sc-black);
  line-height: 1.6;
}
.sc-svc-card__desc {
  font-size: 13px;
  font-weight: 300;
  line-height: 2;
  color: var(--sc-gray);
  margin-bottom: 28px;
}
.sc-svc-card__link {
  display: inline-block;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sc-royal);
  text-decoration: none;
  border-bottom: 0.5px solid var(--sc-royal);
  padding-bottom: 3px;
  transition: opacity 0.2s;
}
.sc-svc-card__link:hover { opacity: 0.65; }

/* ================================================
   CONTACT
   ================================================ */
.sc-contact { background: var(--sc-white); }

.sc-contact__intro {
  font-size: 13px;
  font-weight: 300;
  line-height: 2.4;
  color: var(--sc-gray);
  letter-spacing: 0.06em;
  text-align: center;
  margin-bottom: 48px;
}

.sc-form-wrap {
  margin-bottom: 56px;
}

/* Zoho Forms iframe wrapper */
.sc-form-wrap iframe {
  border: none;
  width: 100%;
}

.sc-map {
  border: 0.5px solid var(--sc-border);
  overflow: hidden;
}
.sc-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* ================================================
   FOOTER
   ================================================ */
.sc-footer {
  border-top: 0.5px solid rgba(255,255,255,0.07);
  background: #0a1a35;
}
.sc-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.sc-footer__logo {
  font-family: var(--ff-en);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: rgba(240,245,251,0.6);
  display: block;
  margin-bottom: 8px;
}
.sc-footer__tagline {
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,245,251,0.28);
}
.sc-footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-footer__nav a {
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,245,251,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.sc-footer__nav a:hover { color: rgba(240,245,251,0.8); }
.sc-footer__contact p {
  font-size: 12px;
  font-weight: 300;
  color: rgba(240,245,251,0.35);
  line-height: 2;
}
.sc-footer__contact a {
  color: #a8c4e8;
  text-decoration: none;
}

.sc-footer__bottom {
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding: 20px 48px;
  text-align: center;
  background: #0a1a35;
}
.sc-footer__bottom p {
  font-family: var(--ff-en);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(240,245,251,0.2);
}

/* ================================================
   RESPONSIVE — Tablet
   ================================================ */
@media (max-width: 960px) {
  .sc-pillars {
    grid-template-columns: repeat(2, 1fr);
  }
  .sc-pillar:nth-child(2) { border-right: none; }
  .sc-pillar:nth-child(1),
  .sc-pillar:nth-child(2) {
    border-bottom: 0.5px solid var(--sc-border);
  }
  .sc-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   RESPONSIVE — Mobile
   ================================================ */
@media (max-width: 640px) {
  .sc-container,
  .sc-container--narrow { padding: 0 24px; }

  .sc-header__inner { padding: 0 24px; }
  .sc-hamburger { display: flex; }
  .sc-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #0b2045;
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
    padding: 24px;
  }
  .sc-nav--open { display: block; }
  .sc-nav__list {
    flex-direction: column;
    gap: 20px;
  }

  .sc-hero { padding: 36px 24px; }
  .sc-hero__en { font-size: clamp(32px, 9vw, 48px); }
  .sc-hero__ja { font-size: 12px; letter-spacing: 0.06em; }
  .sc-hero__rainbow--desktop { display: none; }
  .sc-hero__rainbow--mobile  { display: block; }
  .sc-section { padding: 72px 0; }

  .sc-pillars { grid-template-columns: 1fr; }
  .sc-pillar { border-right: none; border-bottom: 0.5px solid var(--sc-border); }
  .sc-pillar:last-child { border-bottom: none; }

  .sc-svc-grid { grid-template-columns: 1fr; }
  .sc-svc-card { border-right: none; border-bottom: 0.5px solid var(--sc-border); }
  .sc-svc-card:last-child { border-bottom: none; }
  .sc-svc-card { padding: 40px 24px; }

  .sc-footer__inner { grid-template-columns: 1fr; }
  .sc-footer__inner,
  .sc-footer__bottom { padding-left: 24px; padding-right: 24px; }
}

/* ================================================
   ZOHO COMMERCE — ヒーロー上書き
   既存の .zphero-slide に背景・虹・テキストスタイルを適用
   ================================================ */

/* Googleフォント読み込み */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300;1,400&family=Noto+Serif+JP:wght@300;400&display=swap');

/* ヒーロー全体の背景 */
.theme-banner .zphero-slide {
  position: relative;
  background: linear-gradient(135deg,
    #1a3a6b 0%,
    #2471a3 25%,
    #3498db 50%,
    #76b9e6 75%,
    #c5e3f7 100%
  ) !important;
  min-height: 40vh;
  overflow: hidden;
}

/* スライド内の画像背景を無効化 */
.theme-banner .zphero-slide .zpslider-img {
  display: none !important;
}

/* ヒーローコンテンツエリア */
.theme-banner .zphero-slide .zphero-slider-container {
  position: relative;
  z-index: 1;
  padding: 40px 48px;
  text-align: center;
}

/* ヒーロー内のテキスト全体を中央揃えに */
.theme-banner .zphero-slide .zpcontainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.theme-banner .zphero-slide .zprow {
  justify-content: center !important;
  width: 100%;
}

.theme-banner .zphero-slide .zpelem-col {
  text-align: center !important;
}

/* ヒーロー見出し（FOR YOUR SMILE） */
.theme-banner .zphero-slide .zpheading {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(36px, 6vw, 64px) !important;
  font-weight: 300 !important;
  letter-spacing: 0.07em !important;
  line-height: 1.05 !important;
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
  text-align: center !important;
  margin-bottom: 14px !important;
}

/* ヒーローのサブテキスト */
.theme-banner .zphero-slide .zptext {
  font-family: 'Noto Serif JP', serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 2.1 !important;
  letter-spacing: 0.09em !important;
  color: rgba(255,255,255,0.92) !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.12) !important;
  text-align: center !important;
}

.theme-banner .zphero-slide .zptext p {
  color: rgba(255,255,255,0.92) !important;
}

/* ヒーロー内ボタンを非表示（不要な場合） */
.theme-banner .zphero-slide .zpelem-button {
  display: none !important;
}

/* スライダーの矢印・ドットを非表示 */
.zsslider-arrows-container,
.zsslider-controller-container {
  display: none !important;
}

/* ===== モバイル対応 ===== */
@media (max-width: 640px) {
  .theme-banner .zphero-slide .zphero-slider-container {
    padding: 36px 20px;
  }

  .theme-banner .zphero-slide .zpheading {
    font-size: clamp(28px, 8vw, 44px) !important;
  }

  .theme-banner .zphero-slide .zptext {
    font-size: 12px !important;
    letter-spacing: 0.05em !important;
  }
}

/* Store Menuを非表示 */
.theme-nav-menu a[href*="storemenu"],
.theme-nav-menu li.store-menu {
  display: none !important;
}

/* 柱セクションのフォント */
.zpicons-with-heading-text .zpheading,
.zpicons-with-heading-text .zptext {
  font-family: 'Noto Serif JP', serif !important;
  font-weight: 300 !important;
}

/* ヘッダーロゴエリアの余白を削減 */
.theme-header {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.theme-logo-area {
  padding: 12px 0 !important;
}

.theme-logo-area img {
  max-height: 60px !important;
  width: auto !important;
}

.theme-banner .zphero-slide {
  min-height: 200px !important;
}

/* ヘッダーを透明に */
.theme-header,
.theme-menubar,
.theme-topbar {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* メニュー文字を白に */
.theme-menubar a,
.theme-topbar a {
  color: rgba(255,255,255,0.85) !important;
}
