/*
Theme Name: OkiNova One Page
Theme URI: https://example.com/
Author: OkiNova
Description: Simple one-page WordPress theme for OkiNova container sales in Okinawa.
Version: 1.0.0
Text Domain: okinova
*/

:root {
  --navy: #072d4e;
  --navy-2: #0b3d67;
  --orange: #f48120;
  --cream: #f6f3ed;
  --ink: #16202a;
  --muted: #5d6873;
  --white: #ffffff;
  --line: #dfe5ea;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(7,45,78,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; color:var(--ink); background:var(--white); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height:1.65; }
a { color:inherit; }
img { max-width:100%; height:auto; display:block; }
.container { width:min(1180px, calc(100% - 40px)); margin:0 auto; }
.section { padding:82px 0; }
.section.alt { background:var(--cream); }
.eyebrow { margin:0 0 10px; color:var(--orange); font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
h1,h2,h3 { margin-top:0; color:var(--navy); line-height:1.2; }
h1 { font-size:clamp(2.3rem,5vw,4.9rem); letter-spacing:-.03em; }
h2 { font-size:clamp(2rem,3.4vw,3.3rem); letter-spacing:-.025em; }
h3 { font-size:1.35rem; }
.lead { font-size:1.08rem; color:var(--muted); }

.site-header { position:sticky; top:0; z-index:50; background:rgba(255,255,255,.96); backdrop-filter:blur(10px); border-bottom:1px solid rgba(7,45,78,.08); }
.header-inner { min-height:82px; display:flex; align-items:center; gap:28px; }
.brand img { width:58px; height:72px; object-fit:cover; object-position:50% 46%; border-radius:10px; }
.site-nav { margin-left:auto; display:flex; gap:25px; font-weight:700; color:var(--navy); }
.site-nav a { text-decoration:none; }
.site-nav a:hover { color:var(--orange); }
.header-contact { display:inline-flex; align-items:center; justify-content:center; padding:12px 18px; border-radius:999px; color:#fff; background:var(--orange); text-decoration:none; font-weight:800; }
.nav-toggle { display:none; flex-direction:column; justify-content:center; align-items:center; gap:5px; width:38px; height:38px; padding:0; border:0; background:transparent; cursor:pointer; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--navy); border-radius:2px; transition:transform .2s ease, opacity .2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity:0; }
.nav-toggle.is-active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

.hero { position:relative; overflow:hidden; background:linear-gradient(115deg,var(--navy) 0 48%,#0d4675 48% 100%); color:#fff; }
.hero::after { content:""; position:absolute; inset:auto -120px -180px auto; width:480px; height:480px; background:rgba(244,129,32,.16); border-radius:50%; }
.hero-inner { min-height:610px; display:grid; grid-template-columns:1.03fr .97fr; align-items:center; gap:54px; padding:70px 0; position:relative; z-index:2; }
.hero h1 { color:#fff; margin-bottom:22px; }
.hero .lead { color:rgba(255,255,255,.84); max-width:640px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:50px; padding:12px 22px; border-radius:999px; font-weight:800; text-decoration:none; transition:.2s ease; }
.btn.primary { background:var(--orange); color:#fff; }
.btn.secondary { border:2px solid rgba(255,255,255,.7); color:#fff; }
.btn:hover { transform:translateY(-1px); }
.hero-photo { border:8px solid rgba(255,255,255,.92); border-radius:24px; overflow:hidden; box-shadow:0 30px 70px rgba(0,0,0,.28); transform:rotate(-1.5deg); }
.hero-photo img { width:100%; aspect-ratio:4/3; object-fit:cover; }

.section-heading { max-width:760px; margin-bottom:36px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center; }
.image-card { border-radius:var(--radius); overflow:hidden; background:#fff; box-shadow:var(--shadow); }
.image-card img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.image-card.tall img { aspect-ratio:4/3; }
.photo-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.photo-grid .image-card:first-child { grid-column:1/-1; }
.product-copy { padding:6px 0; }
.price { font-size:clamp(2.1rem,4vw,3.6rem); font-weight:900; color:var(--orange); line-height:1; margin:16px 0 8px; }
.tax { color:var(--muted); font-weight:700; }
.feature-list { padding:0; margin:22px 0; list-style:none; display:grid; gap:9px; }
.feature-list li::before { content:"✓"; color:var(--orange); font-weight:900; margin-right:10px; }

.rank-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:28px 0 34px; }
.rank-card { border:1px solid var(--line); border-radius:16px; padding:20px; background:#fff; box-shadow:0 8px 24px rgba(7,45,78,.06); }
.rank-card strong { display:block; color:var(--navy); font-size:1.15rem; }
.rank-card .rank-price { color:var(--orange); font-size:1.45rem; font-weight:900; }
.before-after { display:grid; grid-template-columns:1fr 70px 1fr; gap:18px; align-items:center; margin-top:28px; }
.ba-card { background:#fff; border-radius:18px; overflow:hidden; box-shadow:var(--shadow); }
.ba-label { padding:12px 16px; color:#fff; background:var(--navy); font-weight:900; letter-spacing:.08em; }
.ba-card.after .ba-label { background:var(--orange); }
.ba-card img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.arrow { text-align:center; color:var(--orange); font-size:2.5rem; font-weight:900; }
.used-gallery { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:18px; }
.used-gallery img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:14px; }

.custom-grid { display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:16px; }
.custom-grid img { width:100%; height:100%; min-height:245px; object-fit:cover; border-radius:16px; box-shadow:0 10px 26px rgba(7,45,78,.08); }
.custom-grid img:first-child { grid-row:span 2; min-height:506px; }

.contact { background:var(--navy); color:#fff; text-align:center; }
.contact h2 { color:#fff; }
.contact .lead { color:rgba(255,255,255,.82); max-width:700px; margin-left:auto; margin-right:auto; }
.contact-box { margin:28px auto 0; display:flex; align-items:center; justify-content:center; gap:30px; flex-wrap:wrap; }
.mascot-wrap { width:160px; border-radius:50%; overflow:hidden; background:#fff; padding:8px; }
.mascot-wrap img { width:100%; aspect-ratio:1/1; object-fit:cover; border-radius:50%; }
.email-link { font-size:clamp(1.2rem,2.4vw,1.8rem); color:#fff; font-weight:900; text-decoration:none; border-bottom:3px solid var(--orange); }
.contact-text { display:flex; flex-direction:column; align-items:center; gap:8px; }
.contact-address { margin:0; color:rgba(255,255,255,.82); font-weight:700; }


.contact-form-wrap { background:#fff; color:var(--ink); border-radius:var(--radius); box-shadow:var(--shadow); padding:32px; max-width:560px; margin:36px auto 0; text-align:left; }
.contact-form-wrap .wpcf7-form label { display:block; font-weight:700; color:var(--navy); margin-bottom:18px; }
.contact-form-wrap .wpcf7-form input[type="text"],
.contact-form-wrap .wpcf7-form input[type="email"],
.contact-form-wrap .wpcf7-form select,
.contact-form-wrap .wpcf7-form textarea { display:block; width:100%; margin-top:6px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; font-size:1rem; font-family:inherit; color:var(--ink); background:var(--cream); }
.contact-form-wrap .wpcf7-form textarea { min-height:140px; resize:vertical; }
.contact-form-wrap .wpcf7-form input:focus,
.contact-form-wrap .wpcf7-form select:focus,
.contact-form-wrap .wpcf7-form textarea:focus { outline:2px solid var(--orange); outline-offset:1px; background:#fff; }
.contact-form-wrap .wpcf7-form .btn.primary { width:100%; border:0; cursor:pointer; font-size:1.05rem; margin-top:4px; }
.contact-form-wrap .wpcf7-not-valid-tip { display:block; color:#c0392b; font-size:.85rem; margin-top:4px; font-weight:700; }
.contact-form-wrap .wpcf7-response-output { margin:18px 0 0; border-radius:10px; padding:12px 16px; font-weight:700; border:1px solid var(--line); }

.map-embed { position:relative; width:100%; padding-bottom:50%; height:0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); margin-top:28px; }
.map-embed iframe { position:absolute; inset:0; width:100%; height:100%; }
@media (max-width: 640px) { .map-embed { padding-bottom:80%; } }

.site-footer { padding:28px 0; background:#041e34; color:rgba(255,255,255,.7); text-align:center; font-size:.92rem; }
.site-footer p { margin:0 0 6px; }
.site-footer p:last-child { margin-bottom:0; }
.footer-address { color:rgba(255,255,255,.85); font-weight:600; }


.post-list { display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.post-card { background:#fff; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.post-card-thumb { display:block; aspect-ratio:3/2; overflow:hidden; }
.post-card-thumb img { width:100%; height:100%; object-fit:cover; }
.post-card-body { padding:20px 22px 26px; display:flex; flex-direction:column; gap:10px; flex:1; }
.post-meta { margin:0; color:var(--muted); font-size:.88rem; }
.post-meta a { color:var(--muted); text-decoration:underline; }
.post-card-title { margin:0; font-size:1.2rem; }
.post-card-title a { text-decoration:none; }
.post-card-title a:hover { color:var(--orange); }
.post-card-excerpt { margin:0; color:var(--muted); font-size:.95rem; line-height:1.6; }
.pagination { display:flex; justify-content:center; gap:14px; margin-top:40px; }
.pagination .page-numbers { display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px; padding:0 12px; border-radius:999px; background:#fff; color:var(--navy); text-decoration:none; font-weight:700; box-shadow:0 4px 14px rgba(7,45,78,.08); }
.pagination .page-numbers.current { background:var(--orange); color:#fff; }

.single-post-container { max-width:820px; }
.post-hero { position:relative; overflow:hidden; background:linear-gradient(115deg,var(--navy) 0 48%,#0d4675 48% 100%); color:#fff; padding:64px 0 48px; }
.post-hero h1 { color:#fff; margin-bottom:14px; font-size:clamp(1.6rem,4vw,2.8rem); }
.post-hero .eyebrow { color:var(--orange); }
.post-hero .post-meta { color:rgba(255,255,255,.75); }
.post-hero .lead { color:rgba(255,255,255,.84); max-width:640px; margin-top:8px; }
.single-thumb { margin:26px 0; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); }
.single-thumb img { width:100%; display:block; }
.news-ticker { padding:40px 0 0; }
.news-box { border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); background:#fff; }
.news-box-header { background:var(--navy); color:#fff; font-weight:800; letter-spacing:.04em; padding:14px 22px; }
.news-list { list-style:none; margin:0; padding:0; max-height:230px; overflow-y:auto; }
.news-item { display:flex; align-items:center; gap:12px; padding:14px 22px; border-bottom:1px solid var(--line); flex-wrap:wrap; }
.news-item:last-child { border-bottom:0; }
.news-date { color:var(--muted); font-size:.88rem; white-space:nowrap; }
.news-item a { color:var(--navy); font-weight:700; text-decoration:none; }
.news-item a:hover { color:var(--orange); }
.news-badge { color:#e0263e; font-weight:900; font-size:.78rem; letter-spacing:.03em; }
.faq-list { display:flex; flex-direction:column; gap:16px; max-width:820px; margin:0 auto; }
.faq-item { border:1px solid var(--line); border-radius:var(--radius); background:#fff; overflow:hidden; box-shadow:var(--shadow); }
.faq-question { width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:20px 24px; background:none; border:0; text-align:left; font-size:1.05rem; font-weight:700; color:var(--navy); cursor:pointer; font-family:inherit; }
.faq-icon { position:relative; width:20px; height:20px; flex:none; }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background:var(--orange); border-radius:2px; }
.faq-icon::before { top:9px; left:0; width:20px; height:2px; }
.faq-icon::after { top:0; left:9px; width:2px; height:20px; transition:transform .2s ease; }
.faq-item.is-open .faq-icon::after { transform:scaleY(0); }
.faq-answer { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-answer p { margin:0; padding:0 24px 22px; color:var(--muted); line-height:1.7; }
.area-list { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; }
.area-list a { background:var(--cream); color:var(--navy); padding:10px 22px; border-radius:999px; text-decoration:none; font-weight:700; transition:background .2s ease, color .2s ease; }
.area-list a:hover { background:var(--orange); color:#fff; }
.faq-item.is-open .faq-answer { max-height:400px; }
@media (max-width:640px) {
  .faq-question { padding:16px 18px; font-size:.98rem; }
  .faq-answer p { padding:0 18px 18px; }
}
.single-content { font-size:1.05rem; line-height:1.9; }
.single-content p { margin:0 0 1.4em; }
.single-content h2 { font-size:1.6rem; margin-top:1.6em; }
.single-content h3 { margin-top:1.4em; }
.single-content img { border-radius:14px; margin:1.2em 0; }
.post-tags { display:flex; flex-wrap:wrap; gap:10px; margin:32px 0 0; }
.post-tag { background:var(--cream); color:var(--navy); padding:6px 14px; border-radius:999px; text-decoration:none; font-size:.88rem; font-weight:700; }
.post-tag:hover { background:var(--orange); color:#fff; }
.single-back { margin-top:40px; }

@media (max-width: 900px) {
  .post-list { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .post-list { grid-template-columns:1fr; }
}

@media (max-width: 900px) {
  .site-nav { display:none; flex-direction:column; gap:0; position:absolute; top:100%; left:0; right:0; background:var(--white); box-shadow:var(--shadow); padding:10px 0; margin-left:0; }
  .site-nav.is-open { display:flex; }
  .site-nav a { padding:14px 24px; border-bottom:1px solid var(--line); }
  .nav-toggle { display:flex; }
  .header-contact { margin-left:auto; }
  .hero-inner, .grid-2 { grid-template-columns:1fr; }
  .hero-inner { min-height:auto; padding:54px 0 64px; }
  .hero-photo { transform:none; }
  .rank-grid { grid-template-columns:1fr; }
  .custom-grid { grid-template-columns:1fr 1fr; }
  .custom-grid img:first-child { grid-column:1/-1; grid-row:auto; min-height:360px; }
}

@media (max-width: 640px) {
  .container { width:min(100% - 26px,1180px); }
  .section { padding:62px 0; }
  .header-inner { min-height:68px; gap:12px; }
  .brand img { width:42px; height:52px; }
  .header-contact { padding:10px 13px; font-size:.88rem; }
  .photo-grid, .custom-grid { grid-template-columns:1fr; }
  .photo-grid .image-card:first-child, .custom-grid img:first-child { grid-column:auto; }
  .before-after { grid-template-columns:1fr; }
  .arrow { transform:rotate(90deg); }
  .used-gallery { grid-template-columns:1fr 1fr; }
}

/* --- column post visual components (added for post ID 60) --- */

.post-photo { max-width:600px; margin:28px auto; }

.mascot-tip { display:flex; align-items:flex-start; gap:16px; margin:32px 0; }
.mascot-tip-avatar { width:120px; height:120px; border-radius:50%; overflow:hidden; flex-shrink:0; box-shadow:var(--shadow); }
.mascot-tip-img { width:100%; height:100%; object-fit:cover; transform:scale(1.5); transform-origin:50% 24%; display:block; }
.mascot-tip-bubble { position:relative; background:var(--cream); border:2px solid var(--navy); border-radius:16px; padding:14px 18px; font-weight:700; color:var(--navy); flex:1; }
.mascot-tip-bubble::before { content:""; position:absolute; left:-10px; top:20px; border-width:8px 10px 8px 0; border-style:solid; border-color:transparent var(--navy) transparent transparent; }
.mascot-tip-bubble::after { content:""; position:absolute; left:-7px; top:22px; border-width:6px 8px 6px 0; border-style:solid; border-color:transparent var(--cream) transparent transparent; }
@media (max-width:480px) {
  .mascot-tip-avatar { width:84px; height:84px; }
}

/* --- social links (Instagram) --- */
.social-link { display:inline-flex; align-items:center; justify-content:center; opacity:.92; transition:opacity .2s ease, transform .2s ease; }
.social-link:hover { opacity:1; transform:translateY(-1px); }
.header-social { margin-left:4px; }
.footer-social { margin:10px 0 0; }

.instagram-cta { margin:36px 0; text-align:center; }
.instagram-cta-link { display:inline-flex; align-items:center; gap:14px; padding:16px 28px; border-radius:999px; background:var(--cream); box-shadow:var(--shadow); text-decoration:none; transition:transform .2s ease, box-shadow .2s ease; }
.instagram-cta-link:hover { transform:translateY(-2px); box-shadow:0 20px 44px rgba(7,45,78,.16); }
.instagram-cta-text { font-weight:800; color:var(--navy); font-size:1.05rem; }
@media (max-width:480px) {
  .instagram-cta-link { padding:14px 20px; gap:10px; }
  .instagram-cta-icon { width:32px; height:32px; }
  .instagram-cta-text { font-size:.95rem; }
}
