/* 
 * 天地ホーム薬局グループ 新デザイン・スタイルシート
 * 中〜高齢者向けに、見やすさと押しやすさを最優先
 */

:root {
    --primary-blue: #4a90e2;        /* 柔らかなメインブルー */
    --accent-green: #62c68a;        /* 安心感のあるグリーン */
    --bg-light: #f4f7f9;           /* 目に優しい背景色 */
    --text-main: #333333;          /* コントラストを抑えた、濃いグレーの文字 */
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans JP", "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 20px; /* 全体的に大きめのフォント */
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ヘッダー */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 50px;
}

.header-contact {
    text-align: right;
}

.tel {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    display: block;
}

.hours {
    font-size: 14px;
    color: #666;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, #e6f3ff 0%, #ffffff 100%);
    padding: 60px 20px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    text-align: right;
}

.hero-visual img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 100%;
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #2c3e50;
    line-height: 1.3;
}

/* ヒーローボタンの並び */
.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* メインボタン：LINE処方箋送信 */
.btn-main {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 24px 30px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    flex: 1;
    min-width: 280px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.btn-line { background-color: #06C755; box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3); }
.btn-homecare { background-color: #4a90e2; box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3); }

.btn-main:hover {
    transform: scale(1.02);
}

.btn-main span {
    font-size: 13px;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.9;
}

/* 見出しアイコン（店舗名のみに適用） */
.store-item h3 {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
}

.store-item h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url(../images/icon-capsule.jpg) no-repeat center center;
    background-size: contain;
}

h2, h3 {
    margin-bottom: 20px;
}

/* 3カラムセクション */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.card {
    background: #fbfbfc;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.card .btn-more {
    display: inline-block;
    background: var(--primary-blue);
    color: #fff;
    padding: 10px 30px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: bold;
}

/* フォームリンク：友達登録・問診票 */
.minor-links {
    text-align: center;
    margin: 40px 0;
    padding: 0 20px;
}

.minor-links a {
    display: inline-block;
    font-size: 18px;
    color: #888;
    margin: 0 15px;
    text-decoration: underline;
}

/* ニュース・店舗詳細など */
.store-section {
    background-color: #fff;
    padding: 60px 20px;
}

.store-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.store-item {
    border-top: 4px solid var(--primary-blue);
    padding: 20px;
    background: #fdfdfd;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.store-item.coming-soon {
    border-top-color: #ccc;
    background-color: #f9f9f9;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

/* フッター */
footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 60px 20px;
    margin-top: 60px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: #cbd5e1;
}

.footer-nav a:hover {
    color: #fff;
}

/* レスポンシブ：スマホ用 */
@media (max-width: 768px) {
    body {
        font-size: 18px;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-main-line {
        font-size: 22px;
        padding: 20px;
    }
    
    .store-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
    }
}
