/* =========================================
   0. 基本設定 (Reset & Base)
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    -webkit-font-smoothing: antialiased; /* 文字を滑らかに */
}

:is(.tcdce-body, .editor-styles-wrapper) > *:has(+ *) {
    margin-bottom:0px !important;
}
:is(.tcdce-body, .editor-styles-wrapper) p:has(+ *) {
    /*margin: 0 0 calc(var(--tcdce-base-margin-bottom-pc) + var(--tcdce-half-leading));*/
     margin-bottom:0px !important;
}
a {
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

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

.container {
    width: 100%;
    max-width: 1080px; /* 全体のコンテンツ幅 */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- タイトル共通スタイル --- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    color: #0f2350; /* 濃紺 */
    font-weight: 700;
    display: inline-block;
    position: relative;
}

/* 下線付きタイトル（悩みセクションなどで使用） */
.section-title.underline {
    border-bottom: 3px solid #e67e22;
    padding-bottom: 5px;
}

/* サブタイトル（英語・日本語併記用） */
.sub-section-title {
    font-size: 0.9rem;
    font-weight: bold;
    color: #0f2350;
    margin-bottom: 5px;
    display: block;
    text-align: center;
}

.en-title {
    font-family: 'Times New Roman', serif; /* 明朝体系 */
    text-transform: uppercase;
    font-size: 2.5rem;
    color: #0f2350;
    margin-top: 0;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    margin-bottom: 40px;
}

/* =========================================
   1. ボタン共通スタイル (Buttons)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    opacity: 1;
}

/* ヘッダー用ボタン */
.btn-navy {
    background-color: #0f2350;
    color: #fff;
    padding: 15px 25px;
    min-width: 240px;
    justify-content: space-between;
}

.btn-orange-gradient {
    background: linear-gradient(to right, #e67e22, #f39c12);
    color: #fff;
    padding: 15px 25px;
    min-width: 240px;
    justify-content: space-between;
}

/* サービス詳細ボタン */
.btn-dark-blue {
    background-color: #0f2350;
    color: #fff;
    padding: 12px 30px;
    font-size: 0.9rem;
}

/* フロー下部・CTA用ブロックボタン */
.btn-blue-block {
    background: linear-gradient(to bottom, #1045a0, #0a3070);
    color: #fff;
    width: 300px;
    padding: 15px 0;
    border-radius: 5px;
    font-size: 1.1rem;
    justify-content: center;
}

.btn-orange-block {
    background: linear-gradient(to bottom, #f39c12, #d35400);
    color: #fff;
    width: 300px;
    padding: 15px 0;
    border-radius: 5px;
    font-size: 1.1rem;
    justify-content: center;
}

/* フッター用ピル型ボタン */
.btn-pill-white, .btn-pill-orange {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 340px;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s, opacity 0.2s;
}

.btn-pill-white:hover, .btn-pill-orange:hover {
    transform: translateY(-3px);
    opacity: 0.95;
}

.btn-pill-white {
    background: #fff;
    color: #0f2350;
}

.btn-pill-orange {
    background: #e67e22;
    color: #fff;
}

/* ボタン内のテキスト配置 */
.btn-text-wrapper {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.btn-text-wrapper{
    line-height: 1.5;
}

.btn-label {
    font-size: 0.8rem;
    font-weight: normal;
    margin-bottom: 2px;
    display: block;
}

.btn-main {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-arrow-icon {
    font-size: 1.5rem;
    font-family: sans-serif;
}

/* 汎用矢印 */
.arrow {
    font-family: sans-serif;
    font-weight: normal;
    margin-left: 10px;
}

/* =========================================
   2. メインビジュアル (Hero Area)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* 背景画像 */
    background-image: url('../images/main.jpg'); 
    background-size: cover;
    background-position: center right; /* 人物を右側に配置 */
}
.container.hero-container{
max-width: 730px;
    display: flex;
    align-items: center;
    text-align: center;
}

/* 白グラデーションオーバーレイ（左側を白くぼかす） */
.hero-bg-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0) 90%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    text-align: center;
    padding: 40px 0;
}

.main-copy {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
        text-shadow: 1px 1px 3px #fff2de;
}

.sub-copy {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.8;
    margin-bottom: 25px !important;
        text-shadow: 1px 1px 3px #fff2de;
}

.sub-copy .highlight-orange {
    color: #e67e22;
    font-size: 1.4rem;
}

.hero-tagline {
    display: inline-block;
    background: #fff;
    border-radius: 50px;
    padding: 8px 30px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #444;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    white-space: nowrap;
    margin-top: 25px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* =========================================
   3. お悩みセクション (Problems)
   ========================================= */
.section.problems {
    background-color: #f0f6fc;
    padding: 60px 0 80px;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.problem-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 50, 100, 0.08);
    min-height: 100px;
    justify-content: space-around;
}

.card-icon {
    flex-shrink: 0;
    width: 60px;
    margin-right: 20px;
    text-align: center;
}
.card-icon img { width: 100%; }

.card-text {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    line-height: 1.4;
}

/* =========================================
   4. オレンジ帯 (Orange Banner)
   ========================================= */
.orange-banner {
    background: linear-gradient(to right, #e67e22, #f1a052);
    padding: 15px 0;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.highlight-yellow {
    color: #fff200;
    font-weight: 900;
    font-size: 1.2rem;
    text-decoration: underline;
}

/* =========================================
   5. 強み・特徴 (Features)
   ========================================= */
.section.features {
    padding: 80px 0;
    background-color: #fff;
}

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

.feature-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
}
.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.1rem;
    color: #0f2350;
    margin-bottom: 15px;
    font-weight: bold;
}

.feature-card p {
    font-size: 0.85rem;
    color: #333;
    text-align: left;
    line-height: 1.8;
}

/* =========================================
   6. サービス概要 (Service Overview)
   ========================================= */
.section.service-overview {
    padding: 80px 0;
    background-color: #f0f8ff;
    /* ドット背景 */
    background-image: radial-gradient(#d0e0f0 2px, transparent 2px);
    background-size: 30px 30px;
    position: relative;
}

/* コンテンツを見やすくする白ぼかし */
.section.service-overview::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(240,248,255,0.95) 0%, rgba(240,248,255,0.7) 100%);
    pointer-events: none;
}

.service-box {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.service-content {
    flex: 1;
}

.service-title {
    font-size: 2rem;
    color: #0f2350;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

.service-subtitle {
    font-size: 1rem;
    color: #0f2350;
    margin-bottom: 30px;
    font-weight: bold;
}

.service-list {
    list-style: none;
    margin-bottom: 30px;
}

.service-list li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-weight: bold;
    color: #0f2350;
    font-size: 1.1rem;
}

.list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 15px;
    font-size: 1.5rem;
    color: #0f2350;
}

.service-image {
    flex: 1;
    max-width: 550px;
    border-radius: 10px;
    /* 画像右下の白い枠線装飾 */
    box-shadow: 20px 20px 0px rgba(255,255,255,0.6); 
    overflow: hidden;
}

/* =========================================
   7. ご利用までの流れ (Flow)
   ========================================= */
.section.flow {
    padding: 80px 0;
    background-color: #fff;
}

.flow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 60px;
    margin-top: 30px;
}

.flow-step {
    background: #fff;
    width: 170px;
    height: 125px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
    border: 1px solid #f0f0f0;
}

/* 左上の番号 */
.step-number {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #e6f0fa;
    color: #0f2350;
    font-weight: bold;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
    margin-top: 10px;
    width: 60%;
}

.step-text {
    font-size: 0.8rem;
    font-weight: bold;
    color: #0f2350;
    text-align: center;
    line-height: 1.3;
}

.flow-arrow {
    color: #ccc;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 5px;
}

/* CTAエリア */
.cta-area {
    text-align: center;
    margin-top: 50px;
}

.cta-message {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0f2350;
    margin-bottom: 30px;
}

.cta-message .highlight-text {
    color: #e67e22;
    font-size: 1.5rem;
}

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

/* =========================================
   8. 対応業界 (Industries)
   ========================================= */
.section.industries {
    padding: 80px 0;
    background-color: #f0f8ff;
    background-image: radial-gradient(#d0e0f0 2px, transparent 2px);
    background-size: 20px 20px;
    position: relative;
}

.section.industries::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(240,248,255,0.9) 0%, rgba(240,248,255,0.6) 50%, rgba(240,248,255,0.9) 100%);
    pointer-events: none;
}

