@charset "utf-8";

/*----------------------------------------
kv
----------------------------------------*/

.kv {
    position: relative;
    width: 100%;
    height: 500px;
    background: url(../img/background.jpg) ;
    background-size: cover;
}
.title {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    line-height: 5rem;
    letter-spacing: 0.3rem;
}
.letter {
    width: 50%;
    position: absolute;
    top: 77%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    line-height: 1.5em;
}
.img_logo{
    width: 25%;
    position: absolute;
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.img_graycafe{
    height: 80%;
    position: absolute;
    top: 0;
    right: 0;
    animation-name: fadeIn500ms;
    animation-delay: 500ms;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    transform: translateY(10px);
    opacity: 0;
}
@keyframes fadeIn500ms {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    } }

.img_sweets{
    height: 30%;
    position: absolute;
    top: 0;
    left: 0;
    animation-name: fadeIn2500ms;
    animation-delay: 2500ms;
    animation-duration: 3s;
    animation-fill-mode: forwards;
    transform: translateY(10px);
    opacity: 0;
}
@keyframes fadeIn2500ms {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    } }

.img_coffeset{
    height: 30%;
    position: absolute;
    bottom: 3%;
    left: 0;
    animation: fadeIn1500ms 3s forwards;
    animation-delay: 1500ms;
    transform: translateY(10px);
    opacity: 0;
}
@keyframes fadeIn1500ms {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (width>580px) {
    .title {
        position: absolute;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 6rem;
        line-height: 6rem;
        letter-spacing: 0.4rem;
    }
    .letter {
        width: 55%;
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        line-height: 1.5em;
    }
    .img_sweets{
        width: 20%;
        height: auto;
    }
    .img_coffeset{
        width: 20%;
        height: auto;
    }
}
@media (width>840px) {
    .img_logo{
    width: 200px;
    position: absolute;
    top: 17%;
    left: 50%;
    transform: translate(-50%, -50%);
    }
    .img_woman {
        position: absolute;
        width: 100px;
        top: 55%;
        left: 8%;
        z-index: 1;
    }
    .img_graycafe{
        width: 25%;
    }
    .img_sweets{
        width: 30%;
    }
    .img_coffeset{
        width: 18%;
}}

@media (width>1200px) {
    .kv {
        height: 600px;
    }
    .img_graycafe{
        height: 100%;
    }
    .img_sweets{
        width: 25%;
    }
    .img_coffeset{
        width: 15%;
        position: absolute;
        bottom: 10%;
    }
    .title {
        font-size:8rem;
        line-height: 8rem;
        letter-spacing: 0.4rem;
    }
    .letter {
        width: 55%;
        position: absolute;
        top: 80%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 2.2rem;
        line-height: 1.8em;
    }
}
/*----------------------------------------
	about
----------------------------------------*/
.about_area {
    position: relative;
    text-align: center;
}

.about_area h2 {
    font-family: "AMETTHA", sans-serif;
    font-size: 6rem;
    color: #fff;
    text-shadow: 2px 2px 12px #393a3a, -3px 3px 12px #393a3a,
        3px -3px 12px #393a3a, -3px -3px 10px #393a3a;
    position: absolute;
    top: 21%;
    left: 28%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.about_inner {
    padding: 20px;
    background-color: #fff;
    margin: 0 auto;
}

.about_title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.about_text {
    font-size: 1.4rem;
    line-height: 2.5rem;
    text-align: left;
}
.slider {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}
.slider_item {
    object-fit: cover;
    animation: zoom-fade 30s both;
}
@media (width>767px) {
    .about_area h2 {
        font-size: 10rem;
        position: absolute;
        top: 32%;
        left: 38%;
        transform: translate(-50%, -50%);
    }
    .about_inner {
    padding: 70px;
    }
    .about_inner {
        width: 65%;
    }
    .slider{
        width: 65%;;
}}

@media (width>1200px) {
    .about_area h2 {
        font-size: 14rem;
        position: absolute;
        top: 28%;
        left: 37%;
        transform: translate(-50%, -50%);
    }
    .about_title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }
    .about_text {
        font-size: 1.6rem;
        line-height: 3rem;
    }
}
/*----------------------------------------
works
----------------------------------------*/
.works_area{
    text-align:center;
}
.works_inner{
    display: grid;
    place-items: center;
    height: 100%;
    margin-top: 40px;
}
.works_inner > * {
    grid-area: 1 / 1; /* 全ての要素を同じグリッドセルに配置 */
}
.works_inner h2 {
    font-family: "AMETTHA", sans-serif;
    font-size: 5rem;
    text-shadow: 3px 3px 12px #f6eeee, -3px 3px 12px #f6eeee,
    3px -3px 12px #f6eeee, -3px -3px 10px #f6eeee;
    z-index: 1;
}

.works_inner img{
    height: 80px;
}
.works_body h3,
.works_classifying {
    font-size: 1.8rem;
}
.works_item {
    max-width: 250px;
    margin-top: 30px;
    display: block;
}
.works_img::before,
.works_img::after {
    pointer-events: none;
}
.works_morebtn {
    margin: 40px 0 40px 0;
    text-align: center;
}
.btn_gradient {
    display: block;
    width: 300px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    color: var(--base-color);
    border-radius: 100vh;
    background-image: linear-gradient(-20deg, #fec88a 0%, #fcf2c1 100%);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s cubic-bezier(0.5, 1, 0.89, 1);
}
a.btn_gradient span{
    font-size: 1.6rem;
}
@media (width>700px) {
    .works_inner h2 {
        font-size: 8rem;
    }
    .works {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        place-content: center;
        place-items: center;
    }
    .works_img{
    transition-duration: 0.5s;
    }
    .works_img::before,
    .works_img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    transition-duration: 0.5s;
    opacity: 0;
}
    .works_img::before {
    background: rgba(83, 82, 82, 0.6);
    width: 100%;
    height: 100%;
}
    .works_img::after {
    color: #fff;
    content: "Read More";
    font-size: 22px;
    font-weight: bold;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    bottom: 0;
    right: 0;
}
    .works_img:hover::before,
    .works_img:hover::after  {
    opacity: 1;
}
    .works_img:hover::after  {
    letter-spacing: 0.1em;
}
    .works_img:hover{
    transform: scale(0.9);
}
    .btn_gradient:hover {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #fff;
    color: #ff701e;
    transform: scale(0.9);
    }
}


@media (width>1200px) {
    .works_inner h2 {
        font-size: 14rem;
    }
    .works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    }
    .works_inner img{
        height: 200px;
    }
    .btn_gradient {
        height: 60px;
        line-height: 60px;
    }
    a.btn_gradient span{
        font-size: 2rem;
    }
}
/*----------------------------------------
	skills
----------------------------------------*/
.skills_area {
    text-align: center;
}
.skills_inner{
    display: grid;
    place-items: center;
    height: 100%;
    margin-top: 40px;
    margin-bottom: 40px;
}
.skills_inner > * {
    grid-area: 1 / 1; /* 全ての要素を同じグリッドセルに配置 */
}
.skills_inner h2 {
    font-family: "AMETTHA", sans-serif;
    color: #fff;
    font-size: 5rem;
    text-shadow: 3px 3px 12px #d4af3e, -3px 3px 12px #d4af3e,
        3px -3px 12px #d4af3e, -3px -3px 12px #d4af3e;
    z-index: 1;
}
.skills_inner img{
    height: 80px;
}
.skills{
    margin-bottom: 40px;
}
.skills h3 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.skills_item1,
.skills_item2 {
    max-width: 550px;
    background-color: #fff;
    padding: 20px;
    margin: 0 auto 20px auto;
    text-align: center;
}
.skills p {
    font-size: 1.4rem;
    text-align: left;
    line-height: 2.5rem;
    margin-bottom: 20px;
}

