:root{
  --container-max: 960px;
  --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --base: 14px;
  --small: 12px;
  --h1: 30px;
  --h2: 24px;
  --h3: 18px;
  --lh: 1.25;

  --text: #666666;
  --accent: #5B548C;
  --req: #FA7678;

  --gap-h-to-body: 60px;
  --gap-box: 30px;

  --box-pad-x: clamp(24px, 6vw, 80px);
  --box-pad-y: 80px;

  --box-bg: rgba(255,255,255,0.8);
  --drop-bg: rgba(102,102,102,0.10);
}

@media (max-width: 768px){
  :root{
    --base: 12px;
    --box-pad-y: 48px;
    --h1: 21px;
    --h2: 17px;
    --h3: 13px;
  }
}

*{
  box-sizing: border-box;
}

html,
body{
  min-height: 100%;
}

body{
  margin: 0;
  font-family: var(--font);
  font-size: var(--base);
  line-height: var(--lh);
  color: var(--text);
  background: #fff;
  position: relative;
  overflow-x: hidden;
}

/* ===== BACKGROUND ===== */

.bg-fixed{
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: url("../img/bg.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
}

.bg-dim{
  position: fixed;
  inset: 0;
  z-index: 1;
  background: rgba(255,255,255,0.45);
  pointer-events: none;
}

.container{
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

/* ===== HEADER ===== */

.site-header{
  padding: 40px 0 0;
}

.site-header__inner{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}

.site-logo{
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-title{
  margin: 0;
  font-size: var(--h1);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ===== TYPOGRAPHY ===== */

h1,
h2,
h3,
p{
  margin: 0;
}

h2{
  font-size: var(--h2);
  font-weight: 700;
}

h3{
  font-size: var(--h3);
  font-weight: 700;
}

.note{
  font-size: var(--small);
  opacity: 0.9;
}

.center{
  text-align: center;
}

/* ===== HERO / SECTION ===== */

.hero-box{
  margin: 40px auto 0;
  background: var(--box-bg);
  border-radius: 24px;
  padding: var(--box-pad-y) var(--box-pad-x);
  text-align: center;
}

.hero-body{
  margin-top: var(--gap-h-to-body);
  display: grid;
  gap: 18px;
  justify-items: center;
}

.section{
  margin-top: var(--gap-box);
}

.section-box{
  background: var(--box-bg);
  border-radius: 24px;
  padding: var(--box-pad-y) var(--box-pad-x);
}

.section-title{
  text-align: center;
  margin-bottom: var(--gap-h-to-body);
}

.stack{
  display: grid;
  gap: 16px;
}

.left-box{
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.qa-box{
  max-width: 720px;
  margin: 0 auto;
}

/* ===== LIST ===== */

ul{
  margin: 0;
  padding-left: 1.2em;
}

li{
  margin: 6px 0;
}

.inline-list{
  display: inline-block;
  text-align: left;
  margin: 0;
  padding-left: 1.2em;
}

/* ===== DIVIDER ===== */

.divider{
  margin: var(--gap-box) 0;
  display: flex;
  justify-content: center;
}

.divider img{
  width: 100%;
  max-width: var(--container-max);
  height: auto;
  display: block;
}

/* ===== FORM ===== */

.contact-form{
  display: grid;
  gap: 28px;
  font-size: 12px;
}

.contact-form label{
  display: grid;
  gap: 12px;
}

.form-index{
  font-weight: 700;
  display: block;
  margin-top: 30px;
  margin-bottom: 15px;
}

.req{
  color: var(--req);
  font-weight: 700;
  margin-left: 4px;
}

form label{
  display: block;
  line-height: 1.6;
}

form > label{
  margin-bottom: 20px;
}

.inline{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}

.inline-check{
  display: flex !important;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  padding: 2px 0;
}

.checks{
  display: grid;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.checks label{
  display: flex !important;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
  padding: 2px 0;
}

input[type="checkbox"],
input[type="radio"]{
  accent-color: var(--accent);
  flex: 0 0 auto;
}

input[type="text"],
input[type="email"],
textarea,
select{
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(102,102,102,0.35);
  border-radius: 12px;
  background: rgba(255,255,255,0.95);
  font: inherit;
  color: var(--text);
  outline: none;
}

input:focus,
textarea:focus,
select:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(91,84,140,0.15);
}

textarea{
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.btn{
  display: block;
  margin: 30px auto 0;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 700;
  cursor: pointer;
  min-width: 220px;
}

.btn:hover{
  background: #4a4574;
}

.btn:active{
  transform: translateY(1px);
}

.btn:disabled{
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== DROPZONE ===== */

.dropzone{
  border: 1px dashed rgba(102,102,102,0.35);
  border-radius: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.35);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dropzone:hover{
  border-color: rgba(91,84,140,0.45);
  background: rgba(255,255,255,0.5);
}

.dropzone.is-dragover{
  background: rgba(102,102,102,0.10);
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(91,84,140,0.12);
}

.dropzone-inner{
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
}

.dropzone-gap{
  height: 12px;
}

.dropzone input[type="file"]{
  margin-top: 12px;
}

.plus{
  width: 32px;
  height: 32px;
  border: 1px solid rgba(102,102,102,0.35);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
  color: #666666;
}

.file-help{
  margin-top: 12px;
  font-size: var(--small);
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== OTHERS ===== */

.honeypot{
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.site-footer{
  margin: 120px 0 60px;
  text-align: center;
  font-size: var(--small);
  opacity: 0.85;
}

/* ===== Contact Form 7 調整 ===== */

.wpcf7{
  width:100%;
}

.wpcf7 form{
  margin:0;
}

.wpcf7-form-control-wrap{
  display:block;
  width:100%;
}

.wpcf7-list-item{
  margin:0;
}

.wpcf7 .wpcf7-radio,
.wpcf7 .wpcf7-checkbox{
  display:grid;
  gap:10px;
}

.wpcf7 .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:10px;
  line-height:1.5;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select{
  width:100%;
  padding:14px 16px;
  border:1px solid rgba(102,102,102,0.35);
  border-radius:12px;
  background:rgba(255,255,255,0.95);
  font:inherit;
  color:var(--text);
  outline:none;
}

.wpcf7 textarea{
  min-height:160px;
  resize:vertical;
  line-height:1.6;
}

.wpcf7 input[type="file"]{
  width:100%;
  margin-top:12px;
}

.wpcf7-not-valid-tip{
  margin-top:8px;
  font-size:12px;
}

.wpcf7 form .wpcf7-response-output{
  margin:24px 0 0;
  padding:12px 16px;
  border-radius:12px;
  background:rgba(255,255,255,0.7);
}

.honeypot{
  display:none;
}

.wpcf7 .wpcf7-list-item label{
  display:flex;
  align-items:center;
  gap:10px;
}

input[type="radio"],
input[type="checkbox"]{
  appearance:auto;
}