/*
 Theme Name: arika2026
 Theme URI: https://arika.fun/
 Description: arika 独立オリジナルテーマ（旧 storefront-child からの構造最適化版。WooCommerce不使用、Storefrontに非依存）。デザインは旧テーマを踏襲。
 Author: Keiichi
 Version: 1.0.0
 Text Domain: arika2026
*/

/* =========================================================
   レイアウト修正：サイドバー（widget-area）を使用しないため、
   Storefront由来の content-area の float/幅指定（768px以上で
   幅73.9%のfloat:leftとなり、以降のフッター等が右側の空きスペースに
   回り込んで表示される不具合）を解除し、常に全幅・float無しにする。
   ========================================================= */

.content-area {
  width: 100% !important;
  float: none !important;
  margin-right: 0 !important;
}

/* =========================================================
   arika header 調整：上部余白を除去
   ========================================================= */

.site-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

.arika-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* PC（デフォルト）：ロゴサイズ */
.arika-logo {
  width: 200px;
  max-width: 80%;
  display: block;
  margin: 0 auto;
}

/* スマホ：ロゴ縮小 */
@media (max-width: 767.98px){
  .arika-logo {
    width: 120px;
    max-width: 60%;
    margin-bottom: 0.75rem !important;
  }
}

/* =========================================================
   arika footer
   ========================================================= */

footer.arika-footer {
  background-color: #0b1f3a;
  color: #ffffff;
}

footer.arika-footer a,
footer.arika-footer .footer-link {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.85;
}

footer.arika-footer a:hover,
footer.arika-footer .footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

footer.arika-footer p {
  margin-bottom: 0.5rem;
}

/* 左右の距離基準ボックス */
.footer-side-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* 中央の住所・連絡先ブロック */
.footer-address-block {
  max-width: 520px;
  text-align: left;
}

/* =========================================================
   INFORMATION / 共通UI
   ========================================================= */

.information-section .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.information-section .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   融合ケアセクション
   ========================================================= */

.fusion-title {
  color: #1a355d;
}

.fusion-subtitle {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a355d;
  margin-bottom: 1rem;
}

.fusion-text {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

/* =========================================================
   商品購入リンク（ボタン）
   ========================================================= */

.product-link {
  display: inline-block;
  padding: 0.6em 2.2em;
  border: 1px solid #1a355d;
  color: #1a355d;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.product-link:hover {
  background-color: #1a355d;
  color: #ffffff;
  text-decoration: none;
}

/* =========================================================
   商品写真群（左カラム）レイアウト調整
   ========================================================= */

.product-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-visual img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
}

/* =========================================================
   voice：thank you 調整
   ========================================================= */

.voice-thankyou img {
  max-width: 520px;
  width: 100%;
}

/* =========================================================
   スマホ専用：レスポンシブ全般調整
   ========================================================= */

@media (max-width: 767.98px) {
  .footer-address-block,
  .footer-address-block p {
    text-align: center;
  }

  .voice-thankyou img {
    max-width: 320px;
  }

  .product-link {
    font-size: 0.85rem;
    padding: 0.6em 1.8em;
  }

  .product-lineup-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
  }
}

/* =========================================================
   全体背景の強制リセット
   ========================================================= */

body,
#page,
.site,
.site-content {
  background-color: #ffffff !important;
}

.site-main section {
  background-color: #ffffff;
}

/* =========================================================
   サロン紹介画像サイズ
   ========================================================= */

.salon-img {
  width: 100%;
  max-width: 520px;
}

/* =========================================================
   header.php のインラインstyleから移設（見た目は変更なし）
   ========================================================= */
body {
  background-color: #fff;
  color: #000;
}

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

.navbar-brand {
  font-weight: bold;
  color: #000 !important;
}

.navbar-nav .nav-link {
  color: #000 !important;
}

.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.7)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
