@charset "UTF-8";



* {
    margin: 0;
    padding: 0;
    font-family: "ヒラギノ丸ゴ ProN W4", "Hiragino Maru Gothic ProN", sans-serif;
    box-sizing: border-box;
} 

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

body {
    min-width: 320px;
     color: #7F4F21;
}

.container {
    width: min(1080px, 90%);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: #fff;
    height: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

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

header img {
    width: min(30%, 200px);
    height: auto;
}

h1 img {
    background-color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 10px;
}

nav a {
    text-decoration: none;
    padding: 12px 16px;
    background-color: #fff;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color:#FFE96B;
    color:  white;
}

/* Hero Section */
.main-visual {
    position: relative;
    width: 100vw;
    height: calc(100vh - 80px);
    min-height: 400px;
    overflow: hidden;
}

.heroSVG {
    width: 100%;
    height: 100%;
    display: block;
}

@keyframes puff {
    0% { transform: translate(var(--x), var(--y)) translateY(0) scale(0.97); }
    50% { transform: translate(var(--x), var(--y)) translateY(-30px) scale(1.01); }
    100% { transform: translate(var(--x), var(--y)) translateY(0) scale(0.97); }
}

.cloud {
    --x: 0px; 
    --y: 0px;
    animation: puff var(--dur,4.6s) ease-in-out var(--delay,0s) infinite alternate;
    transform-box: fill-box;
    transform-origin: center;
    will-change: transform;
}

.cloud1 { --x: 200px; --y: 100px; --dur: 4.6s; --delay: -.3s; }
.cloud2 { --x: 0px; --y: 500px; --dur: 5.2s; --delay: -1.1s; }
.cloud3 { --x: 1500px; --y: 100px; --dur: 4.0s; --delay: -.7s; }
.cloud4 { --x: 400px; --y: 500px; --dur: 4.4s; --delay: -.2s; }
.cloud5 { --x: 1240px; --y: 500px; --dur: 5.6s; --delay: -.6s; }
.cloud6 { --x: 1660px; --y: 500px; --dur: 4.1s; --delay: -1.4s; }

@media (prefers-reduced-motion: reduce) {
    .cloud { animation: none !important; }
}

/* Sections */
section h2 {
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 40px;
    text-align: center;
}

section p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.btn a {
    background-color: #f69d7a;
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    display: inline-block;
    border-radius: 9999px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.btn a:hover {
    background-color: #e8855f;
}

/* Banner Section */
.bnr {
    background-color: #fff;
    padding: 60px 0;
}

.bnr ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    gap: 20px;
}

.bnr li {
    flex: 1;
    max-width: 320px;
}

/* Media Section */
.media {
    background-color: #fffde5;
    padding: 80px 0;
}

.mediaCard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.mediaCard__video {
    flex: 1;
    max-width: 640px;
}

.mediaCard__video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.mediaCard__text {
    flex: 1;
    max-width: 400px;
}

.mediaCard__text h2 {
    margin-bottom: 20px;
    text-align: left;
}

/* Point Section */
.point {
    background-color: #fffde5;
    padding: 80px 0;
}

.pointList {
    display: flex;
    list-style: none;
    justify-content: space-between;
    gap: 30px;
}

.pointList a {
    text-decoration: none;
    display: block;
}

.pointList li {
    flex: 1;
    max-width: 300px;
}

.pointList__image {
    width: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
}

.pointList h3 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 18px;
}

/* Gallery Section */
.gallery {
    background-color: #fffde5;
    padding: 80px 0;
}

.gallery__slider .slick-slide {
    width: 560px;
    margin: 0 15px;
    border-radius: 20px;
    overflow: hidden;
}

/* Footer */
footer {
    background-color: #fff;
    padding: 60px 0;
}

