@charset "UTF-8";
/*
Theme Name:   THE THOR CHILD
Theme URI:    http://fit-jp.com/theme/
Description:  FIT(フィット) が制作するブロガー/アフィリエイター向けWordPressTHEME「THE THOR」の子テーマ
Author:       Kota Naito　@FIT(フィット)
Author URI:   http://fit-jp.com/about/
Template:     the-thor
Version:      1.0
License:      GNU GENERAL PUBLIC LICENSE
License URI:  http://www.gnu.org/licenses/gpl.html
*/


/*---------------------------------------------------------------

　　　　　　　　　　独自のスタイル(CSS)を追加する場合は、
　　　　　　　　　　現在開いている「style.css」ではなく、
　　　　　　　　　　style-user.cssを編集してください。

---------------------------------------------------------------*/

:root {
  --bg: #f4f7ef;
  --ink: #314033;
  --pistachio: #4c7a3a;
  --pistachio-deep: #3d652e;
  --pale: #e7f0dc;
  --footer: #3a5340;
  --line: #dce6d2;
  --band: #e7f0dc;
  --header: #ffffff;
  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Yu Gothic", "YuGothic", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
}

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

a { color: var(--pistachio-deep); }

h1, h2, h3, .logo-mark, .intro-name, .footer-name {
  font-family: "Zen Maru Gothic", "Yu Gothic", sans-serif;
  font-weight: 700;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 50;
}

.skip-link:focus { top: 8px; }

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap.narrow { width: min(680px, calc(100% - 40px)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header);
  height: var(--header-h);
}

body.admin-bar .site-header { top: 32px; }

.header-inner {
  width: min(1100px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: var(--pistachio);
  background: var(--pale);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.3; }

.logo-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.logo-sub {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #6d7d68;
  font-weight: 500;
}

.nav-wrap { position: relative; }

.menu-toggle, .menu-button { display: none; }

.global-nav ul,
.site-footer ul {
  display: flex;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 0 6px;
  border-bottom: 2px solid transparent;
}

.global-nav .current-menu-item > a,
.global-nav .current_page_item > a {
  border-bottom-color: var(--pistachio);
}

.global-nav a:hover { color: var(--pistachio-deep); }

.theme-bar {
  height: 6px;
  background: var(--pistachio);
}

.hero {
  min-height: 480px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink);
  background-color: #e7f0dc;
  background-size: cover;
  background-position: center;
  padding: 48px 20px;
}

.hero-art {
  min-height: 0;
  display: block;
  padding: 0;
  background: none;
  text-align: left;
}

.hero-art img {
  width: 100%;
  height: auto;
}

.message {
  background-color: #fbfaf8;
  background-image: url("assets/img/s_back1.jpg");
  background-repeat: no-repeat;
  background-position: right 16%;
  background-size: auto 160%;
  text-align: center;
  padding: 72px 0;
}

.message-lead {
  margin: 0 0 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.04em;
}

.message-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-inner { width: min(760px, 100%); }

.hero h1 {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: #2f4a2c;
}

.hero p {
  margin: 0 0 26px;
  font-size: 14px;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.btn {
  display: inline-block;
  background: var(--pistachio);
  color: #fff;
  text-decoration: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: 1px solid var(--pistachio);
  border-radius: 999px;
  cursor: pointer;
}

.btn:hover { background: var(--pistachio-deep); border-color: var(--pistachio-deep); color: #fff; }

.news { padding: 72px 0 36px; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.section-head h2 { margin: 0; }

h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--pistachio);
}

.services > .wrap > h2,
.intro h2,
.cta h2 { text-align: center; }

.services > .wrap > h2::after,
.intro h2::after,
.cta h2::after {
  margin-left: auto;
  margin-right: auto;
}

.text-link {
  color: var(--pistachio-deep);
  letter-spacing: 0.06em;
  font-size: 14px;
  font-weight: 700;
}

.news-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.news-list li {
  display: grid;
  grid-template-columns: 7.2em 6.2em 1fr;
  gap: 12px 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #6d7d68;
}

.cat {
  justify-self: start;
  background: var(--pistachio);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
}

.news-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.news-list a:hover { color: var(--pistachio-deep); }

.services { padding: 48px 0 24px; }

.lead {
  margin: 0 0 36px;
  text-align: center;
  color: #5d6d5a;
}

.service {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.service img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 18px;
}

.service-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 28px 0 8px;
}

