@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/* 下層ページのみ。独自テンプレートのトップページには適用しない。 */
body.page:not(.home):not(.cymbaline-home) {
  --cym-ink: #132d3a;
  --cym-muted: #60737d;
  --cym-blue: #0878c9;
  --cym-blue-dark: #055c9d;
  --cym-line: #dce8ec;
  color: var(--cym-ink);
  background: #f4fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", YuGothic, "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.page:not(.home):not(.cymbaline-home) .header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgb(220 232 236 / .72);
  background: rgb(255 255 255 / .78);
  box-shadow: 0 10px 30px rgb(19 45 58 / .04);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

body.page:not(.home):not(.cymbaline-home).admin-bar .header { top: 32px; }

body.page:not(.home):not(.cymbaline-home) #inner-header {
  display: flex;
  min-height: 76px;
  align-items: center;
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}

body.page:not(.home):not(.cymbaline-home) #logo img {
  width: auto;
  max-height: 46px;
}

body.page:not(.home):not(.cymbaline-home) .header-search {
  border-radius: 999px;
  color: var(--cym-blue-dark);
  background: #eaf7fc;
}

body.page:not(.home):not(.cymbaline-home) #content {
  margin-top: 0;
  padding: clamp(3rem, 6vw, 6rem) 1rem clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 10% 0, rgb(208 242 250 / .58), transparent 34rem),
    linear-gradient(180deg, #f8fcfd, #eef7fa);
}

body.page:not(.home):not(.cymbaline-home) #main {
  float: none;
  width: min(960px, 100%);
  margin-inline: auto;
  padding: 0;
}

body.page:not(.home):not(.cymbaline-home) #sidebar1 { display: none; }

body.page:not(.home):not(.cymbaline-home) #entry {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgb(255 255 255 / .9);
  border-radius: 30px;
  background: rgb(255 255 255 / .9);
  box-shadow: 0 24px 70px rgb(17 61 82 / .11);
}

body.page:not(.home):not(.cymbaline-home) .article-header {
  margin: 0;
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1.4rem, 6vw, 4.5rem) 1rem;
}

body.page:not(.home):not(.cymbaline-home) .breadcrumb {
  margin-bottom: 1.2rem;
  color: var(--cym-muted);
  font-size: .75rem;
}

body.page:not(.home):not(.cymbaline-home) .breadcrumb a {
  color: var(--cym-blue-dark);
  text-decoration: none;
}

body.page:not(.home):not(.cymbaline-home) .page-title {
  margin: 0;
  color: var(--cym-ink);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 740;
  letter-spacing: -.045em;
  line-height: 1.16;
}

body.page:not(.home):not(.cymbaline-home) .entry-content {
  padding: 1rem clamp(1.4rem, 6vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  color: var(--cym-ink);
  font-size: 1rem;
  line-height: 1.9;
}

body.page:not(.home):not(.cymbaline-home) .entry-content h2 {
  margin: 3.5rem 0 1.1rem;
  color: var(--cym-ink);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 720;
  letter-spacing: -.025em;
  line-height: 1.4;
}

body.page:not(.home):not(.cymbaline-home) .entry-content p,
body.page:not(.home):not(.cymbaline-home) .entry-content li { color: #405963; }

body.page:not(.home):not(.cymbaline-home) .entry-content a {
  color: var(--cym-blue-dark);
  text-underline-offset: .18em;
}

body.page:not(.home):not(.cymbaline-home) .article-footer { display: none; }

body.page:not(.home):not(.cymbaline-home) :focus-visible {
  outline: 3px solid #53b8e9;
  outline-offset: 4px;
}

/* 会社概要 */
body.page-id-29 .entry-content > figure:first-child {
  max-width: 500px;
  margin: 0 auto 3rem;
}

body.page-id-29 .wp-block-table {
  overflow: hidden;
  border: 1px solid var(--cym-line);
  border-radius: 18px;
}

body.page-id-29 .wp-block-table table { margin: 0; border: 0; }
body.page-id-29 .wp-block-table tr:last-child > * { border-bottom: 0; }

body.page-id-29 .wp-block-table th,
body.page-id-29 .wp-block-table td {
  padding: 1rem 1.2rem;
  border-width: 0 0 1px;
  border-color: var(--cym-line);
}

body.page-id-29 .wp-block-table td:first-child {
  width: 28%;
  color: var(--cym-muted);
  background: #f6fafb;
  font-size: .82rem;
  font-weight: 700;
}

/* お問い合わせ */
body.page-id-36 .cym-contact {
  --cym-accent: var(--cym-blue);
  --cym-accent-dark: var(--cym-blue-dark);
  --cym-ink: #132d3a;
  --cym-muted: #60737d;
  margin-top: 0;
  border-color: rgb(8 120 201 / .12);
  box-shadow: none;
}

/* プライバシーポリシー */
body.privacy-policy .entry-content > * {
  max-width: 48rem;
  margin-inline: auto;
}

body.privacy-policy .entry-content > p:first-child {
  color: var(--cym-muted);
  font-size: 1.02rem;
}

body.privacy-policy .entry-content h2 {
  padding-top: 1.5rem;
  border-top: 1px solid var(--cym-line);
}

body.page:not(.home):not(.cymbaline-home) .footer {
  color: var(--cym-ink);
  background: rgb(255 255 255 / .88);
  border-top: 1px solid var(--cym-line);
}

body.page:not(.home):not(.cymbaline-home) .footer-menu { padding: 2.8rem 1.25rem; }
body.page:not(.home):not(.cymbaline-home) .footer-menu__btn { color: var(--cym-blue-dark); }
body.page:not(.home):not(.cymbaline-home) .footer-nav a { color: var(--cym-muted); }
body.page:not(.home):not(.cymbaline-home) .footer-nav a:hover { color: var(--cym-blue); }
body.page:not(.home):not(.cymbaline-home) .privacy-policy-link { display: none; }
body.page:not(.home):not(.cymbaline-home) .copyright { color: #7b8e97; }

@media (max-width: 782px) {
  body.page:not(.home):not(.cymbaline-home).admin-bar .header { top: 46px; }
}

@media (max-width: 640px) {
  body.page:not(.home):not(.cymbaline-home) #content {
    padding: 1rem .75rem 3rem;
  }

  body.page:not(.home):not(.cymbaline-home) #entry { border-radius: 22px; }

  body.page:not(.home):not(.cymbaline-home) .article-header {
    padding: 1.6rem 1.2rem .5rem;
  }

  body.page:not(.home):not(.cymbaline-home) .entry-content {
    padding: .75rem 1.2rem 2.8rem;
    line-height: 1.82;
  }

  body.page:not(.home):not(.cymbaline-home) .page-title { font-size: 2rem; }

  body.page-id-29 .wp-block-table td {
    display: block;
    width: 100%;
    padding: .8rem 1rem;
  }

  body.page-id-29 .wp-block-table td:first-child {
    width: 100%;
    border-bottom: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page:not(.home):not(.cymbaline-home) *,
  body.page:not(.home):not(.cymbaline-home) *::before,
  body.page:not(.home):not(.cymbaline-home) *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body.page:not(.home):not(.cymbaline-home) .header,
  body.page:not(.home):not(.cymbaline-home) #entry {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  body.page:not(.home):not(.cymbaline-home) #entry,
  body.page:not(.home):not(.cymbaline-home) .header {
    border-color: var(--cym-ink);
  }
}
