@charset "UTF-8";

.kaisei-opti-regular {
  font-family: "Kaisei Opti", serif;
  font-weight: 400;
  font-style: normal;
}

/* 基本(他では共通と同じ） */

* {
    box-sizing: border-box;
}
:root{
    --v-space:clamp(90px,9vw,120px);
}
body{
    margin: 0;
    background-color:#eee;
    color: #222222;
    font-family: sans-serif;

}

h1,h2,h3,h4,h5,h6,p,figure,ul{
    margin: 0;
    padding: 0;
    list-style: none;
    
}
p{
    line-height: 1.8;
    
}
a{
    color:inherit;
    text-decoration:none;
    
}
a:hover{
    filter:brightness(90%) contrast(120%);


}
img{
    display: block;
    max-width: 100%;
    height: auto;

}

img[src="img/golden.jpg"],
img[src="img/protr.jpg"] {
    opacity: 0;
    transform: rotateX(0deg);
}

/* 横幅と左右の余白 */
.w-container{
    width:min(92%, 1166px);
    margin:auto;
    position: relative;
    
}

/* ヘッダー */
.header{
    height: 112px;
    background-color: #fff;

}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;

}

.site-link {
  display: flex;
  align-items: center; /* 縦位置をそろえる */
  gap: 10px; /* イラストとロゴの間に余白 */
}

.site-icon {
  width: 50px;  /* お好みで調整 */
  height: auto;
}

.site-logo {
  display: block;
}


/* ナビゲーションボタン */
.navbtn{
    padding: 0;
    outline: none;
    border: none;
    background:transparent;
    cursor:pointer;
    color: #aaa;
    font-size:30px;
}
.open .navbtn {
    z-index: 110;
    color: #fff;
}
.navbtn .fa-bars {
    display: revert;
}
.open .navbtn .fa-bars {
    display: none;
}

.navbtn .fa-times {
    display: none;
}
.open .navbtn .fa-times {
    display: revert;
}
@media (min-width: 768px) {
    .site-icon {
        width: 100px;  /* お好みで調整 */
        height: auto;
    }

    .navbtn {
        display: none;
    }
}

/* ナビゲーションメニュー：モバイル */
@media(max-width: 767px) {
    .nav {
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: #4e483ae6;
        transition: transform 0.3s;
    }
    .open .nav {
        transform: translate(-100%, 0);
    }
    .open body {
        position: fixed;
        overflow: hidden;
    }
    .nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
        color: #fff;
    }
}
/* ナビゲーションメニュー：PC */
@media (min-width: 768px) {
    .nav ul {
        display: flex;
        gap: 40px;
        color: #707070;
    }
}

/* ヒーロー */
.hero {
    height: 650px;
    background-image: url(img/papa.jpg);
    background-position: center;
    background-size: cover;
    filter: url(#wavy); /* ← 波フィルターを適用 */
    position: relative;
    overflow: hidden;
}

.hero-container{
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;

}
.hero h1{
    margin-bottom: 42px;
    font-family: "Kaisei Opti", sans-serif;
    font-size: clamp(48px,5vw,68px);
    min-height: 0vw;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;    
}
.hero p{
    margin-bottom: 72px;
}
.highlight {
    background: rgba(255, 255, 255, 0.5); /* 白い背景、50%の不透明度 */
    padding: 10px; /* テキストとの間に余白を追加 */
    display: inline-block; /* テキストの幅に合わせる */
    margin: 5px; /* 他の要素との間隔 */
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25) 0%, transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(255,255,255,0.2) 0%, transparent 70%),
              radial-gradient(circle at 50% 50%, rgba(255,255,255,0.15) 0%, transparent 80%);
  animation: mist 60s linear infinite;
  pointer-events: none;
}

@keyframes mist {
  from {
    transform: translateX(0) translateY(0);
  }
  to {
    transform: translateX(-10%) translateY(-5%);
  }
}

.sp-only {
  display: none;
}

@media (max-width: 767px) {
  .sp-only {
    display: inline;
  }
}

/* ボタン */
.btn{
    display:block;
    width: 260px;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    background-color: #e8b368;
    color: #fff;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 0 6px #00000052;

}
.btn-accent {
    background-color: #b72661;
}

/* 画像とテキスト */
.imgtext{
    padding:var(--v-space) 0;
    background-color:#fff;

}
.imgtext + .imgtext{
    padding-top: 0;
}
.imgtext-container{
    display: flex;
    flex-direction:column;
    gap: clamp(45px, 6vw, 80px);


}
.rounded-corners {
      border-radius: 20px; /* 角丸の半径を指定 (例: 20ピクセル) */
}

