/*
Theme Name: Sumatane
Theme URI: https://sumatane.jp
Author: Nogata Design
Description: 合同会社すまいのたね - 贈与型賃貸住宅の公式テーマ
Version: 2.0.0
Text Domain: sumatane
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ========================================
   SUMAINOTANE
   ======================================== */

/* --- Tokens --- */
:root {
  --green: #3d7256;
  --green-light: #e8f0eb;
  --green-dark: #2b5740;
  --green-pale: #f3f8f5;
  --brown: #b08244;
  --brown-light: #f6eed9;
  --cream: #faf8f5;
  --gray: #f1eee9;
  --text: #1a1a1a;
  --text-sub: #555;
  --text-muted: #999;
  --white: #fff;
  --border: #e0dbd3;
  --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-en: 'Quicksand', sans-serif;
  --font-serif: 'Shippori Mincho B1', 'Yu Mincho', serif;
  --ease: cubic-bezier(.23,1,.32,1);
  --radius: 6px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.85;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 40px; }
.container--wide { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.container--narrow { max-width: 680px; margin: 0 auto; padding: 0 40px; }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .25s; }

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(250,248,245,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.04);
  transition: background .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(250,248,245,.97);
  box-shadow: 0 1px 24px rgba(0,0,0,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: 1280px; margin: 0 auto; padding: 0 32px;
}
.header-logo {
  font-family: var(--font-en);
  font-size: 1.1rem; font-weight: 700; letter-spacing: .14em;
  color: var(--text); transition: opacity .3s;
}
.header-logo:hover { opacity: .6; }

.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav__links { display: flex; align-items: center; gap: 32px; }
.header-nav__links a {
  font-size: .8rem; font-weight: 500; color: var(--text);
  position: relative; transition: color .3s;
}
.header-nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1.5px; background: var(--green);
  transition: width .4s var(--ease);
}
.header-nav__links a:hover { color: var(--green); }
.header-nav__links a:hover::after,
.header-nav__links a.is-current::after { width: 100%; }

.header-contact a {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; padding: 10px 24px;
  background: var(--green); color: var(--white);
  border-radius: 100px; transition: all .3s var(--ease);
}
.header-contact a:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,114,86,.25);
}
.header-contact a::after { display: none; }

/* モバイルメニュー下段（PC非表示） */
.header-nav__footer { display: none; }

.header-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
  z-index: 201;
}
.header-toggle span {
  width: 22px; height: 1.5px; background: var(--text); display: block;
  transition: .3s;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  margin-top: 72px; position: relative;
  height: calc(100dvh - 72px); min-height: 540px; max-height: 900px;
  overflow: hidden; display: flex; align-items: flex-end;
  background: var(--gray);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(0,0,0,.2);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-placeholder {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%);
  font-size: .8rem; color: var(--text-muted); letter-spacing: .08em;
  background: rgba(255,255,255,.65); padding: 10px 20px; border-radius: 4px;
  backdrop-filter: blur(4px); z-index: 2;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 40px 72px; max-width: 1280px; margin: 0 auto; width: 100%;
}
.hero-catch {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 600; line-height: 1.7; letter-spacing: .06em;
  color: var(--white);
}
.hero-catch em {
  font-style: normal; color: var(--white);
}
.hero-sub {
  margin-top: 20px; font-size: .9rem; line-height: 2;
  color: var(--text-sub); max-width: 480px;
}
.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-family: var(--font-en); font-size: .6rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--white);
  z-index: 2;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(var(--white), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ========================================
   Message
   ======================================== */
.message {
  padding: 100px 0 88px; text-align: center;
  background: var(--white);
}
.message-en {
  font-family: var(--font-en); font-size: .65rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--brown); display: block; margin-bottom: 20px;
}
.message-catch {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  font-weight: 600; line-height: 2.2; letter-spacing: .08em;
}
.message-catch em { font-style: normal; color: var(--green); }
.message-text {
  margin-top: 28px; font-size: .85rem; line-height: 2.2;
  color: var(--text-sub); max-width: 520px; margin-left: auto; margin-right: auto;
}

