:root { --ink:#262626; --muted:#666; --line:#e8e2d8; --paper:#fffaf1; --accent:#f8b62d; --accent-dark:#d88700; --shadow:0 20px 55px rgba(34,30,24,.14); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; padding-top:78px; color:var(--ink); font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height:1.75; background:#fff; }
a { color:inherit; text-decoration:none; }
img { display:block; width:100%; height:auto; }
button,input,textarea,select { font:inherit; }
.header { position:fixed; top:0; left:0; width:100%; z-index:20; background:rgba(255,255,255,.72); border-bottom:1px solid rgba(38,38,38,.08); backdrop-filter:blur(18px); }
@media (max-width:800px) { .header { background:rgba(255,255,255,.92); } }
.header-inner { width:min(1120px,calc(100% - 32px)); margin:0 auto; min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.logo img { width:178px; }
.nav { display:flex; align-items:center; gap:22px; font-size:14px; font-weight:700; }
.nav a:hover { color:var(--accent-dark); }
.nav .contact-link { color:#fff; background:var(--ink); padding:10px 18px; border-radius:999px; }
.hero { position:relative; min-height:520px; display:grid; align-items:end; overflow:hidden; color:#fff; background:#171717; }
.hero::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.42) 55%,rgba(0,0,0,.1)),url("../../../images/company/meeting.png") center / cover no-repeat; transform:scale(1.02); }
.hero-inner { position:relative; width:min(1120px,calc(100% - 32px)); margin:0 auto; padding:130px 0 82px; }
.kicker { margin:0 0 8px; color:var(--accent); font-size:13px; font-weight:900; letter-spacing:.08em; }
h1,h2,h3 { letter-spacing:0; }
h1 { max-width:860px; margin:0 0 20px; font-size:clamp(42px,7vw,76px); line-height:1.08; }
.hero p:not(.kicker) { max-width:700px; margin:0; font-size:clamp(17px,2.1vw,22px); }
.contact-shell { background:var(--paper); padding:96px 0; }
.contact-inner { width:min(1120px,calc(100% - 32px)); margin:0 auto; display:grid; grid-template-columns:.9fr 1.3fr; gap:28px; align-items:start; }
.info-panel,.form-panel { border-radius:8px; background:#fff; box-shadow:var(--shadow); }
.info-panel { padding:34px; position:sticky; top:104px; }
.info-panel h2,.form-panel h2 { margin:0 0 14px; font-size:clamp(26px,3vw,36px); line-height:1.25; }
.info-panel p { margin:0 0 22px; color:var(--muted); }
.support-list { display:grid; gap:12px; margin:0 0 28px; padding:0; list-style:none; }
.support-list li { padding:14px 16px; border:1px solid var(--line); border-radius:8px; font-weight:800; background:#fffaf6; }
.quick-contact { display:grid; gap:12px; padding-top:24px; border-top:1px solid var(--line); }
.quick-contact a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; border-radius:999px; background:var(--ink); color:#fff; font-weight:900; }
.quick-contact small { color:var(--muted); }
.form-panel { padding:38px; }
.form-lead { margin:0 0 28px; color:var(--muted); }
.course-guide { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0 0 28px; padding:16px 18px; border:1px solid #f0cf7c; border-radius:8px; background:#fff8e6; }
.course-guide p { margin:0; font-weight:900; }
.course-guide a,.course-guide button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border:0; border-radius:999px; background:var(--accent); color:#171717; cursor:pointer; font-size:14px; font-weight:900; white-space:nowrap; }
.form-grid { display:grid; gap:22px; }
.field { display:grid; gap:8px; }
.field label { display:flex; align-items:center; gap:8px; font-weight:900; }
.required,.optional { display:inline-flex; align-items:center; min-height:22px; padding:0 8px; border-radius:999px; font-size:12px; line-height:1; }
.required { color:#fff; background:var(--accent-dark); }
.optional { color:var(--muted); background:#f1eee8; }
input,textarea,select { width:100%; border:1px solid #d9d1c5; border-radius:8px; background:#fff; color:var(--ink); outline:none; transition:border-color .2s ease,box-shadow .2s ease; }
input,select { min-height:52px; padding:0 14px; }
textarea { min-height:180px; padding:14px; resize:vertical; }
input:focus,textarea:focus,select:focus { border-color:var(--accent-dark); box-shadow:0 0 0 4px rgba(248,182,45,.22); }
.hint { margin:0; color:var(--muted); font-size:13px; }
.two-cols { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.privacy-box { margin-top:6px; padding:18px; border-radius:8px; background:#f7f4ee; color:var(--muted); font-size:14px; }
.privacy-box a { color:var(--accent-dark); font-weight:900; text-decoration:underline; }
.form-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:54px; padding:0 26px; border:0; border-radius:999px; cursor:pointer; font-weight:900; }
.btn-primary { background:var(--accent); color:#171717; }
.btn-secondary { background:#eee8dc; color:#403b34; }
.flow-strip { background:#fff; padding:78px 0; }
.flow-inner { width:min(1120px,calc(100% - 32px)); margin:0 auto; }
.flow-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:28px; }
.flow-item { padding:22px; border-left:5px solid var(--accent); border-radius:8px; box-shadow:0 12px 32px rgba(20,20,20,.07); }
.flow-item strong { display:block; margin-bottom:6px; }
.flow-item p { margin:0; color:var(--muted); font-size:14px; }
.footer {
  padding: 58px 0 28px;
  background: #171717;
  color: #fff;
}
.footer-inner { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.footer-main { display: grid; grid-template-columns: minmax(260px, 1fr) 1.4fr; gap: 48px; align-items: start; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-brand img { width: 176px; margin-bottom: 18px; }
.footer-brand p { max-width: 430px; margin: 0; color: rgba(255,255,255,.72); }
.footer-contact { margin-top: 20px; display: grid; gap: 6px; font-size: 14px; }
.footer-contact a { color: var(--accent); font-weight: 800; }
.footer-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-column h3 { margin: 0 0 12px; color: var(--accent); font-size: 13px; letter-spacing: .08em; }
.footer-column a,.footer-column span { display: block; color: rgba(255,255,255,.78); font-size: 14px; }
.footer-column a + a,.footer-column span + span { margin-top: 8px; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; align-items: center; padding-top: 22px; color: rgba(255,255,255,.62); font-size: 13px; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width:900px) { .nav{display:none;} .hero{min-height:500px;} .contact-inner,.two-cols,.flow-grid,.footer-main,.footer-columns{grid-template-columns:1fr;} .info-panel{position:static;} .footer-bottom{display:block;} .footer-links{display:none;} }
@media (max-width:520px) { .header-inner{min-height:68px;} .logo img{width:142px;} .hero-inner{padding:110px 0 72px;} .contact-shell{padding:68px 0;} .info-panel,.form-panel{padding:24px;} .course-guide{align-items:stretch; flex-direction:column;} .form-actions .btn{width:100%;} }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--ink, #262626);
  color: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 12px 28px rgba(20,20,20,.16);
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-open { overflow: hidden; }
.popko-top {
  position: fixed;
  right: clamp(14px, 2.6vw, 30px);
  bottom: clamp(14px, 2.6vw, 28px);
  z-index: 60;
  width: 92px;
  height: 170px;
  display: grid;
  place-items: end center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(.96);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
body.show-popko-top .popko-top {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.popko-top img {
  position: relative;
  z-index: 1;
  width: 64px;
  filter: drop-shadow(0 10px 16px rgba(20,20,20,.22));
  transition: transform .22s ease;
}
.popko-top span {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 2;
  min-width: 54px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--accent, #f8b62d);
  color: #171717;
  box-shadow: 0 10px 24px rgba(20,20,20,.16);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
}
.popko-top:hover img { transform: translateY(-5px); }
.popko-top:focus-visible,
.menu-toggle:focus-visible {
  outline: 4px solid rgba(248,182,45,.45);
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 78px 16px auto 16px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(38,38,38,.08);
    box-shadow: var(--shadow, 0 20px 55px rgba(34,30,24,.14));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  }
  body.menu-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px 0 28px;
    border-radius: 8px;
    background: #fffaf6;
    overflow: hidden;
  }
  .nav a::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 999px;
    background: var(--accent, #f8b62d);
  }
  .nav .contact-link {
    justify-content: center;
    padding-left: 14px;
    background: var(--accent, #f8b62d);
    color: #171717;
  }
  .nav .contact-link::before { display: none; }
}
@media (max-width: 520px) {
  .nav { inset: 68px 12px auto 12px; }
  .popko-top { width: 76px; height: 142px; }
  .popko-top img { width: 54px; }
  .popko-top span { min-width: 48px; font-size: 12px; padding: 6px 9px; }
}
/* スマホでの横スクロール・左右の揺れを防止 */
html { overflow-x: hidden; }
body { max-width: 100%; overflow-x: clip; }
main, header, footer, section { min-width: 0; }
iframe { max-width: 100%; }

.material-order { margin:0 0 28px; padding:22px; border:1px solid #c9ddc2; border-radius:8px; background:#f1f8ed; }
.material-order-heading { display:grid; grid-template-columns:1fr minmax(220px,.55fr); align-items:end; gap:22px; }
.material-order-heading .kicker { margin-bottom:4px; color:#245b32; }
.material-order-heading h3 { margin:0 0 6px; font-size:22px; }
.material-order-heading p:not(.kicker) { margin:0; color:var(--muted); }
.shipping-fields { display:grid; gap:18px; margin-top:22px; padding-top:20px; border-top:1px solid #e6d9b5; }
.shipping-fields[hidden] { display:none; }
.shipping-title { margin:0; font-weight:900; }
.form-grid > section.material-order.course-order { border-color:#f0cf7c; background:#fff8e6; }
.course-order-heading { align-items:center; }
.course-order-heading .kicker { color:#9a5b00; }
.course-order-heading button { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:0 16px; border:0; border-radius:999px; background:var(--accent); color:#171717; cursor:pointer; font-size:14px; font-weight:900; white-space:nowrap; }
.course-date-fields { margin-top:20px; padding-top:18px; border-top:1px solid #f0cf7c; }

@media(max-width:600px) { .material-order { padding:18px; } .material-order-heading { grid-template-columns:1fr; gap:14px; } }

.course-date-fields,.course-date-fields .field{min-width:0;width:100%}.course-date-fields input[type=date]{display:block;width:100%;max-width:100%;min-width:0;box-sizing:border-box;padding-inline:10px;font-size:16px}

@media(max-width:600px){.course-date-fields input[type=date]{width:calc(100% - 16px);max-width:calc(100% - 16px)}}
