/* ---------------
   基本設定
   --------------- */
:root {
    --text-color: #333333;       /* 墨色 */
    --accent-color: #bf2e2e;     /* ロゴの落款に合わせた赤色 */
    --bg-gray: #f4f4f4;          /* 背景用グレー */
    --font-mincho: 'Noto Serif JP', serif; /* 見出し用 */
    --font-gothic: 'Noto Sans JP', sans-serif; /* 本文用 */
}

body {
    font-family: var(--font-gothic);
    color: var(--text-color);
    margin: 0;
    line-height: 1.8;
    background-color: #fff;
}

h1, h2, h3 {
    font-family: var(--font-mincho);
    font-weight: 900;
}

a { text-decoration: none; }
img { max-width: 100%; height: auto; }

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 80px 0; }
.bg-gray { background-color: var(--bg-gray); }

/* ---------------
   ヘッダー
   --------------- */
.header {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 60px;
}

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

.area-text {
    font-size: 0.8rem;
    color: #666;
    margin: 0;
}

.tel-btn {
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.5rem;
    font-family: var(--font-mincho);
    display: block;
    line-height: 1.2;
}

.tel-icon { color: var(--accent-color); }
.tel-sub { font-size: 0.8rem; font-weight: normal; }

/* ---------------
   ヒーローエリア
   --------------- */
.hero {
    /* 背景画像の指定 */
    background-image: url('hero-bg.jpg'); 
    background-size: cover;
    background-position: center;
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    background: rgba(255, 255, 255, 0.85);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
    text-align: left;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.hero-title {
    font-size: 3.5rem;
    margin: 0 0 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 0 #fff;
}

.marker {
    background: linear-gradient(transparent 60%, #ffd7d7 60%);
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(191, 46, 46, 0.4);
}

.btn-primary:hover {
    background-color: #a02323;
    transform: translateY(-2px);
}

/* ---------------
   選ばれる理由
   --------------- */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.section-title span {
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.reason-card {
    background: #fff;
    padding: 30px;
    border: 2px solid #eee;
    text-align: center;
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: var(--text-color);
    color: #fff;
    font-family: var(--font-mincho);
    font-size: 2rem;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.reason-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* ---------------
   サービス・会社概要
   --------------- */
.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.service-item {
    background: #fff;
    padding: 30px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.05);
}

.service-item h3 {
    color: var(--accent-color);
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
    margin-top: 0;
}

.about-box {
    border: 5px solid #eee;
    padding: 40px;
}

.text-left { text-align: left; }

/* ---------------
   CTA・フッター
   --------------- */
.cta-section {
    background: var(--text-color);
    color: #fff;
    text-align: center;
}

.cta-title {
    color: #fff;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-tel {
    background: #fff;
    color: var(--text-color);
    font-size: 1.5rem;
    width: 300px;
}

.btn-mail {
    background: var(--accent-color);
    color: #fff;
    font-size: 1.2rem;
    width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer {
    background: #111;
    color: #888;
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

/* ---------------
   スマホ対応
   --------------- */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; }
    .header-logo img { height: 40px; }
    .header-contact { margin-top: 10px; text-align: center; }
    
    .hero { height: 500px; }
    .hero-title { font-size: 2rem; }
    
    .service-list { grid-template-columns: 1fr; }
    
    .cta-buttons { flex-direction: column; align-items: center; }
    .btn-tel, .btn-mail { width: 100%; max-width: 350px; }
    
    .sp-only { display: block; }
}