/* ========================================
   Section commons
   ======================================== */
.sec { padding: 120px 0; }
.sec--cream  { background: var(--cream); }
.sec--white  { background: var(--white); }
.sec--gray   { background: var(--gray); }
.sec--green  { background: var(--green-dark); color: var(--white); }

.sec-label {
  font-family: var(--font-en); font-size: .65rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--brown); display: inline-block; margin-bottom: 14px;
  position: relative; padding-left: 20px;
}
.sec-label::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 12px; height: 1px; background: var(--brown);
}
.sec--green .sec-label { color: rgba(255,255,255,.5); }
.sec--green .sec-label::before { background: rgba(255,255,255,.3); }

.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  font-weight: 600; line-height: 1.8; letter-spacing: .06em;
}

.sec-lead {
  margin-top: 18px; font-size: .875rem; line-height: 2.1;
  color: var(--text-sub); max-width: 560px;
}

.sec-head--center { text-align: center; }
.sec-head--center .sec-label { padding-left: 0; }
.sec-head--center .sec-label::before { display: none; }
.sec-head--center .sec-lead { margin-left: auto; margin-right: auto; }

/* ========================================
   3-column Cards (Service)
   ======================================== */
.cards3 {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.card3 {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card3:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.07);
}

.card3-img {
  aspect-ratio: 3/2; background: var(--gray); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .75rem;
}
.card3-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card3:hover .card3-img img { transform: scale(1.05); }

.card3-body { padding: 28px 28px 32px; }
.card3-title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 12px;
}
.card3-text {
  font-size: .8125rem; line-height: 2; color: var(--text-sub);
}

/* ========================================
   Flow steps (horizontal timeline)
   ======================================== */
.flow-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}
.flow-steps::before {
  content: ''; position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 1px; background: var(--border);
}

.flow-step {
  text-align: center; position: relative;
  padding: 0 20px;
}
.flow-step__num {
  font-family: var(--font-en); font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; color: var(--white);
  width: 64px; height: 64px; line-height: 64px;
  border-radius: 50%; background: var(--green);
  display: inline-block; margin-bottom: 24px;
  position: relative; z-index: 1;
}
.flow-step__title {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 600; letter-spacing: .04em;
  margin-bottom: 14px;
}
.flow-step__text {
  font-size: .8125rem; line-height: 2; color: var(--text-sub);
  max-width: 260px; margin: 0 auto;
}

/* ========================================
   Split layout
   ======================================== */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.split--reverse .split-img { order: 2; }
.split--reverse .split-body { order: 1; }

.split-img {
  background: var(--gray); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .75rem;
  position: relative;
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.split-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 64px;
}
.split-body .sec-label { margin-bottom: 14px; }
.split-body .sec-title { margin-bottom: 18px; }
.split-body .sec-lead { margin-bottom: 32px; }

/* ========================================
   Buttons
   ======================================== */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; color: var(--text);
  position: relative; padding-bottom: 2px;
  transition: color .3s var(--ease); align-self: flex-start;
}
.btn-line::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--text);
  transition: background .3s, transform .4s var(--ease);
  transform-origin: left;
}
.btn-line .arrow {
  display: inline-block; transition: transform .3s var(--ease);
  font-size: .75rem;
}
.btn-line:hover { color: var(--green); }
.btn-line:hover::after { background: var(--green); }
.btn-line:hover .arrow { transform: translateX(4px); }

