/* ===== ベース ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: #333;
  font-family: "Lato", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

/* ===== ヘッダー（固定） ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.6);
}

.header__logo img {
  width: 300px;
  height: 30px;
}

/* ===== レイアウト ===== */
.main {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 920px; /* 内容幅 880px + 左右余白 20px */
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin: 80px 0 100px;
}

.section--last {
  margin-bottom: 106px;
}

.section__title {
  margin-bottom: 15px;
  font-family: "Lato", sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: #000;
}

/* Company 見出しだけ黒→グレーのグラデーション文字 */
.section__title--gradient {
  display: inline-block;
  background: linear-gradient(90deg, #000 0%, #666 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section__subtitle {
  margin-bottom: 60px;
  font-size: 20px;
  line-height: 1;
  color: #777;
}

/* ===== 会社概要テーブル ===== */
.company__row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.company__label {
  flex: 0 0 200px;
  padding: 16px;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #000;
}

.company__value {
  flex: 1 1 auto;
  padding: 30px 16px;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.3;
  color: #000;
}

/* ===== サービス ===== */
.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
}

.service--last {
  margin-bottom: 0;
}

/* 3段目はテキスト幅を見出しが2行に収まる幅にする（元ページは 300px） */
.service--last .service__body {
  width: 400px;
}

.service__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 440px;
}

.service__heading {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #000;
}

.service__desc {
  margin-top: 30px;
  font-size: 16px;
  line-height: 1.7;
  color: #777;
}

.service__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 440px;
}

/* ===== ボタン ===== */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 250px;
  height: 56px;
  margin-top: 30px;
  border: 2px solid #0761a3;
  font-size: 20px;
  line-height: 1;
  color: #0761a3;
  transition: opacity 0.2s;
}

.button:hover {
  opacity: 0.7;
}

.button__label {
  padding-bottom: 2px;
}

.button__icon {
  width: 16px;
  height: 16px;
}

.button--contact {
  margin-top: 20px;
}

/* ===== ニュース ===== */
.news__item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  background: #fff;
  transition: opacity 0.2s;
}

.news__item:hover {
  opacity: 0.7;
}

.news__date {
  flex: 0 0 200px;
  padding: 16px;
}

.news__date time {
  display: inline-block;
  padding: 8px;
  border-radius: 2px;
  background: rgba(7, 97, 163, 0.1);
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 12px;
  line-height: 1;
  color: #333;
}

.news__title {
  flex: 1 1 auto;
  padding: 35px 0;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #333;
}

/* ===== 問い合わせ ===== */
.contact__lead {
  font-size: 16px;
  line-height: 1;
  color: #000;
}

/* ===== フッター ===== */
.footer {
  padding: 20px 16px;
  background: #fff;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
  color: #000;
}

/* ===== レスポンシブ ===== */
@media (max-width: 919px) {
  .service {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .service__body,
  .service__visual {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .header__logo img {
    width: 200px;
    height: 20px;
  }

  .section {
    margin: 60px 0 80px;
  }

  .section--last {
    margin-bottom: 100px;
  }

  .section__title {
    font-size: 44px;
  }

  .section__subtitle {
    margin-bottom: 40px;
  }

  .company__row {
    flex-direction: column;
    align-items: stretch;
  }

  .company__label {
    flex-basis: auto;
    padding: 16px 0 0;
  }

  .company__value {
    padding: 8px 0 16px;
  }

  .service__heading {
    font-size: 26px;
  }

  .news__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .news__date {
    flex-basis: auto;
    padding: 16px 0 0;
  }

  .news__title {
    padding: 8px 0 16px;
  }

  .footer__nav {
    justify-content: center;
  }
}

/* ===== プライバシーポリシー（privacy.html） ===== */
.policy {
  width: 100%;
  max-width: 922px; /* 内容幅 882px + 左右余白 20px */
  margin: 0 auto;
  padding: 0 20px;
}

.policy__title {
  margin: 0;
  padding: 51px;
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: #333;
}

.policy__lead {
  font-family: "Inter", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

.policy__body {
  padding-left: 10px;
  font-size: 16px;
  line-height: 1.4;
  color: #333;
}

.policy__body p {
  margin: 10px 0;
}

/* 元ページの空行（空の段落）を再現 */
.policy__space {
  height: 16px;
}

.policy__body ul {
  margin: 0;
  padding-left: 20px;
  list-style: disc;
}

.policy__body li {
  margin: 10px 0;
}

.policy__body li p {
  margin: 0;
}

.policy__body a {
  color: #0761a3;
  text-decoration: underline;
}

.policy__body--dates {
  margin-bottom: 100px;
}

.policy__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0 93px;
}

.policy__badges a {
  display: block;
  padding: 18px 0;
}

.policy__badges img {
  width: 200px;
  height: 64px;
}

.policy__copyright {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  color: #777;
}

@media (max-width: 639px) {
  .policy__title {
    padding: 40px 0;
  }
}
