/*
Theme Name: HITORI BIZ
Theme URI: https://katsuyafujinaga.com/
Author: 藤永勝也
Author URI: https://katsuyafujinaga.com/
Description: HITORI BIZ公式サイトテーマ。ひとりで始める。チームで走る。個人起業家のためのコンテンツプロデュース。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: hitori-biz
*/

:root {
  --ink: #111;
  --muted: #555;
  --line: #111;
  --bg: #fff;
  --header-h: 64px;
  --max: 920px;
  --narrow: 640px;
  --font-display: "Oswald", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.nav-toggle {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.site-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 1.2rem 1.5rem 1.6rem;
  display: grid;
  gap: 0.9rem;
}

.site-nav a {
  font-family: var(--font-display);
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: min(78vh, 620px);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.05);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero__copy {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 1.25rem;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 11vw, 5.2rem);
  line-height: 1.12;
  letter-spacing: 0.08em;
}

.hero__sub {
  margin: 1.35rem 0 0;
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.85;
}

.scroll-down {
  position: absolute;
  left: 50%;
  bottom: -22px;
  z-index: 2;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #1a1a1a;
  display: grid;
  place-items: center;
}

.scroll-down:hover {
  opacity: 1;
  background: #000;
}

.scroll-down__arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg) translate(-2px, -2px);
}

.section {
  padding: 4.5rem 0 4rem;
}

.section-title {
  margin: 0 0 1.4rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: 0.18em;
}

.section-title::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--line);
  margin: 0.85rem auto 0;
}

.section-lead {
  margin: 0 0 1.4rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

.about__body {
  margin: 0 auto;
  max-width: 36em;
  text-align: center;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 2;
}

.about__body--follow {
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.95;
}

.photo-band__full {
  height: clamp(200px, 32vw, 280px);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}

.photo-band__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.photo-band__half {
  height: clamp(180px, 28vw, 260px);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}

.service-list {
  display: grid;
  gap: 2.8rem;
  margin-top: 2rem;
}

.service-item__image {
  height: clamp(200px, 36vw, 280px);
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  margin-bottom: 1.1rem;
}

.service-item h3 {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-item p {
  margin: 0 auto;
  max-width: 28em;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.news-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid #ddd;
}

.news-list li {
  border-bottom: 1px solid #ddd;
}

.news-list a {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0.2rem;
}

@media (min-width: 640px) {
  .news-list a {
    grid-template-columns: 7.5rem 1fr;
    gap: 1.2rem;
    align-items: baseline;
  }
}

.news-list time {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  color: var(--muted);
}

.contact__lead {
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.myasp-form-wrap {
  margin-top: 0.5rem;
}

.myasp-form-wrap .content_title {
  text-align: center;
  margin-bottom: 1.4rem;
}

.myasp-form-wrap .content_title h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.myasp-form-wrap .content_form {
  width: 100%;
}

.myasp-form-wrap .form_input_submit input[type="submit"] {
  width: 100%;
  border: 0;
  background: #111;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.95rem 1.2rem;
  cursor: pointer;
}

.myasp-form-wrap .form_input_submit input[type="submit"]:hover {
  opacity: 0.82;
}

.myasp-form-wrap input[type="text"],
.myasp-form-wrap input[type="email"],
.myasp-form-wrap input[type="tel"],
.myasp-form-wrap input[type="password"],
.myasp-form-wrap input[type="number"],
.myasp-form-wrap textarea,
.myasp-form-wrap select,
.myasp-form-wrap .form_input_input,
.myasp-form-wrap .textarea_frame textarea {
  background: #fff !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  color: #111 !important;
  box-shadow: none !important;
}

.myasp-form-wrap .textarea_frame {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.myasp-form-wrap .textarea_frame textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.myasp-form-wrap input[type="text"]:focus,
.myasp-form-wrap input[type="email"]:focus,
.myasp-form-wrap textarea:focus,
.myasp-form-wrap .form_input_input:focus {
  background: #fff !important;
  background-color: #fff !important;
  border-color: #111 !important;
  outline: none;
}

.myasp-form-wrap .input_unit,
.myasp-form-wrap .my_column,
.myasp-form-wrap .label_frame,
.myasp-form-wrap .checkbox_frame {
  background: transparent !important;
  background-color: transparent !important;
}

.site-footer {
  border-top: 1px solid #e5e5e5;
  padding: 2rem 0 2.4rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.footer-link {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  font-size: 0.85rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.page-simple {
  margin-top: var(--header-h);
  padding: 3rem 0 4rem;
}

.page-simple h1 {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-align: center;
}

@media (min-width: 880px) {
  .service-list {
    gap: 3.2rem;
  }

  .service-item__image {
    height: 300px;
  }
}
