/* ================== 基本フォント設定 ================== */
:root {
    --base-font-size: 16px; /* 基準となるピクセル値 */
}

html {
    font-size: 100%; /* ブラウザのデフォルトサイズ */
}

body {
    font-family: 'Arial', sans-serif;
    font-size: var(--base-font-size);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f2e2;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, span, div, a {
    font-size: inherit;
}

h1, h3, h5 {
    font-size: 1.5em;
}

/* ================== ナビゲーション ================== */
nav ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1rem;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #FFF;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #e5a67c;
}

/* ================== メインコンテンツ ================== */
main {
    margin: 0 0 50px 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ================== ロゴ ================== */
.bland {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    margin-bottom: 20px;
}

.logo {
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 100px;
}

@media (max-width: 680px) {
    .logo {
        width: 680px;
    }
}

/* ================== 紹介文 ================== */
.introduction {
    align-items: center;
    text-align: center;
    margin-top: 30px;
}

.introduction p {
    margin: auto;
    width: 50%;
    text-align: left;
    color: #f97948;
    font-weight: bold;
}

/* ================== メンバー ================== */
.members {
    width: 100%;
    text-align: center;
    padding-bottom: 30px;
    background-color: #dccbb4;
}

.member {
    background-image: url(sky_2.jpg);
    width: 100%;
    height: 230px;
    text-align: center;
}

.member-container {
    display: flex;
    align-items: center;
    height: 60%;
}

.member-wrapper {
    display: flex;
    animation: slide-jump 30s infinite linear 1s both;
}

.member-wrapper img {
    height: 160px;
    object-fit: contain;
}

@keyframes slide-jump {
    0%   { transform: translateX(0) translateY(0); }
    5%   { transform: translateX(-5%) translateY(5%); }
    10%  { transform: translateX(-10%) translateY(0); }
    15%  { transform: translateX(-15%) translateY(5%); }
    20%  { transform: translateX(-20%) translateY(0); }
    25%  { transform: translateX(-25%) translateY(5%); }
    30%  { transform: translateX(-30%) translateY(0); }
    35%  { transform: translateX(-35%) translateY(5%); }
    40%  { transform: translateX(-40%) translateY(0); }
    45%  { transform: translateX(-45%) translateY(5%); }
    50%  { transform: translateX(-50%) translateY(0); }
    55%  { transform: translateX(-55%) translateY(0); }
    60%  { transform: translateX(-60%) translateY(5%); }
    65%  { transform: translateX(-65%) translateY(0); }
    70%  { transform: translateX(-70%) translateY(5%); }
    75%  { transform: translateX(-75%) translateY(0); }
    80%  { transform: translateX(-80%) translateY(5%); }
    85%  { transform: translateX(-85%) translateY(0); }
    90%  { transform: translateX(-90%) translateY(5%); }
    95%  { transform: translateX(-95%) translateY(0); }
    100% { transform: translateX(-100%) translateY(5%); }
}

/* ================== 動画 ================== */
.movie {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1rem;
    margin-bottom: 20px;
}

.movie .contents {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    background-color: #dccbb4;
}

.movie .content iframe {
    width: 100%;
    height: 300px;
}

.movie a {
    text-decoration: none;
}

@media (max-width: 680px) {
    .movie .contents {
        grid-template-columns: 1fr;
    }
}

/* ================== 背景写真 ================== */
.backgroundPhotoArea {
    text-align: center;
}

.backgroundPhoto {
    height: 500px;
}

/* ================== フッター ================== */
footer {
    background-color: #f97948;
    color: #FFF;
    text-align: center;
    padding: 0.5px;
    width: 100%;
}

/* ================== リンク ================== */
a {
    color: #FF6600;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* ================== 写真スライド ================== */
.photos {
    background-color: #dccbb4;
    text-align: center;
}

.slide-container {
    width: 90%;
    margin: 50px auto;
    display: flex;
    overflow: hidden;
}

.slide-wrapper {
    display: flex;
    animation: slide-flow 90s infinite linear 1s both;
}

.slide {
    width: 300px;
    object-fit: cover;
    border: 1px solid #ddd;
}

@keyframes slide-flow {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ================== インフォメーション ================== */
.information {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    background-color: #dccbb4;
}

/* ================== 地図 ================== */
.map {
    text-align: center;
    margin-bottom: 20px;
}

/* ================== コミュニケーション ================== */
.comunication {
    margin-top: 80px;
    text-align: center;
}

/* ================== 見出し ================== */
h2 {
    color: #FF6600;
    border-bottom: 2px solid #cd6319;
    padding-bottom: 0.5rem;
}

/* ================== ボタン ================== */
.button {
    display: inline-block;
    background-color: #cd6319;
    color: #FFF;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #FF6600;
}

/* ================== 画像選択不可 ================== */
img {
    pointer-events: none !important;
    user-select: none;
}

/* ================== スタートロゴフェード ================== */
.start {
    background: #FFF;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

.start p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    padding-left: 100px;
}

@media (max-width: 680px) {
    #start-logo {
        width: 680px;
    }
}
