:root {
    --primary-color: #007bff;
    --text-dark: #333;
    --text-light: #fff;
}

/* その他のスタイル */
.home-section {
    padding: 80px 0;
}


/* カラー変数 */
:root {
    --primary-color: #f9bd06;
    --secondary-color: #c88406;
    --text-dark: #333333;
    --text-light: #ffffff;
}

/* ヒーローセクション */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    z-index: 2;
    width: 90%;
    max-width: 1000px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sub-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.vi-title {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* 背景スライダー */
.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.background-slider .swiper-slide {
    background-size: cover;
    background-position: center;
}

.background-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

/* 特徴セクション */
.features-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    color: var(--secondary-color);
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.feature-banner {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.feature-content {
    flex: 2;
    padding: 40px;
    position: relative;
    overflow: visible;
}


.feature-content h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 20px;
}

.feature-content p {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.feature-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-content {
    padding: 1.5rem;
}

.number {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 料金表セクション */
.price-section {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.price-category {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    overflow: hidden;
}

.category-header {
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.price-row {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.service-name {
    flex: 1;
    font-size: 1.1rem;
    color: var(--text-dark);
    padding-right: 20px;
}

.service-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    white-space: nowrap;
}

.price-note {
    font-size: 0.9rem;
    color: #666;
    padding: 10px 20px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

/* 生前対策コンサルティング */
.consulting-section {
    background: #fff;
    padding: 40px 20px;
    margin-bottom: 30px;
}

.consulting-title {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .price-row {
        flex-direction: column;
        text-align: center;
    }

    .service-name {
        padding-right: 0;
        padding-bottom: 10px;
    }

    .category-header {
        text-align: center;
    }
}

/* 料金表全体のコンテナ */
.price-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 注釈 */
.price-footnote {
    font-size: 0.9rem;
    color: #666;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}



/* ヘッダースタイル */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* 透明ヘッダー（トップ位置） */
.site-header.transparent {
    background: transparent;
    box-shadow: none;
}

/* スクロール後のヘッダー */
.site-header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ナビゲーション */
.navbar {
    padding: 1rem 0;
}

/* ロゴ */
.navbar-brand {
    padding: 0;
}

.navbar-brand img {
    width: auto;
    transition: all 0.3s ease;
}

.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

.transparent .logo-light {
    display: block;
}

.transparent .logo-dark {
    display: none;
}

/* メニューリンク */
.navbar-nav .nav-link {
    font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.transparent .navbar-nav .nav-link {
    color: var(--text-light);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

/* 言語切替 */
.lang-switcher {
    margin-left: 2rem;
    padding: 0.5rem 0;
}

.lang-switcher a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.transparent .lang-switcher a {
    color: var(--text-light);
}

.lang-switcher a:hover,
.lang-switcher a.active {
    color: var(--primary-color);
}

.lang-switcher .separator {
    margin: 0 0.5rem;
    color: var(--text-dark);
}

.transparent .lang-switcher .separator {
    color: var(--text-light);
}

/* ハンバーガーメニュー */
.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.transparent .navbar-toggler-icon {
    background: var(--text-light);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -6px;
}

.navbar-toggler-icon::after {
    bottom: -6px;
}

/* ドロップダウンメニューのスタイル */
.header-nav .dropdown {
    display: inline-block;
    margin-left: 1rem;
}

.header-nav .dropdown-toggle {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.transparent .header-nav .dropdown-toggle {
    color: var(--text-light);
}

.header-nav .dropdown-menu {
    min-width: 200px;
    padding: 0.5rem 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.header-nav .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.header-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}
/* モバイル対応 */
@media (max-width: 991px) {
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .transparent .navbar-collapse {
        background: rgba(255,255,255,0.95);
    }

    .transparent .navbar-collapse .nav-link {
        color: var(--text-dark);
    }

    .lang-switcher {
        margin: 1rem 0 0;
        text-align: center;
    }
}

/* ドロップダウンメニューのスタイル調整 */
.header-nav .dropdown {
    position: relative;
}

.header-nav .dropdown-toggle {
    background: none;
    border: none;
    padding: 0.5rem 1rem;
}

.header-nav .dropdown-toggle:focus {
    box-shadow: none;
}

.header-nav .dropdown-menu {
    margin-top: 0.5rem;
}

.header-nav .dropdown-menu-end {
    right: 0;
    left: auto;
}

/* モバイル対応の調整 */
@media (max-width: 991px) {
    .header-nav .dropdown {
        display: block;
        margin: 0.5rem 0;
    }
    
    .header-nav .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
    }
}

.header-nav .dropdown {
    display: inline-block;
    margin-left: 1rem;
}

.header-nav .dropdown-toggle {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.5rem 1rem;
}

.transparent .header-nav .dropdown-toggle {
    color: var(--text-light);
}

.header-nav .dropdown-menu {
    min-width: 200px;
    padding: 0.5rem 0;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.header-nav .dropdown-item {
    padding: 0.5rem 1.5rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.header-nav .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}





//contact-form
/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px){
    .inquiry th,.inquiry td {
    display:block!important;
    width:100%!important;
    border-top:none!important;
    -webkit-box-sizing:border-box!important;
    -moz-box-sizing:border-box!important;
    box-sizing:border-box!important;
    }
    .inquiry tr:first-child th{
    border-top:1px solid #d7d7d7!important;
    }
    /* 必須・任意のサイズ調整 */
    .inquiry .haveto,.inquiry .any {
    font-size:10px;
    }}
    /*見出し欄*/
    .inquiry th{
    text-align:left;
    font-size:14px;
    color:#444;
    padding-right:5px;
    width:30%;
    background:#f7f7f7;
    border:solid 1px #d7d7d7;
    }
    /*通常欄*/
    .inquiry td{
    font-size:13px;
    border:solid 1px #d7d7d7;
    }
    /*横の行とテーブル全体*/
    .entry-content .inquiry tr,.entry-content table{
    border:solid 1px #d7d7d7;
    }
    /*必須の調整*/
    .haveto{
    font-size:7px;
    padding:5px;
    background:#ff9393;
    color:#fff;
    border-radius:2px;
    margin-right:5px;
    position:relative;
    bottom:1px;
    }
    /*任意の調整*/
    .any{
    font-size:7px;
    padding:5px;
    background:#93c9ff;
    color:#fff;
    border-radius:2px;
    margin-right:5px;
    position:relative;
    bottom:1px;
    }
    /*ラジオボタンを縦並び指定*/
    .verticallist .wpcf7-list-item{
    display:block;
    }
    /*送信ボタンのデザイン変更*/
    #formbtn{
    display: block;
    padding:15px;
    width:350px;
    background:#ffaa56;
    color:#fff;
    font-size:18px;
    font-weight:bold;
    border-radius:2px;
    margin:25px auto 0;
    }
    /*送信ボタンマウスホバー時*/
    #formbtn:hover{
    background:#fff;
    color:#ffaa56;
    border:2px solid #ffaa56;
    }