/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #333;
  line-height: 1.8;
  font-size: 15px;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
table { border-collapse: collapse; width: 100%; }

/* ========== Colors ========== */
:root {
  --navy: #1a2a4a;
  --navy-light: #a7c3ff;
  --accent: #c8a84e;
  --white: #ffffff;
  --gray-bg: #f5f5f5;
  --gray-text: #666;
  --border: #ddd;
}

/* ========== Header ========== */
.header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header__inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
}
.header__logo img { height: 45px; width: auto; }
.header__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.header__nav { display: flex; align-items: center; gap: 8px; }
.header__nav a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s;
  white-space: nowrap;
}
.header__nav a:hover { color: var(--navy-light); }
.header__tel {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: 1px;
}
.header__tel span { font-size: 11px; font-weight: 400; display: block; }

/* Mobile menu */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: 0.3s;
}

/* ========== Hero (Top page) ========== */
.hero {
  position: relative;
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero__grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 4px;
  opacity: 0.35;
}
.hero__grid-item {
  background: var(--navy-light);
  overflow: hidden;
}
.hero__grid-item:nth-child(odd) { transform: skewY(-2deg); }
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}
.hero__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}
/* ========== CTA Banner ========== */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 32px 20px;
}
.cta-banner__tel {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.cta-banner__tel a { color: var(--white); }
.cta-banner__note { font-size: 13px; opacity: 0.7; margin-bottom: 16px; }
.cta-banner__btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 14px 48px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.3s;
}
.cta-banner__btn:hover { opacity: 0.85; }

/* ========== Philosophy ========== */
.philosophy { text-align: center; padding: 80px 20px; }
.philosophy__en {
  font-family: "Georgia", serif;
  font-style: italic;
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 8px;
}
.philosophy__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
}
.philosophy__text {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-text);
  font-size: 14px;
  line-height: 2.2;
}
.philosophy__btn {
  display: inline-block;
  margin-top: 32px;
  padding: 14px 40px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}
.philosophy__btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* ========== Pickup Cards ========== */
.pickup { padding: 80px 0; }
.pickup__heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 4px;
}
.pickup__heading-sub {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 48px;
}
.pickup__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.pickup__card {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  border-radius: 2px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  transition: transform 0.3s;
}
.pickup__card:hover { transform: translateY(-4px); }
.pickup__card-en {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 2px;
}
.pickup__card-ja {
  font-size: 13px;
  margin-bottom: 16px;
  opacity: 0.8;
}
.pickup__card-text {
  font-size: 14px;
  line-height: 1.8;
  font-weight: 500;
}
.pickup__desc {
  padding: 20px 0 0;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.9;
}

/* ========== Works (Top) ========== */
.works-top { padding: 80px 0; background: var(--gray-bg); }
.works-top__heading {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 4px;
}
.works-top__heading-sub {
  text-align: center;
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 48px;
}
.works-top__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.works-top__item {
  background: #ccc;
  aspect-ratio: 1;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.works-top__item-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  opacity: 0.6;
}
.works-top__more {
  text-align: center;
  margin-top: 40px;
}
.works-top__more a {
  display: inline-block;
  padding: 12px 36px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s;
}
.works-top__more a:hover { opacity: 0.8; }

/* ========== Page Header (Sub pages) ========== */
.page-header {
  background: var(--navy);
  text-align: center;
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}
.page-header__grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  opacity: 0.35;
}
.page-header__grid-item {
  background: var(--navy-light);
  overflow: hidden;
}
.page-header__grid-item:nth-child(odd) { transform: skewY(-2deg); }
.page-header__title {
  position: relative;
  z-index: 2;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.page-header__breadcrumb {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}
.page-header__breadcrumb a { color: rgba(255, 255, 255, 0.7); }
.page-header__breadcrumb a:hover { text-decoration: underline; color: var(--white); }

/* ========== Sub page layout ========== */
.sub-layout {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}
.sub-layout__main { min-width: 0; }

/* ========== Service Page ========== */
.service-section { margin-bottom: 56px; }
.service-section__title {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-section__title::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--navy);
}
.service-section__images {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}
.service-section__images .img-placeholder {
  flex: 1;
  aspect-ratio: 4/3;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 13px;
  border: 1px solid var(--border);
}
.service-section__text {
  font-size: 14px;
  line-height: 2;
  color: #444;
}
.service-section__subtitle {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0 8px;
}

