/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    transition: transform 0.3s ease;
}

.logo{
    line-height: 0;
}

.logo img {
    height: 50px;
    
}

.nav-pc {
    display: flex;
}

.nav-pc ul {
    display: flex;
    align-items: center;
}

.nav-pc li {
    margin-left: 20px;
    position: relative;
}

.nav-pc li a {
    font-size: 14px;
    color: #333;
    padding: 10px 0;
    display: block;
}

.nav-pc li a:hover {
    color: #8BC34A;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:nth-child(3) {
    top: 18px;
}

/* ハンバーガーメニュー開いたとき */
.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* スマホ用ナビゲーション */
.nav-sp {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
    z-index: 1000;
    padding-top: 60px;
    overflow-y: auto;
}

.nav-sp.active {
    right: 0;
}

.nav-sp ul {
    padding: 0 20px;
}

.nav-sp li {
    border-bottom: 1px solid #eee;
}

.nav-sp li a {
    display: block;
    padding: 15px 0;
    font-size: 16px;
    color: #333;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* メインコンテンツ */
.main-content {
    padding-top: 60px;
}

/* ヒーローセクション */
.hero {
    background-image: url('/assets/img/top/main_bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
    color: white;
    padding: 0 20px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    text-align: center;

}

.hero-text {
    flex: 1;
    padding-left: 30px;
    text-align: center;
}

.hero-text h1 {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
}

.app-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.app-buttons img {
    height: 60px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* CTAボタン */
.cta-button {
    text-align: center;
    padding: 40px 0;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.btn-green {
    background-color: #8BC34A;
    color: white;
}

.btn-green:hover {
    background-color: #7CB342;
}

/* エリアセクション */
.area-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.area-container {
    display: flex;
    gap: 30px;
}

.area-map {
    flex: 1;
}

.area-list {
    flex: 1;
    border: 1px solid #ddd;
}

.area-list-title {
    background-color: #8BC34A;
    color: white;
    padding: 10px 20px;
}

.area-categories {
    padding: 20px;
}

.area-category {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.area-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.category-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.areas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.area-item {
    font-size: 14px;
}

.area-item a{
    text-decoration: underline;
    color: #8BC34A;
}

/* 特徴セクション */
.feature-section {
    background-color: #8BC34A;
    color: white;
    padding: 80px 20px;
}

.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.feature-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.feature-image img {
    max-width: 300px;
}

.feature-text {
    flex: 1;
}

.feature-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-text p {
    margin-bottom: 15px;
    font-size: 18px;
}

/* GPSセクション */
.gps-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.gps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.gps-text {
    flex: 1;
}

.gps-text h2 {
    color: #8BC34A;
    font-size: 28px;
    margin-bottom: 20px;
}

.gps-text p {
    margin-bottom: 15px;
}

.gps-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.gps-image img {
    max-width: 300px;
}

/* 電話セクション */
.phone-section {
    padding: 80px 20px;
    background-color: #8BC34A;
    color: white;
}

.phone-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.phone-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-image img {
    max-width: 300px;
}

.phone-text {
    flex: 1;
}

.phone-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.phone-text p {
    margin-bottom: 15px;
}

/* リンクセクション */
.link-section {
    padding: 50px 20px;
}

.link-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
}

.link-item {
    flex: 1;
    position: relative;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

.link-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link-item-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

/* アプリダウンロードセクション */
.download-section {
    padding: 50px 20px;
    text-align: center;
}

.download-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.download-buttons img {
    height: 50px;
}

/* フッター */
footer {
    padding: 30px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.copyright {
    font-size: 12px;
    color: #777;
}

/* レスポンシブ対応 */
@media (max-width: 992px) {
    .nav-pc {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    header{
        padding: 10px 20px;
    }
    .hero-content,
    .area-container,
    .feature-container,
    .gps-container,
    .phone-container,
    .link-container {
        flex-direction: column;
    }
    
    .hero-text {
        padding-left: 0;
        text-align: center;
        margin-top: 30px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .hero {
        height: auto;
        padding: 100px 20px;
    }
    
    .area-map,
    .area-list {
        width: 100%;
    }
    
    .area-map {
        margin-bottom: 30px;
    }
    
    .feature-image,
    .gps-image,
    .phone-image {
        margin-bottom: 30px;
    }
    
    .feature-container .feature-image {
        order: 1;
    }
    
    .feature-container .feature-text {
        order: 2;
    }
    
    .gps-container .gps-text {
        order: 2;
    }
    
    .gps-container .gps-image {
        order: 1;
    }
    
    .phone-container .phone-image {
        order: 1;
    }
    
    .phone-container .phone-text {
        order: 2;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 24px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .feature-text h2,
    .gps-text h2,
    .phone-text h2 {
        font-size: 22px;
    }
    
    .link-container {
        flex-direction: column;
    }
    
    .link-item {
        margin-bottom: 20px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* 下層　*/

.sec-hero{
    padding: 100px 0;
}
.sec-hero h1{
    margin-bottom: 0px;
    line-height: 1;
}

.entry-content{
    max-width: 1200px;
    padding: 50px 0;
    margin: 0 auto;
}

.entry-content p{
    margin: 1em 0;
}

.entry-content p.p2{
    margin: 3em 0 0 0;
}

.entry-content table{
    width: 100%;
}
.entry-content th,
.entry-content td{
    border-bottom: 1px dotted #ddd;
    padding: 15px;
    text-align: left;
}
.entry-content th{
    width: 200px;
}