@charset 'UTF-8';

/*
Theme name: Mori to Hibi
Discription: WordPress オリジナルテーマ制作用デモ
Version: 1.0
Author: YUKI
Author URI: https://yukinowadesign.weblike.jp
*/

/*
COLORS
================================================ */
:root {
    /* Color */
    --green:#D8E5D0;
    --light-green:#F9FFF6;
    --dark-green:#28371E;


}

/*
GENERAL STYLING
================================================ */
body {
	color: var(--dark-green);
    font-family: "Hina Mincho", serif;;
}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}

/*
LAYOUT
================================================ */
.wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/*
HEADER
================================================ */
header {
    height: 100vh;
    background-image:url(images/FV.webp) ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 85% center; 
    padding-top: 1rem;
    display: flex; 
    flex-direction: column; 
    box-sizing: border-box;
}
.site-title {
    padding-left: 1rem;
    margin: .5rem;
    font-family: "Shadows Into Light", cursive;
    color: #fff;
    letter-spacing: 0.25rem;
}
.FVcopy{
    height: 60vh;
    margin: 20px auto;
}
header p{
    color: #fff;
    margin: 10px auto;
    text-align: center;
}
button{
   position: fixed;
   bottom: 2rem; 
    right: 1rem;
    z-index: 1000; 
}
button img{
    height: 15vh;
}
.fixed-button:hover img {
  content: url('images/fixed_button_hover.webp');
}
.sp-br {
    display: block;
}

/*instuction
================================================ */
#instruction{
    background-color: var(--green);
    padding: 100px 1rem;
}
#instruction h3{
    text-align: center;
    margin: 0 auto 2rem;
}
.intro-img{
   width: 100%; 
    max-width: 100%; 
    height: 380px;
    object-fit: cover;
    display: block; 
    box-sizing: border-box; 
    border-radius: 20px;
    margin: 1rem auto;
}

/*plan
================================================ */
#plan{
    position: relative; 
    background-color: var(--light-green);
    padding: 100px 1rem;
}
#plan h3{
    margin-bottom: 3rem;
    font-size: 24px;
}
.Mori-to-Hibi{
    letter-spacing: 0.2rem;
}
.plan-left1,
.plan-left2{
    width: 60%;
    object-fit: cover;
    display: block;
    margin-top: 1rem;
    margin-left: 0;
    margin-right: auto;
}
.plan-right{
    width: 60%;
    object-fit: cover;
    display: block;
   margin-top: 1rem;
   margin-left: auto;
   margin-right: 0;
}
.leaf-decoration1 {
    position: absolute;
    width: 80px;
    top: 350px;
    right: 70px;
    transform: rotate(15deg);
}
.leaf-decoration2 {
    position: absolute;
    width: 60px;
    top: 320px;
    right: 30px;
    transform: rotate(45deg);
}
.leaf-decoration3 {
    position: absolute;
    width: 80px;
    top: 700px;
    left: 70px;
    transform: rotate(15deg);
}
.leaf-decoration4 {
    position: absolute;
    width: 60px;
    top: 680px;
    left: 20px;
    transform: rotate(45deg);
}
.leaf-decoration5 {
    position: absolute;
    width: 80px;
    top: 1000px;
    right: 70px;
    transform: rotate(15deg);
}
.leaf-decoration6 {
    position: absolute;
    width: 60px;
    top: 1080px;
    right: 30px;
    transform: rotate(45deg);
}
#plan h3,
#plan img .plan-left1,
#plan img .plan-left2,
#plan img .plan-right{
    position: relative;
    z-index: 10;
}
.option h4{
    text-align: center;
    margin: 4rem auto 1rem;
    font-size: 20px;
}
.service-list{
    display: flex;
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
}
.service-item {
    display: flex;
    flex-direction: column;
    height: auto;
    background-color: var(--green); 
    border-radius: 20px;
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.service-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: block;
}
.service-item h5{
     font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 16px;
}
.service-item p {
    line-height: 1.8;
    text-align: left;
}

/*voice
===================================*/
#voice{
    background-color: var(--green);
    padding: 100px 1rem;
}
#voice h3{
    text-align: center;
    font-size: 24px;
}
.voice_list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

.voice_item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.voice_item-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.voice_item-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  flex: 1; 
}

.voice_item-desc {
  line-height: 1.8;
  color: var(--dark-green);
  margin: 0 0 20px 0;
  flex: 1; 
}

.voice_item-body a {
  display: block;
  background: #75C9BD;
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:0.3s ease;
  margin-top: auto; 
}

