/*　汎用st　*/
/* 1. リセットスタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vw: 1vw;
}

/* 横スクロールを防ぐ */
body,
html {
    overflow-x: hidden;
    /* 横スクロールを禁止 */
}

html {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
}

body {
    /* background-color: #f8f9fa; */
    color: #333;
    margin: 0;
    padding: 0;
}

/* <a>タグのリセット */
a {
    text-decoration: none;
    /* 下線を削除 */
    color: inherit;
    /* テキスト色を親要素に合わせる */
    cursor: pointer;
    /* クリック可能に */
}

/* リストのリセット */
ul,
ol {
    list-style: none;
    /* リストの記号を非表示 */
    margin: 0;
    padding: 0;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

/*
.fade-in {
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}
*/

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* アニメーションを適用した後の状態 */
.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-20px);
    /* 左からフェードイン */
}

.fade-in-right {
    transform: translateX(20px);
    /* 右からフェードイン */
}

.fade-in-center {
    transform: scale(0.8);
    /* ズームイン */
}

.fade-in-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    /* アニメーション完了時 */
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* ズームインアニメーション */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* ボックスサイズを要素のサイズに合わせる */
*::before,
*::after {
    box-sizing: inherit;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
}

/* ヘッダー内のロゴ（h1）の位置を調整 */
.header__logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
    /* text-transform: uppercase; */
    flex-shrink: 0;
    /* ロゴが縮小されないように */
    align-self: flex-start;
    /* ロゴを左端に寄せる */
    /* color: #007BFF; */
}

/* ヘッダー全体のコンテナ */
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    /* 必要に応じて調整 */
    /* margin: 0 auto; */
    margin: 1rem;
    /* padding: 0 20px; */
    /* 横方向の余白を追加 */
    /* color: #ffffff; */
    /* background: #ffffff; */
}

/* ナビゲーションメニュー */
.header__nav {
    display: flex;
    align-items: center;
}

/* メニューリスト */
.header__menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.header__menu li {
    opacity: 0;
    /* 初期状態で透明 */
    transform: translateX(20px);
    /* 右にオフセット */
    animation: fadeIn 0.5s ease forwards;
}

.header__menu.active li:nth-child(1) {
    animation-delay: 0.1s;
}

.header__menu.active li:nth-child(2) {
    animation-delay: 0.2s;
}

.header__menu.active li:nth-child(3) {
    animation-delay: 0.3s;
}

/* メニューリンク */
.header__link {
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header__link:hover {
    color: #1a73e8;
    /* ホバー時のリンク色 */
}

/* ハンバーガーアイコンの基本スタイル（常に適用） */
.header__hamburger {
    display: none;
    /* デフォルトでは非表示 */
    position: relative;
    width: 30px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 1001;
}

.header__hamburger span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #000000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__hamburger.active span {
    background-color: #fff;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 8px;
}

.header__hamburger span:nth-child(3) {
    top: 16px;
}

/* ハンバーガーアイコンのアニメーション */
.header__hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
}

.header__hamburger.active span:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 8px;
}

.header__menu {
    display: none;
    /* 初期状態は非表示 */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: right 0.3s ease, opacity 0.3s ease;
    /* スライドとフェードの効果 */
    opacity: 0;
    /* 非表示状態で透明 */
    z-index: 1000;
}

.header__menu.active {
    right: 0;
    /* スライド表示 */
    opacity: 1;
    /* 不透明状態に変化 */
    display: flex;
    /* メニューを表示 */
}

/* PC用のスタイル */
@media (min-width: 769px) {
    .header__menu {
        display: flex;
        /* メニューを表示 */
        flex-direction: row;
        /* 横並びにする */
        opacity: 1;
        /* 完全に表示 */
        position: static;
        /* 固定解除 */
        background-color: transparent;
        /* 背景色を透明に */
        box-shadow: none;
        /* ボックスシャドウを解除 */
        width: auto;
        height: auto;
        padding: 0;
    }

    .header__hamburger {
        display: none;
        /* ハンバーガーアイコンを非表示 */
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .header__link {
        color: #fff
    }

    .header__hamburger {
        display: block;
        /* ハンバーガーアイコンをモバイル画面で表示 */
    }

    .header__menu {
        display: none;
        /* デフォルトでは非表示 */
    }

    .header__menu.active {
        display: flex;
        /* ハンバーガークリック時に表示 */
        flex-direction: column;
        /* 縦並びに表示 */
        position: fixed;
        /* 固定配置 */
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: #000000cc;
        /* background-color: #1a73e8; */
        /* background-image: url('../images/jewelry.webp'); */
        background-size: contain;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }

}

.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 100vh;
    margin: auto;
    overflow: hidden;
}

.mySlides img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    animation: zoomIn 10s ease-in-out infinite;
}

@media (min-width: 768px) {
    .slideshow-container {
        height: 75vh;
    }
}

@media (min-width: 768px) {
    .mySlides img {
        height: 75vh;
    }
}

@media (min-width: 1024px) {
    .slideshow-container {
        height: 100vh;
    }
}

@media (min-width: 1024px) {
    .mySlides img {
        height: 100vh;
    }
}

/* フッター全体 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
}

/* コンテナで横幅を統一 */
.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
}

/* フッター上部：ロゴとナビ */
.footer__top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer__logo a {
    font-size: 1.5rem;
    font-weight: bold;
    /* text-transform: uppercase; */
    color: #fff;
}

.footer__nav {
    flex-grow: 1;
    text-align: right;
    margin-left: 1rem;
}

.footer__menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #1a73e8;
}

/* フッター下部：コピーライトとソーシャルリンク */
.footer__bottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
}

.footer__copy {
    font-size: 0.9rem;
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__social-link:hover {
    color: #1a73e8;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {

    .footer__top,
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer__nav {
        margin-top: 1rem;
        margin-left: 0;
    }

    .footer__menu {
        flex-direction: column;
        align-items: center;
    }

    .footer__bottom {
        gap: 0.5rem;
    }
}

/* フッター内のGoogle Map */
.footer__map {
    margin: 2rem 0;
    /* 必要に応じて中央寄せや余白調整 */
}

.footer__map iframe {
    width: 100%;
    height: 300px;
    /* 高さはお好みで調整 */
    border: 0;
}

.contact-buttons {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 1000;
    background-color: #323232;
}

.contact-btn {
    flex: 1;
    padding: 15px;
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    background: transparent;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 真ん中に白い線を入れて区切る */
.contact-btn.email-btn {
    border-left: 1px solid #fff;
}

.honeypot {
    display: none;
}

/*　汎用en　*/