.btn-block {
  display: inline-block; font-size: .8125rem; font-weight: 700;
  letter-spacing: .06em; padding: 16px 44px;
  border: 1px solid var(--text); color: var(--text);
  border-radius: 100px; transition: all .4s var(--ease);
  text-align: center; position: relative; overflow: hidden;
}
.btn-block:hover {
  background: var(--text); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.btn-block--green {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.btn-block--green:hover {
  background: var(--green-dark); border-color: var(--green-dark);
  box-shadow: 0 6px 24px rgba(61,114,86,.25);
}

.btn-block--white {
  border-color: rgba(255,255,255,.4); color: var(--white);
}
.btn-block--white:hover {
  background: var(--white); color: var(--text);
  border-color: var(--white);
}

/* ========================================
   Property block
   ======================================== */
.property-block {
  display: grid; grid-template-columns: 1.1fr .9fr;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,.04);
}
.property-img {
  background: var(--gray); min-height: 460px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .75rem;
}
.property-img img { width: 100%; height: 100%; object-fit: cover; }
.property-body {
  padding: 56px 48px; display: flex; flex-direction: column; justify-content: center;
}
.property-status {
  display: inline-block; font-size: .65rem; font-weight: 700;
  letter-spacing: .08em; padding: 6px 16px;
  background: var(--brown); color: var(--white);
  border-radius: 100px; margin-bottom: 18px; align-self: flex-start;
}
.property-name {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600; letter-spacing: .04em; margin-bottom: 8px;
}
.property-rent {
  font-family: var(--font-en); font-size: 2.2rem; font-weight: 700;
  color: var(--brown); margin-bottom: 28px; line-height: 1.2;
}
.property-rent small {
  font-family: var(--font); font-size: .8rem;
  font-weight: 400; color: var(--text-sub);
}
.property-meta dt {
  font-size: .65rem; color: var(--text-muted); letter-spacing: .06em;
  margin-bottom: 2px; text-transform: uppercase; font-weight: 600;
}
.property-meta dd {
  font-size: .875rem; line-height: 1.8; margin-bottom: 16px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.property-meta dd:last-of-type { border-bottom: none; }

/* ========================================
   Owner / Problem / Solution
   ======================================== */
.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 44px;
}
.problem-card {
  background: var(--white); padding: 32px;
  border-radius: var(--radius); border: 1px solid var(--border);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}
.problem-card__title {
  font-family: var(--font-serif);
  font-size: .95rem; font-weight: 600; margin-bottom: 10px;
}
.problem-card__text {
  font-size: .8125rem; line-height: 2; color: var(--text-sub);
}

.solution-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 44px;
}
.solution-card {
  padding: 32px; border: 1px solid var(--border); background: var(--white);
  border-radius: var(--radius);
  transition: transform .4s var(--ease), border-color .4s;
}
.solution-card:hover {
  transform: translateY(-3px);
  border-color: var(--green);
}
.solution-card__title {
  font-family: var(--font-serif);
  font-size: .95rem; font-weight: 600; margin-bottom: 10px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.solution-card__text {
  font-size: .8125rem; line-height: 2; color: var(--text-sub);
}

.flow-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 52px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--white); overflow: hidden;
}
.flow-bar__item {
  padding: 32px 20px; text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.flow-bar__item:last-child { border-right: none; }
.flow-bar__item::after {
  content: ''; position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 6px solid var(--border);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.flow-bar__item:last-child::after { display: none; }
.flow-bar__num {
  font-family: var(--font-en); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; color: var(--white);
  width: 36px; height: 36px; line-height: 36px;
  border-radius: 50%; background: var(--green);
  display: inline-block; margin-bottom: 12px;
}
.flow-bar__title {
  font-family: var(--font-serif);
  font-size: .9rem; font-weight: 600; margin-bottom: 8px;
}
.flow-bar__text { font-size: .75rem; line-height: 1.9; color: var(--text-sub); }

/* ========================================
   Choice boxes
   ======================================== */
.choice-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px; margin-top: 52px; max-width: 640px;
}
.choice-box {
  padding: 32px; border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.choice-box--active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.choice-box__label {
  font-family: var(--font-en); font-size: .65rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: 8px; color: var(--text-muted);
}
.choice-box--active .choice-box__label { color: var(--green); }
.choice-box__title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 600; margin-bottom: 8px;
}
.choice-box__desc { font-size: .8125rem; line-height: 1.9; color: var(--text-sub); }

/* ========================================
   Company
   ======================================== */
.company-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.company-msg {
  font-size: .9375rem; line-height: 2.2; color: var(--text-sub);
}
.company-msg p + p { margin-top: 18px; }
.company-sign {
  margin-top: 32px; text-align: right;
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 600; color: var(--text);
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table th, .company-table td {
  padding: 16px 0; text-align: left; border-bottom: 1px solid var(--border);
  font-size: .8125rem; vertical-align: top; line-height: 1.9;
}
.company-table th { width: 28%; font-weight: 600; padding-right: 16px; color: var(--text-sub); }

/* ========================================
   FAQ
   ======================================== */
.faq-list { border-top: 1px solid var(--border); max-width: 740px; margin-left: auto; margin-right: auto; margin-top: 56px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; gap: 16px;
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 0; cursor: pointer;
  font-size: .9375rem; font-weight: 600; line-height: 1.8;
  font-family: var(--font); color: var(--text);
  transition: color .3s;
}
.faq-q:hover { color: var(--green); }
.faq-q-mark {
  font-family: var(--font-en); font-size: .8rem; font-weight: 700;
  color: var(--green); flex-shrink: 0;
  width: 32px; height: 32px; line-height: 32px; text-align: center;
  border-radius: 50%; background: var(--green-light);
}
.faq-q-toggle {
  margin-left: auto; width: 20px; height: 20px;
  position: relative; flex-shrink: 0;
}
.faq-q-toggle::before, .faq-q-toggle::after {
  content: ''; position: absolute; background: var(--text-muted);
  transition: .4s var(--ease);
}
.faq-q-toggle::before { width: 12px; height: 1px; top: 50%; left: 4px; }
.faq-q-toggle::after { width: 1px; height: 12px; left: 50%; top: 4px; }
.faq-item.is-open .faq-q-toggle::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease), padding .5s var(--ease);
  padding: 0 0 0 48px;
  font-size: .8125rem; line-height: 2.2; color: var(--text-sub);
}
.faq-item.is-open .faq-a {
  max-height: 300px;
  padding: 0 0 24px 48px;
}

