@charset "utf-8";
/*!
Theme Name: satoyama テロワール
Theme URI: https://satoyama-terroir.jp/
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gap: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond', 'Shippori Mincho', serif;
  color: #17181e;
  font-size:16px;
  line-height:2;
  background:white;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 { font:inherit;}

/* ─────────────────────────────
    HEADER
───────────────────────────── */

.site-logo {
  font-size: 1.25em;
  letter-spacing: 0.15em;
  color:white;
  line-height: 1.8;
  text-transform: lowercase;
  position: absolute;
  top: 32px;
  left: 32px;
  z-index: 100;
}

.site-nav {
  display: flex;
  flex-direction:column-reverse;
  gap: 32px;
  writing-mode: vertical-rl;
  position: fixed;
  top: 32px;
  left: 50%;
  margin:0 auto;
  transform:translateX(-50%);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding:0;
  mix-blend-mode:difference;
}

.site-nav a {
  display: block;
  letter-spacing: 0.15em;
  color:white;
  text-decoration: none;
  text-transform: uppercase;
  border-right:1px solid currentColor;
}

.site-text {
  display: table;
  color:white;
  font-size: .875em;
  line-height:2;
  position: absolute;
  top: 32px;
  right: 32px;
  z-index:100;
}

.site-nav a:hover {
  opacity: 0.6;
}

#site-menu { display:none; width:40px; height:40px; z-index:99; mix-blend-mode:difference; position:fixed; right:32px; top:32px; margin:0; transition:.15s ease-in-out; transform-origin: center;}
#site-menu span { display:block; width:28px; height:0; border-color:inherit; border-top:1px solid white; mix-blend-mode:difference; position:absolute; left:10px; right:10px; bottom:auto; top:0; margin:0; transition:.15s ease-in-out; transform-origin: center;}
#site-menu .bar-1 { top:6px; }
#site-menu .bar-2 { top:15px; }
#site-menu .bar-3 { top:24px; }
body.toggle-opened #site-menu .bar-1 { top:15px; -webkit-transform:rotate(45deg); transform:rotate(45deg); }
body.toggle-opened #site-menu .bar-2 { width:0; }
body.toggle-opened #site-menu .bar-3 { top:15px; -webkit-transform:rotate(-45deg); transform:rotate(-45deg); }
/* ─────────────────────────────
    HERO
───────────────────────────── */
.hero {
  position: relative;
  background: #17181e;
  height:calc( 100vh + 6vw );
}
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.8;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  height:100vh;
  align-items:center;
  justify-content: center;
  padding: calc( var(--gap) * 2 ) var(--gap) 0;
}

.hero__logo-icon {
  position: absolute;
  bottom:24px;
  right: var(--gap);
  width: 280px;
  max-width:45%;
  opacity: 0.75;
  z-index:10;
}

.hero__title {
  writing-mode: vertical-rl;
  font-size: 1.3em;
  line-height:2.3;
  letter-spacing: 0.15em;
  color:white;
  animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.3s;
}
.hero__title span { 
  display:block;
  }

/* ─────────────────────────────
    INTRO (dark section)
───────────────────────────── */
.intro {
  color:white;
  padding: calc(var(--gap) * 2 + 6vw) 32px;
  margin-top:-6vw;
  display:flex;
  width:100%;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position: relative;
  z-index:2;
}
.intro::after {
  content:''; 
  background:
  #17181e;
  border-radius:50%;
  width:460vw;
  height:460vw;
  top:0;
  left:-180vw;
  position:absolute;
  z-index:-1;
}

.intro__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  writing-mode: vertical-rl;
  line-height: 2.4;
  letter-spacing: 0.15em;
  flex-shrink: 0;
  color:white;
  gap:1.5em;
}

.intro__inner p {
  margin:0;
}
.intro__inner br.sp {
  display:none; 
}
.intro__sign { 
  display:block; 
  margin:auto;
}


/* ─────────────────────────────
    PAGE SECTIONS
───────────────────────────── */

.page.content {
  position: relative;
  background: #17181e;
  min-height:calc( 100vh + 6vw );
  color:white;
  align-items: center;
  justify-content: center;
  padding-top:120px;
  display: flex;
}
/* .page .content .content-section{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;

} */

/* ─────────────────────────────
    CONTENT SECTIONS
───────────────────────────── */
.content {
  padding:calc(var(--gap)*2) var(--gap);
}

.content-01-img {
  width:280px;
}

