@charset "utf-8";

/* ===========================
   Reset & Base
=========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
  background: #f4f6f8;
  padding-top: 110px;
}

/* ===========================
   Utilities
=========================== */
.u-fadein {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.5s ease forwards;
}

.u-text-center {
  text-align: center;
}

.u-mb-15 {
  margin-bottom: 15px;
}

.u-mt-20 {
  margin-top: 20px;
}

/* ===========================
   Header
=========================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #f4f6f8;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,.05);
}

.header__top,
.header__bottom {
  display: flex;
  align-items: center;
  padding: 6px 20px;
}

.header__top {
  justify-content: space-between;
}

.header__logo img {
  height: 45px;
  width: auto;
}

.header__contact {
  text-align: right;
  font-size: 1em;
}

.header__bottom {
  border-top: 1px solid rgba(0,0,0,.05);
  position: relative;
}

.header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-left: 15px;
}

.header__link {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: black;
}

.header__link:hover {
  text-decoration: underline;
}

.header__contact-text {
  font-size: 13px;
  color: #666;
}

.header__contact-tel {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.03em;
}

.header__toggle {
  display: none;
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  width: 100%;
  height: 30vw;
  min-height: 180px;
  background: url('img/index.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero__overlay {
  padding-top: 40px;
}

.hero__title {
  font-size: 22px;
  font-weight: bold;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  line-height: 1.6;
}

.hero + .container {
  margin-top: 2px;
  padding-top: 2px;
}

/* FadeIn Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===========================
   Container & Sections
=========================== */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

section {
  background: white;
  margin-bottom: 30px;
  padding: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,.05);
  scroll-margin-top: 110px;
}

h2 {
  border-left: 6px solid #c2e3ff;
  color: #000;
  padding: 10px;
  position: relative;
  font-size: 20px;
}

h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: -6px;
  width: 6px;
  height: 50%;
  background-color: #498ecf;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-bottom: 1px solid #498ecf;
}

/* ===========================
   News Section
=========================== */
.news__list div {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0 12px 25px;
  gap: 15px;
  align-items: flex-start;
}

.news__list div:nth-child(odd) {
  background: #f9f9f9;
}

.news__item dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: bold;
}

.news__item dd {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================
   Company Section
=========================== */
.company__image {
  text-align: center;
  margin-top: 20px;
}

.company__image img {
  max-width: 100%;
  height: auto;
}

/* ===========================
   History Section
=========================== */
.history__list div {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0 12px 25px;
  gap: 15px;
  align-items: flex-start;
}

.history__list div:nth-child(odd) {
  background: #f9f9f9;
}

.history__item dt {
  width: 180px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: bold;
}

.history__item dd {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================
   Philosophy Section
=========================== */
.philosophy__content {
  padding-left: 25px;
}

.philosophy__content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.philosophy__content p.p1 {
  text-indent: 2em;
  font-size: 14px;
}

.philosophy__signature {
  text-align: right;
  margin-top: 20px;
}

.philosophy__signature img {
  max-width: 150px;
  height: auto;
}

/* ===========================
   Service Section
=========================== */
.service__department {
  background: #fff;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,.05);
}

.service__department h3 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #205d9b;
}

.service__department p.description {
  margin-bottom: 15px;
  line-height: 1.8;
  font-size: 15px;
}

.service__department p {
  font-size: 15px;
}

.service__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
}

.service__card {
  flex: 1 1 calc(48% - 20px);
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,.08);
  font-size: 15px;
}

.service__card i {
  margin-bottom: 10px;
  font-size: 1.8em;
}

/* ===========================
   Recruit Section
=========================== */
.recruit__list div {
  display: flex;
  flex-wrap: wrap;
  padding: 8px 0 12px 25px;
  gap: 15px;
  align-items: flex-start;
}

.recruit__list div:nth-child(odd) {
  background: #f9f9f9;
}

.recruit__item dt {
  width: 100px;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: bold;
}

