/*
Theme Name: Futari Europe
Description: 日本とEUをつなぐオンラインお見合いサービスの案内サイト
Version: 1.0.0
Text Domain: futari-europe
*/

:root {
  --ink: #29242a;
  --muted: #62575c;
  --wine: #861e35;
  --wine-dark: #631528;
  --rose: #f8efed;
  --paper: #fffaf5;
  --line: #e9ddd9;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif CJK JP", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --width: 1192px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); }
body { margin: 0; font: 16px/1.85 var(--sans); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.43; }
p { margin-block: 0 1.125em; }
p:last-child { margin-bottom: 0; }
section[id] { scroll-margin-top: 28px; }

.fe-skip {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  transform: translateY(-220%);
  padding: 8px 16px;
  background: white;
}
.fe-skip:focus { transform: none; }

.fe-shell {
  width: min(var(--width), calc(100% - 96px));
  margin-inline: auto;
}
.fe-site-header { background: white; border-bottom: 1px solid var(--line); }
.fe-head-inner, .fe-head-nav, .fe-footer-inner, .fe-operator {
  display: flex;
  align-items: center;
}
.fe-head-inner { justify-content: space-between; gap: 28px; min-height: 76px; }
.fe-brand {
  flex: none;
  color: var(--ink);
  font: 28px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
  text-decoration: none;
}
.fe-brand span { color: var(--wine); }
.fe-head-nav { gap: clamp(18px, 3vw, 40px); }
.fe-head-nav a, .fe-footer a {
  font-size: 13px;
  font-weight: 650;
  text-underline-offset: .32em;
}
.fe-head-nav a { text-decoration: none; }
.fe-head-nav a:hover, .fe-footer a:hover { color: var(--wine); text-decoration: underline; }

.fe-main { padding-block: 54px 72px; }
.fe-main > section + section { margin-top: clamp(66px, 8.3vw, 116px); }
.fe-main h2 {
  margin-bottom: .5em;
  font-family: var(--serif);
  font-size: clamp(27px, 3.35vw, 43px);
  font-weight: 650;
  letter-spacing: .035em;
  text-wrap: pretty;
}
.fe-main h3 { margin-bottom: .52em; font-size: clamp(17px, 1.65vw, 21px); }
.fe-main .wp-block-columns { gap: 18px; margin: 24px 0 0; }

.fe-hero {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: stretch;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--rose);
}
.fe-hero-content { align-self: center; padding: clamp(26px, 4.3vw, 62px); }
.fe-eyebrow {
  margin-bottom: 20px;
  color: var(--wine);
  font-size: clamp(12px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: .065em;
}
.fe-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 650;
  letter-spacing: .025em;
  line-height: 1.38;
}
.fe-lede { margin-block: 22px 28px; color: var(--muted); text-wrap: pretty; }
.fe-hero .wp-block-buttons { gap: 10px; }
.fe-hero .wp-block-button .wp-block-button__link {
  display: inline-block;
  border: 1px solid var(--wine);
  border-radius: 999px;
  padding: 11px 17px;
  color: white;
  background: var(--wine);
  font: 650 13px/1.5 var(--sans);
  text-decoration: none;
}
.fe-hero .wp-block-button .wp-block-button__link:hover { background: var(--wine-dark); }
.fe-hero .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--wine);
  background: transparent;
}
.fe-hero .wp-block-button.is-style-outline .wp-block-button__link:hover { background: #f1e1e1; }
.fe-hero-image.wp-block-image { min-width: 0; margin: 0; }
.fe-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  object-position: 66% 54%;
}

.fe-intro > p { max-width: 750px; color: var(--muted); }
.fe-main :is(.fe-audience, .fe-step, .fe-fee) {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 35px);
  background: white;
}
.fe-main :is(.fe-audience, .fe-step, .fe-fee) p { color: var(--muted); }
.fe-main .fe-step-number {
  display: inline-grid;
  place-items: center;
  margin: 0 0 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--wine);
  font: 23px/1 Georgia, serif;
}
.fe-main .fe-fee { border-top: 3px solid var(--wine); }
.fe-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }

.fe-faq { max-width: 890px; margin-inline: auto; }
.fe-faq h2 { margin-bottom: .7em; }
.fe-faq details { border-top: 1px solid var(--line); }
.fe-faq details:last-child { border-bottom: 1px solid var(--line); }
.fe-faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 17px 42px 17px 0;
  font-weight: 700;
}
.fe-faq summary::-webkit-details-marker { display: none; }
.fe-faq summary::after {
  content: "";
  position: absolute;
  top: 23px;
  right: 11px;
  width: 9px;
  height: 9px;
  border: solid var(--wine);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.fe-faq details[open] summary::after { transform: rotate(225deg); }
.fe-faq details p { margin: 0; padding: 0 36px 19px 0; color: var(--muted); }

.fe-register {
  padding: clamp(32px, 5.8vw, 70px) 24px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--rose);
  text-align: center;
}
.fe-register p { color: var(--muted); }

.fe-footer { border-top: 1px solid var(--line); background: white; }
.fe-footer-inner { min-height: 105px; justify-content: space-between; gap: 18px; padding-block: 18px; }
.fe-operator { flex-wrap: wrap; gap: 7px 12px; color: var(--muted); font-size: 13px; }
.fe-operator-link { display: inline-flex; align-items: center; gap: 11px; }
.fe-operator img { display: block; width: 78px; height: auto; }

@media (max-width: 950px) {
  .fe-shell { width: calc(100% - 52px); }
  .fe-hero { min-height: 470px; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); }
}
@media (max-width: 740px) {
  .fe-shell { width: calc(100% - 36px); }
  .fe-head-inner { flex-wrap: wrap; gap: 15px 22px; padding-block: 15px 12px; }
  .fe-head-nav { flex-wrap: wrap; gap: 7px 18px; }
  .fe-main { padding-block: 24px 48px; }
  .fe-hero { grid-template-columns: 1fr; min-height: auto; }
  .fe-hero-content { padding: 30px clamp(20px, 5vw, 38px) 32px; }
  .fe-hero h1 { font-size: clamp(33px, 7.7vw, 48px); }
  .fe-hero-image img { height: clamp(240px, 56vw, 390px); min-height: 0; object-position: 70% 56%; }
  .fe-main .wp-block-columns { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (max-width: 430px) {
  .fe-footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .fe-head-nav a { font-size: 12px; }
}