.voice_item-body a:hover {
  background: #FFFFFF;
  border-style: 10px;
  border-color: #75C9BD;
  color: #75C9BD;
}

/*cta
===================================*/
#cta{
    background-color:#62874B;
    padding: 150px 2rem 150px;
}
#cta h2{
    font-size: 28px;
    color: #FFFFFF;
    letter-spacing: 0.2rem;
}
#cta p{
    margin: 2rem 0;
    color: #FFFFFF;
}

.cta-button{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #F6C3D5, #D099AC);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 169, 193, 0.4);
  margin: auto;
  width: fit-content;
}

.cta-button:hover {
  color:var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 169, 193, 0.6);
}

.cta-button img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/*footer
===========================================*/
.site-footer{
    display: flex;
    background-color:#62874B;
}
.site-footer p{
    margin: 1rem auto;
    color: #FFFFFF;
}

/*PC版
=========================================*/

@media (min-width: 600px) {
    header p{
        font-size: 28px;
    }
    .FVcopy{
        margin-top: 120px;
    }
    button{
        right: 5rem;
        z-index: 1000; 
}
    button img{
        height: 20vh;
}
    .sp-br {
        display: none;
    }
    #instruction h3{
        font-size: 48px;
    }
    .instruction-container{
        display: flex;
        align-items: center;
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 60px 20px;
    }
    .intro-img{
        flex: 0 0 45%; 
        max-width:50%;
        width: 100%;
        height: 440px;
        object-fit: cover;
        border-radius: 8px;
    }
    .instruction-copy{
        flex: 1;
    }
    .instruction-copy p{
        font-size: 18px;
        line-height: 2;
    }
   .plans {
    position: relative;
    max-width: 1200px;
    min-height: 900px;
    margin: 0 auto 200px;
    padding: 60px 20px 600px 20px;
    overflow: visible; 
    }

    #plan h3 {
        font-size: 48px;
        line-height: 1.8;
        margin-bottom: 80px;
    }

    .plan-left1,
    .plan-left2,
    .plan-right {
        width: 30%;
        height: 500px;
        object-fit: cover;
        object-position: 0 0;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        position: absolute;
    }

    .plan-left1 {
        top: 500px;
        left: 0;
    }

    .plan-right {
        top: 400px;
        left: 50%; 
        transform: translateX(-50%);
    }

    .plan-left2 {
        top: 300px;
        right: 0;
    }
    .leaf-decoration1 {
        position: absolute;
        width: 80px;
        top: 300px;
        left: 0;
        transform: rotate(15deg);
    }
    .leaf-decoration2 {
        position: absolute;
        width: 60px;
        top: 350px;
        left: 100px;
        transform: rotate(45deg);
    }
    .leaf-decoration3 {
        display: none;
    }
    .leaf-decoration4 {
    display: none;
    }
    .leaf-decoration5 {
        position: absolute;
        width: 80px;
        top: 900px;
        right: 100px;
        transform: rotate(15deg);
    }
    .leaf-decoration6 {
        position: absolute;
        width: 60px;
        top: 880px;
        right: 200px;
        transform: rotate(45deg);
    }
    .option h4{
        font-size: 30px;
        padding-bottom: 1rem;
    }
    .service-list {
        flex-direction: row;
        max-width: 1200px;
        display: flex;
        justify-content:space-between;
    }
    .service-item {
        flex: 1;
        max-width: 30%;
        height: auto;
        padding : 2rem;
    }
    .service-list h5{
        padding-top: 18px;
        font-size: 24px;
    }
    .service-list p{
        padding-top: 1rem;
        font-size: 18px;
    }
    #voice h3{
        font-size: 48px;
        margin: 1rem auto 0.8rem;
    }
     .voice_list {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
  }
  
  .voice_item {
    flex: 0 1 calc(33.333% - 16px);
    max-width: 360px;
    display: flex;
    flex-direction: column;
  }
  .voice_item p,
  .voice_item a{
    font-size: 18px;
  }
  #cta{
    padding: auto;
  }
  #cta h2{
    text-align: center;
    font-size: 48px;
  }
  #cta p{
    text-align: center;
    font-size: 18px;
  }
  .cta-button{
    height: 100px;
    width: 500px;
    font-size: 40px;
    margin-top: 2rem;
    display: flex;
    justify-content: space-around;
  }
  .cta-button img{
      width: 36px;
    height: 36px;
    object-fit: contain;
  }
}

@media(min-width: 600px) and (max-width: 1000px){
    .voice_item-img{
        height: 180px;
    }
}
