/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans', Arial, sans-serif;
    color: #000;
    background-color: #fff;
}

/* ヘッダー */
.header {
    position: relative;
    height: 450px;
    overflow: visible;
    margin-bottom: 50px;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.header-content {
    position: relative;
    z-index: 2;
    height: 100%;
}

.header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 40px;
    max-width: 1920px;
    margin: 0 auto;
    gap: 20px;
    height: 100%;
    padding-top: 30px;
}

.header-logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-image {
    height: 50px;
    width: auto;
}

.header-title {
    font-size: 50px;
    font-weight: bold;
    color: #000;
    text-align: left;
    line-height: 1.2;
}
.header-title a{
    color: #000;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-shrink: 0;
}

.nav-link {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    white-space: nowrap;
    padding-bottom: 8px;
    border-bottom: 2px solid #2982c4;
}

.oasis-bn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.oasis-bn-image {
    height: 60px;
    width: auto;
    border: 1px solid #fff;
    border-radius: 10px;
    display: block;
}

/* 地域メニュー */
.region-menu {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background-color: #fff;
    border: 2px solid #005ca1;
    border-radius: 15px;
    padding: 15px 30px;

    width: 1340px;
    max-width: 90%;
}

.region-link {
    font-size: 22px;
    font-weight: bold;
    color: #005ca1;
    text-decoration: none;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    position: relative;
    padding-bottom: 3px;
    border-bottom: 3px solid transparent;
    transition: border-bottom 0.3s ease;
}

.region-link:not(:last-child)::after {
    content: '｜';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    color: #005ca1;
    font-weight: bold;
    font-size: 22px;
}

.region-link:hover {
    border-bottom: 3px solid #2982c4;
}

/* ナビゲーションタブ削除（region-menuに統合） */

/* メインコンテンツ */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 0 20px;
}

/* リージョンセクション */
.region-section {
    display: block;
    margin-bottom: 40px;
}

.region-divider {
    height: 60px;
    background-color: #e5eef9;
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.region-title {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 0;
}

/* ポートグリッド */
.ports-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    padding: 20px 0;
}

.port-card {
    background-color: #2982c4;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.port-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.port-image {
    width: 100%;
    height: 147px;
    object-fit: cover;
    display: block;
    border-radius: 5px 5px 0 0;
}

.port-name {
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* フッター */
.footer {
    background-color: #005ca1;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.footer-text {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.footer-link {
    color: #fff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-copyright {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.pagetop-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pagetop-button:hover {
    transform: translateY(-5px);
}

.pagetop-image {
    display: block;
    width: auto;
    height: auto;
}

.hon-text{
    margin: 30px 10px;
    line-height: 1.8rem;
}

.syomei{
    text-align: right;
    padding: 20px 15px 0;
}
.s-tit{
    font-weight: 600;
    font-size: 1.2rem;
}
.yohaku{
    padding-left: 2.5rem;
}
.botn{
    background-color: #005ca1;
    color: #fff;
    padding: 10px 10px;
    border-radius: 20px;
    font-weight: 600;
    margin: 0 auto 30px;
    text-align: center;
    max-width: 400px;
}

.botn a{
    color: #fff;
    text-decoration: none;
}

/* レスポンシブデザイン */

/* タブレット: 768px - 1023px */
@media (max-width: 1023px) {
    .header {
        height: 350px;
        margin-bottom: 60px;
    }

    .header-top {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-logo-section {
        width: 100%;
    }

    .header-title {
        font-size: 36px;
    }

    .header-nav {
        width: 100%;
        justify-content: flex-end;
        gap: 10px;
    }

    .nav-link {
        font-size: 14px;
        color: #fff;
        padding: 0 10px 30px;
    }

    .region-menu {
        padding: 12px 20px;
    }

    .region-link {
        font-size: 18px;
    }

    .region-link:not(:last-child)::after {
        font-size: 18px;
        right: -10px;
    }

    .ports-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

/* タブレット: 768px - 991px */
@media (max-width: 767px) {
    .header {
        height: 280px;
        margin-bottom: 70px;
    }

    .header-top {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-title {
        font-size: 28px;
    }

    .header-nav {
        width: 100%;
        flex-direction: row;
        gap: 10px;
    }

    .nav-link {
        font-size: 12px;
        padding: 0 15px 0 0;
    }

    .region-menu {
        padding: 10px 15px;
    }

    .region-link {
        font-size: 14px;
    }

    .region-link:not(:last-child)::after {
        font-size: 14px;
        right: -8px;
    }

    .ports-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px 0;
    }

    .port-image {
        height: 100px;
    }

    .port-name {
        font-size: 14px;
        padding: 8px;
        height: 40px;
    }

    .region-title {
        font-size: 20px;
    }

    .region-divider {
        height: 50px;
    }
}

/* モバイル: 480px - 767px */
@media (max-width: 479px) {
    .header {
        height: 240px;
        margin-bottom: 70px;
    }

    .header-top {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header-title {
        font-size: 22px;
    }

    .header-nav {
        width: 100%;
        flex-direction: row;
        gap: 5px;
    }

    .nav-link {
        font-size: 12px;
        color: #fff;
    }

    .region-menu {
        padding: 8px 10px;
        bottom: -40px;
    }

    .region-link {
        font-size: 11px;
        padding: 3px 5px;
    }

    .ports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .port-image {
        height: 80px;
    }

    .port-name {
        font-size: 12px;
        padding: 6px;
        height: 35px;
    }

    .region-title {
        font-size: 18px;
    }

    .region-divider {
        height: 40px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .footer-text,
    .footer-copyright {
        font-size: 12px;
    }
.oasis-bn-image {
    height: 40px;
}

}

/* 超小型モバイル: 〜480px */
@media (max-width: 320px) {
    .header {
        height: 200px;
        margin-bottom: 60px;
    }

    .header-title {
        font-size: 18px;
    }

    .nav-link {
        font-size: 9px;
    }

    .region-menu {
        padding: 8px 10px;
    }

    .region-link {
        font-size: 12px;
    }

    .region-link:not(:last-child)::after {
        font-size: 12px;
        right: -6px;
    }

    .ports-grid {
        grid-template-columns: 1fr;
    }

    .port-image {
        height: 70px;
    }

    .port-name {
        font-size: 11px;
    }



}