/* ========================================
   Contact
   ======================================== */
.contact-tabs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 52px;
}
.contact-tab {
  background: var(--white); padding: 28px; text-align: center;
  cursor: pointer; transition: all .3s var(--ease);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.contact-tab.is-active {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.contact-tab:hover { border-color: var(--green); }
.contact-tab__icon {
  color: var(--text-muted); margin-bottom: 8px;
  transition: color .3s;
}
.contact-tab.is-active .contact-tab__icon { color: var(--green); }
.contact-tab__label { font-size: .8125rem; font-weight: 600; }
.contact-form-panel {
  display: none;
}
.contact-form-panel.is-active {
  display: block;
}
.form { max-width: 760px; }
.form-group { margin-bottom: 28px; }
.form-group label {
  display: block; font-size: .8rem; font-weight: 600; margin-bottom: 10px;
}
.form-group .req {
  font-size: .6rem; color: var(--brown); margin-left: 6px; font-weight: 700;
  background: var(--brown-light); padding: 2px 6px; border-radius: 3px;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 0; border: none;
  border-bottom: 1px solid var(--border); font-size: .875rem;
  font-family: var(--font); background: transparent;
  letter-spacing: .04em; transition: border-color .4s;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-bottom-color: var(--green);
}
.form-group textarea {
  border: 1px solid var(--border); padding: 16px;
  min-height: 140px; resize: vertical; border-radius: var(--radius);
}
.form-group textarea:focus { border-color: var(--green); }

.note-box {
  padding: 32px; border-left: 3px solid var(--brown);
  background: var(--brown-light); border-radius: 0 var(--radius) var(--radius) 0;
}
.note-box__title {
  font-size: .8125rem; font-weight: 700; color: var(--brown); margin-bottom: 12px;
}
.note-box__text {
  font-size: .8125rem; line-height: 2.2; color: var(--text-sub);
}

.info-box {
  margin-top: 52px; padding: 36px; border: 1px solid var(--border);
  text-align: center; border-radius: var(--radius);
}
.info-box__label { font-size: .8125rem; font-weight: 600; margin-bottom: 10px; }
.info-box__phone {
  font-family: var(--font-en); font-size: 1.8rem; font-weight: 700;
  letter-spacing: .04em;
}
.info-box__phone a { transition: color .3s; }
.info-box__phone a:hover { color: var(--green); }
.info-box__note { font-size: .75rem; color: var(--text-muted); margin-top: 6px; }

/* ========================================
   Page header (sub pages)
   ======================================== */
.page-header {
  padding: 88px 0 88px;
  background: var(--gray);
  position: relative; overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background: 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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.02'/%3E%3C/svg%3E");
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }


/* ========================================
   Footer
   ======================================== */
.footer { background: #1e2a22; color: rgba(255,255,255,.55); }

.footer-msg {
  padding: 80px 0; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative; overflow: hidden;
}
.footer-msg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(61,114,86,.15), transparent 60%);
}
.footer-msg .container { position: relative; }
.footer-msg__catch {
  font-family: var(--font-serif);
  font-size: 1.5rem; font-weight: 600;
  color: var(--white); letter-spacing: .1em; line-height: 1.8;
}
.footer-msg__sub {
  font-family: var(--font-en); font-size: .65rem; font-weight: 500;
  letter-spacing: .15em; color: rgba(255,255,255,.2);
  margin-top: 6px; margin-bottom: 32px;
}

.footer-body {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px; padding: 48px 0;
  max-width: 1080px; margin: 0 auto; padding-left: 40px; padding-right: 40px;
}
.footer-brand__name {
  font-family: var(--font-en); font-size: .95rem; font-weight: 700;
  color: var(--white); letter-spacing: .12em; margin-bottom: 14px;
}
.footer-brand__addr { font-size: .75rem; line-height: 2; }

.footer-nav__title {
  font-size: .65rem; font-weight: 700; letter-spacing: .12em;
  color: rgba(255,255,255,.25); margin-bottom: 14px;
  text-transform: uppercase;
}
.footer-nav__list li { margin-bottom: 8px; }
.footer-nav__list a {
  font-size: .75rem; transition: color .3s;
}
.footer-nav__list a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 40px; border-top: 1px solid rgba(255,255,255,.05);
  font-size: .6rem; letter-spacing: .1em; color: rgba(255,255,255,.15);
  text-align: center; max-width: 1080px; margin: 0 auto;
}