.footer__logo {
    height: 160px;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.footer__logo img {
    width: min(320px, 80%);
}

footer ul {
    display: flex;
    list-style: none;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 20px;
}

footer a {
    text-decoration: none;
    padding: 10px 20px;
    border-left: 1px solid #7F4F21;
    border-right: 1px solid #7F4F21;
    margin-left: -1px;
    display: block;
}

footer a:hover {
    text-decoration: underline;
}

footer p {
    text-align: center;
    margin: 20px 0;
    font-size: 14px;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header Mobile */
    header {
        height: 70px;
    }

    header img {
        width: 150px;
    }

    nav ul {
        gap: 5px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Hero Mobile - Stop cloud animations */
    .main-visual {
        height: calc(100vh - 70px);
        min-height: 300px;
    }

    .cloud {
        animation: none !important;
    }

    /* Sections Mobile */
    section h2 {
        margin-bottom: 30px;
    }

    .bnr {
        padding: 40px 0;
    }

    .bnr ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .bnr li {
        width: 100%;
        max-width: 300px;
    }

    /* Media Section Mobile */
    .media {
        padding: 60px 0;
    }

    .mediaCard {
        flex-direction: column;
        gap: 30px;
    }

    .mediaCard__video,
    .mediaCard__text {
        max-width: 100%;
        width: 100%;
    }

    .mediaCard__text h2 {
        text-align: center;
        font-size: 20px;
    }

    /* Point Section Mobile */
    .point {
        padding: 60px 0;
    }

    .pointList {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .pointList li {
        max-width: 100%;
        width: 100%;
    }

    .pointList__image {
        width: 200px;
    }

    /* Gallery Mobile */
    .gallery {
        padding: 60px 0;
    }

    .gallery__slider .slick-slide {
        width: 280px;
        margin: 0 10px;
    }

    /* Footer Mobile */
    .footer__logo {
        height: 120px;
    }

    footer ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    footer a {
        border: none;
        border-bottom: 1px solid #7F4F21;
        margin: 0;
        width: 200px;
        text-align: center;
    }

    footer a:last-child {
        border-bottom: none;
    }

    footer p {
        font-size: 12px;
        padding: 0 10px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
    }

    nav a {
        padding: 6px 8px;
        font-size: 12px;
    }

    .gallery__slider .slick-slide {
        width: 250px;
        margin: 0 8px;
    }

    .pointList__image {
        width: 160px;
    }
}

#howto p{
text-align: center;
}

/* ===== Hero base ===== */
.main-visual{
  position: relative;
  width: 100vw;
  height: calc(100vh - 80px); /* ヘッダー80pxぶん差し引き */
  min-height: 400px;
  overflow: hidden;
}

/* モバイル時の高さ微調整（ヘッダー70px想定） */
@media (max-width: 900px){
  .main-visual{ height: calc(100vh - 70px); min-height: 300px; }
}

/* 背景はCSSで切替 */
.hero{
  position: relative;
  width: 100%;
  height: 100%;
  background: url("../images/backscreen__phone@2x-100.jpg") no-repeat center center / cover;
}
@media (max-width: 900px){
  .hero{
    background: url("../images/backscreen__phone@2x-100.jpg") no-repeat center center / cover;
  }
}

/* ===== Clouds (PCのみ読み込み＆表示) ===== */
/* 位置は%で追従、サイズはvwでスケール＆画像比率はimgで自動維持 */
.cloud{
  position: absolute;
  left: var(--lx);   /* 例: "10.5%" */
  top:  var(--ly);   /* 例: "9.3%"  */
  transform: translate(-50%, -50%);
  display: none; /* デフォは非表示（=小画面/タブレット想定） */
}
.cloud img{
  width: clamp(120px, 11vw, 220px);
  height: auto;         /* ← 元画像の縦横比を維持 */
  display: block;
}

/* 769px以上で初めて表示＆アニメ有効化（この時だけ画像URLが効く=読み込み開始） */
@media (min-width: 768px){
  .cloud{
    display: block;
    animation: puff var(--dur,4.6s) ease-in-out var(--delay,0s) infinite alternate;
    will-change: transform;
  }

  /* 1920x1080想定でpx→%換算した例。好みで微調整OK */
  .cloud1{ --lx:20.5%;  --ly:20.3%;  --dur:4.6s; --delay:-.3s; }
  .cloud2{ --lx:6%;     --ly:50.3%; --dur:5.2s; --delay:-1.1s; }
  .cloud3{ --lx:80.1%;  --ly:20.3%;  --dur:4.0s; --delay:-.7s; }
  .cloud4{ --lx:20.8%;  --ly:73.3%; --dur:4.4s; --delay:-.2s; }
  .cloud5{ --lx:78.6%;  --ly:73.3%; --dur:5.6s; --delay:-.6s; }
  .cloud6{ --lx:92.5%;  --ly:50.3%; --dur:4.1s; --delay:-1.4s; }
}

/* ふわふわ（中心基準で上下させる） */
@keyframes puff{
  0%   { transform: translate(-50%, -50%) translateY(0)     scale(0.97); }
  50%  { transform: translate(-50%, -50%) translateY(-30px) scale(1.01); }
  100% { transform: translate(-50%, -50%) translateY(0)     scale(0.97); }
}

/* アニメ苦手設定への配慮 */
@media (prefers-reduced-motion: reduce){
  .cloud{ animation: none !important; }
}

/* 雲の箱を絶対配置＆固定サイズ（スケール可） */
.cloud{
  position:absolute;
  left: var(--lx);
  top:  var(--ly);
  transform: translate(-50%, -50%);
  width: clamp(120px, 11vw, 220px);  /* ← サイズは“箱”で管理 */
  aspect-ratio: 1 / 1;               /* 必要なら個別に変えてOK */
}

/* 雲の画像は箱にぴったり。グローバルの max-width を無効化 */
.cloud img{
  width: 100%;
  height: auto;
  max-width: none;   /* ← これが効く */
  display: block;
}

/* スマホ専用画像（例：<img class="sp-only" src="images/hero-sp.png">） */
@media (max-width: 900px){
  .sp-only{
    display:block;
    width: clamp(220px, 92vw, 520px);   /* ← 横はvwで伸ばすけど上限520pxでストップ */
    height: auto;
    max-height: min(60vh, 420px);       /* ← 縦も上限を付けて“見切れ”防止 */
    margin-inline: auto;                /* 中央寄せ */
  }
}

/* PCでは消す（読み込みも止めたいなら <picture media> にする） */
@media (min-width: 900px){
  .sp-only{ display:none; }
}
/* 既存：メインビジュアルの固定高さはそのまま活かす（スマホ時70px差し引き）:contentReference[oaicite:1]{index=1} */
/* .main-visual { height: calc(100vh - 70px); min-height: 300px; } */

@media (max-width: 900px){
  .hero{ position: relative; overflow: hidden; height: 100%; }

  /* ノークロップ設定 */
  .sp-hero{
    position: absolute; inset: 0;   /* 余白ゼロで全面に張り付け */
    width: 100%; height: 100%;
    object-fit: contain;             /* ← 切れない（レターボックスになる） */
    display: block;
  }

  /* スマホ時は雲やPC用要素は非表示＆未読込（あなたの運用に合わせて） */
  .cloud{ display: none; }
}

@media (min-width: 900px){
  .sp-hero{ display: none; }        /* PCでは出さない */
}

.point{
background-color:#fff;
}
.outer {
  max-width: 1280px; /* 1080 + 100 + 100 */
  margin: 0 auto;
  padding: 0 100px;
  box-sizing: border-box;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
}

body h2 {
  color: #ff8c8c; /* ピンク */
text-shadow: 1px 1px 1px rgba(128,1,1,0.5);
font-size: 2em;
}
/* 共通ホバー */
nav a:hover,
footer a:hover {
    background-color: #FFE96B;
    color: white;
    text-decoration: none; /* 下線が邪魔なら追加 */
}


.copy{
color:#888888;
}

a {
  color: #7F4F21;
  text-decoration: none;
}

.pointList h3 {
  color: #FFE868;
text-shadow: 1px 1px 1px rgba(150, 100, 0, 0.7);
  font-size: 1.5em;
}

.bnr {
  background:#E3F8B8;


