@charset "UTF-8";

/* * {
    outline: 1px solid red;
} */

body {

    margin: 0;
    font-family: sans-serif;
    line-height: 1.6;
}

header {
    display: flex;
    align-items: center;
    background-color: #D9D9D9;
    width: 100%;
    height: auto;
    position: fixed;
    z-index: 5;
}

header p {
    width: 30%;
    text-align: center;
}

.pc-menu {
    width: 70%;

}

.pc-menu ul {

    display: flex;
    width: 100%;

}

.pc-menu ul li {

    margin: 21px auto;
    text-align: center;

    font-size: clamp(1rem, 1vw, 3rem);
    justify-content: space-between;
}

.main {

    max-width: 1920px;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
}

.menu {
    /* 初期状態では非表示 */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu.panelactive {
    position: fixed;
    z-index: 9999;
    /* ハンバーガーボタンより低く */
    top: 0;
    width: 100%;
    height: 100vh;
    opacity: 1;
    visibility: visible;
}

.circle-bg {
    position: fixed;
    z-index: 9998;
    /*丸の形*/
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #EEEEEE;
    /*丸のスタート位置と形状*/
    transform: scale(0);
    /*scaleをはじめは0に*/
    right: 25px;
    top: 25px;
    transition: transform 0.6s ease;
    /*0.6秒かけてアニメーション*/
}

.circle-bg.circleactive {
    transform: scale(50);
    /*クラスが付与されたらscaleを拡大*/
}

.menu ul {
    opacity: 0;
    /*はじめは透過0*/
    /*ナビゲーション天地中央揃え※レイアウトによって調整してください。不必要なら削除*/
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(20px);
    list-style: none;
    padding: 0;
    margin: 0;
}

/*背景が出現後にナビゲーションを表示*/
.menu.panelactive ul {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* 背景が出現後にナビゲーション li を表示※レイアウトによって調整してください。不必要なら削除*/
.menu.panelactive ul li {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s;
    /*0.2 秒遅らせて出現*/
    animation-fill-mode: forwards;
    opacity: 0;

}

@keyframes gnaviAnime {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*リストのレイアウト設定*/
.menu li {
    text-align: center;
    list-style: none;
    margin: 20px 0;
}

.menu li a {
    color: #333;
    text-decoration: none;
    padding: 15px 30px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #007bff;
}

/*========= ボタンのためのCSS ===============*/
#menu-toggle {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10001;
    /* より高いz-indexに設定 */
    cursor: pointer;
    width: 50px;
    height: 50px;
    background-color: #D9D9D9;
    border: none;
    /* ボタンとして扱う場合 */
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    /* クリックイベントを確実に受け取る */
}

.menu_logo {
    display: none;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10000;
    /* ハンバーガーボタンより低く */
    width: calc(100% - 70px);
    /* ハンバーガーボタンの分を除く */
    height: 50px;
    background-color: #D9D9D9;
    pointer-events: none;
    /* ロゴ部分はクリックイベントを通す */
}


/*×に変化*/
#menu-toggle span {
    display: inline-block;
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666;
    width: 25px;
    height: 3px;
}

#menu-toggle span:nth-of-type(1) {
    top: 15px;
}

#menu-toggle span:nth-of-type(2) {
    top: 23px;
}

#menu-toggle span:nth-of-type(3) {
    top: 31px;
}

/* アクティブ状態 */
#menu-toggle.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(45deg);
    width: 30%;
}

#menu-toggle.active span:nth-of-type(2) {
    opacity: 0;
}

#menu-toggle.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(-45deg);
    width: 30%;
}

h2 {
    color: #A9A4D0;
    opacity: 0.8;
    font-family: 'Dela Gothic One';
    font-size: clamp(3rem, 6vw, 6rem);
    /* 画面幅に応じてサイズ自動調整 */

    font-weight: bold;
    text-align: center;

}

.information {
    display: flex;
    width: 100%;
    height: 700px;
}

.time {
    width: 53%;
    height: auto;
    margin: auto;
    background-color: #EEEEEE;
    padding: 0rem 2rem;
    border-radius: 1rem;
}

.time p {
    font-size: 20px;
    margin: 2rem 0;
    flex-direction: column;
    border-bottom: solid 1px;
}

time {
    font-size: clamp(1rem, 2vw, 2rem);
}

