@charset "UTF-8";

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: #171717;
  background: #f3f3f3;
  font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.7;
}

a { color: inherit; }

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

.page {
  width: min(1180px, 100%);
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.08);
}

.site-header {
  padding: 28px 48px 0;
  background: #fff;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.brand {
  text-decoration: none;
  line-height: 1.25;
}

.brand-sub {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-title {
  display: block;
  margin-top: 4px;
  font-size: 74px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.header-info {
  flex: 0 0 360px;
  text-align: left;
  font-size: 17px;
  line-height: 1.45;
}

.phone-group {
  display: grid;
  gap: 8px;
}

.header-phone {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: baseline;
  gap: 12px;
  color: #167125;
  text-decoration: none;
}

.phone-label {
  font-size: 15px;
  font-weight: 800;
  color: #333333;
}

.phone-number {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.fax {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
}

.header-address {
  margin-top: 6px;
  font-size: 16px;
}

.global-nav { margin-top: 28px; }

.global-nav ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav li { border-left: 1px solid #d5d5d5; }
.global-nav li:last-child { border-right: 1px solid #d5d5d5; }

.global-nav a {
  position: relative;
  display: block;
  padding: 17px 8px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a.current { color: #167125; }

.global-nav a.current::after {
  content: "";
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 5px;
  height: 4px;
  background: #2a8b3a;
}

.hero-poster {
  margin: 20px 16px 0;
  overflow: hidden;
  background: #ffeb00;
}

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

.section { margin: 0 48px; }

.news-section { padding: 38px 0 16px; }

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title-row h2,
.access-section h2 {
  margin: 0;
  padding-left: 14px;
  font-size: 25px;
  border-left: 4px solid #16832b;
}

.section-title-row a {
  color: #167125;
  font-weight: 700;
  text-decoration: none;
}

.news-list {
  margin-top: 14px;
  border-top: 1px solid #dcdcdc;
}

.news-list article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  padding: 17px 15px;
  border-bottom: 1px solid #dedede;
}

.news-list time { color: #3c3c3c; }
.news-list p { margin: 0; }

.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 18px 0 34px;
}

.link-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 70px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  color: #167125;
  border: 1px solid #2a8b3a;
  border-radius: 4px;
  text-decoration: none;
  transition: 0.2s ease;
}

.link-card:hover {
  background: #f3faf4;
  transform: translateY(-2px);
}

.card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #258235;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.card-icon.building {
  border-radius: 6px;
  font-size: 38px;
}

.card-text {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.45;
}

.card-arrow {
  font-size: 28px;
  line-height: 1;
}

.access-section {
  margin: 0;
  padding: 42px 48px;
  background: #f7faf7;
  border-top: 1px solid #d9e5da;
}

.access-section > p {
  margin: 22px 0;
  font-size: 17px;
}

.access-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.access-box > div {
  padding: 24px;
  background: #fff;
  border: 1px solid #d6e2d7;
}

.access-box h3 {
  margin: 0 0 12px;
  color: #167125;
}

.access-box p { margin: 0; }

.contact-number a {
  color: #167125;
  font-size: 28px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  padding: 30px 24px 26px;
  text-align: center;
  border-top: 2px solid #207b2e;
  background: #fff;
  font-size: 15px;
}

.site-footer p { margin: 4px 0; }

.footer-name {
  font-size: 18px;
  font-weight: 800;
}

.copyright {
  margin-top: 14px !important;
  color: #555;
  font-size: 13px;
}

@media (max-width: 820px) {
  body { background: #fff; }

  .site-header { padding: 20px 20px 0; }

  .header-main { display: block; }

  .brand-sub { font-size: 15px; }
  .brand-title { font-size: 38px; }

  .header-info {
    margin-top: 12px;
    font-size: 14px;
  }

  .header-phone { font-size: 25px; }
  .header-address { font-size: 13px; }

  .global-nav {
    overflow-x: auto;
    margin: 18px -20px 0;
  }

  .global-nav ul {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .global-nav li { min-width: 165px; }

  .global-nav a {
    padding: 14px 10px;
    white-space: nowrap;
  }

  .hero-poster { margin: 12px 0 0; }
  .section { margin: 0 20px; }

  .link-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .access-section {
    margin: 0;
    padding: 34px 20px;
  }

  .access-box { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .brand-title { font-size: 32px; }
  .header-phone { font-size: 22px; }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .section-title-row { align-items: flex-end; }

  .section-title-row h2,
  .access-section h2 { font-size: 22px; }

  .section-title-row a { font-size: 13px; }

  .link-card { min-height: 96px; }
}

.contact-label { margin-top: 4px !important; color:#555; font-size:14px; font-weight:700; }
.contact-label.second { margin-top:14px !important; }
.contact-fax { margin-top:14px !important; font-weight:700; }
@media (max-width: 900px) {
  .brand-title { font-size: 50px; }
  .header-info { width:100%; margin-top:18px; }
  .header-phone { grid-template-columns:140px 1fr; }
  .phone-number { font-size:25px; }
}
@media (max-width:560px) {
  .brand-title { font-size:42px; }
  .header-phone { grid-template-columns:1fr; gap:0; }
  .phone-label { font-size:13px; }
  .phone-number { font-size:24px; }
}


.single-phone {
  margin-top: 16px;
}

.single-phone .header-phone {
  grid-template-columns: 150px 1fr;
}

.single-phone .phone-label {
  font-size: 17px;
}

.single-phone .phone-number {
  font-size: 34px;
}

@media (max-width: 560px) {
  .single-phone {
    margin-top: 0;
  }

  .single-phone .header-phone {
    grid-template-columns: 1fr;
  }

  .single-phone .phone-number {
    font-size: 28px;
  }
}