.recruit__item dd {
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
}

/* ===========================
   Access Section
=========================== */
.access__map {
  width: 100%;
  max-width: 950px;
  height: 400px;
  margin: 0 auto 20px auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,.05);
  overflow: hidden;
}

.access__info {
  max-width: 950px;
  margin: 0 auto;
}

.access__info h3 {
  margin: 15px 0 5px;
  font-size: 16px;
  color: #205d9b;
}

.access__info p {
  font-size: 14px;
  margin-bottom: 5px;
  line-height: 1.6;
}

/* ===========================
   Privacy Section
=========================== */
.privacy__intro {
  font-size: 15px;
  margin-bottom: 25px;
}

.privacy__item {
  margin-bottom: 20px;
  padding: 15px 20px;
  background: #f9f9f9;
  border-left: 4px solid #498ecf;
  border-radius: 4px;
}

.privacy__item h3 {
  font-size: 15px;
  font-weight: bold;
  color: #205d9b;
  margin-bottom: 8px;
}

.privacy__item p {
  font-size: 15px;
  margin-bottom: 0;
}

.privacy__contact {
  margin-top: 30px;
  border-top: 1px solid #ddd;
  padding-top: 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.privacy__contact h3 {
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: bold;
  color: #205d9b;
}

.privacy__contact i {
  margin-right: 5px;
  color: #205d9b;
  font-size: 16px;
}

.privacy__contact p {
  margin: 5px 0;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: #f4f6f8;
  color: black;
  text-align: center;
  padding: 20px;
  border-top: 1px solid rgba(0,0,0,.05);
}

/* ===========================
   FontAwesome Colors
=========================== */
.fa-circle { color: #e9e9e9; }
.fa-money-bill-wave { color: #70ff70; }
.fa-plane { color: #70ffff; }
.fa-shipping-fast { color: #7070ff; }
.fa-database { color: #ff70ff; }
.fa-tools { color: #ff7070; }
.fa-wrench { color: #ffff70; }
.fa-check { color: #498ecf; }

/* ===========================
   Responsive (スマホ用)
=========================== */
@media (max-width: 768px) {
  .header__top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 50px;
  }

  .header__toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    margin-left: 0;
  }

  .header__logo img {
    height: 38px;
  }

  .header__contact {
    display: none;
  }

  .header__nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 5px;
    padding: 10px 0;
    background: #f4f6f8;
  }

  .header__nav.active {
    display: flex;
  }

  body {
    padding-top: 80px;
  }

  /* Hero */
  .hero {
    height: 50vw;
    min-height: 180px;
    padding: 0 15px;
  }

  .hero__title {
    font-size: 14px;
    max-width: 80%;
    margin: 0 auto;
  }

  /* Container & Sections */
  .container {
    padding: 20px 15px;
  }

  section {
    padding: 20px 15px;
    scroll-margin-top: 80px;
  }

  h2 {
    font-size: 16px;
  }

  /* News / History / Recruit */
  .history__item dt,
  .news__item dt,
  .recruit__item dt {
    width: 100%;
    margin-bottom: 5px;
    font-size: 15px;
  }

  .history__item dd,
  .news__item dd,
  .recruit__item dd {
    width: 100%;
    font-size: 15px;
  }

  /* Philosophy */
  .philosophy__content {
    padding-left: 25px;
  }

  /* Service */
  .service__department,
  .service__department h3,
  .service__department p {
    font-size: 14px;
  }

  /* Service Cards */
  .service__cards {
    flex-direction: column;
    gap: 15px;
  }

  .service__card {
    flex: 1 1 100%;
  }

  /* Access Map */
  .access__map {
    height: 250px;
  }

  /* Privacy */
  .privacy__intro,
  .privacy__item h3,
  .privacy__item p, {
    font-size: 14px;
  }

  .privacy__contact,
  .privacy__contact i ,
  .privacy__contact h3 {
    font-size: 16px;
  }
}
