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

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}


ul {
    list-style: none;
}

.pc-only{
    display: block;
}
@media (max-width: 900px) {
    .pc-only{
        display: none;
    }
}

.sp-only{
    display: none;
}
@media (max-width: 900px) {
    .sp-only{
        display: block;
    }
}

/* --- Variables --- */
:root {
    --primary-blue: #002c5f; /* 濃紺 */
    --light-blue: #eef7fc;
    --accent-orange: #f39800;
    --accent-red: #e60012; /* 赤 */
    --text-dark: #222;
    --max-width: 1000px;
}

/* --- Utilities --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}
.text-center { text-align: center; }

/* Common Section Title */
.section-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    color:#3484C4;
}
.section-header .sub-ttl{
    font-size: 22px;
    font-weight: 900;
    font-style:italic;
    display:block;
}
.section-title {
    font-size: 36px;
    font-weight: 900;
    color: #2F4E6B;
    position: relative;
    display: inline-block;
    z-index: 2;
    font-style:italic;
}
.section-title span {
    color: var(--accent-red);
}
/* Title Underline */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: #1565B2;
    background: linear-gradient(270deg,rgba(21, 101, 178, 1) 0%, rgba(253, 71, 86, 1) 100%);
    margin: 15px auto 0;
    transform: skewX(-15deg);
}

/* 英語の見出し用（Oswald適用） */
.section-sub-en {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    color: var(--accent-red);
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 5px;
}

/* --- Header --- */
header {
    background: #fff;
    padding: 16px 0 12px 0;
    border-bottom: 1px solid #ddd;
    width: 100%;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.header-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap:3px;
}
.company-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 2px;
}
.company-name {
    font-size: 22px;
    font-weight: 700;
    color: #555;
    margin: 0;
    line-height: 1;
    font-style: italic;
    font-family: "Noto Serif JP", serif;
}
.daikin-tag {
    background-color: var(--accent-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    transform: skewX(-15deg);
    line-height: 1;
    font-family: "Noto Serif JP", serif;
}
.daikin-tag span {
    display: block;
    transform: skewX(15deg);
}
.service-title {
    font-size: 24px;
    color: #333;
    font-weight: 1000;
    font-style: italic;
    letter-spacing: 0;
    background: linear-gradient(135deg, #2598f4 0%, #15588e 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}
.header-right {
    text-align: right;
}
.header-right p{
    font-size:14px;
    text-align: center;
    font-style: italic;
}
.tel-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    line-height: 1;
}
.tel-icon {
    width: 24px;
    height: 24px;
    fill: #009944;
}
.header-tel {
    font-size: 32px;
    font-weight: 700; /* Oswald用に調整 */
    color: var(--primary-blue);
    font-family: 'Oswald', sans-serif; /* Oswald適用 */
    letter-spacing: 0.05em;
    line-height: 1;
}
.header-time {
    font-size: 11px;
    color: #555;
    margin-top: 3px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    width: 100%;
}
.hero-inner{
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: url(../img/mv.webp) center center no-repeat;
    background-size: cover;
    max-width:1200px;
    width: 100%;
    height: 654px;
    padding-top: 54.5%;
    margin:0 auto;
}
.hero-btn-container {
    z-index: 10;
    position: absolute;
    bottom:20%;
    left:50%;
    margin-left:-210px;
}
.hero-cta-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 420px;
    height: 75px;
    background-color: #fff;
    color: #FB5045;
    font-size: 26px;
    font-weight: 900;
    text-decoration: none;
    clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: transform 0.2s;
}
.hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #FB5245;
    background: linear-gradient(90deg,rgba(251, 82, 69, 1) 0%, rgba(235, 206, 41, 1) 100%);
    z-index: -1;
    clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
}
.hero-cta-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    clip-path: polygon(6% 5px, 94% 5px, 98.5% 50%, 94% calc(100% - 5px), 6% calc(100% - 5px), 1.5% 50%);
    position: absolute;
    top: 0; left: 0;
    z-index: 1;
}
.hero-cta-btn strong {
    position: relative;
    z-index: 2;
}
.hero-cta-btn:hover {
    transform: scale(1.03);
}

/* --- Problems Section (High Fidelity Update) --- */
.problems {
    padding: 80px 0 0 0;
    background: #FFF;
    background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(223, 238, 242, 1) 100%);
    position: relative;
    overflow: hidden;
}

.problems .section-header{
    margin-bottom: 0px;
}

