@charset "utf-8";

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

html, body {
    font-family: "游ゴシック体", sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1 {
    text-align: center;
    font-size: 30px;
    padding: 20px;
}

h5 {
    font-size: 25px;
    margin: 20px 5px;
}

main {
    background-color: #000;
    color: white;
}

.menu {
    font-size: 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    color: black;
    background-color: white;
    cursor: pointer;
    position: fixed;
    width: 100%;
    height: 16.5vw;
    bottom: 0;
    border-bottom: #8c8888 solid 2px;
    z-index: 900;
}

.menu-item {
    flex: 1;
    text-align: center;
    position: relative;
    font-size: 135%;
}

.menu-item img {
    width: 50%;
    height: auto;
    margin: 0 auto;
}

.menu-item p {
    margin-bottom: 17%;
}

#menu-button {
    font-size: 125%;
    margin-bottom: 13%;
}

.vertical-line {
    position: relative;
    width: 1px;
    height: 60%;
    background-color: #000;
}

#yomezaru {
    position: absolute;
    bottom: -15%;
    left: 23%;
    margin: 0;
    font-size: 12px;
}

.overlay-main-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1005;
    display: flex;
    writing-mode: vertical-rl; /* 縦書き、右から左へ */
    text-orientation: upright; /* 縦書き用に文字を立てて表示 */
    padding-top: 20%;
    padding-right: 5%;
    line-height: 2.5;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

.overlay-main-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.overlay-main-menu ul {
    list-style-type: none;
}

.overlay-main-menu ul li {
    font-size: 25px;
}

.overlay-main-menu ul li a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

#close-button {
    color: white;
    background: none;
    border: none;
    position: absolute;
    bottom: 7%;
    right: 0;
    margin-right: -3%;
    font-size: 100px;
    cursor: pointer;
    z-index: 1010;
}

.image-container {
    width: 100vw;
    height: 95vw;
    position: relative;
    overflow: hidden;
}

.main-title {
    position: absolute;
    color: white;
    font-size: 40px;
    z-index: 1500;
    top: 10%;
    left: 25%;
}

.phone-number-info {
    display: none;
}

.phone-number {
    display: none;
}

.main-info {
    position: absolute;
    color: white;
    font-size: 15px;
    margin: 10px;
    bottom: 5%;
    z-index: 1300;
}

.image-container {
    z-index: 1000;
}

.image-container img {
    width: 100%;
    height: auto;
    position: absolute;
    opacity: 0;
    transition: opacity 2s ease;
    z-index: -1;
}

.image-container img.active {
    opacity: 1;
    z-index: 1;
}

.main-menu {
    position: absolute;
    display: none;
    top: 5%;
    right: 10%;
    z-index: 5;
    color: white;
    writing-mode: vertical-rl; /* 縦書き、右から左へ */
    text-orientation: upright; /* 縦書き用に文字を立てて表示 */
    line-height: 3;
}

.main-menu ul {
    list-style-type: none;
}

.main-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 30px;
}

.main-menu p {
    margin: 0;
    font-size: 15px;
}

.menu-info {
    display: flex;
    flex-direction: column;
    margin: 10px;
    justify-content: center;
    text-align: center;
}

.menu-info img {
    width: 90%;
    height: auto;
    margin: 5vw;
}

.fade-in {
    opacity: 0; /* 最初は見えない */
    transition: opacity 1s ease, transform 0.8s ease; /* スムーズな動き */
}
  
.fade-in.visible {
    opacity: 1; /* 表示 */
    transform: translateY(0); /* 元の位置に戻す */
}

/* スクロールボタン*/
#scroll-to-top {
    position: fixed;
    bottom: 20vw;
    right: 4%;
    padding: 20px 25px;
    background-color: #e1dede;
    color: black;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: none;
}

#scroll-to-top:hover {
    background-color: #e3e1e1;
}

footer {
    background-color: rgb(48, 48, 48);
    font-size: 18px;
    width: 100vw;
    height: auto;
    display: flex;
    flex-direction: column;
}

#main-footer {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: auto;
    padding-top: 10px;
}

.info-block {
    display: flex; /* 横並びに配置 */
    align-items: flex-start; /* 上端で揃える */
    margin-bottom: 20px;
    width: 100%;
    margin: 5px;
    margin-bottom: 25px;
}

.label {
    width: 35vw;
    color: #908d8d;
    margin-right: 10px;
}

.content {
    width: 60vw;
    line-height: 1.6; /* 読みやすくするため行間を調整 */
    color: white;
    margin-right: 5px;
}

.footer-menu {
    display: none;
    max-width: 20vw;
    border-left: white solid 1px;
    line-height: 3;
}

.footer-menu ul {
    list-style-type: none;
    margin: 30px 15px;
}

.footer1 {
    width: 100%;
    height: 220px;
    padding: 5%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    bottom: 0;
}

footer p {
    color: white;
    margin-bottom: 1em;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.overlay {
    position: fixed; /* 画面上に固定 */
    top: 0;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    z-index: 1300;
    padding: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.overlay-content {
    width: 95%;
    height: 100%;
}

.overlay-content iframe {
    width: 100%;
    height: 550px;
    border: none;
}

.close-button {
    position: absolute;
    top: 5%;
    right: 5%;
    background: none;
    border: none;
    font-size: 60px;
    color: #000;
    cursor: pointer;
}

.oshinagaki {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-right: 15px;
}

.oshinagaki .item {
    padding: 10px;
    flex: 1 1 100%;
    box-sizing: border-box;
}
.oshinagaki .item[data-order="1"] { order: 1; }
.oshinagaki .item[data-order="3"] { order: 2; }
.oshinagaki .item[data-order="2"] { order: 3; }
.oshinagaki .item[data-order="4"] { order: 4; }

.oshinagaki h2 {
    width: 230px;
    height: 40px;
    margin-left: 10px;
    background-color: rgb(255, 174, 0);
    color: black;
    text-align: center;
}

.oshinagaki ul {
    list-style-type: none;
}

.oshinagaki ul li {
    border-bottom: 1px solid black;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 5px;
}

.oshinagaki ul li p {
    float: right;
}

.oshinagaki-ichiran {
    text-align: center;
    font-size: 30px;
    margin: 30px;
}

.oshinagaki-ichiran a {
    color: white;
    text-decoration: none;
    border: white solid 1px;
    padding: 10px;
}

iframe {
    width: 90vw;
    height: 70vw;
    margin: 5%;
}

.information-area {
    width: 100%;
    height: 150vh;
    background-color: rgb(66, 66, 68);
    color: white;
    font-size: 30px;
    padding-bottom: 50px;
    overflow: hidden;
}

.information-area p {
    margin: 30px;
}

.information-area a {
    text-decoration: none;
}

.kodawari {
    width: 100%;
    height: auto;
    background-color: #000;
    color: white;
    font-size: 15px;
    padding: 50px 10px;
    line-height: 2;
}

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

.instagram-media {
    width: 90vw;
    height: 80vh;
    margin: 10px;
    margin-top: 20px;
    overflow-y: scroll;
}