.Timetext {
    padding-left: 120px;
}


.work {
    padding: 25px 20px;
    max-width: 1920px;
    width: 78%;
    height: 770px;
    margin: 0 auto;
    margin-bottom: 65px;
}


.work h2 {
    text-align: center;
    font-weight: bolder;
    color: #C98820;
    text-shadow: 5px 5px 0 rgb(187, 182, 217);
    padding-top: 4%;
}

.work h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.fleximges {
    display: flex;
    gap: 70px;
    list-style: none;
    justify-content: center;
}

.mask {
    display: block;
    overflow: hidden;
    position: relative;
}

.mask img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zoomIntext:hover .mask img {
    transform: scale(1.05);
}

.cap {
    background: white;
    padding: 20px;
    text-align: center;
}

.cap p {
    font-size: 1.1rem;
    color: #333;
    line-height: 1.8;
    width: 103%;
}

/* スライダー用スタイル（768px以下で適用） */
.slider-container {
    display: none;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    display: flex;
    width: 100%;
    transition: transform 0.3s ease;
}

.slide {
    min-width: 100%;
    display: flex;
    flex-direction: column;
}

.slide .mask {
    width: 100%;
}

.slide .mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .cap {
    background: white;
    padding: 15px;
    text-align: center;
    margin-top: 10px;
    border-radius: 0 0 10px 10px;
}

/* スライダーナビゲーション */
.work-slider-nav {
    display: none;
    /* display: flex; */
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.work-nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.work-nav-dot.work-active {
    background: #007bff;
}

/* スライダー矢印 */
.work-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s ease;
}

.work-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.work-slider-arrow.work-prev {
    left: 10px;
}

.work-slider-arrow.work-next {
    right: 10px;
}

.Business {
    margin: 0;
    background-image: url(../imges/family.png);
    background-repeat: no-repeat;
    max-width: 100%;
    width: 100%;
    height: 900px;
    background-size: 120%;
    background-position: 0% 40%;
}

.Business h2 {
    font-weight: bolder;
    color: #C98820;
    text-shadow: 5px 5px 0 rgb(187, 182, 217);
}

h3 {
    font-size: 30px;
    text-align: center;
}




.Company h2 {
    position: relative;
    font-weight: bolder;
    color: #C98820;
    text-shadow: 5px 5px 0 rgb(187, 182, 217)
}

.information a h2 {
    width: 100%;
    margin-top: 50px;
    margin-left: 117px;
    text-align: left;
    writing-mode: vertical-rl;
    /* 縦書きにする（右から左へ） */
    text-orientation: upright;
    /* 文字を立てて表示 */
    /* writing-mode: vertical-rl; */
    /* 縦書き */
    font-size: 45px;
    white-space: nowrap;
    z-index: 0;
    font-weight: bolder;
    color: #C98820;
    text-shadow: 4px 3px 0 rgb(187, 182, 217);
}


.btn {
    width: 25%;
    text-align: center;
    text-decoration: none;
    padding: 1rem 0.5rem;
    font-weight: bold;
    font-feature-settings: "palt" 1;
    background: #D9D9D9;
    color: #000000;
    border: 1px solid #000000;
    transition: 0.5s;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
}

#btn {
    width: 100%;
    display: block;
    padding-top: 1%;
    margin-top: 10px;
    text-align: -webkit-right;

}


.container {
    position: relative;
    width: 150%;
    height: 100%;
    overflow: hidden;
}

h1 {
    width: 100%;
    font-size: 38px;
    line-height: 2em;
    color: #000000;
    text-shadow: #EEEEEE;
}


h1 .gradation {
    font-size: clamp(3rem, 5vw, 8rem);
    background: linear-gradient(90deg, #fff1c6 10%, #f3eaa3 40%, #d6b984 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

}

.main-text {
    width: 61%;
    position: absolute;
    top: 15%;
    left: 54%;
}


strong {
    font-size: 60px;
}


.text-container {
    margin-left: 22%;
}



.container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.container img.active {
    animation: 4s zoomFadeIn forwards;
}

/* 画像がフェードイン＆ズームインし、フェードアウトするアニメーション */
@keyframes zoomFadeIn {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: scale(1.2);
    }
}

/* workのアニメーション */
.zoomIntext {
    position: relative;
}