/* 背景の大きな透かし文字 "PROBLEMS" (Oswald適用) */
.problems-bg-text {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Oswald', sans-serif;
    font-size: 120px;
    font-weight: 700;
    color: rgba(0, 44, 95, 0.05); /* 濃紺の薄い色 */
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: 0.1em;
}

/* コンテンツ配置 */
.problems-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 1;
}

/* 左：イメージ画像 */
.problems-image {
    flex: 0 0 380px;
    position: relative;
}
.problems-image img {
    width: 100%;
    height: auto;
}


/* 右：チェックリスト */
.problems-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}



/* チェックマークエリア */
.problem-check {
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: 5px;
}
.check-circle {
    width: 40px;
    height: 40px;
    background: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 2px 2px 5px rgba(230, 0, 18, 0.3);
}

/* テキストエリア */
.problem-text-area {
    flex: 1;
}

/* 斜めカットの見出し */
.problem-head {
    display: inline-block;
    background: linear-gradient(135deg, #2598f4 0%, #15588e 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-weight:bold;
    font-size: 24px;
    margin-bottom:8px;
}
.problem-head span {
    display: block;
}

/* 本文 */
.problem-desc {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.8em;
}
.problem-desc .highlight {
    color: var(--accent-red);
    font-weight: 700;
    background: linear-gradient(transparent 60%, #ffebeb 60%); /* マーカー風 */
}


/* --- Other Sections --- */
.reasons {
    padding: 80px 0;
    background: url('../img/bk.webp') no-repeat;
    background-size: cover;
}
.reasons .section-title{
    background: linear-gradient(135deg, #2598f4 0%, #15588e 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    font-weight:bold;
}


.reasons-grid { display: flex; justify-content: space-between; gap: 20px; }
.reason-card { 
    background: #fff;
    flex: 1; 
    border-radius: 8px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    text-align: center; 
}
.reason-card-tx{
    padding:0px 20px 20px 20px;
    text-align: left;
    font-size:13px;
    line-height: 1.8em;
}
.reason-card-tx .high-light{
        font-weight:bold;
        background: linear-gradient(transparent 70%, #FFD3D7 30%);
}
.reason-img { margin-bottom: 15px; height: 150px; object-fit: cover; width: 100%; background: #eee; }
.reason-title {
    color:#1F7BC3; 
    font-weight: bold; 
    font-size: 20px; 
    line-height: 1.6em;
    margin-bottom: 16px; 
    display: block; 
    text-align: center;
}

.brand-sec{
    background:#fff;
    padding:24px 0;
    margin-top:40px;
    font-size:14px;
}
.brand-sec h3{
    color:#1F7BC3;
    padding:0 0 16px 0;
    font-size:18px;
}
.brands { 
    padding: 40px 0; 
    background: #fff; 
}
.brands-list { 
    display: flex; 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    align-items: center; 
    margin-top:24px;
}
.brand-logo { height: 60px; }

.solutions { padding: 80px 0; background: #fff; }
.solution-block { display: flex; border: 1px solid #eee; border-radius: 10px; overflow: hidden; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.solution-img { flex: 0 0 40%; background: #ccc; }
.solution-img img { width: 100%; height: 100%; object-fit: cover; }
.solution-content { flex: 1; padding: 30px; }
.solution-tag { background: var(--primary-blue); color: #fff; padding: 5px 10px; font-size: 12px; border-radius: 4px; display: inline-block; margin-bottom: 15px; }
.solution-title { font-size: 20px; color: var(--primary-blue); margin-bottom: 15px; }
.btn-detail { display: inline-block; background: var(--accent-orange); color: #fff; padding: 8px 20px; border-radius: 20px; font-size: 14px; margin-top: 15px; }

.area { 
    padding: 80px 0; 
    background: url(../img/bk_town.webp) no-repeat;
    background-size: cover;
    text-align: center; 
}
.area .section-title{
    color:#166AB9;
    margin-bottom:24px;
}
.area .area-tx{
    color:#166AB9;
    font-size:20px;
    font-weight:bold;
    max-width:590px;
    margin:16px auto 0 auto;
}
.map-container { position: relative; max-width: 600px; margin: 30px auto; }
.map-container img { width: 100%; }

.flow {
    padding: 80px 0;
    background: #FFF;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(230, 243, 247, 1) 100%);
    text-align: center;
}
.flow .section-title{
    margin:0 auto 36px auto;
}
.flow-steps {
    display: flex;
    justify-content: center;
    gap: 48px; 
    flex-wrap: wrap; 
}
.step-card {
    width:26%;
    min-height:200px;
    display:flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    background:#fff;
    border:1px solid #C8E5F9;
    border-radius: 40px;
    padding:16px 0 24px 0;
}
.step-num {
    display: block;
    color: #fff;
    font-weight: 900;
    font-size: 36px;
    font-style:italic;
    letter-spacing: 2px;
    -webkit-text-stroke: 3px #4A8CCA;
    text-stroke: 3px #4A8CCA;
    paint-order: stroke;
    font-family: 'Oswald', sans-serif;
}
.step-title {
    font-weight:bold;
    font-size: 20px;
    padding:16px 0;
}
.step-card:not(:last-child)::after { 
    content: '▶'; 
    position: absolute; 
    right: -36px; 
    top: 50%; 
    transform: translateY(-50%); 
    color:#2598F4; 
    font-size: 18px; 
}

.faq {
    padding: 80px 0 30px 0;
    background: #fff;
    text-align: center;
}
.faq-list{
    border-top: 1px dotted #CDDADD;
    margin:36px auto;
    max-width:800px;
}
.faq-item { 
    border-bottom: 1px dotted #CDDADD; 
    padding: 26px; 
    display: flex; 
    gap: 40px; 
}
.faq-q { 
    color:#1565B2;
    font-weight: bold;
    font-size: 46px;
    line-height: 1;
    font-family: 'Oswald', sans-serif;

}
.faq-text {
    font-weight: bold;
    text-align: left;
    font-size:18px;
}

.footer-cta {
    padding:0 0 60px 0;
    background: #fff;
}
.cta-box { border: 2px solid #ddd; border-radius: 15px; padding: 40px; display: flex; align-items: center; justify-content: space-between; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.cta-left img { max-width: 400px; border-radius: 10px; }
.cta-right {
    flex: 1;
    padding-left: 40px;
    text-align: center;
}
.cta-right h3{
    font-size:30px;
    font-weight:bold;
    font-style: italic;
}
.cta-right .catch{
    font-size:14px;
    padding:8px 0px
}
.tel-col{
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap:16px;
}
.tel-col p{
    font-size: 14px; 
}
.cta-tel-large { 
    font-size: 38px; 
    font-weight: bold; 
    font-style:italic;
    line-height: 1.2;
    color: #141414; 
    display: block; 
    margin: 0;
    font-family: 'Oswald', sans-serif; /* Oswald適用 */
    letter-spacing: 0.05em;
}
.cta-btn.large { width: 100%; max-width: 400px; display: inline-block; background: linear-gradient(180deg, #ffbc42 0%, #f39800 100%); color: #fff; font-weight: 900; padding: 15px 40px; border-radius: 50px; box-shadow: 0 4px 6px rgba(0,0,0,0.2); font-size: 20px; border: 2px solid #fff; text-align: center;}

footer { background: #111; color: #888; padding: 30px 0; text-align: center; font-size: 12px; }

.footer-logo{
    font-size:1.6rem;
    font-weight:bold;
    padding:8px;
    font-style: italic;
    font-family: "Noto Serif JP", serif;
}
.footer-tx{
    padding:0 0 16px 0;
}
/* ▼▼▼ ボタンのスタイルここから ▼▼▼ */
.gradient-btn {
    margin-top:16px;
    display: inline-block;
    text-decoration: none;
    /* グラデーション設定（左の赤オレンジから右の黄色へ） */
    background: linear-gradient(90deg, #ff4e50 0%, #f9d423 100%);
    /* パディング（余白）調整 */
    padding: 18px 60px;
    /* ボタンの形を斜めにする (-20度) */
    transform: skewX(-20deg);
    /* 影の設定 */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    /* テキストの色と太さ */
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    /* ホバー時の動き（なめらかに） */
    transition: all 0.3s ease;
}

/* 中のテキストを逆方向に傾けて真っ直ぐにする */
.gradient-btn span {
    display: block;
    transform: skewX(20deg); /* 親要素の-20度を打ち消す */
}

/* ホバー時の効果（少し浮き上がり、影が濃くなる） */
.gradient-btn:hover {
    transform: skewX(-20deg) translateY(-2px);
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}
/* ▲▲▲ ボタンのスタイルここまで ▲▲▲ */

/* --- Responsive --- */
@media (max-width: 750px) {
    .header-inner { flex-direction: column; align-items: flex-start; }
    .header-right {
        margin: 10px auto; 
        align-self: center;
    }
    .header-left{
        align-items: center;
        width:100%;
    }
    .header-tel { font-size: 24px; }
    .company-name{
        font-size:18px;
    }
    .hero {
        height: 100%;
        padding-bottom: 0;
    }
    .hero-btn-container{
        position: absolute;
        bottom:16%;
        left:50%;
        margin:0 0 0 -150px;
        width:300px;
        z-index:100;
    }
    .hero-cta-btn { width: 100%; max-width: 320px; height: 60px; font-size: 18px; }
    .hero-inner{
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        background: url(../img/mv_sp.webp) center center no-repeat;
        background-size: cover;
        max-width:750px;
        width: 100%;
        height: 479px;
        padding-top: 127.7%;
        margin:0 auto;
    }
        
    .problem-head {
        font-size: 18px;
    }
    .problem-desc {
        font-size: 14px;
    }

    /* Problems Mobile Layout */
    .problems { padding: 50px 0; }
    .problems-bg-text { font-size: 60px; top: 10px; }
    .section-header .sub-ttl{
        font-size: 18px;
    }
    .section-title { font-size: 24px; }
    .service-title{
        font-size: 20px;
    }
    .problems-content { flex-direction: column; gap: 16px; }
    .problems-image { width: 100%; max-width: 400px; flex: none; }
    .problem-item { padding: 0; }
    .check-circle { width: 30px; height: 30px; font-size: 18px; }
    .reasons{
        padding: 40px 0;
    }
    .solutions{
        padding: 40px 0;
    }
    .area{
        padding: 40px 0;
    }
    .area .area-tx{
        font-size: 16px;
    }
    .reasons-grid { flex-direction: column; }
    .solution-block { flex-direction: column; }
    .flow-steps { flex-direction: column; align-items: center; }
    .step-card { width: 100%; margin-bottom: 20px; }
    .step-card:not(:last-child)::after { content: '▼'; right: 50%; top: auto; bottom: -33px; transform: translateX(50%); }
    .cta-box { flex-direction: column; padding: 20px; }
    .cta-left img { margin-bottom: 20px; width: 100%; }
    .cta-right { padding-left: 0; text-align: center; }
    .cta-tel-large { font-size: 36px; }
    .cta-right .catch{
        line-height:1.8em;
    }
    .cta-box .tel-col{
        margin:24px auto;
    }
    .gradient-btn{
        padding:16px;
        margin:0 auto 24px auto;
        font-size: 18px;
    }
    .flow-steps{
        gap:18px;
    }
}

#case_contents {
    padding: 30px 0 0;
}
/* ヘッダーセクション */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    color: #4a5e75;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.main-title {
    color: #2c4f75;
    /* 濃いブルー */
    font-size: 2.2rem;
    font-weight: 900;
    margin: 0;
    letter-spacing: 1px;
}

/* タイトル下の装飾線（青と赤） */
.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #2c4f75 50%, #e85a5a 50%);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* カードデザイン */
.case-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card-image {
    flex: 0 0 45%;
    /* 画像の幅比率 */
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.card-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.card-content p{
    font-size:14px;

}
/* タグ */
.location-tag {
    background-color: #4a89c8;
    color: #fff;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
}

/* カード内の見出し */
.card-title {
    color: #4a89c8;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* 本文テキスト */
.card-text {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 25px;
}

/* ボタンデザイン（平行四辺形） */
.btn-case {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b57 0%, #f4c430 100%);
    /* オレンジ〜黄色のグラデーション */
    color: #fff;
    text-decoration: none;
    margin-top:16px;
    padding: 12px 40px;
    font-weight: bold;
    font-size: 1.1rem;
    transform: skewX(-20deg);
    /* 傾斜をつける */
    box-shadow: 3px 3px 5px rgba(0,0,0,0.2);
    transition: opacity 0.3s;
    margin-left: 10px;
    /* 傾斜分の余白調整 */
}

.btn-case span {
    display: inline-block;
    transform: skewX(20deg);
    /* 文字の傾斜を戻す */
}

.btn-case:hover {
    opacity: 0.9;
}

/* スマホ対応（レスポンシブ） */
@media (max-width: 768px) {
    #case_contents{
        padding:0 0;
    }
    .case-card {
        flex-direction: column;
        padding: 0 4%;
    }

    .card-image {
        height: 250px;
    }

    .card-content {
        padding: 24px 16px;
    }

    .main-title {
        font-size: 1.6rem;
    }
    .btn-case{
        margin:24px auto 0 auto;
    }
}
