/* 変数定義 */
:root {
    --accent-color: #A51016; /* 広島空港のアクセントカラー */
    --primary-text-color: #333;
    --secondary-text-color: #666;
    --background-light: #f3f0e9;
    --background-light-rgb: 243, 240, 233;
    --background-white: #fff;
    --border-color: #eee;
    --font-family-jp: 'Noto Sans JP', sans-serif;
}

/* 基本スタイル */
body {
    font-family: var(--font-family-jp);
    line-height: 1.6;
    color: var(--primary-text-color);
    margin: 0;
    padding: 0;
    background-color: var(--background-white);
    background-image: url(../img/body_bg.jpg);
    background-size: 50%;
}

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

.section {
    padding: 60px 0;
}

.section:nth-of-type(even) {
    background-color: rgba(var(--background-light-rgb), 0.5);
}

.section-title {
    font-size: 2.25em;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-family: "Kiwi Maru", serif;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 100px;
}
.section-sub-title {
    text-align: center;
    font-weight: 700;
    color: var(--accent-color);
}

/* ボタン共通スタイル */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin: 10px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--background-white);
}

.btn-primary:hover {
    background-color: darken(var(--accent-color), 10%); /* CSS変数では直接計算できないので、 Sass/Lessを使用しない場合は具体的な色を指定 */
    background-color: #8C0E14; /* 少し暗い赤 */
}

.btn-secondary {
    background-color: var(--background-white);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--background-white);
}

.text-c {
    text-align: center;
}

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

/* トップセクション */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* 必要に応じて調整 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--background-white);
    background-color: #fdf7e7;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像がセクション全体を覆うように */
    display: block;
}

/* 画像の上に半透明のオーバーレイをかけることで、テキストを読みやすくする */
.hero-image-wrapper::after {
    content: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* 暗めのオーバーレイ */
    z-index: 2;
}


.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.hero-catchphrase {
    font-size: 2.8em;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.accent-text {
    color: var(--accent-color); /* キャッチコピー内のアクセント */
}

.hero-buttons {
    margin-top: 30px;
}

/* サービス概要セクション */
.about-service-section .feature-outer {
    background-image: url(../img/feature_outer_bg.svg);
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 6rem;
    align-items: stretch;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}
.feature-outer .features-grid:first-child {
    margin-top: 0;
}

.feature-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 0 20px 20px 0;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}
.features-grid.-rev .feature-item {
    order: 1;
    border-radius: 20px 0 0 20px;
}

.feature-no {
    position: absolute;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    top: 1rem;
    right: 1rem;
    color: var(--accent-color);
    opacity: 0.2;
    font-family: "Kiwi Maru", serif;
}


.feature-img img {
    width: 100%;
    height: 100%;
    border-radius: 20px 0 0 20px;
}
.features-grid.-rev .feature-img {
    order: 2;
}
.features-grid.-rev .feature-img img {
    border-radius: 0 20px 20px 0;
}

.feature-item h3 {
    font-size: 1.5em;
    color: var(--accent-color);
    margin-bottom: 15px;
    margin-top: 0;
}
.feature-item p {
    text-align: justify;
    margin-bottom: 0;
}

/* 利用方法セクション */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    background-color: var(--background-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    position: relative;
    padding-top: 60px; /* 番号分のスペース */
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1.8em;
    font-weight: bold;
    color: var(--background-white);
    background-color: var(--accent-color);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-image {
    width: 100%;
    height: 180px; /* 固定高さ、またはauto */
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
}

.step-item h4 {
    font-size: 1.3em;
    color: var(--primary-text-color);
    margin-bottom: 15px;
}

.small-text {
    font-size: 0.9em;
    color: var(--secondary-text-color);
    margin-top: 10px;
}

.price-table {
    margin-top: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.price-table h4 {
    padding: 10px;
    margin: 0;
    font-size: 1.2em;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent-color);
}

.price-table table {
    width: 100%;
    border-collapse: collapse;
    border-bottom: 1px solid var(--border-color);
}

.price-table th, .price-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table th {
    background-color: var(--background-light);
    font-weight: normal;
    border-right: 1px solid #fff;
    font-weight: 700;
}

.price-table tr:last-child td {
    border-bottom: none;
}
.price-table .txr {
    text-align: center;
}



.step-box {
    border-radius: 20px;
    display: flex;
    margin-top: 3rem;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}
.step-box::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 30px 25px 0 25px;
    border-color: var(--accent-color) transparent transparent;
    translate: -50% 100%;
}
.step-box:last-child::after {
    content: none;
}
.step-no {
    font-weight: 700;
    font-size: 3.5rem;
    text-align: center;
    line-height: 1;
    font-family: "Kiwi Maru", serif;
    background: var(--accent-color);
    color: #fff;
    border-radius: 20px 0 0 20px;
    border: 2px solid var(--accent-color);
    min-width: 80px;
}
.step-no span {
    font-size: 1rem;
    display: inline-block;
    width: 100%;
}
.step-inner {
    display: flex;
    width: 100%;
    padding: 3rem;
    border: 2px solid var(--accent-color);
    border-radius: 0 20px 20px 0;
}
.step-inner .step-text {
    width: calc(100% - 300px);
    padding-right: 3rem;
}
.step-inner .step-text h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0;
}
.step-inner .step-img {
    width: 300px;
}
.step-inner .step-img img {
    width: 100%;
    height: auto;
    border-radius: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}



.carousel .slick-slide{
  min-width: var(--WIDTH);
  max-width: var(--WIDTH);
}
@media screen and (min-width: 768px){
  .carousel .slick-slide{
    --WIDTH: 300px;
  }
}
@media screen and (max-width: 767px){
  .carousel .slick-slide{
    --WIDTH: 150px;
  }
}


