
/* --- ファーストビュー・アニメーション --- */
.fv {
    position: relative;
}

/* --- 1. 波紋と円のアニメーション --- */
.fv-circle{
    width:45.238%;
    height:0;
    padding-top:45.238%;
    border:solid 1px #564603;
    border-radius:50%;
    position:absolute;
    left:0;
    top:50%;
    transform:
        translateY(-50%)
        scale(0);
    opacity:0;
    animation:
        mainCircleFix 1.2s cubic-bezier(0.25,0.46,0.45,0.94) 1s forwards;
    transition:
        opacity 0.6s ease;
}

/* 波紋パーツの共通設定 */
.fv-circle::before,
.fv-circle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: solid 1px #564603;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    pointer-events: none;
}

/* 波紋1つ目 */
.fv-circle::before {
    animation: rippleEffect 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.2s;
}

/* 波紋2つ目（少し遅れて発生） */
.fv-circle::after {
    animation: rippleEffect 1.8s cubic-bezier(0.215, 0.61, 0.355, 1) 0.6s;
}

@keyframes rippleEffect {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes mainCircleFix {
    0% { opacity: 0; transform: translateY(-50%) scale(0.8); }
    100% { opacity: 1; transform: translateY(-50%) scale(1); }
}

/* --- 2. ロゴのアニメーション --- */
.fv-logo-inner {
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 1.8s forwards;
}

.fv-logo img {
    max-width: 250px;
}

/* --- 3. 横線のアニメーション --- */
.fv-line {
    position: absolute;
    right: 0;
    width: calc(100% - ((100% - 1680px)/2) - 450px);
    border-bottom: solid 1px #2d270e;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    animation: lineExtend 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.2s forwards;
}

@keyframes lineExtend {
    0% { transform: translateY(-50%) scaleX(0); }
    100% { transform: translateY(-50%) scaleX(1); }
}

/* --- 4. メニュー文字のアニメーション --- */
.fv-list ul li {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.fv-list ul li:nth-child(1) { animation-delay: 2.6s; }
.fv-list ul li:nth-child(2) { animation-delay: 2.7s; }
.fv-list ul li:nth-child(3) { animation-delay: 2.8s; }
.fv-list ul li:nth-child(4) { animation-delay: 2.9s; }
.fv-list ul li:nth-child(5) { animation-delay: 3.0s; }

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* --- レイアウト・レスポンシブ（既存維持） --- */
.fv-inr {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 10000;
}

.fv-list ul {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 1680px) {
    .fv-list ul{
        margin-left: 0;
    }
    .fv-line { width: calc(100% - 450px); }
}
@media screen and (max-width: 1100px) {
    .fv-line { width: calc(100% - 410px); }
}

@media screen and (max-width: 960px) {
    .fv-circle { width: 100%; padding-top: 100%; }
    .fv-list { display: none; }
    .fv-logo img { max-width: 198px; }
    .fv-line { width: calc(100% - 375px); }
}

@media screen and (max-width: 768px) {
    .fv-line { width: calc(100% - 215px); }
    .fv-logo img { max-width: 150px; }
}

.fv-circle{
    transition:
        opacity 0.6s ease;
}

.fv-line{
    transition:
        opacity 0.6s ease;
}

.fv.is-fadeout .fv-circle{
    opacity:0;
    animation:none;
}

.fv.is-fadeout .fv-line{
    opacity:0;
}

.fv.is-scrolled-once:not(.is-fadeout) .fv-circle{
    animation:none;
    opacity:1;
    transform:
        translateY(-50%)
        scale(1);
}

.fv.is-scrolled-once .fv-circle::before{
    animation:none;
}

.fv.is-scrolled-once .fv-circle::after{
    animation:none;
}
