﻿@charset "utf-8";
/* 1536 , 1530 × 735 ,1366 *//* ←記画面幅でも崩れていないか確認 */

/* カテゴリリンクの飛び先位置の数値を適宜調整してください */

/* 修正した場合→各項目の一番下に日付をコメントアウトして追記 */


/*■■　ALL　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/* 窓ガラスのオープニングアニメーション（白枠デザイン） */
#opening-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    pointer-events: none;
    background-color: transparent;
}

.sash-left, .sash-right {
    flex: 1;
    /* ガラスの質感 */
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    height: 100vh;
    display: flex;
    align-items: center;
    transition: transform 2.2s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
    
    /* FVの写真に合わせた「白枠」サッシの表現 */
    border: 12px solid #ffffff;
    box-shadow: 
        inset 0 0 0 1px rgba(0,0,0,0.05),
        0 0 30px rgba(0,0,0,0.03);
}

.sash-left {
    justify-content: flex-end;
    border-right: 6px solid #f3f4f6; /* 中央の合わせ目 */
}

.sash-right {
    justify-content: flex-start;
    border-left: 6px solid #f3f4f6; /* 中央の合わせ目 */
}

/* ガラスの反射・光の筋 */
.sash-left::before, .sash-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9), transparent);
    opacity: 0.4;
}

/* サッシの引手（よりミニマルに） */
.sash-handle {
    width: 3px;
    height: 100px;
    background-color: #e5e7eb;
    margin: 0 20px;
    border-radius: 4px;
    position: relative;
}

.sash-handle::after {
    content: '';
    position: absolute;
    inset: -4px -10px;
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 2px;
}

.opened .sash-left {
    transform: translateX(-100%);
}

.opened .sash-right {
    transform: translateX(100%);
}

/* フェードイン効果 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    background-color: #f9fafb;
    overflow: hidden;
}

.nav-link {
    position: relative;
    padding-bottom: 2px;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #333;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

header.bg_color4{
    box-shadow: 8px 0 15px rgb(0 0 0 / 4%);
}
.head_banner a {
    background-color: var(--color5);
    color: var(--normal);
}
.txt_color1, .hvr_txt_color1:hover {
    color: #494949;
}

/* header.bg_color4{
    margin: 3%;
    border-radius: 30px;
    box-shadow: 8px 0 26px rgb(0 0 0 / 8%);
    background-color: #ffffff;
}
.head_box {
    height: calc(100vh - 3%);
}
.main_box {
    width: 100%;
    margin-left: 0;
    min-width: 100%;
}
#contents1, #contents2, #contents3, #top_cms > .con_box:first-of-type, #top_cms > .con_box, footer.border_color4, article.page_wrap, #page_title .page_box{
    padding-left: 350px;
}
#page_title .page_box{
    padding-right: 10%;
} */

/* btn color */
header .button:hover::after {
    box-shadow: inset 0 0 0 15em rgb(96 59 26 / 0%);
}
header .button:hover{
    color: var(--color1);
    background-color: var(--color4);
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em var(--color3);
}

html, body {
    font-size: 16px;
    line-height: 2;
}
.font_14 {
    font-size: 16px;
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#logo{
    max-width: 100px;
}
.fat-nav li {
    font-size: 16px;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
html, body {
    font-size: 15px;
    line-height: 2;
}
#logo{
    max-width: 81px;
}
.font_14 {
    font-size: 15px;
}
.fat-nav li {
    font-size: 15px;
}
}



/*■■　FV　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
#main_img{
    max-height: 100%;
    min-height: 100%;
}
.fv_txt{
    width: min(36%, 930px);
    top: 6vw;
    left: 9%;
}



/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){

}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
.fv_txt {
    width: 74%;
    top: 3vw;
    left: 6px;
}
}



/*■■　TOP　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
.title {
    line-height: 1.5;
}
#contents3{
   background-color: var(--color4); 
   color: var(--normal);
}
.more a, .foot_tel_bt a {
    border-radius: 50px;
    background-color: var(--color5);
    color: var(--normal);
}

/* ひらひら落ちる写真 */
.main_box {
    overflow: hidden;
    position: relative;
}
.falling-wrapper {
    position: absolute;
    top: 0;
    right: -1%;
    z-index: 10;
    transform: translate(0, -300px);
}
.falling-wrapper.start{
    animation: fallAndFade 6s linear forwards;
}

