/*
Theme Name: 出島情報塾 Photo
Theme URI: https://dejima.info/
Author: DEJIMA GROUP
Description: 出島情報塾の写真中心レスポンシブWordPressテーマ。既存の固定ページ・投稿・画像を保持。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: dejima-info-photo
*/
:root{--blue:#1765a0;--deep:#123d60;--green:#64b88b;--ink:#243444;--muted:#5d6a78;--pale:#f1f8fb;--line:#dce9ef;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;color:var(--ink);line-height:1.85;background:#fff}a{color:var(--blue);text-underline-offset:3px}a:hover{color:#0b3f6b}img{max-width:100%;height:auto}.wrap{max-width:1160px;margin:auto;padding:0 24px}.site-header{position:sticky;top:0;z-index:30;background:#fff;box-shadow:0 2px 18px #123d6012}.head-inner{display:flex;align-items:center;justify-content:space-between;min-height:82px;gap:20px}.brand{text-decoration:none;display:flex;align-items:center;gap:12px;color:var(--deep)}.brand-symbol{display:grid;place-items:center;background:linear-gradient(135deg,#2e96c8,#77caa2);width:48px;height:48px;border-radius:14px;color:white;font-size:25px;font-weight:900}.brand strong{display:block;font-size:22px;line-height:1.2}.brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:.04em}.main-nav ul{list-style:none;display:flex;align-items:center;gap:17px;margin:0;padding:0}.main-nav a{text-decoration:none;font-weight:700;color:var(--deep);font-size:13px}.main-nav a:hover{color:var(--blue)}.nav-cta{background:var(--blue);color:#fff!important;padding:10px 16px;border-radius:100px}.menu-toggle{display:none;border:1px solid var(--line);background:white;border-radius:10px;padding:8px 14px;font-size:15px}.hero{background:radial-gradient(circle at 80% 10%,#d0f2e1 0,transparent 35%),linear-gradient(125deg,#eaf8fe,#f9fcfc);padding:58px 0}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:42px}.eyebrow{font-weight:800;color:#1c7a82;letter-spacing:.15em;font-size:13px}.hero h1{font-size:clamp(30px,4vw,53px);line-height:1.45;letter-spacing:.02em;margin:18px 0;color:var(--deep)}.hero p{font-size:17px;max-width:37em}.btn-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.btn{display:inline-block;padding:13px 24px;border-radius:50px;font-weight:800;text-decoration:none;transition:.2s;background:var(--blue);color:#fff;box-shadow:0 5px 15px #1765a027}.btn:hover{color:white;transform:translateY(-2px);background:var(--deep)}.btn-outline{background:white;color:var(--blue);border:2px solid #b6d7e6;box-shadow:none}.btn-outline:hover{background:#e8f5fa;color:var(--deep)}.hero-photo{position:relative;min-height:360px;background:#d1e9ed;border-radius:28px;overflow:hidden;box-shadow:0 18px 32px #164a651a}.hero-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.empty-photo{height:100%;min-height:310px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:30px;background:linear-gradient(145deg,#cfebf3,#d8f3e3);color:#416e80}.empty-photo span{font-size:58px;line-height:1.4}.empty-photo p{font-size:14px;max-width:260px}.float-label{position:absolute;bottom:18px;left:18px;background:#fff;box-shadow:0 5px 20px #0001;border-radius:100px;padding:8px 16px;color:var(--deep);font-weight:bold;font-size:13px}.section{padding:74px 0}.section.alt{background:var(--pale)}.section-head{text-align:center;max-width:760px;margin:0 auto 38px}.section-head h2{font-size:clamp(27px,3vw,38px);line-height:1.45;margin:8px 0;color:var(--deep)}.section-head p{margin:0;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.course-card,.info-card,.news-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 24px #18495e0b}.course-card .image{height:195px;position:relative;overflow:hidden;background:#cde9f1}.course-card img,.gallery-image img{width:100%;height:100%;object-fit:cover}.course-card .image .empty-photo{min-height:195px}.course-card .image .empty-photo span{font-size:46px}.course-card .image .empty-photo p{font-size:12px}.course-body{padding:23px}.course-body h3{font-size:21px;margin:0 0 8px;color:var(--deep)}.course-body p{margin:0 0 14px;color:var(--muted);font-size:14px}.course-body a{font-weight:800}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.info-card{padding:26px}.info-icon{background:#e4f6f0;color:#147e66;display:grid;place-items:center;border-radius:16px;width:55px;height:55px;font-weight:900;font-size:27px}.info-card h3{color:var(--deep);margin:14px 0 8px}.info-card p{margin:0;color:var(--muted)}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.gallery-image{aspect-ratio:4/3;border-radius:14px;overflow:hidden;background:#e2f1f4}.gallery-image .empty-photo{min-height:100%;padding:10px}.gallery-image .empty-photo span{font-size:36px}.gallery-image .empty-photo p{font-size:12px}.gallery-caption{font-size:13px;font-weight:bold;color:var(--deep);margin:8px 0 0}.highlight{background:linear-gradient(120deg,#14527d,#238c89);color:white;border-radius:24px;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:30px}.highlight h2{font-size:27px;margin:0}.highlight p{margin:8px 0 0}.highlight .btn{background:#fff;color:var(--deep);flex-shrink:0}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-card{padding:22px}.news-card time{font-size:12px;color:var(--muted)}.news-card h3{font-size:17px;line-height:1.65;margin:6px 0}.news-card a{text-decoration:none}.access-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.access-grid h3{color:var(--deep);font-size:23px}.access-map{border-radius:18px;overflow:hidden;border:1px solid var(--line);min-height:300px}.access-map iframe{display:block;width:100%;height:320px;border:0}.site-footer{background:#123d60;color:#d9ecf6;padding:52px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:36px}.site-footer a{color:#e4f6fc}.site-footer h2{color:white}.footer-links{display:flex;gap:15px;flex-wrap:wrap}.copyright{border-top:1px solid #ffffff30;margin-top:34px;padding-top:17px;font-size:12px}.page-content{padding:50px 0 80px}.page-content h1{font-size:34px;color:var(--deep);border-bottom:3px solid #c2e7df;padding-bottom:12px}.page-content h2{color:var(--deep);margin-top:36px}.page-content img{border-radius:12px}.entry-meta{color:var(--muted);font-size:13px}.page-content .alignwide{max-width:1120px}.wp-block-image{margin:20px auto}.pagination{margin:28px 0}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:white;z-index:100}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);height:1px;width:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;height:auto;width:auto}.comment-form input,.comment-form textarea{max-width:100%}
@media(max-width:960px){.main-nav ul{gap:9px}.main-nav a{font-size:12px}.cards{grid-template-columns:repeat(2,1fr)}.hero-grid{gap:24px}}@media(max-width:760px){.head-inner{min-height:70px;flex-wrap:wrap}.menu-toggle{display:block}.main-nav{display:none;width:100%}.main-nav.open{display:block}.main-nav ul{display:flex;flex-direction:column;align-items:stretch;padding:0 0 20px;gap:0}.main-nav li a{display:block;padding:10px;border-bottom:1px solid var(--line)}.hero{padding:36px 0}.hero-grid,.access-grid,.footer-grid{grid-template-columns:1fr}.hero-photo{min-height:260px}.hero-photo img{min-height:260px}.cards,.features,.news-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(2,1fr)}.section{padding:52px 0}.highlight{padding:28px;display:block}.highlight .btn{margin-top:20px}.wrap{padding:0 18px}.brand strong{font-size:19px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* Editable logo in WordPress Appearance > Customize > Site Identity */
.brand .custom-logo-link,.brand-fallback{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--deep)}
.brand .custom-logo{display:block;width:auto;max-width:min(320px,55vw);max-height:90px;object-fit:contain}
@media(max-width:760px){.brand .custom-logo{max-width:min(230px,60vw);max-height:64px}}