/* タイトルとサブタイトル（赤色の短い線で装飾）*/
.heading-decoration{
    font-size: clamp(30px,3vw,40px);
    min-width: 0vw;
    font-weight: 400;

}
.heading-decoration {
    background: rgb(248, 197, 220);
    color: #fff;
    display: inline-block;
    padding: 6rem 3rem;
    border-radius: 50%;
}
@media (min-width:768px) {
    .imgtext-container{
        flex-direction: row;
        align-items: center;

    }
    .imgtext-container.reverse{
        flex-direction: row-reverse;

}
.imgtext-container > .text{
    flex: 1;
    min-width: 17em;

}
.imgtext-container > .img{
    flex: 2;

}

    
}
.heading-decoration::after{
    display: block;
    content: '';
    width: 160px;
    height: 0px;
    border-top: solid  #b72661 1px; 
    margin-top:0.6em;

}
.heading-decoration + p{
    margin-top: 1em;
    margin-bottom: 2em;
    color:#707070;
    font-family:"Kaisei Opti", sans-serif;
    font-size: 18px;

}
/* 記事一覧 */
.posts{
    padding: var(--v-space) 0;
    background-color: #f3f1ed;
}
.posts-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px 25px;
}

@media (min-width: 768px) {
    .posts-container{
        grid-template-columns: repeat(3, 1fr);
    }
}
/* 記事一覧の記事 */
.posts a {
    display: block;
}
.posts h3 {
    margin: 1em 0 0.5em;
    font-size: clamp(12px, 2vw, 20px);
    min-height: 0vm;
}
.posts p {
    max-width: 20em;
    font-size: clamp(10px, 1.6vw, 14px);
    min-height: 0vw;
}

.icon {
    font-family: "Kaisei Opti", sans-serif;
    font-size: clamp(40px,5.2vw,70px);
    font-weight: 300;
    text-align: left;

}

/* パーツの見出し */
.heading{
    font-family: "Kaisei Opti", sans-serif;
    font-size: clamp(40px,5.2vw,70px);
    min-height: 0vw;
    font-weight: 300;
    position:absolute;
    top:calc((var(--v-space) + 0.6em) * -1);

}
.heading span{
    display: block;
    color:#666;
    font-size: 18px;

}
/* フッター */
.footer {
    padding: 70px 0;
    background-color: #fff;
    color: #707070;
    font-size: 13px;
}

.footer-container {
    display: grid;
    gap: 50px;
    justify-items: center;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: auto auto;
        grid-template-rows: auto auto auto;
        gap: 20px;
    }

    .footer-container > .footer-site {
        margin-bottom: 20px;
    }
    .footer-container > *:not(.footer-sns) {
        justify-self: start;
    }


    .footer-container > .footer-sns {
        grid-column: 2;
        grid-row: 1/4;
        justify-self: end;
        align-self: center;
    }
}

/* フッター：SNSメニュー */
.footer-sns {
    display: flex;
    gap: 24px;
    font-size: 24px;
}

.footer-sns a {
    display: grid;
    place-items: center;
    background-color: #ccc;
    color: #fff;
    width: 36px;
    aspect-ratio: 1/1;
    clip-path:circle(50%) ;
}
@supports not (aspect-ratio: 1/1) {
    .footer-sns a {
        height: 36px;
    }
}

/* フッター：テキストメニュー */
.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* 記事 */
.entry {
    padding-bottom: var(--v-space);
    background-color: #fff;
}

.entry-img img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: calc(var(--v-space) * 2 / 3);
}

.entry .w-container {
    max-width: 720px;
}

.entry .heading-decoration {
    font-size: clamp(30px, 6.25vw, 48px);
}

.entry-container {
    font-size: clamp(16px, 2.4vw, 18px);
}

.entry-container 
    :where(h1, h2, h3, h4, h5, h6, p, figure, ul) {
        margin-top: revert;
        margin-bottom: revert;
        padding: revert;
        list-style: revert;
}

.entry-container p {
    margin: 1.8em 0;
}

.entry-container > :first-child {
    margin-top: 0;
}