.zoomIntext span.mask {
    position: relative;
    transition: .3 ease-in-out;
    display: block;
    line-height: 0;
    overflow: hidden;
}

.zoomIntext:hover span.mask::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    background: rgba(255, 255, 255, 0.5);

}

.zoomIntext img {
    transform: scale(1);
    filter: blur(0);
    transition: .3s ease-in-out;


}

.zoomIntext:hover img {

    transform: scale(1.2);
    filter: blur(2);
}

.zoomIntext span.cap {
    opacity: 0;
    transition: .5s ease-in-out;
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    line-height: 1.5;
}

.zoomIntext:hover span.cap {
    opacity: 1;
}

.Businesscontainer-center {
    width: 300px;
    height: 300px;
    margin: 1% auto;
    position: relative;
    display: block;
    text-align: center;
    border-radius: 50%;
    background: rgba(212, 159, 76, 0.7);

}

.Businesscontainer-center dt {
    font-size: 30px;
    padding-top: 20%;
    font-weight: bold;
    text-align: center;
}

.Businesscontainer-center dd {
    font-size: 25px;
    font-weight: normal;
}

.Businesscontainer-right {
    width: 300px;
    height: 300px;
    margin: 1% auto;
    border-radius: 50%;
    background: rgba(212, 159, 76, 0.7);
    position: absolute;
    left: 20%;
    display: block;
    text-align: center;
}

.Businesscontainer-right dt {
    font-size: 30px;
    padding-top: 20%;
    font-weight: bold;
}

.Businesscontainer-right dd {
    font-size: 25px;
    font-weight: normal;
}

.Businesscontainer-left {
    width: 300px;
    height: 300px;
    margin: 1% auto;
    border-radius: 50%;
    background: rgba(212, 159, 76, 0.7);
    position: absolute;
    right: 20%;
    display: block;
    text-align: center;
}

.Businesscontainer-left dt {
    font-size: 30px;
    padding-top: 30%;
    font-weight: bold;
    text-align: center;
}

.Businesscontainer-left dd {
    font-size: 25px;
    font-weight: normal;
}

.business-slider-container {
    display: none;
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: auto;
    overflow: hidden;
}

.business-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.business-slide {
    width: 100%;
    height: auto;
}

.business-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像のアスペクト比を保ちながら枠に合わせる */
}

button {
    position: absolute;
    top: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    transform: translateY(-50%);
}

.business-prev {
    left: 0;
}

.business-next {
    right: 0;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.Companycontainer {
    width: 80%;
    display: flex;
    margin: 3% 10%;
}

#Companycontainer {
    width: 50%;
    display: block;
    background-color: #EEEEEE;
    padding: 2%;

}

.info-table {
    width: 100%;
}

.info-row {
    border-bottom: 1px solid #000000;
    transition: background-color 0.2s ease;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    padding: 18px 20px;
    font-weight: bold;
    color: #333;
    width: 120px;
    vertical-align: top;
    border-right: 2px solid #ff7f00;
    font-size: 16px;
}

.info-content {
    padding: 18px 20px;
    color: #555;
    font-size: 16px;
    line-height: 1.6;
}

.flextext {
    font-size: 30px;
    display: flex;
    line-height: 2em;
    border-bottom: 1px solid #000000;
}

.Contact {
    width: 64%;
    background-color: #eeeeee;
    padding-bottom: 60px;
    margin: 250px auto;
}

form {
    width: 70%;
    margin: 25px auto;
}

input[type="text"],
input[type="email"],
textarea {
    border: 1px solid #000000;
    background-color: #ffffff;
    width: 100%;
    margin: 5px 0px;
    padding: 4px 10px;
}

footer {
    text-align: center;
    background-color: #eeeeee;
}

.Contact h2 {
    color: #C98820;
    text-shadow: 5px 5px 0 rgb(187, 182, 217);
}

.Contact .btn {
    width: 25%;
    text-align: center;
    text-decoration: none;
    padding: 1rem 0.5rem;
    margin-top: 3%;
    font-weight: bold;
    font-feature-settings: "palt" 1;
    background: #D9D9D9;
    color: #000000;
    border: 1px solid #000000;
    transition: 0.5s;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 0 2px 7px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 1685px) {
    .business-slider-container {
        display: none;
    }


    .main-text {
        width: 70%;
        position: absolute;
        top: 15%;
        left: 47%;
    }

    .container {
        width: 100%;
    }

    .main {
        max-width: 1685px;
        width: 100%;
        /* max-width: 1920px; */
        height: 100vh;
    }

    .main-text {
        width: 59%;
        left: 29%;
    }

}



