/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

/* ヘッダー全体のスタイル */
.header {
    background-color: white;
    padding: 5px;
    width: 100%;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    margin: auto;
}

/* 左側の画像 */
.header-left-image {
    flex-shrink: 0;
}

.header-left-image img {
    max-height: 80px;
    width: auto;
}

/* 中央のロゴ */
.header-logo {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 48px;
    font-weight: 700; /* より太くして見やすく */
    text-align: center;
    flex-grow: 1;
    margin: 0 20px;
    position: relative;
    
    /* グラデーション効果（より鮮明に） */
    background: linear-gradient(
        180deg,
        #9DE3FF 20%,
        #00BBFF 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    -webkit-text-stroke: 0.5px #00A7E7;
}

/* グラデーションが効かない場合の代替スタイル */
@supports not (-webkit-background-clip: text) {
    .header-logo {
        color: #00BBFF;
    }
}

/* 「あ」の文字だけ白くするスタイル + しずく背景画像 */
.white-character {
    /* 白文字用の設定 */
    background-color: transparent !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: white !important;
    background-clip: initial !important;
    color: white !important;
    
    /* しずく型背景画像の追加 */
    background-image: url('shizuku.png') !important;
    background-size: 80px 80px;
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-block;
    padding: 10px 5px;
    position: relative;
    text-align: center;
    margin: 0 -5px;
    vertical-align: baseline;
}

/* 右側のキャッチコピー部分 */
.header-right {
    flex-shrink: 0;
    text-align: right;
}

.catchcopy {
    font-size: 20px;
    font-weight: bold;
    color: #8B4513;
    margin-bottom: 5px;
}

.since-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.since-text {
    font-size: 16px;
    color: #8B4513;
    font-weight: 500;
}

.company-logo {
    max-height: 30px;
    width: auto;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .header-container {
        text-align: center;
        gap: 10px;
    }
    
    /* 左側の画像をスマホ版で小さく */
    .header-left-image img {
        max-height: 50px;
    }
    
    .header-logo {
        font-size: 20px;
        margin: 10px 0;
    }

    .white-character {
        /* しずく型背景画像の追加 */
        background-image: url('shizuku.png') !important;
        background-size: 50px 50px;
        background-repeat: no-repeat;
        background-position: center center;
        display: inline-block;
        padding: 10px 5px;
        position: relative;
        text-align: center;
        margin: 0 -5px;
        vertical-align: baseline;
    }
    
    .header-right {
        text-align: center;
    }
    
    .since-section {
        justify-content: center;
    }

    .catchcopy {
        font-size: 15px;
    }

    .since-text {
        font-size: 12px;
    }

    .header-left-image img {
        max-height: 50px;
        width: auto;
    }

    .company-logo {
        max-height: 18px;
        width: auto;
    }
}