.service-label {
  margin: 0 0 6px;
  color: var(--pistachio);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.service h3::after { content: none; }

.service p { margin: 0 0 16px; }

.intro {
  padding: 72px 0;
  text-align: center;
}

.intro h2 { margin-bottom: 10px; }

.intro-lead {
  margin: 8px 0 28px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.only-sp::before { content: ""; }

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.about-photo-follow { margin-top: 28px; }

.intro-photo {
  width: min(240px, 70%);
  margin: 0 auto 24px;
  border-radius: 18px;
}

.intro-role {
  margin: 0;
  color: var(--pistachio);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.intro-name {
  margin: 4px 0 22px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.intro-body { text-align: left; }

.intro-body.about-body {
  margin-top: 28px;
  text-align: center;
}

.intro p { margin: 0 0 12px; }

.intro-quote {
  margin: 8px 0 20px;
  font-weight: 700;
  text-align: center;
}

.office-facts {
  margin: 28px 0 8px;
}

.office-facts div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 0 12px;
  margin: 0 0 6px;
}

.office-facts dt { font-weight: 700; }

.office-facts dd { margin: 0; }

.office-facts .office-note {
  display: block;
  margin: 0 0 10px;
}

.office-facts .office-note dd {
  font-size: 13px;
  color: #5d6d5a;
}

.cta {
  background-color: #fcfaf6;
  background-image: url("assets/img/footerimg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;
  padding: 64px 0;
}

.cta p { margin: 0 0 12px; }

.cta p:last-of-type { margin-bottom: 24px; }

.site-footer {
  background: var(--footer);
  color: #f4f7ef;
  padding: 48px 0 28px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
}

.site-footer .footer-hours {
  margin: 14px auto 0;
  font-size: 13px;
}

.site-footer p { margin: 0; line-height: 1.8; }

.site-footer a { color: #f4f7ef; text-decoration: none; }

.site-footer a:hover { text-decoration: underline; }

.site-footer ul {
  flex-wrap: wrap;
  gap: 8px 18px;
}

.site-footer .copyright {
  width: auto;
  margin: 22px 0 0;
  padding: 0 20px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  color: rgba(244, 247, 239, 0.75);
}

.site-wrap {
  width: min(760px, calc(100% - 40px));
  margin: 48px auto 72px;
}

.page-card,
.entry-content {
  background: transparent;
}

.entry-header h1,
.page-card > h1,
.site-wrap h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: #2f4a2c;
}

.entry-meta {
  margin: 0 0 8px;
  color: #6d7d68;
  font-size: 13px;
}

.entry-thumb { margin: 18px 0 8px; }

.entry-thumb img,
.entry-content img {
  border-radius: 18px;
}

.entry-content h2 { font-size: 24px; }

.entry-content .wp-block-button__link {
  border-radius: 999px;
  background: var(--pistachio);
  color: #fff;
}

.archive-list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.archive-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.archive-list h2 {
  margin: 6px 0 0;
  font-size: 18px;
}

.archive-list h2::after { content: none; }

.archive-list h2 a {
  color: var(--ink);
  text-decoration: none;
}

.cat-badge {
  display: inline-block;
  background: var(--pistachio);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 999px;
  margin-right: 8px;
}

.pager { margin-top: 28px; }

.pager .nav-links { display: flex; gap: 12px; }

.contact-form { margin-top: 28px; }

.form-row { margin: 0 0 16px; }

.form-row label,
.form-label { display: block; font-weight: 700; margin-bottom: 6px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.hp { position: absolute; left: -9999px; }

.form-success,
.form-note {
  background: var(--pale);
  border-radius: 12px;
  padding: 12px 14px;
}

.req { color: var(--pistachio-deep); font-size: 12px; }

a:focus-visible, .menu-button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--pistachio);
  outline-offset: 3px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }

  .only-sp::before {
    content: "\A";
    white-space: pre;
  }

  .header-inner { width: calc(100% - 28px); }

  .logo img { height: 46px; }

  .nav-wrap { position: static; }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    background: #fff;
  }

  .global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: var(--header);
    border-bottom: 1px solid var(--line);
    padding: 6px 0 10px;
    z-index: 30;
  }

  .menu-toggle:checked ~ .global-nav { display: block; }

  .global-nav ul { flex-direction: column; gap: 0; }

  .global-nav a {
    display: block;
    padding: 12px 18px;
    border-bottom: 0;
  }

  .global-nav .current-menu-item > a,
  .global-nav .current_page_item > a {
    border-bottom: 0;
    color: var(--pistachio-deep);
  }

  .hero { min-height: 420px; padding: 40px 20px; }

  .hero-art { min-height: 0; padding: 0; }

  .hero h1 { font-size: 28px; letter-spacing: 0.04em; }

  .hero p { font-size: 13px; }

  .news { padding: 48px 0 16px; }

  .wrap, .wrap.narrow, .site-wrap { width: calc(100% - 32px); }

  h2 { font-size: 24px; }

  .news-list li {
    grid-template-columns: auto auto;
    grid-template-areas:
      "time cat"
      "title title";
    align-items: center;
  }

  .news-list time { grid-area: time; }

  .cat { grid-area: cat; }

  .news-list a { grid-area: title; }

  .service {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }

  .service img { height: auto; }

  .message, .intro, .cta { padding: 48px 0; }

  .message {
    background-size: 120% auto;
    background-position: right 22%;
  }

  .footer-inner { flex-direction: column; }

  .site-footer .footer-hours { text-align: center; }

  .site-footer ul { flex-direction: column; gap: 6px; }

  .name-grid { grid-template-columns: 1fr; }

  .entry-header h1,
  .site-wrap h1 { font-size: 26px; }
}