/* 利用者の声セクション */
.customer-voices-section {
    background-color: #fce4e4; /* アクセントカラーの非常に薄いバージョン */
    color: var(--primary-text-color);
    background-image: url(../img/merit_bg.png);
    background-size: cover;
    background-position: center;
}

.voices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.voice-item {
    text-align: left;
    position: relative;
}

.voice-text {
    font-size: 1em;
    line-height: 1.8;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding: 16px;
    border-radius: 8px;
    background-color: var(--background-white);
    text-align: justify;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    min-height: 8rem;
    border-top: 3px solid var(--accent-color);
}

.voice-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 15.5px 7.8px 0 7.8px;
    border-color: #fff transparent transparent;
    translate: -50% 100%;
}
.voice-text strong {
    font-size: 1.1em;
    color: var(--accent-color);
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
}

.voice-img {
    text-align: center;
    padding-top: 1rem;
}
.voice-img img {
    display: inline-block;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 5px solid #FFF;
    box-sizing: border-box;
}

.voice-person {
    font-weight: bold;
    color: var(--secondary-text-color);
    text-align: center;
    margin-top: 0.25rem;
}

/* 地図セクション */
.map-section #map {
    margin-top: 40px;
    background-color: var(--background-light); /* マップ読み込み中の背景 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text-color);
    font-style: italic;
    border-radius: 8px;
    overflow: hidden;
}

.map-caption {
    margin-top: 15px;
    font-size: 0.9em;
    color: var(--secondary-text-color);
}

.map-link-btn {
    margin-top: 20px;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hotels-area {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border: 2px solid #bbb;
    padding: 1.5rem 3rem;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.hotels-area h3 {
    color: var(--accent-color);
    margin-top: 0;
    font-size: 1.5em;
}
.city span {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
}
.hotels-area ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 1rem;
}
.hotels-area ul.line {
    border-bottom: 1px dashed var(--accent-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}
.hotels-area ul li {
    list-style: none;
    width: calc(100% / 3);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.hotels-area ul li::before {
    content: "●";
    color: var(--accent-color);
    font-size: .9em;
    display: inline-block;
    margin-right: 0.25em;
}



.contact-section {
    text-align: center;
}
.contact-section h3 {
    margin-top: 3rem;
}
.contact-section h3 span {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 100px;
    padding: 0.25rem 1.5rem;
}
.contact-section .tel {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
}
.contact-section .tel span {
    font-size: 2.5rem;
}


/* フッター */
.footer {
    background-color: var(--primary-text-color);
    color: var(--background-white);
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}
.footer .copyright {
    font-size: 12px;
    font-weight: 400;
}


    .hero-image-sp {
        display: none;
    }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .section {
        padding: 25px 0;
    }

    .section-title {
        margin-top: 0;
    }

    .hero-catchphrase {
        font-size: 2em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .features-grid, .steps-grid, .voices-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        padding-top: 40px;
    }

    .step-number {
        width: 40px;
        height: 40px;
        line-height: 40px;
        font-size: 1.5em;
    }

    .hero-section {
        height: 90vh; /* モバイルでの高さ調整 */
        align-items: flex-start;
    }
    .hero-image-wrapper {
        padding-top: 50%;
    }
    .hero-image {
        display: none;
    }
    .hero-image-sp {
        display: block;
    }
    .hero-content {
        padding-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        height: 100%;
    }

    .feature-img img, .features-grid.-rev .feature-img img {
        border-radius: 20px 20px 0 0;
    }
    .feature-item, .features-grid.-rev .feature-item {
        border-radius: 0 0 20px 20px;
    }
    .feature-no {
        top: 0;
        font-size: 3rem;
    }
    .features-grid {
        margin-top: 1.5rem;
    }
    .features-grid.-rev .feature-img {
        order: 1;
    }
    .features-grid.-rev .feature-item {
        order: 2;
    }
    .feature-item {
        padding: 20px;
    }
    .feature-item h3 {
        margin-bottom: 0;
    }

    .step-inner {
        padding: 1.25rem;
        flex-wrap: wrap;
        border-radius: 0 0 20px 20px;
    }
    .step-inner .step-text h3 {
        font-size: 1.35rem;
        margin-bottom: 0;
    }
    .step-box {
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }
    .step-no {
        font-size: 1.5rem;
        width: 100%;
        border-radius: 20px 20px 0 0;
    }
    .step-inner .step-text {
        width: 100%;
        padding-right: 0;
    }
    .step-inner .step-img {
        width: 100%;
    }
    .step-box::after {
        border-width: 20px 20px 0 20px;
    }

    .voices-grid {
        gap: 15px;
        margin-top: 10px;
    }

    .hotels-area {
        margin-top: 1rem;
        padding: 0.5rem 1.25rem;
    }
    .hotels-area h3 {
        font-size: 1.35rem;
        text-align: center;
    }
    .hotels-area h3 {
        padding: 0.5rem 1.25rem;
        font-size: 1rem;
    }
    .hotels-area ul {
        padding-left: 0;
        justify-content: space-between;
    }
    .hotels-area ul li {
        width: 42%;
        padding-left: 1em;
        text-indent: -0.5em;
        line-height: 1.4;
    }
    .city span {
        padding: 0.25rem 1.25rem;
        font-size: 1rem;
    }
}


br.sp {
    display: none;
}

@media (max-width: 480px) {
    .hero-catchphrase {
        font-size: 1.5em;
    }
    .btn {
        padding: 12px 20px;
        font-size: 0.9em;
        width: 80%;
        text-align: center;
    }


br.sp {
    display: inline;
}
}