@media (width>767px) {
    .skills_inner h2 {
    font-size: 8rem;
    }}


@media (width>1220px) {
    .skills_inner img{
        height: 200px;
    }
    .skills_inner h2 {
    font-size: 14rem;
}
    .skills{
    display: flex;
    justify-content: space-evenly;}
    .skills h2 {
        font-size: 14rem;
        text-align: center;
    }
    .skills p {
        font-size: 1.6rem;
        text-align: left;
        line-height: 3rem;
    }
}

/*----------------------------------------
contact
----------------------------------------*/

.contact_area {
    text-align: center;
}
.contact_inner {
    position: relative;
    width: 100%;
    margin: 0 auto 40px auto;
}
.contact_area h2 {
    font-family: "AMETTHA", sans-serif;
    color: #fff;
    text-shadow: 3px 3px 12px #393a3a, -3px 3px 12px #393a3a,
    3px -3px 12px #393a3a, -3px -3px 12px #393a3a;
    font-size: 6rem;
    position: absolute;
    top: 50%;
    left: 27%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
/* セクション全体のスタイル調整 */
.contactform_area{
    display: flex;
    justify-content: center;
}
/* フォーム全体を包むラッパーに幅制限 */
.contactform_area .wpcf7 {
    max-width: 800px;
    width: 100%;
}
#contactForm {
    margin-top: 40px;
    margin-bottom: 40px;
    margin: 40px auto 40px auto ;
    width: 100%;
}
.entryTable {
    width: 100%;
    font-size: 1.4rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto 30px auto;
}
.entryTable th {
    padding: 10px;
    display: block;
    width: 150px;
}
.entryTable td {
    background-color: #fff;
    padding: 10px;
    width: 80%;
    text-align: left;
}
.entryBtns {
    margin-top: 40px;
}
.entryBtns_input,
.entryBtns_inputQA {
    font-size: 1.6rem;
    display: block;
    width: 300px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    border-radius: 100vh;
    background-image: linear-gradient(-20deg, #fec88a 0%, #fcf2c1 100%);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    transition: 0.3s cubic-bezier(0.5, 1, 0.89, 1);
}
.entryBtns_inputQA{
    width: 150px;
    margin: 0 auto 40px auto;
}
.entryBtns input{
    text-align: center;
}
.entryBtns_input:hover,
.entryBtns_inputQA:hover {
    -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: #fff;
    color: #ff701e;
    transform: scale(0.9);
}

@media (width>767px) {
    .contact_area h2 {
        font-size: 10rem;
        position: absolute;
        top: 41%;
        left: 35%;
        transform: translate(-50%, -50%);
    }
    .entryBtns {
        margin-top: 40px;
    }
}
@media (width>1220px) {
    .contact_area h2 {
        font-size: 16rem;
    }

    .contact_inner {
        margin: 0 auto 40px auto;
    }
    .entryBtns_input {
        height: 60px;
        line-height: 60px;
        font-size: 2rem;
    }
}
@media (width<690px){
    .contactform_area {
        padding: 0 10px; /* 余白を少し持たせる */
      }

      .contactform_area .wpcf7,
      .entryTable {
        width: 80%;
        max-width: 100%;
      }

      .entryTable th,
      .entryTable td {
        display: block;
        width: 80%;
      }
      .entryTable td input,
      .entryTable td textarea,
      .entryTable td select{
        width: 80%;
        margin: 0;
      }
    }
