/* 共通 */
:root {
  --navy: #1E3A5F;
  --accent: #D94F3D;
  --red: #b83b2b;
  --bg: #F5F7FA;
  --text: #1F2933;
  --muted: #526274;
  --line: #dce3eb;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--text);
  font: 400 16px/1.8 'Noto Sans JP',sans-serif;
  background: white;
}

a {
  color: var(--navy);
  text-underline-offset: 5px;
}

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

button,input,textarea,select {
  font: inherit;
}

button,a,input,textarea,select,summary {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

[hidden] {
  display: none!important;
}

.container {
  width: min(1120px,calc(100% - 40px));
  margin: auto;
}

/* ヘッダー */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 20px;
}

.brand {
  flex-shrink: 0;
}

.brand img {
  width: 143px;
}

#navigation {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

#navigation a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

#navigation a[aria-current] {
  box-shadow: 0 3px var(--red);
}

/* ボタン・共通パーツ */
.button {
  display: inline-block;
  border: 1px solid var(--red);
  background: var(--red);
  color: white;
  padding: 14px 25px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}

.button:hover {
  background: #963021;
  color: white;
}

.button.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.button.outline:hover {
  background: #e9eef4;
}

.button.small {
  padding: 10px 18px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 20px;
}

/* トップ */
.hero {
  background: linear-gradient(120deg,#f5f7fa,#edf3f7);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 25px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(32px,4.1vw,52px);
  line-height: 1.6;
  letter-spacing: .02em;
  margin: 0 0 24px;
  color: var(--navy);
}

.hero h1 span {
  color: var(--red);
}

.hero-copy {
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-note {
  font-size: 13px;
  margin-top: 25px;
}

.hero-art {
  width: 100%;
  max-width: 620px;
  justify-self: center;
}

/* セクション・カード */
.section {
  padding: 68px 0;
}

.section h2 {
  font-size: clamp(24px,3vw,32px);
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 30px;
  letter-spacing: .02em;
}

.section h3 {
  font-size: 19px;
  color: var(--navy);
}

.tint {
  background: var(--bg);
}

.cards {
  display: grid;
  gap: 22px;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  min-width: 0;
}

.card .eyebrow {
  display: block;
  color: var(--red);
  font-size: 23px;
  margin-bottom: 22px;
}

.card h3 {
  margin: 0 0 16px;
}

.card p {
  color: var(--muted);
  margin: 0 0 20px;
}

.text-link {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  margin-top: 10px;
}

/* ご利用の流れ・実績 */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
}

.steps li {
  border-top: 2px solid var(--line);
  padding: 20px 0;
}

.steps span {
  font-size: 28px;
  color: var(--red);
  font-weight: 700;
}

.steps h3 {
  margin: 12px 0;
}

.steps p {
  font-size: 14px;
  color: var(--muted);
}

.stats {
  display: grid;
  gap: 25px;
  text-align: center;
}

.stats strong {
  font-size: 48px;
  color: var(--navy);
  line-height: 1.5;
}

.stats strong span {
  font-size: 18px;
  margin-left: 8px;
}

.notice {
  border-left: 3px solid var(--red);
  padding: 10px 16px;
  background: #fff5f1;
  font-size: 14px;
  color: #743326;
  margin: 20px 0 28px;
}

/* お知らせ */
.news-list article {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.news-list time {
  font-size: 14px;
  color: var(--muted);
  margin-right: 20px;
}

.news-list h3 {
  font-size: 17px;
  margin: 12px 0 0;
}

.news-list p {
  font-size: 14px;
}

.tag {
  font-size: 12px;
  padding: 4px 12px;
  background: #edf1f6;
  color: var(--navy);
  border-radius: 3px;
}

/* お問い合わせ案内 */
.cta {
  background: var(--navy);
  color: white;
  padding: 65px 0;
}

.cta h2 {
  font-size: 32px;
  line-height: 1.6;
  margin: 12px 0;
}

.cta .eyebrow {
  color: #ffb7a9;
}

/* フッター */
footer {
  background: #132943;
  color: #dbe4ee;
  padding: 55px 0 20px;
}

footer a {
  color: white;
  text-decoration: none;
}

footer p {
  font-size: 13px;
}

.footer-brand {
  font-weight: 700;
  font-size: 22px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

footer nav {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
  font-size: 13px;
}

.copyright {
  font-size: 11px;
  margin-top: 35px;
  border-top: 1px solid #40536b;
  padding-top: 20px;
}

.back-top {
  position: fixed;
  bottom: 18px;
  right: 18px;
  background: var(--navy);
  color: white;
  box-shadow: 0 2px 10px #0002;
  border: 1px solid white;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 42px;
  text-decoration: none;
  z-index: 5;
}

/* 下層ページ */
.page-band {
  background: var(--bg);
  padding: 25px 0 40px;
  border-bottom: 1px solid var(--line);
}

.page-band h1 {
  font-size: clamp(27px,4vw,40px);
  color: var(--navy);
  margin: 25px 0 0;
  overflow-wrap: anywhere;
}

.breadcrumbs {
  font-size: 12px;
}

.jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-top: 30px;
}

.jump-links a {
  padding: 12px;
  background: var(--bg);
  font-size: 14px;
}

/* サービス・会社情報 */
.service-grid {
  display: grid;
  gap: 30px;
}

.lead {
  font-size: 20px;
}

.philosophy {
  padding: 35px;
  background: var(--navy);
  color: white;
  border-radius: 6px;
}

.philosophy h3 {
  color: white;
}

.philosophy>p:first-of-type {
  font-size: 25px;
  font-weight: 700;
}

/* 料金表 */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 15px;
}

th,td {
  padding: 18px 15px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}

th {
  background: #eaf0f5;
  width: 32%;
  color: var(--navy);
}

td {
  background: white;
}

.table-wrap {
  overflow-x: auto;
}

/* 送料計算・入力欄 */
.calculator {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.calculator output {
  padding: 20px;
  background: white;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

label>span:not(:last-child),.field>label>span {
  font-size: 12px;
  color: var(--red);
  margin-left: 10px;
}

input:not([type=checkbox]),textarea,select {
  width: 100%;
  padding: 12px;
  border: 1px solid #8290a1;
  border-radius: 3px;
  background: white;
  color: var(--text);
  min-width: 0;
}

small {
  display: block;
  color: var(--muted);
}

.error {
  color: #aa271a;
  font-size: 14px;
  margin: 6px 0 0;
}

.error:empty {
  display: none;
}

[aria-invalid=true] {
  border-color: var(--red)!important;
}

/* アクセス・よくあるご質問 */
.map {
  width: 100%;
  height: 380px;
  border: 0;
  margin-top: 15px;
}

details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
}

details p {
  padding-left: 22px;
}

/* お問い合わせフォーム */
.form-shell {
  max-width: 760px;
  margin: auto;
}

.field {
  margin: 25px 0;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check input {
  margin-top: 8px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.check span {
  font-size: 15px;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

dl dt {
  font-weight: 700;
  color: var(--navy);
  padding-top: 15px;
}

dl dd {
  margin: 4px 0 0;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* ポリシー・表記 */
.prose {
  max-width: 800px;
}

.prose h3 {
  margin-top: 32px;
}

/* アクセシビリティ・メニュー・動き */
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  padding: 10px;
  background: white;
  z-index: 100;
}

.skip:focus {
  top: 10px;
}

.menu-toggle {
  border: 1px solid var(--navy);
  background: white;
  color: var(--navy);
  padding: 8px 12px;
  border-radius: 3px;
}

.reveal {
  opacity: 1;
}

.motion-ready {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s,transform .5s;
}

.motion-ready.visible {
  opacity: 1;
  transform: none;
}

/* レスポンシブ・動きを減らす設定 */
@media(min-width:768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    min-height: 610px;
    gap: 10px;
  }

  .cards,.stats {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

/* ご利用の流れ・実績 */
  .steps {
    grid-template-columns: repeat(4,minmax(0,1fr));
  }

  .service-grid,.footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

/* セクション・カード */
  .section {
    padding: 85px 0;
  }

/* 送料計算・入力欄 */
  .calculator {
    grid-template-columns: 1fr 1fr;
  }

  .calculator button,.calculator output,.calculator>.error {
    grid-column: 1/-1;
  }

  .calculator button {
    justify-self: start;
  }

}

/* レスポンシブ・動きを減らす設定 */
@media(max-width:1023px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 76px;
    padding: 12px 0;
  }

  #navigation {
    width: 100%;
    gap: 16px;
    padding: 12px 0;
  }

  .js-menu #navigation {
    display: none;
  }

  .js-menu #navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .js-menu .menu-toggle {
    display: block!important;
  }

  #navigation a {
    padding: 8px;
  }

  .hero-grid {
    padding-top: 40px;
  }

  .hero-art {
    max-height: 390px;
  }

}

/* レスポンシブ・動きを減らす設定 */
@media(min-width:1024px) {
  .menu-toggle {
    display: none!important;
  }

}

/* レスポンシブ・動きを減らす設定 */
@media(max-width:767px) {
  .hero-grid {
    gap: 10px;
  }

  .hero-art {
    max-height: 310px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-copy {
    font-size: 14px;
  }

  .hero .actions .button {
    padding: 12px 16px;
    font-size: 14px;
  }

  th,td {
    padding: 14px 10px;
    font-size: 14px;
  }

  th {
    width: 34%;
  }

/* セクション・カード */
  .section {
    padding: 52px 0;
  }

  .cta h2 {
    font-size: 27px;
  }

}

/* レスポンシブ・動きを減らす設定 */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    transition: none!important;
    animation: none!important;
  }

  .motion-ready {
    opacity: 1;
    transform: none;
  }

}
