@charset "UTF-8";

/*共通部分*/
html{
    font-size: 100%;
    background-color: #F7F5ED;
}

body{
    font-family:"Zen Kaku Gothic Antique", sans-serif;
    line-height: 1.7;
    color:#000;
}
a{
    text-decoration:none ;
}
img{
    max-width: 100%;
}
/*レイアウト*/
.align-center{
    text-align: center;
}
.wrapper{
    max-width: 1120px;
    margin: auto;
    padding: 0 1.5rem;
}
h2{
    text-align: center;
    margin: 6rem 0 1rem;
}
h3{
    text-align: center;
    margin: 0 0 10px 0;
}

/*フォント*/
.font-english{
    font-family: "Gowun Dodum", sans-serif;
    font-style: normal;
}

/*アニメーション*/
.fadein {
    opacity: 0;
    transform: translateY(60px) scale(0.9);
    filter: blur(5px);
    transition: all 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fadein.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0px);
}

/* ===== バウンス効果のキーフレーム ===== */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(60px) scale(0.3);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.05);
    }
    70% {
        opacity: 1;
        transform: translateY(5px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* ===== CTAセクション専用のバウンス ===== */
.call-to-action.bounce-cta {
    opacity: 0;
    transform: translateY(60px) scale(0.3);
    /* transitionを明示的に無効化 */
    transition: none !important;
}

.call-to-action.bounce-cta.show {
    /* 他のCSSを上書き */
    transition: none !important;
    animation: bounceIn 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards !important;
}

/*ヘッダー
------------------------*/
.page-header{
    display: flex;
    justify-content:space-between;
    margin: 0 100px;
    padding: 1.5rem;
    h1 a{
        color: #000;
    }
}
.main-nav{
    display: flex;
    margin-top: 10px;
    gap:2.5rem;
    font-size: 1.25rem;
    list-style: none;
}
.main-nav a{
    color: #000;
}
.main-nav a:hover{
    color: #E06D06;
}

/*フッター
---------------------------/

/*HOME
---------------------------------*/
/*welcome*/
.ephesis{
    font-family: "ephesis",sans-serif;
}
.welcome{
    height: 100vh;
    display: flex;
    justify-content: space-between;
}
.welcome img{
    object-fit: cover;
}
.welcome-message{
    margin: auto 20px auto 300px;
}
.welcome-message h1{
    font-size: 3rem;
}
.welcome-message p{
    font-size: 1.5rem;
    padding: .5rem;
}
.welcome-message a{
    display: inline-block;
    font-size: 1.5rem;
    background-color: #E06D06;
    color: #fff;
    border-radius: 8px;
    margin-top: 3rem;
    padding: .75rem 1.5rem;
    transition: .5s;
}
.welcome-message a:hover{
    background-color: rgba(224, 109, 6, 0.3); 
    color:#E06D06;
}
.top-message{
    margin: 2rem 0;
}
.main-visual{
    width:50%;
}

/*concept*/
.concept-item {
    position: relative;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.concept-item svg {
    width: 100%;
    height: auto;
    display: block;
}

.concept-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    z-index: 2;
}

.concept-text p {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #000;
}

/*features*/
.features-item{
    margin: 4rem 0 8rem 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3,1fr);
}
.description{
    background-color: #fff;
    border-radius: 10px;
    padding: 2rem;
}
.description img{
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    margin: 10px auto;
}

/*colors*/
.slideshow-container {
    width: 50vw;
    height: 650px;
    overflow: hidden;
    position: relative;
    margin: 4rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    width: 100%;
    height: 100%;
    position: relative;
    display: none; /* 初期状態では非表示 */
}

/* 最初のスライドは初期状態で表示 */
.slide:first-child {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gray-chair{
    object-position: 20% 80%;
}
.beige-chair{
    object-position: 20% 70%;
}
.slide p {
    position: absolute;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    font-weight: bold;
}

.slide p:first-of-type {
    bottom: 60px;
    font-size: 2rem;
    letter-spacing: 2px;
}

.slide p:last-of-type {
    bottom: 20px;
    font-size: 1.1rem;

}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

/*CTA*/
.call-to-action{
    text-align: center;
}

.call-to-action h3{
    margin-top: 10rem;    
}
.call-to-action a{
     display: inline-block;
    font-size: 1.5rem;
    background-color: #E06D06;
    color: #fff;
    border-radius: 8px;
    padding: .75rem 4rem;
    margin-bottom: 5rem;
    transition: .5s;
}
.call-to-action a:hover{
        background-color: rgba(224, 109, 6, 0.3); 
        color:#E06D06;
}
/*contact
-----------------*/
.c-form{
    padding-top: 4rem;
}
.c-form {
	max-width: 600px;
	margin: 0 auto;
}
.c-form__item {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-evenly;
	margin-bottom: 20px;
}
.c-form__label,
.c-form__input {
	padding: 10px;
}
.c-form__label {
    width: 40%;
}
.c-form__input {
    width: 55%;
	font-size: 16px;
	border: solid 1px #000;
	border-radius: 4px;
}
.c-form__input:focus-visible {
	outline:#28AFB0 auto 1px;
}
.c-form__required {
	color: #fff;
	background-color:#E06D06;
	border-radius: 50px;
	padding: 5px 5px;
	margin:0 0 0 18px;
}
textarea.c-form__input {
	height: 160px;
}
.c-form__submit {
	text-align: center;
}
.c-form__submit button {
	font-size: 18px;
	color: #fff;
    background-color:#E06D06;
	border: solid 1px #E06D06;
	border-radius: 4px;
	padding: 5px 32px;
	transition: 0.4s;
	cursor: pointer;
}
.c-form__submit button:hover {
	color: #E06D06;
	background-color: transparent;
}
/*フッター
---------------------------*/
.copyright{
    text-align: center;
    padding: 2rem 0;
    margin-top: 6rem;
    color: #595758;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    
    /*header*/
    .page-header{
        flex-direction: column;
        align-items: center;
        margin: auto;
    }
    .main-nav{
        font-size: 1rem;
    }
    .main-nav li{
        margin:0 5px;
    }

    /*welcome*/
    .welcome {
        height: auto;
        flex-direction: column;
        text-align: center;
        padding: 50px 20px;
        gap: 30px;
        min-height: auto;
    }
    .welcome-message{
        margin:auto 10px;
    }
    .main-visual {
        order: 1;
        max-width: 100%;
        width: 100%;
        margin-bottom: 20px;
    }
    .welcome-message {
        order: 2;
        max-width: 100%;
        margin-bottom: 2rem;
    }
    .welcome-message h1 {
        font-size: 2.5rem;
        margin-bottom: 5px;
    }
    .ephesis {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    .top-message p {
        font-size: 1.1rem;
        margin: 8px 0;
    }
    .welcome-message a {
        padding: 15px 35px;
        font-size: 1.1rem;
    }
    /*concept*/
      .concept-item {
        flex-direction: column;
        text-align: center;
        padding:  0;
        /* 親のpaddingを無視して画面幅いっぱいに */
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }
    .concept-item svg {
        width: 140%;
        height: auto;
        max-width: none;
        /* 中央配置でサイドからはみ出させる */
        margin-left: -20%;
        margin-right: -20%;
        margin-bottom: 20px;
    }
    .concept-text{
        text-align: left;
    }

    /*features*/
    .features-item{
        display: flex;
        flex-direction: column;
    }

    /*colors*/
    .slideshow-container {
        width: 90vw;
        height: 400px;
    }
    
    .slide p:first-of-type {
        font-size: 1.5rem;
        bottom: 50px;
    }
    
    .slide p:last-of-type {
        font-size: 1rem;
        bottom: 15px;
    }
    
    .prev, .next {
        padding: 12px 16px;
        font-size: 16px;
    }
    .white-chair{
        object-position: 35% 50%;
    }
    /*contact*/
    .c-form__required {
	margin:0 ;
}
    }