/**
 * E-sect 0.3.0
 */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --brand: #007aff;
  --brand-2: #00c8a7;
  --line: #e6e6e6;
  --panel: #f8f9fb;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --hero-image: url('../img/top/hero-image-v1.jpg');
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
html {
  font-size: 16px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0.02em;
}
@media (max-width: 999px) {
  body {
    font-size: 0.875rem;
  }
}
h3 {
  margin: 8px 0 6px;
  color: #000;
}
a {
  text-decoration: none;
  color: inherit;
}
a.external-link {
  color: var(--brand);
}
a.external-link img {
  width: 320px;
  max-width: 100%;
  height: auto;
}
.font-alt {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
}
@media (max-width: 767px) {
  .only-pc {
    display: none;
  }
}
.only-mobile {
  display: none;
}
@media (max-width: 767px) {
  .only-mobile {
    display: initial;
  }
}
/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav .cta-btn {
  margin-left: auto;
}
.brand {
  height: 64px;
}
.brand .company_name {
  line-height: 64px;
  font-size: 22px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .brand {
    margin-left: -10px;
  }
  .brand .company_name {
    font-size: 18px;
  }
}
.logo {
  width: 100%;
  height: 100%;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-links {
  display: flex;
  gap: 20px;
  margin: 0 0 0 auto;
}
.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--brand);
}
.nav-links a.active {
  color: var(--brand);
  font-weight: 700;
}
@media (max-width: 999px) {
  .nav-links {
    gap: 10px;
  }
}
@media (max-width: 767px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100dvh - 64px);
    overflow-y: scroll;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
  }
  .nav-links a {
    display: block;
    height: 64px;
    line-height: 64px;
    padding: 0 20px;
    border-bottom: 1px solid var(--line);
  }
}
.nav-links-toggler {
  display: none;
  margin-right: -20px;
  cursor: pointer;
}
.nav-links-toggler button {
  appearance: none;
  margin: 0;
  padding: 10px;
  border: none;
  outline: none;
  background: none;
  color: var(--muted);
  font-size: 1.5rem;
  line-height: 1;
  vertical-align: top;
}
@media (max-width: 767px) {
  .nav-links-toggler {
    display: block;
  }
}
.cta-btn {
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
/* Hero */
.hero {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-image) center / cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.hero .kicker {
  letter-spacing: 0.1em;
  font-size: 12px;
  opacity: 0.9;
}
.hero .lead {
  opacity: 0.95;
}
.hero .actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 20px;
}
.hero-full {
  height: 70vh;
  min-height: 420px;
}
.hero-sub {
  height: 38vh;
  min-height: 280px;
}
/* Sections */
.section {
  position: relative;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.section + .section {
  padding-top: 0;
  border-top: none;
}
.section-title {
  font-size: 22px;
  margin: 0 0 18px;
  color: #000;
  text-align: center;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25%, 1fr));
  gap: 18px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 767px) {
  .cards {
    grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
  }
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.logo-cell {
  height: 50px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--muted);
}
.about,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 960px) {
  .about,
  .contact {
    grid-template-columns: 1fr;
  }
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
#contact-form,
#contact-complete {
  min-height: 432px;
}
@media (max-width: 999px) {
  #contact-form,
  #contact-complete {
    min-height: 422px;
  }
}
.introduction-message {
  position: relative;
  top: -110px;
  left: 0;
  right: 0;
  z-index: 2;
  width: 900px;
  max-width: 96%;
  margin: auto auto -30px;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}
.introduction-message::before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 5px;
  display: block;
  width: 75px;
  height: 45px;
  background: url('../img/sub/elements/front-main-element-3.png') no-repeat center center;
  background-size: contain;
}
.introduction-message::after {
  content: '';
  position: absolute;
  bottom: 5px;
  right: 5px;
  display: block;
  width: 75px;
  height: 45px;
  background: url('../img/sub/elements/front-main-element-3.png') no-repeat center center;
  background-size: contain;
}
.introduction-message .message-inner::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #7B5601;
}
.introduction-message .message-inner::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #7B5601;
}
.introduction-message h2 {
  position: relative;
  display: inline-block;
  line-height: 25px;
  margin: 0 0 30px;
  font-size: 1.5rem;
  font-weight: normal;
}
@media (max-width: 999px) {
  .introduction-message h2 {
    font-size: max(2.4vw, 18px);
  }
}
@media (max-width: 767px) {
  .introduction-message h2 {
    font-size: max(2.592vw, 18px);
  }
}
.introduction-message h2::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -120px;
  display: block;
  width: 120px;
  height: 25px;
  margin: auto;
  background: url('../img/sub/elements/front-main-element-1.png') no-repeat center center;
  background-size: contain;
}
.introduction-message h2::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -120px;
  display: block;
  width: 120px;
  height: 25px;
  margin: auto;
  background: url('../img/sub/elements/front-main-element-2.png') no-repeat center center;
  background-size: contain;
}
.introduction-message p {
  margin: 0;
  font-size: 1.25rem;
}
@media (max-width: 999px) {
  .introduction-message p {
    font-size: max(2vw, 14px);
  }
}
@media (max-width: 767px) {
  .introduction-message p {
    font-size: max(2.16vw, 14px);
  }
}
@media (max-width: 999px) {
  .introduction-message::before {
    width: 8vw;
    height: 4.8vw;
  }
  .introduction-message::after {
    width: 8vw;
    height: 4.8vw;
  }
  .introduction-message h2 {
    line-height: 2.66666667vw;
  }
  .introduction-message h2::before {
    left: -12.8vw;
    width: 12.8vw;
    height: 2.66666667vw;
  }
  .introduction-message h2::after {
    right: -12.8vw;
    width: 12.8vw;
    height: 2.66666667vw;
  }
}
@media (max-width: 767px) {
  .introduction-message {
    padding: 20px 10px;
  }
  .introduction-message .messages-inner::before {
    top: 5px;
    left: 5px;
    width: 4px;
    height: 4px;
    border-radius: 2px;
  }
  .introduction-message .messages-inner::after {
    top: 5px;
    right: 5px;
    width: 4px;
    height: 4px;
    border-radius: 2px;
  }
  .introduction-message h2 {
    line-height: 1.4;
    margin-bottom: 15px;
  }
}
/* Form */
label {
  font-size: 12px;
  color: var(--muted);
}
input,
textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  margin-bottom: 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #000;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-submit .error {
  display: inline-block;
  margin-left: 0.5em;
  color: #f00;
  font-size: 14px;
}
.submit {
  cursor: pointer;
  border: 0;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  border-radius: 10px;
}
/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.foot-brand {
  height: 40px;
}
.foot-brand .company_name {
  line-height: 40px;
  font-size: 16px;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .copyright_name {
    display: none;
  }
}