/* ここからレスポンシブ（タブレット） */
@media screen and (max-width: 960px) {
    .business-slider-container {
        display: none;
    }




    .main img .mask img {
        max-width: 960px;
        width: 100vw;
        height: auto;
        display: block;
    }

    .work ul li img {
        display: block;
    }


    .container img {
        width: 100%;
        height: 100vh;
    }

    h1 {
        width: 100%;
        font-size: 30px;
    }

    strong {
        font-size: 54px;
    }

    .text-container {
        margin-left: 9%;
    }




    .time {
        width: 70%;
    }

    .btn {
        width: 37%;
    }

    .information a h2 {
        width: 38%;
        margin-left: 60%;
    }

    .work {
        height: auto;
    }

    .fleximges {
        width: 90%;
        margin-left: 5%;
        flex-direction: column;
    }

    .Businesscontainer-center {
        width: 275px;
        height: 275px;
        margin: 0% auto;
    }

    .Businesscontainer-center dt {
        font-size: 20px;
    }

    .Businesscontainer-center dd {
        font-size: 15px;
    }

    .Businesscontainer-center {
        max-width: 200px;
        height: 200px;
    }

    .Businesscontainer-right {
        width: 200px;
        height: 200px;
    }

    .Businesscontainer-right dt {
        font-size: 20px;
        padding-top: 20%;
        font-weight: bold;
    }

    .Businesscontainer-right dd {
        font-size: 15px;
        font-weight: normal;
    }

    .Businesscontainer-left {
        width: 200px;
        height: 200px;
    }

    .Businesscontainer-left dt {
        font-size: 20px;
        padding-top: 30%;
        font-weight: bold;
        text-align: center;
    }

    .Businesscontainer-left dd {
        font-size: 15px;
        font-weight: normal;
    }

    .Business {
        height: 563px;
    }


    .Companycontainer {
        width: 100%;
        flex-direction: column;
        margin: 3% auto;
        align-items: center;
    }


    #Companycontainer {
        width: 63%;
        margin-bottom: 2%;
    }

}

@media screen and (max-width: 768px) {

    .Businesscontainer-center,
    .Businesscontainer-right,
    .Businesscontainer-left {
        display: none;
    }



    .prev-btn,
    .next-btn {
        display: block;
    }

    .business-slider-container {
        display: block;
    }

    h1 {
        position: relative;
        right: 9%;
        font-size: 25px;
    }

    strong {
        font-size: 44px;
    }

    .Business {
        background-image: none;
    }

    .fleximges {
        display: flex;
        width: 200%;
    }

    /* デスクトップ用flexを非表示 */
    .fleximges {
        display: none;
    }

    /* スライダーを表示 */
    .slider-container {
        display: block;
    }

    .slide .cap p {
        font-size: 1rem;
    }

    .slide .mask img {
        height: 100%;
    }
}

@media screen and (max-width: 428px) {
    .information a h2 {
        width: 75%;
        margin-left: 21%;
        font-size: 25px;
    }

    header p {
        display: none;
    }

    .pc-menu {
        display: none;

    }

    #menu-toggle {
        display: block;
        right: 1%;
        top: 0;
    }

    .menu_logo {
        display: block;
        position: fixed;
        top: 0px;
        left: 1%;
        width: 98%;
        height: 50px;
        background-color: rgba(217, 217, 217, 0.9);
        z-index: 9999;
    }

    .main-text {
        width: 100%;
        left: 5%;
    }

    h1 {
        right: 2%;
        font-size: 20px;
    }

    .time {
        width: 85%;
    }

    .Timetext {
        padding-left: 9px;
    }

    .time {
        padding: 0 13px;
    }

    .work h2 {
        font-size: 1.8rem;
    }

    .slide .mask img {
        height: 200px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    #Companycontainer {
        width: 90%;
    }

    .business-slide {
        width: 70%;
        height: auto;
        margin: 7% 15%;
    }

    .map iframe {
        width: 100%;
    }

    .Contact {
        width: 90%;
        margin: 30% auto;
    }
}