/* GLADNINE | contact page only. All rules are namespaced, preserving the Work-designed theme. */
body.page-id-21 .entry-title,body.page-id-21 .entry-header .entry-title,body.page-id-21 h1.page-title {display:none!important}
.g9-contact-redesign{--g9-ink:#352920;--g9-soft-ink:#635348;--g9-brown:#80553a;--g9-brown-deep:#65402d;--g9-beige:#f7f2eb;--g9-linen:#e9ded2;--g9-gold:#bd946d;--g9-white:#fffdfb;color:var(--g9-ink);font-family:inherit;font-size:clamp(16px,1.2vw,17px);line-height:1.94;letter-spacing:.015em;box-sizing:border-box;overflow:hidden;border-radius:16px;width:min(1160px, calc(100vw - 28px));max-width:none!important;margin-left:50%;transform:translateX(-50%)}
.g9-contact-redesign *, .g9-contact-redesign *:before,.g9-contact-redesign *:after{box-sizing:border-box}
.g9-contact-redesign h1,.g9-contact-redesign h2,.g9-contact-redesign h3,.g9-contact-redesign p,.g9-contact-redesign figure{margin:0}
.g9-contact-redesign h1,.g9-contact-redesign h2,.g9-contact-redesign h3{font-family:inherit;color:var(--g9-ink);letter-spacing:.035em;line-height:1.53;font-weight:750;word-break:normal;overflow-wrap:anywhere}
.g9-contact-redesign p{line-height:2;overflow-wrap:anywhere}
.g9-contact-redesign a{color:var(--g9-brown-deep)}
.g9-contact-redesign a:hover{text-decoration:none}
.g9-contact-redesign img{max-width:100%;height:auto;display:block}
.g9-hero-art{background:#f7eee4;border-radius:16px;overflow:hidden}
.g9-hero-art picture{display:block}
.g9-hero-art img{width:100%;object-fit:cover}
.g9-lead{padding:clamp(32px,5vw,70px) clamp(23px,6vw,80px) clamp(36px,5vw,65px);background:linear-gradient(140deg,#fffdf9,#f9f2e8);border-bottom:1px solid #e9ded3;text-align:center}
.g9-kicker,.g9-section-heading>span{font-size:11px;font-weight:800!important;letter-spacing:.23em!important;text-transform:uppercase;color:#a77957;display:block}
.g9-lead h1{font-size:clamp(27px,3.15vw,44px)!important;margin:15px auto 22px!important;max-width:880px}
.g9-lead h1 span{display:block;color:#855339}
.g9-lead>p:not(.g9-kicker):not(.g9-small-note){max-width:850px;margin:0 auto 17px;text-align:left}
.g9-button{display:inline-flex;align-items:center;justify-content:center;gap:27px;min-height:56px;padding:12px 30px;border-radius:100px;text-decoration:none!important;font-weight:800;line-height:1.5;transition:transform .2s,filter .2s}
.g9-button:hover{transform:translateY(-2px);filter:brightness(1.08)}
.g9-button-primary{margin-top:15px;color:#fff!important;background:linear-gradient(110deg,#936347,#75472f);box-shadow:0 10px 28px #75513b2b}
.g9-small-note{font-size:12px!important;color:#76675a;margin:14px auto 0!important;text-align:center}
.g9-section{padding:clamp(45px,6vw,90px) clamp(22px,5vw,76px);background:var(--g9-white)}
.g9-section:nth-of-type(even){background:#fbf7f2}
.g9-section-heading{text-align:center;margin:0 auto 35px;max-width:900px}
.g9-section-heading h2{font-size:clamp(23px,2.55vw,35px)!important;margin:10px 0 0!important;font-weight:750}
.g9-section-heading h2:after{content:"";display:block;width:50px;height:2px;background:var(--g9-gold);margin:18px auto 0}
.g9-grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.g9-soft-card{background:#fff;box-shadow:0 9px 32px #583b2420;border:1px solid #f0e7dd;border-radius:17px;padding:24px 25px}
.g9-card-number{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;background:#f2e8df;color:#8c5b41;font-weight:850;font-size:15px;margin-bottom:18px}
.g9-soft-card h3,.g9-flow-steps h3{font-size:clamp(17px,1.55vw,20px)!important;margin-bottom:11px!important}
.g9-soft-card p,.g9-flow-steps p{font-size:.95em;color:#60534b}
.g9-about{display:grid;grid-template-columns:1.07fr .93fr;align-items:center;gap:clamp(22px,4vw,65px)}
.g9-about-copy p{margin-top:18px}
.g9-heading-left{text-align:left;margin-bottom:18px}
.g9-heading-left h2:after{margin-left:0}
.g9-tick-list{padding:0!important;list-style:none!important;margin:25px 0!important;display:grid;gap:13px}
.g9-tick-list li{position:relative;padding-left:29px!important;line-height:1.8}
.g9-tick-list li:before{content:"✓";color:#916047;position:absolute;left:0;top:0;font-weight:900}
.g9-about-photo{border-radius:20px;overflow:hidden;background:#f0e3d8;box-shadow:0 20px 50px #6c49312a;max-width:440px;justify-self:center}
.g9-about-photo img{aspect-ratio:1 / 1.08;object-fit:cover}
.g9-about-photo figcaption{padding:10px 15px;text-align:center;font-size:13px;color:#674a36;background:#f5ebe1}
.g9-brown-panel{background:linear-gradient(132deg,#6e4b39,#90674f)!important;color:#fffdf9!important;text-align:center}
.g9-brown-panel .g9-section-heading>span{color:#f6dcc1}
.g9-brown-panel h2{color:#fff!important}
.g9-brown-panel .g9-section-heading h2:after{background:#f2ca94}
.g9-brown-panel>p{max-width:810px;margin:0 auto 22px}
.g9-voice-steps{display:flex;align-items:center;justify-content:center;gap:15px;max-width:790px;margin:30px auto}
.g9-voice-steps>div{flex:1;min-width:0;padding:19px 13px;background:#ffffff17;border:1px solid #ffffff4d;border-radius:18px;display:flex;flex-direction:column;align-items:center;gap:8px}
.g9-voice-steps>div strong{font-size:16px}.g9-voice-steps>div small{font-size:12px;line-height:1.5;color:#fbf0e7}
.g9-voice-steps>b{color:#f9e4d0;font-weight:800;font-size:24px}
.g9-voice-icon{font-size:26px;background:#fff4e8;color:#85563a;border-radius:50%;width:54px;height:54px;display:flex;align-items:center;justify-content:center}
.g9-brown-note{font-size:14px!important;color:#fff0e3!important}
.g9-flow-steps>div{border-left:3px solid #a97554;padding:7px 20px 8px;background:linear-gradient(90deg,#f8f1ea,transparent)}
.g9-flow-steps>div>span{font-size:12px;font-weight:850;letter-spacing:.14em;color:#946648}
.g9-faq{max-width:920px;margin:auto;border-top:1px solid #e6d9ce}
.g9-faq details{border-bottom:1px solid #e6d9ce;padding:18px 7px}
.g9-faq summary{list-style:none;display:flex;align-items:center;justify-content:space-between;font-weight:750;font-size:clamp(15px,1.25vw,17px);cursor:pointer;gap:15px}
.g9-faq summary::-webkit-details-marker{display:none}
.g9-faq summary:after{content:'＋';font-size:20px;font-weight:400;color:#a57251}
.g9-faq details[open] summary:after{content:'－'}
.g9-faq details p{padding:10px 0 0 0;color:#68584e;font-size:.94em}
.g9-form-section{background:#f5ede4!important;scroll-margin-top:75px}
.g9-form-intro{max-width:760px;margin:-6px auto 25px!important;text-align:center}
.g9-form-shell{background:#fff!important;border:1px solid #e4d4c5;border-radius:18px;padding:clamp(19px,4vw,48px);box-shadow:0 14px 36px #75513c1b;max-width:860px;margin:0 auto}
.g9-form-shell form{max-width:100%;margin:0 auto}
.g9-form-shell :is(input[type="text"],input[type="email"],input[type="tel"],input[type="url"],input:not([type]),select,textarea){background:#fffdfb!important;color:#342b23!important;border:1px solid #d8c7b7!important;border-radius:9px!important;width:100%!important;max-width:100%!important;min-height:45px;font-size:16px;padding:10px 13px!important;box-shadow:none!important}
.g9-form-shell textarea{min-height:150px;resize:vertical}
.g9-form-shell :is(input,textarea,select):focus{outline:2px solid #ad7958!important;outline-offset:1px}
.g9-form-shell :is(input[type="submit"],button[type="submit"]){cursor:pointer;display:inline-flex;align-items:center;justify-content:center;background:#805238!important;color:#fff!important;border:0!important;border-radius:100px!important;min-height:53px;padding:12px 36px!important;font-weight:800!important;font-size:16px!important;transition:filter .2s}
.g9-form-shell :is(input[type="submit"],button[type="submit"]):hover{filter:brightness(1.1)}
.g9-form-shell label{color:#4b3b31!important;font-weight:650}
.g9-form-shell .wpcf7-response-output{font-size:14px;line-height:1.7}
.g9-privacy{font-size:12px!important;text-align:center;max-width:760px;margin:15px auto 0!important;color:#695a51}
.g9-last-links{background:#402f24;text-align:center;color:#fff8ee;padding:28px 20px 35px}
.g9-last-links p{font-size:15px}.g9-last-links a{font-size:14px;color:#fff8ee;text-underline-offset:5px}
@media(max-width:800px){.g9-grid-three{grid-template-columns:1fr;gap:15px}.g9-soft-card{padding:19px 21px}.g9-card-number{margin-bottom:8px}.g9-about{grid-template-columns:1fr}.g9-about-photo{width:100%;max-width:430px}.g9-voice-steps{gap:9px}.g9-flow-steps{gap:24px}}
@media(max-width:650px){.g9-contact-redesign{border-radius:12px;font-size:16px;line-height:1.9}.g9-hero-art{border-radius:12px}.g9-hero-art img{width:100%;aspect-ratio:1 / 1.03;object-fit:cover;object-position:center}.g9-lead{padding:33px 20px 36px}.g9-kicker{font-size:10px}.g9-lead h1{font-size:clamp(24px,6.2vw,32px)!important;line-height:1.55;margin:10px auto 19px!important}.g9-lead h1 span{display:inline}.g9-section{padding:46px 21px}.g9-section-heading{margin-bottom:26px}.g9-section-heading h2{font-size:clamp(22px,5.6vw,28px)!important}.g9-voice-steps{display:grid;grid-template-columns:1fr;gap:8px;margin:25px auto}.g9-voice-steps>div{padding:13px 9px;display:grid;grid-template-columns:46px 1fr;grid-template-rows:auto auto;text-align:left;align-items:center;gap:1px 12px}.g9-voice-icon{grid-row:1 / 3;width:43px;height:43px;font-size:22px}.g9-voice-steps>b{transform:rotate(90deg);font-size:18px;line-height:1.2}.g9-flow-steps>div{padding-left:18px}.g9-form-shell{padding:19px 16px}.g9-button{width:100%;max-width:350px;gap:15px}.g9-faq summary{line-height:1.7}.g9-faq details{padding:15px 3px}}
@media(prefers-reduced-motion:reduce){.g9-button{transition:none}}

/* v1.1.0 Article editorial sections + images; only on /otoiawase/ */
.g9-section-cream{background:linear-gradient(180deg,#faf3ea,#fffaf4)!important}
.g9-section-summary{max-width:920px;margin:30px auto 0!important;color:#654e40}
.g9-content-column{max-width:895px;margin:0 auto}
.g9-content-column h3{font-size:clamp(18px,1.55vw,22px)!important;color:#74492f;margin:32px 0 10px!important;border-left:3px solid #b88661;padding-left:15px}
.g9-content-column p{margin:0 0 20px!important;line-height:2.06}
.g9-image-block{max-width:1080px;margin:0 auto 34px!important;border-radius:14px;overflow:hidden;background:#f6ede2;box-shadow:0 8px 28px #70503920}
.g9-image-block img{display:block;width:100%;height:auto}
.g9-image-block figcaption{font-size:13px;color:#715747;text-align:center;padding:12px 14px;background:#fffaf5}
.g9-section h3{scroll-margin-top:88px}
.g9-faq details p{line-height:1.95}
.g9-hero-art{margin:0!important}
@media (max-width:650px){
 .g9-hero-art img{width:100%;aspect-ratio:4 / 5;object-fit:cover;object-position:center 12%}
 .g9-content-column h3{margin-top:29px!important}
 .g9-image-block{margin:0 -7px 26px!important;border-radius:12px}
 .g9-image-block figcaption{font-size:12px;line-height:1.6}
 .g9-section-summary{margin-top:25px!important}
}

/* Consultation portrait: preserve the supplied image without cropping. */
.g9-contact-redesign .g9-consult-scene{width:min(100%,440px);margin:0 auto 30px;padding:0;border:1px solid #e9ded2;border-radius:14px;overflow:hidden;box-shadow:0 12px 30px rgba(70,45,28,.09);background:#f7f2eb}
.g9-contact-redesign .g9-consult-scene img{display:block;width:100%;height:auto;max-width:100%;margin:0}
@media(max-width:650px){.g9-contact-redesign .g9-consult-scene{width:min(100%,340px);margin-bottom:24px;border-radius:12px}}
