/*
Theme Name: ALLSET ONE
Theme URI: https://allsetone.com/
Description: ALLSET ONE 公式サイト向けテーマ（お問い合わせページなど）
Author: ALLSET ONE
Version: 1.0.0
Text Domain: allsetone
*/

:root{
  --black:#0a0a0a;
  --near-black:#141414;
  --white:#f7f7f5;
  --paper:#efeee9;
  --gray-600:#8a8a85;
  --gray-300:#c9c9c5;
  --line-dark:rgba(247,247,245,0.16);
  --line-light:rgba(10,10,10,0.14);
  --f-display:'Zen Kaku Gothic New',sans-serif;
  --f-body:'Noto Sans JP',sans-serif;
  --f-mono:'Syne',sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  background:var(--white);
  color:var(--black);
  font-family:var(--f-body);
  font-weight:400;
  line-height:1.85;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

.eyebrow{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.28em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:var(--gray-300);
}
.eyebrow::before{
  content:'';
  width:22px;height:1px;
  background:currentColor;
  display:inline-block;
}

/* header / nav — match top page */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(10,10,10,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line-dark);
  color:var(--white);
}
.nav-inner{
  max-width:1180px;margin:0 auto;padding:0 32px;
  height:74px;display:flex;align-items:center;justify-content:space-between;
}
.logo{display:flex;align-items:center;}
.logo img{height:36px;width:auto;}
.burger{
  width:32px;height:22px;position:relative;cursor:pointer;
  background:none;border:0;padding:0;color:inherit;
}
.burger span{
  position:absolute;left:0;right:0;height:1.4px;background:var(--white);
  transition:transform .3s ease, opacity .25s ease, top .3s ease;
}
.burger span:nth-child(1){top:2px;}
.burger span:nth-child(2){top:10px;}
.burger span:nth-child(3){top:18px;}
.burger.is-open span:nth-child(1){top:10px;transform:rotate(45deg);}
.burger.is-open span:nth-child(2){opacity:0;}
.burger.is-open span:nth-child(3){top:10px;transform:rotate(-45deg);}
.site-nav{
  position:fixed;inset:74px 0 0 0;z-index:99;
  display:flex;flex-direction:column;justify-content:center;
  padding:48px 32px 64px;gap:28px;
  background:rgba(10,10,10,0.96);
  backdrop-filter:blur(14px);
  color:var(--white);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(-8px);
  transition:opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.site-nav.open{
  opacity:1;visibility:visible;pointer-events:auto;
  transform:translateY(0);
}
.site-nav a{
  font-family:var(--f-display);font-size:clamp(28px,5vw,44px);font-weight:700;
  letter-spacing:0.04em;opacity:0.82;transition:opacity .25s;
}
.site-nav a:hover{opacity:1;}
body.nav-open{overflow:hidden;}

/* contact hero */
.contact-hero{
  background:var(--black);
  color:var(--white);
  padding:160px 0 88px;
  position:relative;
  overflow:hidden;
}
.contact-hero-grain{
  position:absolute;inset:0;pointer-events:none;opacity:0.16;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode:overlay;
}
.contact-hero-inner{position:relative;z-index:1;max-width:760px;}
.contact-hero .eyebrow{margin-bottom:28px;}
.contact-hero h1{
  font-family:var(--f-display);
  font-weight:900;
  font-size:clamp(32px,5.5vw,58px);
  line-height:1.35;
  letter-spacing:0.01em;
}
.page-lead{
  margin-top:24px;
  color:var(--gray-300);
  font-size:14.5px;
  max-width:480px;
  line-height:1.9;
}

/* form section */
.contact-form-section{
  background:var(--white);
  padding:80px 0 120px;
}
.contact-layout{
  display:grid;
  grid-template-columns:minmax(220px,0.85fr) minmax(0,1.35fr);
  gap:64px;
  align-items:start;
}
.contact-aside{
  border-top:1px solid var(--line-light);
  padding-top:28px;
  position:sticky;
  top:110px;
}
.aside-label{
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.2em;
  color:var(--gray-600);
  margin-bottom:28px;
}
.aside-list{list-style:none;display:flex;flex-direction:column;gap:28px;}
.aside-list li{display:grid;grid-template-columns:42px 1fr;gap:14px;align-items:start;}
.aside-num{
  font-family:var(--f-mono);
  font-size:13px;
  letter-spacing:0.08em;
  color:var(--gray-600);
  padding-top:3px;
}
.aside-list strong{
  font-family:var(--f-display);
  font-weight:700;
  font-size:16px;
  display:block;
  margin-bottom:6px;
}
.aside-list p{
  font-size:13px;
  color:var(--gray-600);
  line-height:1.8;
}

.contact-form-panel{
  border-top:1px solid var(--line-light);
  padding-top:8px;
}

/* Contact Form 7 */
.wpcf7{margin:0;}
.wpcf7 form{margin:0;}
.wpcf7 p{
  margin:0;
  padding:22px 0;
  border-bottom:1px solid var(--line-light);
}
.wpcf7 p:last-of-type{
  border-bottom:none;
  padding-top:36px;
  padding-bottom:0;
}
.wpcf7 label{
  display:block;
  font-family:var(--f-mono);
  font-size:11px;
  letter-spacing:0.16em;
  text-transform:none;
  color:var(--gray-600);
  line-height:1.6;
}
.wpcf7 label br{display:none;}
.wpcf7-form-control-wrap{display:block;margin-top:12px;}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea{
  width:100%;
  appearance:none;
  border:0;
  border-radius:0;
  background:transparent;
  border-bottom:1px solid var(--line-light);
  padding:10px 2px 14px;
  font-family:var(--f-display);
  font-size:16px;
  font-weight:500;
  color:var(--black);
  line-height:1.6;
  outline:none;
  transition:border-color .25s ease;
}
.wpcf7 textarea{
  min-height:160px;
  resize:vertical;
  line-height:1.8;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 textarea:focus{
  border-bottom-color:var(--black);
}
.wpcf7 input[type="submit"],
.wpcf7 .wpcf7-submit{
  font-family:var(--f-mono);
  font-size:12px;
  letter-spacing:0.14em;
  text-transform:uppercase;
  padding:16px 36px;
  border:1px solid var(--black);
  background:var(--black);
  color:var(--white);
  cursor:pointer;
  transition:all .25s ease;
  width:auto;
  min-width:180px;
}
.wpcf7 input[type="submit"]:hover,
.wpcf7 .wpcf7-submit:hover{
  background:transparent;
  color:var(--black);
}
.wpcf7-not-valid-tip{
  font-size:12px;
  color:#b42318;
  margin-top:8px;
}
.wpcf7-response-output{
  margin:28px 0 0 !important;
  padding:16px 18px !important;
  border:1px solid var(--line-light) !important;
  font-size:13.5px;
  line-height:1.7;
}
.wpcf7 form.sent .wpcf7-response-output{
  border-color:var(--black) !important;
  background:var(--paper);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output{
  border-color:#b42318 !important;
}

/* generic page */
.page-hero{
  background:var(--black);
  color:var(--white);
  padding:150px 0 80px;
}
.page-hero h1{
  font-family:var(--f-display);
  font-weight:900;
  font-size:clamp(30px,5vw,52px);
  line-height:1.35;
  margin-top:22px;
}
.page-body{padding:70px 0 110px;max-width:860px;}

/* footer */
.site-footer{
  background:var(--black);
  color:var(--gray-300);
  border-top:1px solid var(--line-dark);
}
.footer-top{
  padding:60px 0 50px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:40px;
}
.footer-brand{display:flex;flex-direction:column;gap:14px;}
.footer-logo img{height:44px;width:auto;}
.footer-tag{
  font-size:13px;color:var(--gray-600);line-height:1.7;max-width:280px;
}
.footer-cols{display:flex;gap:80px;flex-wrap:wrap;}
.footer-col h5{
  font-family:var(--f-mono);font-size:10.5px;letter-spacing:0.16em;
  text-transform:uppercase;color:var(--gray-600);margin-bottom:18px;
}
.footer-col a{
  display:block;font-size:13.5px;margin-bottom:12px;color:var(--gray-300);
  transition:color .2s;
}
.footer-col a:hover{color:var(--white);}
.footer-bottom{
  border-top:1px solid var(--line-dark);padding:24px 0;
  display:flex;justify-content:space-between;
  font-family:var(--f-mono);font-size:11px;letter-spacing:0.06em;color:var(--gray-600);
  flex-wrap:wrap;gap:12px;
}

/* hide WP admin bar spacing issues on frontend if needed */
.wp-site-blocks{padding:0;}

@media (max-width:860px){
  .contact-hero{padding:140px 0 64px;}
  .contact-form-section{padding:48px 0 90px;}
  .contact-layout{grid-template-columns:1fr;gap:48px;}
  .contact-aside{position:static;}
  .wpcf7 input[type="submit"],
  .wpcf7 .wpcf7-submit{width:100%;}
}