.industry-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* 3枚、2枚を中央寄せで配置 */
    gap: 30px;
}

.industry-card {
    background: #fff;
    width: 320px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-img {
    width: 100%;
    height: 180px;
}
.industry-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-body {
    padding: 20px 15px;
    flex: 1;
}

.industry-body h3 {
        margin: 0px 0;
    font-size: 1.0rem;
    color: #0f2350;
    font-weight: bold;
    text-align: center;
}

.industry-body p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

/* =========================================
   9. メッセージ (Message)
   ========================================= */
.section.message {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.message-container {
        display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: url(../images/message-back.png);
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}

/* 左側：テキストエリア */
.message-left {
    flex: 1;
    display: flex;
    gap: 20px;
}

/* 縦書きラベル */
.message-label-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Times New Roman', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #0f2350;
    margin-bottom: 15px;
}

.vertical-line {
    width: 1px;
    height: 100px;
    background-color: #0f2350;
}

.message-text-content {
    flex: 1;
}

.message-title {
    font-size: 2.4rem;
    color: #0f2350;
    font-weight: 900;
    line-height: 1.4;
    margin-bottom: 30px;
}

.underline-orange {
    border-bottom: 4px solid #e67e22;
    display: inline-block;
    padding-bottom: 2px;
}

.message-desc {
    font-size: 1rem;
    line-height: 2;
    color: #333;
    margin-bottom: 40px;
    font-weight: 500;
}

.message-illustration img {
    max-width: 250px;
    opacity: 0.6;
}

/* 右側：画像エリア */
.message-right {
    flex: 1;
    position: relative;
    padding-right: 20px;
    padding-top: 20px;
}

.message-img-wrapper {
    position: relative;
    z-index: 1;
    /* 右下をカットする多角形クリップ */
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    border-radius: 5px;
}

.message-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* 画像右上のオレンジアクセント */
.orange-corner {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    border-top: 8px solid #e67e22;
    border-right: 8px solid #e67e22;
    z-index: 2;
}

/* =========================================
   10. フッター (Footer)
   ========================================= */
.footer-cta {
    background-color: #0f2350;
    color: #fff;
    padding: 80px 0 100px;
    text-align: center;
}

.footer-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-title-underline {
    width: 60px;
    height: 4px;
    background-color: #e67e22;
    margin: 0 auto 40px;
    border-radius: 2px;
}

.footer-checks {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-checks li {
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.footer-checks li::before {
    content: "✔";
    margin-right: 8px;
    color: #fff;
    font-weight: normal;
    font-size: 1.2rem;
}

.footer-buttons-row {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* =========================================
   11. レスポンシブ対応 (Mobile / Tablet)
   ========================================= */
@media (max-width: 768px) {
    /* コンテナ */
    .container { padding: 0 15px; }

    /* メインビジュアル */
    .hero { min-height: auto; padding-top: 80px; }
    .hero-bg-wrapper { background-position: center; }
    .hero-bg-wrapper::after { background: rgba(255,255,255,0.5); }
    
    .hero-content { padding: 20px 0; }
    .main-copy { font-size: 1.6rem; }
    .hero-tagline { font-size: 0.75rem; white-space: normal; line-height: 1.4; border-radius: 10px; padding: 10px; }
    .hero-buttons { flex-direction: column; align-items: center; }

    /* グリッド 1列化 */
    .problems-grid, .grid-3col {
        grid-template-columns: 1fr;
    }
    
    /* サービス概要 縦並び */
    .service-box { flex-direction: column; }
    .service-image { order: -1; max-width: 100%; margin-bottom: 20px; }
    .service-content { width: 100%; }

    /* 流れ 折り返し */
    .flow-container { flex-wrap: wrap; gap: 15px; }
    .flow-step { width: 45%; margin-bottom: 10px; }
    .flow-arrow { display: none; }
    
    .cta-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .btn-blue-block, .btn-orange-block { width: 100%; max-width: 350px; }

    /* 対応業界 */
    .industry-card { width: 100%; margin-bottom: 20px; }
    
    /* メッセージ */
    .message-container { flex-direction: column; }
    .message-left { width: 100%; }
    .message-label-area { display: none; } /* スマホでは縦書きラベル非表示 */
    .message-title { font-size: 1.8rem; text-align: center; }
    .message-desc { text-align: center; font-size: 0.95rem; }
    .message-illustration { text-align: center; margin-bottom: 20px; }
    .message-right { padding: 0; width: 100%; }
    .orange-corner { width: 50px; height: 50px; top: -10px; right: -10px; }

    /* フッター */
    .footer-checks { flex-direction: column; gap: 10px; align-items: center; }
    .footer-buttons-row { flex-direction: column; align-items: center; gap: 20px; }
    .btn-pill-white, .btn-pill-orange { width: 100%; max-width: 320px; }
}