/* ----------------------------------------------------------------------
 Contactform - お問い合わせフォーム
---------------------------------------------------------------------- */
.wpcf7 { 
    width:100%; 
    font-size:14px; 
    background: none!important;
    border: none;
}
.wpcf7 .cf{
    border-top: 1px solid #c1c1c1;
    padding: 30px 0;
}
.wpcf7 .cf .title{
    display: inline-block;
    padding: 0 0 0 55px;
    width:30%;
    vertical-align: middle;
	position: relative;
}
.cf .title .hissu {
	position: absolute;
	left: 0;
	top: 50%;
	display: inline-block;
	padding: 5px 10px;
	font-size: 10px;
	background: #b08244;
	color: #fff;
	border-radius: 20px;
    line-height: 1;
	transform: translateY(-50%) translateX(0);
}
.wpcf7 .cf p{
    display: inline-block;
    width: 60%;
    margin: 0 0 0 30px;
    vertical-align: middle;
}
.wpcf7 .cf .ken{
     display: inline-block;
    width: 60%;
    margin: 0 0 0 0;
    vertical-align: middle; 
}
.wpcf7 .cf .title p{
    width: 100%;
    margin: 0;
}
.wpcf7 .cf p.yubin-ico{
    display: inline;
}
.wpcf7 .cf .yubin{
    display: inline-block;
    margin: 0 0 10px;
}
.wpcf7 .cf .yubin p{
    margin: 0 0 0 10px;
}
.wpcf7 .cf .yubin input{
    max-width: 170px;
    min-width: 170px;
}
.wpcf7 .address p:nth-of-type(2){
    padding: 0 0 0 0;
    margin-left: 33.5%;
}
.wpcf7 .address p:nth-of-type(2) input{
    width: 100%!important;
}
.cf .area,
.cf .time{
    display: inline-block;
    vertical-align: middle;
}
.cf .area1,
.cf .area2,
.cf .area3{
	display: inline-block;
}
.cf .area2,
.cf .area3{
    padding: 0 0 0 10px;
}
.cf .area input[type="text"] {
	width: 20%;
	min-width: 110px;
}
.wpcf7 form { 
    margin: 0; 
}
.wpcf7 p { 
    margin-bottom:1em; 
    font-size:16px; 
}
.wpcf7 input, .wpcf7 textarea { 
    -webkit-box-sizing:border-box; 
    box-sizing:border-box; 
    width:100%; 
    border-radius: 4px;
    display: block;
    background: #ffffff;
    padding: 10px;
    border: 1px solid #e0dbd3;
    line-height:1.2; 
}
.wpcf7 select, .wpcf7 input[type=checkbox], .wpcf7 input[type=radio] { 
    width:auto; 
    display: inline-block;
    max-width:97%; 
    padding:8px; 
    border: 1px solid #e0dbd3;
        background: #ffffff;
}
.wpcf7 select{
     border-radius: 4px;  
    padding: 13.5px 10px;
    cursor: pointer;
    min-width: 170px; 
}
.wpcf7 select, .wpcf7 .wpcf7-list-item-label { 
    font-size:14px; 
    line-height:1.2; 
}
.wpcf7 .wpcf7-list-item { 
    display:block; 
}
.wpcf7 .wpcf7-list-item label{
    cursor: pointer;
}
.wpcf7 textarea { 
    height:300px; 
}
.wpcf7 input:focus, .wpcf7 textarea:focus { 
    border:1px solid #bbb; 
    outline:none; 
}
.wpcf7 .wpcf7-submit, .wpcf7 .wpcf7-previous { 
    -webkit-transition:all .3s; 
    -webkit-box-sizing:border-box; 
    box-sizing:border-box; 
    display:block; 
    position:relative; 
    width:100%; 
    margin:50px auto 0; 
    padding: 15px;
    border:none !important; 
    outline:none; 
    background-color:#0a5618; 
    color:#fff; 
    font-size:14px; 
    line-height:1.5; 
    text-align:center; 
    text-decoration:none; 
    cursor:pointer; 
    transition:all .3s; 
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.15em;
}
.wpcf7 .wpcf7-submit:before, .wpcf7 .wpcf7-submit:after { 
    -webkit-box-sizing:border-box; 
    box-sizing:border-box; 
}
.wpcf7 .wpcf7-submit:hover, .wpcf7 .wpcf7-previous:hover { 
    background-color:#000; 
}
.wpcf7 .wpcf7-submit .wpcf7-not-valid { 
    background:pink; 
}
.wpcf7 .wpcf7-submit .wpcf7-response-output { 
    -webkit-border-radius:4px; 
    -moz-border-radius:4px; 
    margin:10px 0 0; 
    padding:8px 35px 8px 14px; 
    border-radius:4px; 
}
.wpcf7 .wpcf7-submit .wpcf7-validation-errors { 
    border:1px solid #EED3D7; 
    background-color:#F2DEDE; 
    color:#B94A48; 
}
.wpcf7 .wpcf7-submit .wpcf7-mail-sent-ok { 
    border:1px solid #BCE8F1; 
    background-color:#D9EDF7; 
    color:#3A87AD; 
}
.wpcf7 .wpcf7-previous + br { 
    display: none; 
}
.wpcf7 form .wpcf7-response-output{ 
    margin: 2em 0.5em 2em; 
    padding:0; 
    border: none; 
    text-align:center; 
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output{ 
    color:#dc3232; 
    font-size: 1em; 
}


.mailform-wrap .btn input[type="submit"] {
	margin: 20px auto 2.083333333333333vw;
	display: block;
  min-width: 260px;
  max-width: 100%;
  height: 70px;
  line-height: 70px;
  font-size: 16px;
  padding: 0 20px;
	background: #3d7256;
	color: #fff;	
  transition:all 0.3s; 
	cursor: pointer;
  border: 0;
  text-align: center;
  border-radius: 10px;
	opacity:1;
}
.mailform-wrap .btn input[type="submit"]:hover{
	opacity: 0.7;	
}

.mailform .ken input[type="text"] {
    width: 20%;
    min-width: 100px;
}
.mailform .ken p span.ji {
margin:0 0.5em;}
.mailform .ken p span {
display: inline-block;    
}
.wpcf7 .wpcf7-list-item {
    display: inline-block!important;
}
.wpcf7 .cf.col2set .radio{
  width: 65%;
  display: inline-block;
}
.wpcf7 .cf.col2set .radio .wpcf7-list-item.first{
  margin: 0;
}

	


/* 独自チェックボックス */
.wpcf7 .cf.list .title{
    width:100%;
}
.wpcf7 .cf.list  p{
    width: 100%;
    margin: 10px 0 0 48px;
}
.wpcf7 .cf.list .title p{
    margin: 0;  
}
.wpcf7 .list [type=checkbox] {
    display: none;
}
.wpcf7 .list .wpcf7-list-item {
	display: inline-block;
	margin: 0 1vw 1vw 0;
}
.wpcf7 .list label{
	display: flex;
	height: 2.0625vw;
	padding: 0 0.5vw 0 0.5vw;
	align-items: center;
	gap: 2vw;
	color: #102632;
	text-align: center;
	font-feature-settings: 'palt' on;
	font-size: 1vw;
	font-weight: 300;
	line-height: 180%;
	letter-spacing: 0.16vw;
	border: 0!important; 
}
.wpcf7 input[type=checkbox] {
    display: none;
}
.wpcf7 .list label span {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 0 0 0 2.2222222222222223vw;
    position: relative;
    width: auto;
}
.wpcf7 .list label span::before {
    content: '';
    display: block;
		border: 1px solid #c1c1c1;
		background: #fff;
    margin-top: -0.65vw;
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.25vw;
    height: 1.25vw;
}
.wpcf7 .list label span::after {
    content: '';
    display: block;
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    height: 0.7vw;
    left: 0.475vw;
    margin-top: -0.475vw;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 0.35vw;
}
.wpcf7 input[type=checkbox]:checked + .wpcf7-list-item-label::before {
    background: #a1a1a1;
		border: 1px solid #a1a1a1;
}
.wpcf7 input[type=checkbox]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}

/*残りわずかマーク*/
.nokoriwazuka-a{
	width: 180px;
	margin:0 0 12px 0;
	font-size: 0.9em;
	padding: 5px;
	color: #B31815;
	text-align: center;
	border:1px solid #B31815;
}


/*任意マーク*/
.cf .title .nini {
	position: absolute;
	left: 0;
	top: 50%;
	display: inline-block;
	padding: 5px 10px;
	font-size: 10px;
	background: #b1b1b1;
	color: #fff;
	border-radius: 20px;
    line-height: 1;
	transform: translateY(-50%) translateX(0);
}

