/* 共通スタイル */
body {
    font-family: "Arial", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
    color: #333;
    overflow-x: hidden;
    padding-top: 60px; /* ヘッダー固定のための余白 */
}

/* ヘッダー（固定表示） */
.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #007acc;
    color: white;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.header-name {
    font-size: 20px;
    font-weight: bold;
}
.header-social {
    display: flex;
    gap: 10px;
    margin-right: 30px; /* SNSボタンを30px左に移動 */
}
.social-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease-in-out;
}
.social-icon img:hover {
    transform: scale(1.1);
}

/* キービジュアル（動画背景） */
.keyvisual {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.keyvisual::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.3);
    background-image: radial-gradient(#111 30%, transparent 31%), radial-gradient(#111 30%, transparent 31%);
    background-size: 4px 4px;
    background-position: 0 0, 2px 2px;
}
.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}


.keyvisual-content {
    position: relative;
    color: white;
    z-index: 1;
}
.keyvisual .catchphrase {
    font-size: 80px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}
.keyvisual .subtext {
    font-size: 24px;
    margin-top: 10px;
}

/* メッセージセクション */
.message-section {
    padding: 60px 10%;
    background-color: #ffffff;
    text-align: center;
    border-top: 4px solid #007acc;
    border-bottom: 4px solid #007acc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    border-radius: 10px;
}
.message-section h2 {
    font-size: 28px;
    color: #007acc;
    margin-bottom: 20px;
}
.message-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: left;
}

.message-section img {
    max-width:200px;
    width: 100%;
}

@media (max-width: 768px) {
    .message-section p {
        text-align: left;
    }
}

/* カルーセル（横並び & 自動スクロール対応） */
.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.carousel-container {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s linear;
    will-change: transform;
}
.carousel-container img {
    width: 300px;
    flex-shrink: 0;
    margin-right: 20px;
    border-radius: 10px;
}


/* 各政策セクション */
.policy-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 40px 10%;
}
.policy-box {
    background-color: white;
    border: 2px solid #007acc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.policy-box:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.policy-box h3 {
    font-size: 22px;
    color: #007acc;
    margin-bottom: 10px;
}
.policy-box p {
    font-size: 18px;
    line-height: 1.6;
}

.policy-box p.pbold {
    font-size: 24px;
    line-height: 1.8;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 768px) {
    .policy-box p {
        text-align: left;
    }
}

/* プロフィールセクション */
.profile-section {
    padding: 60px 10%;
    background-color: #ffffff;
    text-align: center;
    border-top: 4px solid #007acc;
    border-bottom: 4px solid #007acc;
}
.profile-section h2 {
    font-size: 28px;
    color: #007acc;
    margin-bottom: 20px;
}
.profile-section img {
    width: 200px;
    display: block;
    margin: 0 auto 20px auto;
}
.profile-section p {
    font-size: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .profile-section p {
        text-align: left;
    }
}

/* フッター */
footer {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 20px 0;
    background-color: #f0f8ff;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .keyvisual {
        height: 60vh;
    }
    .keyvisual .catchphrase {
        font-size: 40px;
    }
    .keyvisual .subtext {
        font-size: 18px;
    }
    .policy-wrapper {
        grid-template-columns: 1fr;
    }
}


@media screen and (min-width: 769px){
  .spbr{
    display: none;
  }
}