/* 揺れと傾きを制御する画像要素 */
.falling-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* 3秒周期で揺れる動きをずっと繰り返す */
    animation: swing 4s ease-in-out infinite;
}

/* 落下とフェードアウトの動きの定義 */
@keyframes fallAndFade {
    0% {
        transform: translate(0, -300px); /* 画面右側の上部からスタート */
        opacity: 1;
    }
    90% {
        opacity: 1; /* 画面の下の方（70%の地点）まではそのまま */
    }
    100% {
        transform: translate(0, 110vh); /* 右側をまっすぐ下へ移動して終了 */
        opacity: 0; /* 完全に消える */
    }
}

/* 揺れと傾きの動きの定義 */
@keyframes swing {
    0% {
        transform: translateX(40px) rotate(10deg); /* 右に揺れて傾く */
    }
    25% {
        transform: translateX(-60px) rotate(10deg); /* 右に揺れて傾く */
    }
    50% {
        transform: translateX(60px) rotate(-10deg); /* 左に揺れて逆に傾く */
    }
    75% {
        transform: translateX(-100px) rotate(-10deg); /* 左に揺れて逆に傾く */
    }
    100% {
        transform: translateX(40px) rotate(10deg); /* 元に戻る */
    }
}
.f_item{
    width: min(45%, 507px);
    right: -3%;
    bottom: 3%;
    transform: rotate(-8deg);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.09);
    z-index: -1;
}
footer.top{
    text-align: center;
}
footer.top .logo, footer.top .footer_cms {
    text-align: left;
}
footer.top #footer_menu{
    background-color: #ffffffdb;
    border-radius: 50px;
    display: inline-block;
    padding: 0 12px;
}


/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
footer.top #footer_menu{
    background-color: transparent;
}
.falling-image, .f_item{
    display: none;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){
#contents1 {
    padding: 50px 10%;
}
#contents2 {
    padding: 50px 10% 150px;
}
.cms_title h2 {
    font-size: 22px;
}
}



/*■■　下層ページ　■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■*/
/*カテゴリリンクの飛び先位置を調整する*/
/* --- PC --- */
:root {
--header-height: 50px;
}
/* --- タブレット --- */
@media screen and (max-width: 768px){
:root {
--header-height: 130px;
}
}
/* --- スマートフォン --- */
@media screen and (max-width: 667px){
:root {
--header-height: 100px;
}
}

#page_title .page_box {
    text-align: left;
    padding-left: 9%;
}
.cate_list {
    justify-content: flex-start;
}
#cms_5-f .cate_box .open_bt .box_title1, .cms_5-f .cate_box .open_bt .box_title1{
    margin-left: 43px;
}
#cms_5-f .cate_box .open_bt .box_title1::before, .cms_5-f .cate_box .open_bt .box_title1::before{
    display: none;
}
.cate_list li a:hover, .head_banner a:hover{
    background-color: var(--color6);
    background-color: var(--color3);
    color: #fff;
}
.button2:hover {
    box-shadow: 0 0 20px rgb(180 180 180 / 0%) inset!important;
    background-color: var(--color5)!important;
    color: var(--normal)!important;
}
#page_title .title_img::before{
    display: none;
}

#tel_txt .title {
    color: var(--color1)!important;
}

/* ---------------------------　タブレット　-------------------------- */
@media screen and (max-width: 768px){
#page_title .page_box {
    padding-left: 6%;
}
}

/* --------------------------　スマホ　-------------------------- */
@media screen and (max-width: 667px){

}