/* ========== Works Page ========== */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.works-item {
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.works-item__img {
  aspect-ratio: 4/3;
  background: var(--gray-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 12px;
}
.works-item__info { padding: 12px; }
.works-item__title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.works-item__date { font-size: 11px; color: var(--gray-text); }
.works-item a { display: block; color: inherit; }
.works-item a:hover { opacity: 0.8; }

/* ========== Works Detail Page ========== */
.works-detail__date {
  font-size: 13px;
  color: var(--gray-text);
  margin-bottom: 4px;
}
.works-detail__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}
.works-detail__photos { margin-bottom: 40px; }
.works-detail__photo-main {
  margin-bottom: 12px;
}
.works-detail__photo-main .img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 14px;
}
.works-detail__photo-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.works-detail__photo-thumbs .img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 12px;
}
.works-detail__info { margin-bottom: 40px; }
.works-detail__info-title {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0;
}
.works-detail__table { width: 100%; }
.works-detail__table th,
.works-detail__table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
  text-align: left;
}
.works-detail__table th {
  width: 140px;
  font-weight: 600;
  background: var(--gray-bg);
  white-space: nowrap;
}
.works-detail__desc { margin-bottom: 48px; }
.works-detail__desc-title {
  font-size: 18px;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 20px;
}
.works-detail__desc p {
  font-size: 14px;
  line-height: 2;
  color: #444;
}
.works-detail__back {
  text-align: center;
  padding: 20px 0;
}
.works-detail__back a {
  display: inline-block;
  padding: 14px 40px;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}
.works-detail__back a:hover {
  background: var(--navy);
  color: var(--white);
}

/* ========== Company Page ========== */
.company-visual {
  background: var(--navy);
  color: var(--white);
  padding: 40px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: center;
}
.company-visual__catch {
  font-family: "Georgia", serif;
  font-style: italic;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 8px;
}
.company-visual__text {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.company-table { margin-bottom: 56px; }
.company-table__title {
  font-size: 22px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0;
}
.company-table table { width: 100%; }
.company-table th,
.company-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  vertical-align: top;
  text-align: left;
}
.company-table th {
  width: 180px;
  font-weight: 600;
  background: var(--gray-bg);
  white-space: nowrap;
}

.history { margin-bottom: 56px; }
.history__title {
  font-size: 22px;
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 2px solid var(--navy);
  margin-bottom: 0;
}
.history__item {
  padding: 20px 20px 20px 0;
  border-bottom: 1px solid var(--border);
}
.history__date { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.history__desc { font-size: 14px; color: #444; }

/* ========== License Page ========== */
.license-section { margin-bottom: 48px; }
.license-section__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid var(--navy);
}
.license-section__content {
  padding: 24px;
  background: var(--gray-bg);
  border-radius: 4px;
  text-align: center;
}
.license-section__number {
  font-size: 14px;
  color: var(--gray-text);
  margin-top: 8px;
}
.license-placeholder {
  width: 300px;
  height: 400px;
  background: var(--white);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-text);
  font-size: 13px;
}

/* ========== Contact Page ========== */
.contact-intro {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 32px;
}
.contact-form__row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.contact-form__label {
  width: 200px;
  font-size: 14px;
  font-weight: 600;
  padding-top: 8px;
  flex-shrink: 0;
}
.contact-form__label .required {
  color: #c00;
  font-size: 12px;
  margin-left: 4px;
}
.contact-form__input { flex: 1; }
.contact-form__input input,
.contact-form__input select,
.contact-form__input textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.contact-form__input input:focus,
.contact-form__input select:focus,
.contact-form__input textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.contact-form__input textarea { min-height: 160px; resize: vertical; }
.contact-form__input .note { font-size: 11px; color: var(--gray-text); margin-top: 4px; }
.contact-form__submit {
  text-align: center;
  padding: 40px 0;
}
.contact-form__submit button {
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 16px 64px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.3s;
}
.contact-form__submit button:hover { opacity: 0.8; }

/* ========== Footer ========== */
.footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border);
  color: #333;
}
.footer__info {
  text-align: center;
  padding: 48px 20px 24px;
}
.footer__logo img {
  height: 50px;
  margin: 0 auto 16px;
}
.footer__company { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.footer__contact {
  font-size: 14px;
  margin-bottom: 4px;
}
.footer__contact--tel { font-size: 18px; font-weight: 700; }
.footer__address { font-size: 13px; color: #555; margin-bottom: 4px; }
.footer__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 24px 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.footer__nav a {
  font-size: 13px;
  color: #444;
  transition: color 0.3s;
}
.footer__nav a:hover { color: #000; }
.footer__copy {
  text-align: center;
  padding: 16px 20px 24px;
  font-size: 12px;
  font-family: "Georgia", serif;
  font-style: italic;
  color: #777;
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  line-height: 48px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { opacity: 0.8; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header__nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .hero__title { font-size: 26px; }
  .hero__content { padding: 60px 24px; }
  .pickup__cards { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form__row { flex-direction: column; }
  .contact-form__label { width: auto; padding-bottom: 8px; }
  .company-table th { width: 120px; }
  .works-top__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 600px) {
  .header__tel { font-size: 16px; }
  .hero__title { font-size: 22px; }
  .hero { min-height: 380px; }
  .section { padding: 56px 0; }
  .cta-banner__tel { font-size: 24px; }
  .works-grid { grid-template-columns: 1fr; }
  .service-section__images { flex-direction: column; }
}
