@charset "UTF-8";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f6f3ec;
  color: #1a1a1a;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  border-top: 6px solid #9e3a26;
}

a {
  color: #9e3a26;
}

h1, h2, h3, .logo {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */

.header {
  padding: 28px 0;
}

.header .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
  font-size: 20px;
  letter-spacing: .18em;
  text-decoration: none;
}

.logo img {
  display: block;
}

.header nav a {
  margin-left: 18px;
  color: #5a554c;
  font-size: 14px;
  text-decoration: none;
}

.header nav a:hover {
  color: #9e3a26;
}

/* hero */

.hero {
  padding: 72px 0 80px;
}

.hero h1 {
  margin: 0 0 24px;
  font-size: 42px;
  line-height: 1.5;
  letter-spacing: .04em;
}

.hero h1 span {
  display: inline-block;
}

.hero p {
  max-width: 34em;
  margin: 0;
  color: #5a554c;
}

.hero .hero-sub {
  margin-bottom: 16px;
  color: #9e3a26;
  font-size: 14px;
  letter-spacing: .2em;
}

/* section */

section {
  padding: 56px 0;
  border-top: 1px solid #d8d1c4;
}

h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-size: 22px;
  letter-spacing: .08em;
}

h2::before {
  content: "";
  width: 18px;
  height: 2px;
  background: #9e3a26;
}

.service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service li {
  padding: 22px;
  background: #fbfaf6;
  border: 1px solid #d8d1c4;
}

.service h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.service p {
  margin: 0;
  color: #5a554c;
  font-size: 14.5px;
}

.company {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.company th,
.company td {
  padding: 14px 4px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #d8d1c4;
}

.company th {
  width: 8.5em;
  color: #5a554c;
  font-weight: 500;
}

/* form */

.note {
  margin: 0 0 24px;
  color: #5a554c;
  font-size: 13px;
}

.form p {
  margin: 0 0 18px;
}

.form .col2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.form em {
  margin-left: 6px;
  color: #9e3a26;
  font-size: 12px;
  font-style: normal;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  padding: 10px 12px;
  background: #fbfaf6;
  color: #1a1a1a;
  font: inherit;
  border: 1px solid #8f877a;
  border-radius: 2px;
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible,
.form button:focus-visible {
  outline: 2px solid #9e3a26;
  outline-offset: 1px;
}

.form textarea {
  resize: vertical;
}

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

.form .agree label {
  display: inline;
}

.form button {
  padding: 12px 36px;
  background: #9e3a26;
  color: #f6f3ec;
  font: inherit;
  letter-spacing: .1em;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

/* page */

.page {
  padding: 40px 0 72px;
  border-top: 0;
}

.page .inner {
  max-width: 720px;
}

.page h1 {
  margin: 0 0 32px;
  font-size: 28px;
  letter-spacing: .06em;
}

.page h2 {
  margin: 40px 0 12px;
  font-size: 18px;
}

.page p,
.page ul {
  margin: 0 0 16px;
}

.page ul {
  padding-left: 1.4em;
  list-style: disc;
}

.page .date {
  margin-top: 40px;
  color: #5a554c;
  font-size: 14px;
}

/* footer */

.footer {
  padding: 28px 0 40px;
  color: #5a554c;
  font-size: 13px;
  border-top: 1px solid #d8d1c4;
}

.footer .inner {
  display: flex;
  justify-content: space-between;
}

.footer a {
  color: #5a554c;
}

@media (max-width: 600px) {
  .hero {
    padding: 48px 0 56px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .header nav a {
    margin: 0 14px 0 0;
  }

  .service,
  .form .col2 {
    grid-template-columns: 1fr;
  }

  .form .col2 {
    gap: 0;
  }
}
