/*
Theme Name: アロハの雫(しずく) Light Pink
Theme URI: https://example.com/
Author: Aloha no Shizuku
Description: 「アロハの雫(しずく)」専用の1ページ型WordPressテーマ。薄ピンクのハワイアンデザイン、レスポンシブ対応、写真・動画ギャラリー付き。
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aloha-no-shizuku
*/
:root{--deep:#075a9c;--teal:#0788c9;--aqua:#65c9ef;--coral:#ff7c7c;--sand:#fff8e9;--ink:#27465f;--shadow:0 18px 45px rgba(7,90,156,.14)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"M PLUS Rounded 1c","Kosugi Maru",sans-serif;color:var(--ink);background:#fffdf8;line-height:1.9}a{text-decoration:none;color:inherit}button{font:inherit}
.site-header{position:fixed;z-index:30;inset:0 0 auto;height:76px;padding:0 5vw;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(rgba(0,73,135,.62),transparent);transition:.3s}.site-header.scrolled{background:rgba(5,91,158,.94);backdrop-filter:blur(12px);box-shadow:0 8px 25px #0002}.brand{display:flex;align-items:center;gap:9px;font-weight:600;font-size:21px}.brand span{font-size:30px}.global-nav{display:flex;align-items:center;gap:25px;font-weight:500;font-size:14px}.nav-cta{background:#fff;color:var(--deep);padding:9px 18px;border-radius:999px}.menu-btn{display:none;border:0;background:none;color:#fff;font-size:28px}
.hero{position:relative;min-height:100svh;display:grid;align-items:center;overflow:hidden;background:url("images/hero-waikiki-new.jpg") center center/cover no-repeat;color:#fff}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,60,125,.52) 0%,rgba(0,112,180,.25) 48%,rgba(0,0,0,.04) 78%)}.hero-inner{position:relative;z-index:3;width:min(1120px,90vw);margin:auto;padding:125px 0 155px}.beginner-ribbon{display:inline-block;padding:8px 20px;border-radius:999px;background:linear-gradient(135deg,#ff7f80,#ffb16c);font-weight:600;box-shadow:0 10px 25px #0003}.eyebrow{font-size:11px;letter-spacing:.16em;font-weight:500;margin-top:22px}.hero h1{font-size:clamp(54px,8vw,94px);line-height:1.15;margin:6px 0 2px;font-weight:600;text-shadow:0 3px 20px #0005}.hero-lead{font-size:clamp(22px,3vw,34px);font-weight:500;margin:0 0 10px;text-shadow:0 2px 15px #0005}.hero-copy{font-size:clamp(15px,1.5vw,19px);font-weight:500;text-shadow:0 2px 12px #0006}.hero-actions{display:flex;gap:12px;margin-top:28px}.btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;font-weight:600}.primary{background:linear-gradient(135deg,var(--coral),#ff9e6c);color:#fff;box-shadow:0 10px 22px #d65f5f44}.glass{border:1px solid #fff9;background:#fff2;backdrop-filter:blur(8px)}.hero-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:25px}.hero-points span{padding:7px 13px;border:1px solid #fff6;background:#fff2;border-radius:999px;font-size:13px;font-weight:500;backdrop-filter:blur(7px)}.wave{position:absolute;z-index:2;left:-5%;right:-5%;bottom:-115px;height:180px;background:#fffdf8;border-radius:50% 50% 0 0/45% 45% 0 0}
.section{padding:100px 6vw}.section-head{text-align:center;max-width:790px;margin:0 auto 52px}.section-head small,.contact-inner>small{color:var(--coral);font-weight:600;letter-spacing:.18em}.section-head h2,.contact h2{font-size:clamp(30px,4vw,46px);line-height:1.45;color:var(--deep);margin:8px 0 12px;font-weight:600}.section-head p{margin:0}.message{max-width:900px;margin:auto;background:#fff;padding:42px 48px;border-radius:34px;box-shadow:var(--shadow);position:relative}.message-icon{font-size:42px}.message h3{font-size:28px;color:var(--deep);margin:0}.signature{text-align:right;font-weight:500;color:var(--teal)}.features,.info{max-width:1120px;margin:55px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.features article,.info article{background:#fff;border-radius:28px;padding:28px;text-align:center;box-shadow:var(--shadow)}.features b{font-size:40px}.features h3,.info h3{color:var(--deep);margin:6px 0}.features p,.info p{font-size:14px;margin:0}
.lesson{background:linear-gradient(145deg,#075b9f,#079ed1);color:#fff}.section-head.light h2,.section-head.light p{color:#fff}.lesson-panel{max-width:1000px;margin:auto;display:grid;grid-template-columns:1.3fr .8fr;border-radius:32px;overflow:hidden;background:#fff;color:var(--ink);box-shadow:0 25px 60px #003d7055}.lesson-main{padding:40px;text-align:center;background:linear-gradient(135deg,#fff8e9,#fff)}.lesson-main small{color:var(--coral);font-weight:600}.lesson-main>strong{display:block;font-size:26px;color:var(--deep)}.time{font-size:52px;line-height:1.35;color:var(--teal);font-weight:600}.time i{font-style:normal;font-size:20px}.lesson-side{display:grid;background:#eff9ff}.lesson-side div{padding:28px 34px;display:grid;align-content:center;border-bottom:1px solid #d7ebf7}.lesson-side strong{font-size:19px;color:var(--deep)}
.gallery{background:#fffaf0}.gallery-grid{width:min(1060px,100%);margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.gallery-placeholder{aspect-ratio:4/3;border-radius:26px;display:grid;place-items:center;align-content:center;gap:8px;font-size:52px;background:linear-gradient(145deg,#e7fbf7,#fff2dd);box-shadow:var(--shadow);overflow:hidden}.gallery-placeholder span{font-size:15px;font-weight:500;color:var(--teal)}
.access{background:#f3faff}.access-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:.8fr 1.2fr;gap:25px}.access-card,.map{border:0;background:#fff;border-radius:28px;box-shadow:var(--shadow)}.access-card{padding:35px}.access-card h3{font-size:26px;color:var(--deep)}.map{width:100%;min-height:390px}
.contact{position:relative;padding:95px 6vw;background:linear-gradient(145deg,#0872bd,#08a7d8);color:#fff}.contact-inner{max-width:1050px;margin:auto;text-align:center}.contact h2{color:#fff}.contact-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:34px}.contact-buttons a{display:grid;background:#fff;color:var(--deep);padding:22px 12px;border-radius:25px;box-shadow:0 12px 30px #003d7044}.contact-buttons b{font-size:30px}.contact-buttons strong{font-size:17px}.contact-buttons span{font-size:11px;overflow-wrap:anywhere}.person{font-weight:500}
footer{text-align:center;padding:42px 5vw 35px;background:#064d7d;color:#e5f5ff}footer strong{font-size:21px}footer p,footer small{font-size:12px}.mobile-bar{display:none}.reveal{opacity:0;transform:translateY(24px);transition:.65s}.reveal.visible{opacity:1;transform:none}
@media(max-width:860px){.site-header{height:68px;padding:0 18px}.global-nav{position:absolute;top:68px;left:0;right:0;display:none;flex-direction:column;gap:0;background:#075f9df7;padding:12px 20px 20px}.global-nav.open{display:flex}.global-nav a{width:100%;padding:11px}.nav-cta{text-align:center;margin-top:6px}.menu-btn{display:block}.hero{background-position:58% center}.hero-inner{padding:105px 0 145px}.hero-actions{flex-direction:column;align-items:flex-start}.section{padding:78px 20px}.features,.info,.contact-buttons{grid-template-columns:1fr}.lesson-panel,.access-grid{grid-template-columns:1fr}.lesson-side{grid-template-columns:1fr 1fr}.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.map{min-height:320px}.mobile-bar{position:fixed;z-index:50;left:0;right:0;bottom:0;height:58px;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;box-shadow:0 -8px 25px #0002}.mobile-bar a{display:grid;place-items:center;color:var(--deep);font-size:12px;font-weight:600;border-right:1px solid #e1edf5}footer{padding-bottom:80px}}
@media(max-width:560px){.brand{font-size:18px}.hero{min-height:92svh;background-position:52% center}.hero-overlay{background:linear-gradient(90deg,rgba(0,55,85,.62),rgba(0,70,95,.24))}.hero h1{font-size:50px}.hero-lead{font-size:22px}.hero-copy br{display:none}.message{padding:30px 24px}.lesson-main{padding:32px 18px}.time{font-size:41px}.lesson-side{grid-template-columns:1fr}.gallery-grid{grid-template-columns:1fr}.gallery-placeholder{aspect-ratio:4/3}.section-head{margin-bottom:36px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}.reveal{opacity:1;transform:none}}
.gallery-item{margin:0;border-radius:26px;overflow:hidden;background:#fff;box-shadow:var(--shadow);min-width:0}
.gallery-item img,.gallery-item video{display:block;width:100%;height:100%;object-fit:cover}
.gallery-item{aspect-ratio:4/3}
.gallery-item.portrait img{object-position:center 32%}
.gallery-item.video-item{grid-column:1/-1;aspect-ratio:16/9;background:#052f50}
.gallery-item.video-item video{object-fit:contain;background:#052f50}
@media(max-width:560px){.gallery-item.video-item{grid-column:auto;aspect-ratio:16/9}}

/* v11: supplied logo + softer bold typography */
strong,b{font-weight:600}
.brand{gap:10px;font-weight:600}
.brand img{
  width:52px;height:52px;object-fit:cover;border-radius:50%;
  background:#fff;box-shadow:0 4px 14px rgba(0,0,0,.12)
}
.footer-brand{display:flex;justify-content:center;align-items:center;gap:10px}
.footer-brand img{
  width:68px;height:68px;object-fit:cover;border-radius:50%;background:#fff;
}
.hero h1,.section-head h2,.contact h2{font-weight:600}
@media(max-width:560px){
  .brand img{width:44px;height:44px}
  .brand strong{font-size:15px}
}

/* v13: transparent official logo used throughout */
.brand img{
  width:58px;height:58px;object-fit:contain;border-radius:0;
  background:transparent;box-shadow:none;
}
.footer-brand img{
  width:92px;height:92px;object-fit:contain;border-radius:0;background:transparent;
}
.section-logo{
  display:block;width:86px;height:86px;object-fit:contain;margin:0 auto 8px;
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.08));
}
.contact-logo{width:96px;height:96px}
.hero{background-position:center center}
@media(max-width:860px){
  .hero{background-position:52% center}
  .section-logo{width:76px;height:76px}
}
@media(max-width:560px){
  .brand img{width:48px;height:48px}
  .footer-brand img{width:78px;height:78px}
  .section-logo{width:68px;height:68px}
  .hero{background-position:54% center}
}


/* v16 fix: lesson info card text was white on white */
.info article{
  color:var(--ink);
}
.info article h3{
  color:var(--deep);
}
.info article p{
  color:var(--ink) !important;
  opacity:1 !important;
  visibility:visible !important;
  display:block !important;
  margin-top:10px;
  line-height:1.8;
}


/* v17: Hawaiian ocean blue palette */
:root{
  --deep:#075a9c;
  --teal:#0788c9;
  --aqua:#65c9ef;
  --ink:#27465f;
}
.lesson{
  background:linear-gradient(145deg,#075b9f,#079ed1);
}
.contact{
  background:linear-gradient(145deg,#0872bd,#08a7d8);
}
footer{background:#064d7d;color:#e5f5ff}
.site-header.scrolled{background:rgba(5,91,158,.94)}
@media(max-width:860px){
  .global-nav{background:#075f9df7}
}


/* v19 BRIGHT BLUE: bright Hawaiian sky & ocean */
:root{--deep:#087fcb;--teal:#12aee0;--aqua:#8ee9ff;--coral:#ff8aa5;--sand:#fffdf7;--ink:#28566f;--shadow:0 18px 45px rgba(18,174,224,.16)}
body{background:#fbfeff}
.site-header.scrolled{background:rgba(18,169,220,.91)}
.hero-overlay{background:linear-gradient(90deg,rgba(0,111,184,.30),rgba(38,190,230,.08) 55%,rgba(0,0,0,.01))}
.wave{background:#fbfeff}
.lesson{background:linear-gradient(145deg,#27bce9,#72dcf4)}
.lesson-side{background:#f2fcff}.lesson-side div{border-bottom-color:#d7f4fb}
.gallery{background:#f6fcff}.access{background:#f2fbff}
.contact{background:linear-gradient(145deg,#24b8e6,#77def3)}
footer{background:#138dc2;color:#effcff}
@media(max-width:860px){.global-nav{background:#159ed4f2}}

/* v27 soft light pink */
:root{--deep:#b85f7d;--teal:#dc8da7;--aqua:#f8d4df;--coral:#ef91aa;--sand:#fffafa;--ink:#68525b;--shadow:0 18px 45px rgba(220,141,167,.13)}
body{background:#fffdfd}
.site-header.scrolled{background:rgba(225,151,174,.91)}
.hero-overlay{background:linear-gradient(90deg,rgba(176,86,120,.20),rgba(255,204,219,.04) 55%,rgba(0,0,0,.01))}
.wave{background:#fffdfd}
.lesson{background:linear-gradient(145deg,#f4b8c9,#fbd9e3)}
.lesson .section-head.light h2,.lesson .section-head.light p{color:#76505f}
.lesson-side{background:#fff8fa}.lesson-side div{border-bottom-color:#f6e2e8}
.gallery{background:#fff9fb}.access{background:#fffafb}
.contact{background:linear-gradient(145deg,#f2b2c5,#fbd7e1)}
.contact h2,.contact{color:#74505d}
footer{background:#c97994;color:#fff7fa}
@media(max-width:860px){.global-nav{background:#d98ca5f2}}


/* v2 WordPress preview/layout fix — 2026-07-27 */
/* The page must remain readable even when Customizer preview/JS is delayed. */
.reveal{opacity:1;transform:none}

/* Use the real lesson scene as the default hero and keep the hero compact on desktop. */
.hero{
  min-height:clamp(620px,82vh,860px);
  background-image:url("images/hero-lesson.jpg");
  background-position:center 42%;
}
.hero-inner{padding:130px 0 145px}
.hero-overlay{background:linear-gradient(90deg,rgba(92,42,60,.48),rgba(184,95,125,.16) 55%,rgba(0,0,0,.05))}

/* Prevent accidental giant empty areas in preview. */
.section{min-height:0;height:auto}
#about,#lesson,#gallery,#access,.contact{min-height:0}

/* Desktop gallery: stable 2 columns x 2 rows, then video full width. */
.gallery-grid{align-items:stretch}
.gallery-item{aspect-ratio:4/3;height:auto}
.gallery-item img{object-fit:cover}
.gallery-item.video-item{grid-column:1/-1;aspect-ratio:16/9}

@media (max-width:860px){
  .hero{min-height:78svh;background-position:center center}
  .hero-inner{padding:105px 0 125px}
}
@media (max-width:560px){
  .hero{min-height:82svh;background-position:50% center}
  .hero-inner{padding:100px 0 115px}
  .hero h1{font-size:clamp(38px,12vw,50px)}
  .gallery-grid{grid-template-columns:1fr}
  .gallery-item,.gallery-item.video-item{grid-column:auto;aspect-ratio:4/3}
  .gallery-item.video-item{aspect-ratio:16/9}
}


/* =========================================================
   v3.0.0 FINAL POLISH — light pink Hawaiian resort edition
   ========================================================= */

/* Slightly taller, more cinematic hero. The selected Customizer image remains intact. */
.hero{
  min-height:clamp(720px,88vh,920px);
  background-image:none !important;
  isolation:isolate;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-3%;
  z-index:0;
  background-image:var(--hero-image);
  background-position:center 46%;
  background-size:cover;
  background-repeat:no-repeat;
  transform:scale(1.035);
  animation:alohaKenBurns 20s ease-in-out infinite alternate;
  will-change:transform;
}
@keyframes alohaKenBurns{
  from{transform:scale(1.035) translate3d(0,0,0)}
  to{transform:scale(1.10) translate3d(-.7%,-.5%,0)}
}
.hero-overlay{z-index:1}
.hero-inner{z-index:3}
.wave{z-index:2}

/* Header: larger logo and slightly stronger menu without becoming heavy. */
.brand img{width:68px;height:68px}
.brand strong{font-weight:600}
.global-nav{font-weight:600}
.global-nav a{position:relative}
.global-nav a:not(.nav-cta)::after{
  content:"";
  position:absolute;
  left:50%;right:50%;bottom:-5px;
  height:2px;border-radius:999px;
  background:#fff;
  transition:left .25s ease,right .25s ease;
}
.global-nav a:not(.nav-cta):hover::after{left:0;right:0}

/* Buttons/cards: soft premium interaction. */
.btn,.contact-buttons a,.features article,.info article,.gallery-item,.access-card{
  transition:transform .28s ease,box-shadow .28s ease,filter .28s ease;
}
.btn:hover{transform:translateY(-2px);filter:brightness(1.03)}
.features article:hover,.info article:hover,.contact-buttons a:hover,.access-card:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 50px rgba(184,95,125,.18);
}
.gallery-item:hover{transform:translateY(-4px)}
.gallery-item img{transition:transform .65s ease}
.gallery-item:hover img{transform:scale(1.035)}

/* Compact welcome strip between hero and main introduction. */
.aloha-invite{
  width:min(1080px,90vw);
  margin:-36px auto 24px;
  position:relative;
  z-index:5;
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:24px;
  padding:24px 28px;
  border:1px solid rgba(232,142,145,.18);
  border-radius:28px;
  background:rgba(255,255,255,.94);
  box-shadow:0 20px 55px rgba(184,95,125,.14);
  backdrop-filter:blur(10px);
}
.aloha-invite img{width:74px;height:74px;object-fit:contain}
.aloha-invite small{
  display:block;
  color:var(--coral);
  font-weight:600;
  letter-spacing:.16em;
}
.aloha-invite h2{
  margin:1px 0 2px;
  color:var(--deep);
  font-size:clamp(22px,2.6vw,34px);
  font-weight:600;
}
.aloha-invite p{margin:0;font-size:14px}

/* Reveal motion only when JavaScript is available; content stays visible if JS fails. */
.js .reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .75s ease,transform .75s ease;
}
.js .reveal.visible{
  opacity:1;
  transform:none;
}

/* Footer: richer but still clean. */
footer{padding:52px 5vw 38px}
.footer-brand{gap:14px;margin-bottom:10px}
.footer-brand>div{display:grid;text-align:left;line-height:1.45}
.footer-brand>div span{font-size:12px;opacity:.9}
.footer-links{
  display:flex;
  justify-content:center;
  gap:10px 22px;
  flex-wrap:wrap;
  margin:14px 0 18px;
  font-size:13px;
  font-weight:500;
}
.footer-links a{opacity:.9}
.footer-links a:hover{opacity:1;text-decoration:underline}

/* Mobile title fix is built into the theme now. */
@media(max-width:600px){
  .hero h1{
    font-size:27px !important;
    white-space:nowrap !important;
    letter-spacing:-1px !important;
    width:max-content !important;
    max-width:none !important;
  }
  .hero-inner{width:94vw !important}
}

/* Responsive polish. */
@media(max-width:860px){
  .brand img{width:54px;height:54px}
  .hero{min-height:84svh}
  .hero::before{background-position:52% center}
  .aloha-invite{
    grid-template-columns:auto 1fr;
    margin:-28px auto 15px;
    padding:20px;
  }
  .aloha-invite .btn{grid-column:1/-1;width:100%}
}
@media(max-width:560px){
  .aloha-invite{
    width:calc(100% - 30px);
    grid-template-columns:58px 1fr;
    gap:12px;
    border-radius:22px;
  }
  .aloha-invite img{width:58px;height:58px}
  .aloha-invite h2{font-size:22px}
  .aloha-invite p{font-size:12px;line-height:1.7}
  .footer-brand img{width:72px;height:72px}
  .footer-brand>div{text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .hero::before{animation:none;transform:none}
  .gallery-item img,.btn,.contact-buttons a,.features article,.info article,.gallery-item,.access-card{
    transition:none !important;
  }
}


/* =========================================================
   v3.1 VERIFIED FIX
   ========================================================= */

/* The extra welcome/logo strip was intentionally removed.
   Keep the hero-to-WELCOME transition clean and spacious. */
.hero + .section{
  padding-top:clamp(92px,10vw,138px);
}

/* Header refinement */
.brand img{width:60px;height:60px}
.site-header.scrolled{
  background:linear-gradient(180deg,rgba(112,151,188,.96),rgba(220,208,220,.90));
  box-shadow:0 8px 24px rgba(92,74,88,.10);
  backdrop-filter:blur(12px);
}

/* Ensure section logos can never become oversized, even during cache/plugin edge cases. */
.section-logo,
.contact-logo,
.footer-brand img{
  max-width:110px !important;
  max-height:110px !important;
}

/* Gallery/video must stay below the fixed header visually. */
.gallery-item video{position:relative;z-index:1}

/* Cleaner footer brand layout */
.footer-brand>div{display:block;text-align:left}
.footer-brand strong{display:block}

/* Slightly tighter desktop vertical rhythm. */
@media(min-width:861px){
  .section{padding-top:100px;padding-bottom:100px}
  .gallery{padding-top:105px}
  .access{padding-top:105px}
  .contact{padding-top:100px;padding-bottom:100px}
}

@media(max-width:860px){
  .brand img{width:52px;height:52px}
  .hero + .section{padding-top:76px}
}
