body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* ライン装飾 */
.lined-short {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;                 /* 文字と線の間隔 */
  font-size: 1.2rem;         /* 文字サイズ（お好みで） */
  font-weight: 600;
  color: #333;
  margin: 2rem 0;            /* 上下余白（不要なら削除） */
}

.lined-short::before,
.lined-short::after {
  content: "";
  width: 100px;              /* 線の長さ */
  height: 2px;               /* 線の太さ */
  background-color: #999;    /* 線の色 */
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.95rem;
}

main {
    padding: 2rem 1rem;
    text-align: center;
}

h1 {
    color:black;
    margin-bottom: 1rem;
}

/* メイン内容
----------------------------------------------------------- */
.section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

/* コンテナ要素
----------------------------------------------------------- */
.container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ========== 画像 ========== */
.image-box {
    width: 100%;
    position: relative;
}

.image-box img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

/* ========== テキストボックス ========== */
.text-box {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-top: 20px;
    width: 90%;
    max-width: 400px;
}

.text-box h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.text-box p {
    font-size: 0.9rem;
    color: #555;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    transition: 0.3s;
}

.btn:hover {
    background-color: #000;
    color: #fff;
}

/* ========== PCレイアウト（768px以上） ========== */
@media (min-width: 768px) {
    .container {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    }

    .section:nth-child(even) .container {
    flex-direction: row-reverse; /* 偶数番だけ反転 */
    }

    .image-box {
    flex: 1;
    max-width: 700px;
    }

    .text-box {
    position: relative;
    margin-top: 0;
    margin-left: -80px;
    z-index: 3;
    }

    /* 偶数セクションは反対側に重ねる */
    .section:nth-child(even) .text-box {
    margin-left: 0;
    margin-right: -80px;
    }
}

/* gallery要素
----------------------------------------------------------- */
.photo {
    background-color: #f0faff;
    padding: 40px 0;
    width: 100%;
    text-align: center;
}

.photo h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.swiper {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.photo a {
    display: block;
    margin-top: 15px;
    color: #333;
    font-size: 0.9rem;
}

/* 展示場所要素
----------------------------------------------------------- */
.lined-short {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;                 /* 文字と線の間隔 */
font-size: 1.2rem;         /* 文字サイズ（お好みで） */
font-weight: 600;
color: #333;
margin: 2rem 0;            /* 上下余白（不要なら削除） */
}

.lined-short::before,
.lined-short::after {
content: "";
width: 100px;              /* 線の長さ */
height: 2px;               /* 線の太さ */
background-color: #999;    /* 線の色 */
}

/* access要素
----------------------------------------------------------- */
.access{
text-align: center;
margin: 30px 0 15px 0;
font-size: 2rem;
font-weight: bold;
}

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

.text-align iframe{
width: 85%;
height: 400px;
padding-bottom: 30px;
}

@media screen and (min-width :768px) {
.access{
    font-size: 2.5rem;
    margin-bottom: 20px;
}
}

@media screen and (min-width :990px) {
.access{
    font-size: 3rem;
    margin-bottom: 30px;
}
}