.content-section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  gap: var(--gap);
  display:flex;
  align-items: center;
  justify-content:flex-end;
}
.content-section + .content-section { padding-top:calc(var(--gap)*2); }

.content-section:nth-child(odd) {
  flex-direction:row-reverse;
}

.content-section-01 { 
  justify-content:space-between;
}

.content-section-01 .content-section__text .section-body{ 
  font-size: .75em;
}

.content-section img {
  opacity: 1;
  transform: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@supports (animation-timeline: view()) {
  .content-section img {
    opacity: 0;
    transform: translateY(2rem);
    animation: fadeIn linear both;
    animation-timeline: view();
    animation-range: contain 0% contain 50%;
  }
}

.content-01-img-1 {
  /* top: calc( -2 * var(--gap) ); */
  margin: calc( -2 * var(--gap) ) auto 0 -32px;
  position: relative;
  max-width:80%;
}
.content-section-04 .content-section__images { 
  display:flex; gap:5%; align-items:flex-start; margin-right:calc(var(--gap) * -1);
}
.content-04-img-1 {
  max-width:65%;
}
.content-04-img-2 { 
  max-width:30%;
  margin-top:-16%;
}
.content-section-05 .content-section__images {
  display:flex; flex-wrap: wrap; align-items:flex-start; justify-content:center;
}
.content-05-img-1 { 
  margin-left:calc(var(--gap) * -1); width:61%;
}
.content-05-img-2 { 
  margin-left:auto; margin-right:-5%; margin-top:32%; width:23%;
}
.content-05-img-3 { 
  margin-left:auto; margin-right:auto; margin-top:var(--gap); width:42%;
}
.content-section__text {
  width:24em; 
  max-width:100%;
}

.section-heading {
  font-size: 1em;
  letter-spacing: 0.15em;
  line-height: 2.4;
  margin-bottom: 32px;
  text-align:center;
}
.section-heading::before {
  content:'';
  border-right:.5px solid currentColor;
  height:2.5em; width:0; display:block; margin:0 auto 1em;
  transform:rotate(45deg);
}

.section-body {
  font-size: .875em;
}


/* ─────────────────────────────
    PROFILE
───────────────────────────── */
.profile {
  background: #eeeeee;
  padding: calc(var(--gap) * 2) var(--gap);
}
.profile__header {
  writing-mode: vertical-rl;
  display:flex; 
  flex-direction:column-reverse; 
  align-items:flex-start; 
  justify-content: center; 
  width:100%;
  padding-bottom: 60px; 
  line-height: 2.4;
}
.profile__header .en {
  font-size:.75em;
}
.profile__inner {
  max-width: 1080px;
  margin: 0 auto;
  display:flex; flex-wrap:wrap;
  gap:var(--gap);
  align-items:center;
  justify-content: center;
}
.profile__image {
  width:calc(50% - var(--gap) * .5); order:2; text-align:right;
}
.profile__image img { 
  display:inline-block; margin:0;
}
.profile__role {
  font-size: .75em;
  margin: .5em 0;
}

.profile__name {
  font-size: 1.3em;
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.profile__bio {
  width:calc(50% - var(--gap) * .5);
  order:1;
  font-size: .875em;
  margin-bottom: 48px;
}

.profile__timeline { 
  order:3;
  margin:0 auto;
  border-width:0;
  font-size: .875em;
  text-align:left;
  border-width:0;
}

.profile__timeline th {
  font:inherit;
  padding:.4em 0;
  width:8em;
  border-width:0;
}

.profile__timeline td {
  font:inherit;
  padding:.4em 0 0 1em;
  width:auto;
  border-width:0;
}

/* ─────────────────────────────
    SPECIAL THANKS
───────────────────────────── */
.thanks {
  padding: calc(var(--gap) * 3) var(--gap);
  text-align: center;
}

.thanks__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.thanks__label {
  writing-mode: vertical-rl;
  font-size: .875em;
  letter-spacing: 0.15em;
  margin: 0 0 calc(var(--gap) *-1) 0;
  display: flex;
  width: 100%;
}

.thanks__names {
  display: flex;
  justify-content: center;
  gap: var(--gap);
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.thanks__item {
  writing-mode: vertical-rl;
  text-align: left;
  letter-spacing: 0.15em;
  line-height: 2.4;
}

.thanks__item-role {
  font-size: .75em;
  display: block;
}

/* ─────────────────────────────
    FOOTER
───────────────────────────── */
.site-footer {
  position: relative;
  height: 480px;
  overflow: hidden;
}

.site-footer__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
   filter: brightness(70%)
}

.site-footer__text {
  margin:0;
  position: absolute;
  top: 50%;
  left:var(--gap);
  right:var(--gap);
  bottom:auto;
  text-align:center;
  transform:translateY(-50%);
  color: white;
  font-size: .875em;
  letter-spacing: 0.15em;
}
.grecaptcha-badge { visibility:hidden!important; height:0!important; }
.recaptcha_policy, .akismet_comment_form_privacy_notice { font-size:11px; color:var(--gray-color); text-align:center;}
.recaptcha_policy a, .akismet_comment_form_privacy_notice a { text-decoration:underline; }

.wpcf7 { font-size:14px; line-height:1.6em; }
.wpcf7 .form-box p { margin:0; }
.wpcf7 .wpcf7-form-control-wrap + br { display:none; }
.wpcf7 .headword { display:block; margin:0; padding:6px 0 2px; font-size:12px; line-height:16px; }
.wpcf7 .customerMessage textarea { height:450px; }
.wpcf7 .wpcf7-form-control-wrap { margin:0 0 8px; }
.wpcf7 .headword span.en { display:inline-block; margin-left:.5em; }
.wpcf7 .headword em { display:inline-block; background:orange; color:#fff; font-weight:600; padding:.2em; margin-left:.5em; line-height:1em; }

@media screen and ( min-width : 782.1px ){
  .form-box-left { width: 48%; float: left; clear: left; }
  .form-box-right { width: 48%; float: left; margin-left: 4%; clear:none; }
  .form-box-right + * { clear: left; }
}
@media screen and ( max-width : 782px ){
	.wpcf7 .customerMessage textarea { height:300px; }
}


/* ─────────────────────────────
    RESPONSIVE — TABLET
───────────────────────────── */
@media (max-width: 1024px) {

  .hero__logo-icon {
    bottom:-32px;
  }
  .intro__inner {
    flex-direction: column;
    writing-mode:inherit;
    letter-spacing:0;
    font-size:.925em;
  }
  .intro__sign {
    display:none;
  }
}

/* ─────────────────────────────
    RESPONSIVE — MOBILE
───────────────────────────── */
@media (max-width: 768px) {

  :root {
    --gap: 48px;
  }

  #site-menu { 
    display:block;
  }
  .site-header {
    opacity:0;
    pointer-events:none;
    visibility:hidden;
    position:fixed;
    z-index:98;
    left:0; right:0; bottom:0; top:0;
    background-color: #17181e;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .site-nav {
    gap: 16px;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
  }
  body.toggle-opened .site-header {
    opacity:1;
    pointer-events:auto;
    visibility:visible;
  }

  .site-text {
    display: none;
  }

  /* Hero */
  .hero {
    height: 95svh;
  }

  .hero__overlay {
    padding: 60px 24px 48px;
    align-items:center;
    justify-content: center;
  }

  .hero__logo-icon {
    right: 24px;
    bottom: 0;
  }

  .hero__title {
    font-size: 1.5em;
  }

  .intro__inner  {
    max-width:100%;
  }
  .intro__inner br.sp {
    display:block;
  }

  .content-section {
    display:flex;
    flex-direction:column-reverse!important;
    justify-content:center;
  }

.content-04-img-1 {
  margin-top:18%;
}
.content-04-img-2 { 
  margin-top:0;
}
.content-05-img-1 { 
  width:calc(var(--gap) + 65%);
}
.content-05-img-2 { 
  width:37%;
  margin-right:calc(var(--gap) * -1);
}
.content-05-img-3 { 
 width:62%;
 margin-left:14%; margin-right:24%;
}

.profile__image {
  width:auto; 
  order:1;
}

.profile__bio {
  width:auto; 
  order:2;
}

.profile__timeline {
  order:3;
  line-height:1.7;
}
.profile__timeline table, .profile__timeline tbody, .profile__timeline tr, .profile__timeline th, .profile__timeline td { display:block; margin:0; padding:0; width:auto; }
.profile__timeline tr + tr { margin-top:1.25em;}

  /* Footer */
  .site-footer {
    height: 100vw;
  }
}


@media (max-width: 480px) {

  :root {
    --gap: 32px;
  }

  .intro__inner  {
    max-width:100%;
    font-size:3.6vw;
  }
  .thanks__label {
    writing-mode:inherit;
    text-align:center;
    margin: 0 0 var(--gap);
    display: block;
    width: 100%;
  }
}