.entry-container > :last-child {
    margin-bottom: 0;
}
/* プラン */
.plans {
    padding: var(--v-space) 0;
    background-color: #e9e5e9;
}
.plans-container {
    display: grid;
    gap: 27px;
}
@media (min-width: 768px) {
    .plans-container {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* プラン：カード */
.plan {
    display: flex;
    flex-direction: column;
    padding: 60px 27px;
    border-radius: 20px;
    background-color: #fff;
}
.plan h3 {
    margin-bottom: 38px;
    font-family: "Kaisei Opti", sans-serif;
    font-size: 38px;
    font-weight: 400;
}
.plan .desc {
    margin-bottom: 38px;
}

.plan .price {
    margin-top: auto;
    margin-bottom: 22px;
    font-size: 26px;
    font-weight: bold;
}
.plan .btn {
    width: auto;
}

.entry-img img {
  opacity: 0;               /* 初期は透明 */
  transform: scale(1.05);   /* 少し拡大した状態から */
  transition: opacity 2s ease, transform 2s ease; 
}


/* 下3枚のカード型 */
.posts-container {
  display: grid;
  gap: 32px;
}

@media(min-width: 768px){
  .posts-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border-radius: 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

img[src="img/golden.jpg"],
img[src="img/protr.jpg"] {
  border-radius: 20px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

img[src="img/golden.jpg"]:hover,
img[src="img/protr.jpg"]:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

/* フェードイン（スクロールで表示） */
.fadein {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.fadein.show {
  opacity: 1;
  transform: translateY(0);
}

    .form01 {
        max-width: 650px;
        margin: 0 auto;
        border: 3px solid #e375aa;
        border-radius: 15px;
        background: #f4f4f4;
        padding: 3rem 2rem;
    }

    .form-inner {
        margin-bottom: 2rem;
    }

    .form-label {
        font-weight: bold;
        margin-bottom: 1rem;
    }

    .form-label label {
        vertical-align: middle;
    }

    .required {
        display: inline-block;
        background: #e375aa;
        color: #fff;
        font-size: 0.75rem;
        padding: 0.2rem;
        margin-left: 0.5rem;
        vertical-align: middle;
    }

    input[type="text"],
    input[type="email"] {
        width: 100%;
        height: 40px;
        border: 2px solid #e375aa;
        border-radius: 8px;
        padding: 1rem;
    }

    input[type="date"] {
        width: 100%;
        height: 40px;
        border: 2px solid #e375aa;
        border-radius: 8px;
        padding: 1rem;
    }

    textarea {
        width: 100%;
        height: 200px;
        border: 2px solid #e375aa;
        border-radius: 8px;
        padding: 1rem;
    }

    .form-btn {
        display: block;
        width: 130px;
        background: #3656a7;
        color: #fff;
        font-weight: bold;
        text-align: center;
        border-radius: 30px;
        padding: 0.9rem 0;
        margin: 0 auto;
    }

#movie {
    text-align: center;
    margin-bottom: 80px;
}

/* 共通セクション設定 */
#movie {
  padding: var(--v-space) 0;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* 見出し統一 */
#movie h2 {
  text-align: left;
  margin: 0 0 1rem 0;
  /* font-size: 2rem; */
  line-height: 1.4;
}

#movie iframe {
  display: block;
  margin: 20px auto;
  border: 8px solid #fff; /* 薄いブラウン系。額縁っぽい色　→　白へ変更 */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* 立体感を出す */
}

/* モバイル調整 */
/* @media (max-width: 768px) { */
  /* #movie { */
    /* padding: 0 15px; */

  /* } */
  /* #movie h2 { */
    /* font-size: 1.6rem; */
  /* } */
/* } */


/*    footer.footer01 {
        padding: 2rem 1rem 1rem;
        background: rgba(19, 18, 16, 0.6);
    }
    .footer-container {
/*        display: flex;*/
/*        justify-content: space-between;
        align-items: center;
        max-width: 960px;
        margin: 0 auto 3rem;
    }
    div.logo {
        width: 60px;
        height: 30px;
    }
    div.logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    nav.nav ul.item {
        display: flex;
    }
    nav.nav ul.item li.list {
        padding-left: 1.5rem;
    }
    nav.nav ul.item li.list a {
        font-weight: bold;
        color: #fff;
        font-size: 0.8rem;
    }
    p.copyright {
        text-align: center;
        color: #fff;
    }
    .list{
        list-style: none;
    }

    @media screen and  (max-width: 768px) {
        footer.footer01 {
            padding: 2rem 1rem 1rem;
        }
        .footer-container {
            flex-wrap: wrap;
            justify-content: center;
            max-width: 414px;
            margin-bottom: 2rem;
        }
        div.logo {
            margin-bottom: 1.5rem;
        }
        nav.nav ul.item {
            flex-wrap: wrap;
            justify-content: center;
        }
        nav.nav ul.item li.list {
            padding: 0.5rem;
        }
    }*/