@charset "UTF-8";

/**
 * common.css
 * 全ページ共通のスタイル定義
 */

:root {
    /* デフォルト：Calm & Gold */
    --primary-color: #1a1c1e;   /* 深い紺色 */
    --accent-color: #d4af37;    /* 上品なゴールド */
    --calm-blue: #75bdcf;       /* 落ち着いた水色 */
    --calm-bg: #f8f9fa;         /* 清潔感のあるグレーホワイト */
    --white: #ffffff;
    --text-main: #333333;
    --text-sub: #666666;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 桜ピンク・テーマ */
body.theme-pink {
    --primary-color: #4a2c2c;   /* 深いココアブラウン */
    --accent-color: #e5989b;    /* 優しいくすみピンク */
    --calm-blue: #ffb4a2;       /* 暖かみのあるコーラル */
    --calm-bg: #fff5f5;         /* 淡いピンクベージュ */
}

/* オーシャンブルー・テーマ */
body.theme-blue {
    --primary-color: #1b263b;   /* 深海のようなネイビー */
    --accent-color: #48cae4;    /* 透き通ったブルー */
    --calm-blue: #90e0ef;       /* 爽やかなスカイブルー */
    --calm-bg: #f0f9ff;         /* 涼しげなアイスブルー */
}

/* 旧変数との互換性のためのエイリアス */
:root {
    --cal-dark: var(--primary-color);
    --calm-dark: var(--primary-color);
    --calm-gold: var(--accent-color);
    --calm-gold-light: rgba(212, 175, 55, 0.1); /* ここは本来動的にしたいが一旦固定 */
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--calm-bg);
    color: var(--calm-dark);
    font-size: var(--base-font-size);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#wrapper {
    width: 100%;
    overflow: hidden;
}

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

/*// 共通ボタン（ちこが修正しやすいように）/*// テーマ切り替えパネル（デモ用） //-->*/
#theme-selector {
    position: fixed;
    right: 20px;
    bottom: 30px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.05);
}

.selector-label {
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #999;
}

.selector-btns {
    display: flex;
    gap: 10px;
}

.theme-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid white;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.theme-btn:hover { transform: scale(1.2); }
.theme-btn.active { transform: scale(1.2); border-color: var(--calm-blue); }

.theme-btn.gold { background-color: #d4af37; }
.theme-btn.pink { background-color: #e5989b; }
.theme-btn.blue { background-color: #48cae4; }

@media (max-width: 767px) {
    #theme-selector {
        right: 10px;
        bottom: 20px;
        padding: 8px;
    }
    .theme-btn { width: 20px; height: 20px; }
}

.btn-contact {
    background-color: var(--calm-blue);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    display: inline-block;
}

.btn-contact:hover {
    opacity: 0.8;
}

/*// ヘッダー基本スタイル //-->*/
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-container {
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 28px;
    width: auto;
    display: block;
}

/*// ナビゲーションの出し分け（4段階ブレイクポイント） //-->*/
.pc-nav { display: none; }
.mob-nav { display: block; }

/* TB以上 (768px〜) でPCナビを表示 */
@media (min-width: 768px) {
    .nav-container { height: 80px; }
    .header-logo { height: 36px; }
    .pc-nav { display: block; }
    .mob-nav { display: none; }
}

/* PC (1025px〜) でさらに大きく */
@media (min-width: 1025px) {
    .header-logo { height: 44px; }
}

.pc-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.pc-nav ul li a {
    text-decoration: none;
    color: var(--calm-dark);
    font-weight: bold;
    font-size: 14px;
}

.pc-nav ul li a:hover {
    color: var(--calm-blue);
}

.btn-contact-sp {
    background-color: var(--calm-blue);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px; /* 12pxから14pxにアップ */
    font-weight: bold;
}

/*// レスポンシブ用 読点・改行制御（新基準） //-->*/
.responsive-comma { display: inline !important; }
.responsive-br { display: none !important; }

/* SM以上 (480px〜) で改行を有効化（ちこのしっくりくる設定） */
@media (min-width: 480px) {
    .responsive-comma { display: none !important; }
    .responsive-br { display: block !important; }
}

/*// フッター基本スタイル //-->*/
#main-footer {
    background-color: var(--calm-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

/* TB以上 (768px〜) で横並びに */
@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    font-size: 20px;
    font-weight: bold;
}

.logo-main { color: var(--white); }
.logo-sub { color: var(--calm-blue); }

.copyright {
    font-size: 14px; /* 12pxから14pxにアップ */
    color: rgba(255, 255, 255, 0.4);
}

/*// お問い合わせセクション詳細 //-->*/
#contact-area {
    background-color: var(--calm-dark);
    padding: 80px 0;
    color: var(--white);
}

@media (min-width: 768px) {
    #contact-area { padding: 120px 0; }
}

.contact-title {
    text-align: center;
    font-size: 26px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .contact-title { font-size: 32px; }
}

.contact-subtitle {
    text-align: center;
    color: var(--calm-blue);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 16px; /* 14pxから16pxにアップ */
}

@media (min-width: 768px) {
    .contact-subtitle { font-size: 16px; margin-bottom: 60px; }
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 15px; /* 13pxから15pxにアップ */
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--white);
    font-size: 16px;
    outline: none;
    transition: 0.3s;
    box-sizing: border-box; /* paddingによるはみ出し防止 */
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--calm-blue);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(117, 189, 207, 0.3); /* ふわっと光る */
}

/* プレースホルダー（入力見本）の文字色 */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5); /* 読みやすい明るさにアップ */
}

/* 送信中状態のスタイル */
.btn-submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
    color: transparent;
}

.btn-submit.is-loading::after {
    content: "送信中...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 16px;
}

.btn-submit {
    width: 100%;
    background-color: var(--calm-blue);
    color: var(--white);
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/*// スクロールアニメーション（Reveal）基本 //-->*/
.reveal {
    opacity: 0;
    transition: 1.2s all ease;
}

/* 下からふわっ */
.reveal-up {
    transform: translateY(30px);
}

/* 左からふわっ */
.reveal-left {
    transform: translateX(-30px);
}

/* 右からふわっ */
.reveal-right {
    transform: translateX(30px);
}

/* アクティブ時（スクロールで表示された時） */
.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* 連続する要素のディレイ（ちこが調整しやすいように） */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }
