@charset "utf-8";

*{
    color: #333;
    line-height: 2;
}

body {
    background-color: #fff3cb;
}

.container {
    width: min(1280px,90%);
    margin: 0 auto;
    /* border: 1px solid #000; */
}


h2{
    font-size: 40px;
    letter-spacing: 0.5rem;
}

h3 {
    font-size: 24px;
    padding: 16px 0;
}

p {
    font-size: 24px;
}


/* ===== header ===== */

/*----- メニュー　-----*/
.header__container {
    width: 100%;
    margin: 10px auto;
    position: relative;
}

.header__logo {
    width: 14%;
    position: absolute;
    top: 88%;
    left: 1%;
    padding-bottom: 24px;
    padding-right: 24px;
    z-index: 1;
    background-color: #fff3cb;
    clip-path: xywh(0 5px 100% 75% round 15% 0);
}


.header__nav {
width: 80%;
margin: 0 auto;

}

.header__nav ul{
    display: flex;
    justify-content: flex-end;
    gap: 5%;
    font-weight: bold;
}

.header__nav li {
    text-align: center;


    p {
        line-height: 1;
        
    }
}



.header__nav .ja {
    font-size: 14px;
}

/*----- メニュー　-----*/
/*----- アイコン　-----*/
.sns__icons {
    position: fixed;
    top: 20%;
    right: 3%;

    p {
        writing-mode: vertical-rl;
        margin: 0 auto;
    }

    span {
        margin: 16px 0;
    }

}

.sns__icon {
    object-fit: cover;
    aspect-ratio: 1/1;
    width: 50px;
    height: 50px;
    margin-bottom: 16px;

    img {
        width: 100%;
        height: 100%;
    }
}
/*----- アイコン　-----*/
/* ===== header ===== */

.header__info {
    position: absolute;
    bottom: 10%;
    right: 5%;
    z-index: 2;
    width: 32%;
    
    p{
        font-size: 32px;
        color: #FFFAF4;
        line-height: 1.4;
    }

}

.section__top {
    margin-bottom: 100px;
}

.top__vision{
    position: relative;
    width: 96%;
    height: 90svh;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 15px;
    img {
        width: 100%;
    }
 }

 .img-01, .img-02, .img-03, .img-04, .img-05{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
 }
 .img-01{
    background-image: url('../img/IMG_2121.jpg');
    animation: slide-animation-01 15s infinite;
 }
 .img-02{
    background-image: url('../img/IMG_2122.jpg');
    animation: slide-animation-02 15s infinite;
 }
 .img-03{
    background-image: url('../img/IMG_2123.jpg');
    animation: slide-animation-03 15s infinite;
 }
 .img-04{
    background-image: url('../img/IMG_2124-1.jpg');
    animation: slide-animation-03 15s infinite;
 }
 .img-05{
    background-image: url('../img/IMG_2128.jpg');
    animation: slide-animation-03 15s infinite;
 }

@keyframes slide-animation-01 {
    0% {opacity: 1; transform: scale(1.0);}
  30% {opacity: 1;}
  40% {opacity: 0; transform: scale(1.15);}
  90% {opacity: 0}
100% {opacity: 1; transform: scale(1.0);}
}
@keyframes slide-animation-02 {
    0% {opacity: 0;}
  30% {opacity: 0; transform: scale(1.1);}
  40% {opacity: 1;}
  60% {opacity: 1;}
  70% {opacity: 0; transform: scale(1.0);}
100% {opacity: 0;}
}
@keyframes slide-animation-03 {
    0% {opacity: 0;}
  60% {opacity: 0;  transform: scale(1.0);}
  70% {opacity: 1;}
  90% {opacity: 1;}
100% {opacity: 0; transform: scale(1.1);}
}


 @media screen and (max-width: 767px){
 .top__vision{
    width: 100%;
    height: 200px;
 }
}



/* ===== footer ===== */

.footer__container {
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px;
}


.footer__box {
    display: flex;
    justify-content: space-between;
    gap: 0 30px;
    margin-bottom: 16px;
}

.footer__logo {
    width: 30%;

    h2 {
        margin-bottom: 8px;
    }
}

.footer__box-item {
    width: 70%;
    display: flex;
    justify-content: space-between;

    h2 {
        margin-bottom: 16px;
    }

    li {
        margin-bottom: 8px;
    }
}

.footer__box-right {
    width: 30%;
}

.footer__box-center {
    width: 30%;
}

.footer__box-left {
    width: 30%;
}

.footer__box-info {
    text-align: right;
}

/* ===== footer ===== */
/* ===== main about ===== */

.about .about__warp {
    width: 70%;
    background-color: #FFFAF4;
    text-align: center;
    border-radius: 15px;
    margin: 0 auto;
    margin-bottom: 120px;
    padding: 50px 0;
}


.about .about__warp p {
width: 80%;
margin: 0 auto;

}




/* ===== main about ===== */
/* ===== main concept ===== */

.concept  {
    text-align: center;

}



/* ===== main concept ===== */
/* ===== main slide ===== */
.slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.slide-wrapper {
  display: flex;
  animation: slide-flow 20s infinite linear 1s both;
}
.slide{
  width: 300px;
  height: 300px;
    margin-left: 16px;
  object-fit:cover;
  border: 1px solid #ddd;
}
@keyframes slide-flow {
     0% {transform: translateX(0);}
 100% {transform: translateX(-100%);}
}

/* ===== main slide ===== */
/* ===== main menu ===== */

.menu .container {
    margin-bottom: 100px;
    text-align: center;
}

.menu .case__info {

    h3 {
        width: 50%;
        font-size: 16px;
        margin: 40px auto;
    }

    p {
        width: 50%;
        font-weight: bold;
        text-align: center;
        font-size: 24px;
    }
}

.menu .show__case {
    display: flex;
    justify-content: start;
    gap: 6%;
    margin-bottom: 32px;
    text-align: center;
    align-items: center;
    width: 90%;
    height: 300px;
    margin: 50px auto;
}

.menu .show__case-img {
    width: 50%;
    height: 300px;
    object-fit: cover;
    aspect-ratio: 1/1;
    img {
        border-radius: 30px;
        width: 100%;
        height: 100%;
    }
}

.menu .show__case-txt {
    width: 50%;
    height: 300px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 30px;
}

.menu .show__case-txt p {
    margin: 15px auto;
    padding: 0 50px;
}

.menu .show__case-txt a{
font-size: 40px;
}

/* ===== main menu ===== */

/* ===== main history ===== */

.history h2 {
    margin-bottom: 32px;
    text-align: center;
}

.history .box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6%;
    margin-bottom: 54px;
}

.history .box__txt {
    width: 40%;
    height: 300px;
    border: 1px solid #000;
    border-radius: 30px;
    text-align: center;
    padding: 16px;
}

.history .box__logo {
    width: 40%;
    height: 300px;
    border: 1px solid #000;
    border-radius: 30px;
    padding: 16px;
}
/* ===== main history ===== */

/* ===== main map__info ===== */
.access .map__info h2 {
    margin-bottom: 52px;
    text-align: center;
}

.access .map__box {
    /* display: flex;
    justify-content: center;
    gap: 3%; */
}

.access .map__info {
    margin: 0 auto;
    width: 70%;
    text-align: center;
    letter-spacing: 0.2rem;
}

.access .map__info li {
    margin: 0 auto;
    margin-bottom: 24px;
    border-bottom: 1px solid #000;
}

.access .map__map {
    width: 100%;
    margin: 0 auto;
}


/* ===== main map__info ===== */


* {
    color: #333;
    line-height: 2;
    box-sizing: border-box;
}

body {
    background-color: #fff3cb;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: min(1280px, 90%);
    margin: 0 auto;
}

/* 見出しのスタイル */
h2 {
    font-size: 40px;
    letter-spacing: 0.5rem;
    margin-bottom: 30px; /* 余白追加 */
    margin-top: 30px; /* 余白追加 */
}

h3 {
    font-size: 24px;
    padding: 16px 0;
    margin-bottom: 16px; /* 余白追加 */
}

p {
    font-size: 18px; /* 読みやすく調整 */
    margin-bottom: 20px; /* 段落の余白統一 */
}

/* header */
.header__container {
    width: 100%;
    margin: 20px auto; /* 余白調整 */
}

.header__logo {
    width: 14%;
    position: absolute;
    top: 50%; /* 位置調整 */
    left: 2%;
    padding-bottom: 16px;
    z-index: 1;
    background-color: #fff3cb;
}

.header__nav ul {
    display: flex;
    justify-content: flex-end;
    gap: 3%; /* 間隔を広げる */
    font-weight: bold;
}

/* メインビジュアル */
.section__top {
    margin-bottom: 80px; /* 余白調整 */
}

.header__info {
    width: 30%;
    position: absolute;
    bottom: 10%;
    right: 5%;
    z-index: 2;
    p {
        font-size: 24px; /* 調整 */
        color: #FFFAF4;
        line-height: 1.4;
    }
}

/* aboutセクション */
.about .about__warp {
    width: 70%;
    background-color: #FFFAF4;
    text-align: center;
    border-radius: 15px;
    margin: 50px auto; /* 上下の余白調整 */
    padding: 60px 30px; /* パディング調整 */
}

/* メニューセクション */
.menu .case__info h3 {
    font-size: 20px; /* サイズ調整 */
    width: 70%;
    margin: 20px auto; /* 余白調整 */
}

.menu .show__case {
    display: flex;
    flex-wrap: wrap; /* レスポンシブ対応 */
    gap: 4%; /* 余白拡大 */
    margin-bottom: 50px; /* 下部余白調整 */
}

.menu .show__case-img {
    width: 45%;
    margin: 0 auto; /* センター揃え */
}

.menu .show__case-txt {
    width: 45%;
    margin: 0 auto; /* センター揃え */
    padding: 20px; /* パディング追加 */
}

/* historyセクション */
.history .box {
    display: flex;
    flex-wrap: wrap; /* レスポンシブ対応 */
    gap: 4%;
    justify-content: center; /* センター揃え */
    margin-bottom: 50px; /* 下部余白調整 */
}

.history .box__txt,
.history .box__logo {
    width: 45%; /* サイズ調整 */
    padding: 20px; /* パディング調整 */
}

/* アクセスセクション */
.access .map__info ul li {
    margin: 10px 0; /* 各項目の余白調整 */
    padding: 10px; /* パディング追加 */
}

/* フッター */
.footer__box {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* レスポンシブ対応 */
}

.footer__logo {
    margin-bottom: 20px; /* 下部余白追加 */
}

.footer__box-info {
    text-align: center; /* 中央揃えに変更 */
    padding-top: 20px;
}

/* メディアクエリ（レスポンシブ対応） */
@media screen and (max-width: 768px) {
    h2 {
        font-size: 32px;
    }

    .header__info p {
        font-size: 18px;
    }

    .menu .show__case {
        flex-direction: column; /* 縦並び */
        gap: 20px;
    }

    .history .box__txt,
    .history .box__logo {
        width: 90%; /* 横幅調整 */
    }
}
