/* =========================================================
   Duskin Yoshii Service Master — theme layer on top of Bootstrap 5
   Loaded after bootstrap.min.css. Only contains:
     1) brand color overrides for Bootstrap classes we use
     2) small components Bootstrap doesn't provide
   ========================================================= */

/* ---------- Brand variables ---------- */
@media (min-width: 0px) {
    .brand-nav-bar .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}
@media (min-width: 1400px) {
    .brand-nav-bar .container {
        max-width: 1320px;
    }
}
:root {
  --color-brand: #169cff;
  --color-brand-dark: #0a73bd;
  --color-brand-light: #c5e8fd;
  --color-brand-lighter: #e8f4fc;
  --color-accent: #f74665;
  --bs-secondary-rgb: #000;

  --font-base: "udkakugolarge", "Roboto", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;

  /* Phone numbers use Avenir 85 Heavy (Latin glyphs) like the original site,
     falling back to the base family for the "TEL：" Japanese characters. */
  --font-phone: "Avenir LT W01 85 Heavy", var(--font-base);
}
@media (max-width: 767px) {
  :root {
    --font-base: "udkakugolarge", "MS Gothic", "Roboto", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN",
      "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  }
}

.c-py-30px{
  padding-block: 30px;
}
.c-fs-13px{
  font-size: 13px;
  line-height: 1.7;
}
.c-fs-18px{
  font-size: 18px;
}
.c-fs-11px{
  font-size: 11px;
  line-height: 1.7;
}
.c-fs-10px{
  font-size: 10px;
  line-height: 1.7;
}
.c-color-dark1{
  color: rgb(45, 45, 49);
}

/* ---------- Typography tokens (exact match to the resource home page) ----------
   Mirror the Wix font_N tokens from the original site (size/weight/line-height):
   font_2 32/400/1.4, font_3 26/700/1.4, font_4 22/700/1.4, font_5 20/400/1.4,
   font_6 50/700/1.2 (contact phone), font_7 18/400/1.8, font_8 16/400/1.7, font_9 15/400/1.4.
   Used instead of Bootstrap fs/fw/small so rendered sizes match the original. */
.c-font-2{ font-size: 32px; line-height: 1.4; font-weight: 400; }
.c-font-3{ font-size: 26px; line-height: 1.4; font-weight: 700; }
.c-font-4{ font-size: 22px; line-height: 1.4; font-weight: 700; }
.c-font-5{ font-size: 20px; line-height: 1.4; font-weight: 400; }
.c-font-6{ font-size: 50px; line-height: 1.2; font-weight: 700; }
.c-font-7{ font-size: 18px; line-height: 1.8; font-weight: 400; text-align: justify;}
.c-font-8{ font-size: 16px; line-height: 1.7; font-weight: 400; }
.c-font-9{ font-size: 15px; line-height: 1.4; font-weight: 400; }

/* Mobile sizes (from the resource's mobile capture). Each font_N token resizes
   differently depending on context, so these are defaults — sections that the
   resource sized differently (banners, wave-sections, ribbon, footer, etc.)
   override them below with a more specific selector. */
@media (max-width: 768px) {
  .c-font-2{ font-size: 22px; }
  .c-font-3{ font-size: 16px; }
  .c-font-4{ font-size: 16px; }
  .c-font-5{ font-size: 16px; }
  .c-font-6{ font-size: 24px; }
  .c-font-7{ font-size: 13px; }
  .c-font-8{ font-size: 13px; }
}

html {
  scroll-behavior: smooth;
}

.header-topbar__text1{
  font-size:23px;
  line-height: 1.4;
}
.header-topbar__btn1{
  padding-inline: 15px!important;
  font-size: 14px;
}
.header-phone{
  font-size: 24px;
  line-height: 1.2;
  font-family: var(--font-phone);
}
.contact-phone{
  font-family: var(--font-phone);
}

@media (max-width: 768px) {
  .c-btn-mail{
    font-size: 13px;
    letter-spacing: 2px;
    padding-block: 5px!important;
  }
  .c-btn-mail img{width:26px!important;height:26px!important;}

  .header-topbar__text1{
    font-size:18px;
  }

  section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
}

body {
  font-family: var(--font-base);
}

/* Static header: scrolls away with the page (not pinned). z-index keeps the
   nav's mobile dropdown above the content below it. */
header {
  position: static;
  width: 100%;
  z-index: 1030;
}

/* ---------- Bootstrap color overrides ---------- */
.text-primary {
  color: var(--color-brand) !important;
}

.bg-primary {
  background-color: var(--color-brand) !important;
}

.border-primary {
  border-color: var(--color-brand) !important;
}

.bg-info-subtle {
  background-color: var(--color-brand-light) !important;
  color: #000;
}

.btn-primary {
  --bs-btn-bg: var(--color-brand);
  --bs-btn-border-color: var(--color-brand);
  --bs-btn-hover-bg: var(--color-brand-dark);
  --bs-btn-hover-border-color: var(--color-brand-dark);
  --bs-btn-active-bg: var(--color-brand-dark);
  --bs-btn-active-border-color: var(--color-brand-dark);
  --bs-btn-focus-shadow-rgb: 22, 156, 255;
}

.btn-outline-primary {
  --bs-btn-color: var(--color-brand);
  --bs-btn-border-color: var(--color-brand);
  --bs-btn-hover-bg: var(--color-brand);
  --bs-btn-hover-border-color: var(--color-brand);
  --bs-btn-active-bg: var(--color-brand-dark);
  --bs-btn-active-border-color: var(--color-brand-dark);
}

a {
  color: var(--color-brand-dark);
}

a:hover {
  color: var(--color-brand);
}

.navbar-nav .nav-link {
  font-weight: 700;
}

.navbar-nav .nav-link:hover {
  color: var(--color-brand);
}

/* ---------- Floating contact rail (Bootstrap has no fixed icon rail) ---------- */
.float-rail {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1040;
}

.float-rail a,
.float-rail button {
  width: 60px;
  height: 60px;
  border: none;
  transition: 0.3s ease-out;
  border: 1px solid #fff;
}

.float-rail img,
.float-rail svg {
  width: 32px;
  height: 32px;
}

.float-rail .btn-call,
.float-rail .btn-call:hover,
.float-rail .btn-call:active{
  background: var(--color-brand-light);
  color: var(--color-brand);
}

.float-rail .btn-mail,
.float-rail .btn-mail:hover,
.float-rail .btn-mail:active{
  background: var(--color-brand);
}

.float-rail .btn-top,
.float-rail .btn-top:hover,
.float-rail .btn-top:active {
  background: var(--color-brand-dark);
}

.float-rail a:hover,
.float-rail button:hover {
  opacity: 0.8;
}

@media (max-width: 720px) {
  .float-rail {
    display: none !important; /* beat Bootstrap's .d-flex !important on the rail */
  }
}

/* ---------- Mobile fixed contact bar (shown when float-rail is hidden) ---------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-action-bar .mobile-action {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 4px;
  text-decoration: none;
  color: #000;
  font-size: 12px;
  font-weight: 400;
}

.mobile-action-bar .mobile-action + .mobile-action {
  
}

.mobile-action-bar .mobile-action svg {
  width: 28px;
  height: 17px;
  fill: var(--color-accent);
  margin-bottom: 2px;
}

@media (max-width: 720px) {
  .header-brand img{
    height: 25px;
  }
  .mobile-action-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
}

/* ---------- Header ---------- */
.brand-tagline {
  font-size: 12px;
  line-height: 1.4;
}
.hero-caption__title{
  font-size: 45px;
  line-height: 1.4;
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

@media (max-width: 767px) {

  .navbar-toggler{
    border: none!important;
    outline: none!important;
    box-shadow: none!important;
  }
  .navbar-toggler
  .header-topbar {
    border-bottom: 2px solid var(--color-brand);
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
  }

  .header-brand span > span:first-child {
    font-size: 18px !important;
    line-height: 1.4;
  }

  .brand-tagline {
    font-size: 10px;
    line-height: 1.4;
  }

  .header-phone {
    font-size: 0.875rem !important;
  }
}


#flow .card{
  border: 3px solid #82d0ff;
  border-radius: 10px;
}
#flow .card-body{
  padding:20px 22px;
}

@media (max-width: 768px) {
  /* STEP badge stacks above the heading instead of sitting beside it */
  .flow-step-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.icon-invert {
  filter: brightness(0) invert(1);
}

/* ---------- Hero ---------- */
.hero-media {
  height: calc(100vh - 100px);
  min-height: 700px;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
}

/* smoother cross-fade between hero images */
.hero-media.carousel-fade .carousel-item {
  transition: opacity 0.9s ease-in-out;
}

/* keep the carousel chrome clear of the wave divider at the bottom */
.hero-media .carousel-indicators {
  bottom: 80px;
  z-index: 3;
}

.hero-media .carousel-control-prev,
.hero-media .carousel-control-next {
  z-index: 3;
  width: 8%;
}
.border-secondary{
  background-color: #8f8e94;
  border-color: #8f8e94;
}
.hero-caption {
  background: rgba(255, 255, 255, 0.5);
  z-index: 2;
  border: 2px solid #c5e8fd;
  margin-top: -100px;
  padding: 35px 65px;
}


.hero-waves {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  line-height: 0;
  pointer-events: none;
  transform: scaleX(-1);
  z-index: 2;
}

.hero-wave-layer {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 160px;
  border-bottom: 60px solid #fff;
  background-image: url("data:image/svg+xml,%3Csvg id='comp-maniuihn-bottom' preserveAspectRatio='none' viewBox='0 100 1920 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E%23comp-maniuihn-bottom %7B fill: %23FFFFFF; %7D%3C/style%3E%3C/defs%3E%3Cg%3E%3Cpath d='M1920 300v-4.067c-455.162 0-690.876-51.203-1082.65-129.288C490.044 97.423 0 100.013 0 100.013V300h1920z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left 50% bottom;
  background-size: 100% 100%;
}

.hero-wave-layer[data-divider-layer="1"] {
  opacity: 1;
  bottom: 0px;
}

.hero-wave-layer[data-divider-layer="2"] {
  opacity: 0.5;
  bottom: 20px;
}

.hero-wave-layer[data-divider-layer="3"] {
  opacity: 0.333;
  bottom: 40px;
}
.hero-wave-layer[data-divider-layer="4"] {
  opacity: 0.13;
  bottom: 60px;
}

@media (max-width: 720px) {
  .hero-waves {
    height: 80px;
    margin-bottom: -35px
  }
  .hero-wave-layer {
    height: 80px;
  }
  .hero-wave-layer[data-divider-layer="1"] {
    bottom: 0px;
  }

  .hero-wave-layer[data-divider-layer="2"] {
    bottom: 10px;
    display:none;
  }

  .hero-wave-layer[data-divider-layer="3"] {
    bottom: 20px;
     display:none;
  }
  .hero-wave-layer[data-divider-layer="4"] {
    bottom: 30px;
     display:none;
  }

  .hero-media {
    height: 280px;
    min-height:280px;
  }

  .hero-caption {
    max-width: 100%;
    width: 85%;
    max-width: 280px;
    padding: 1rem !important;
    text-align: center;
    border-radius: 10px !important;
    margin-top: -40px;
  }

  .hero-caption h1 {
    font-size: 22px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    margin-bottom: 15px !important;
  }

  
}

/* ---------- Intro overlap card (photo + text card peeking over the bottom edge) ---------- */
.intro-card {
  max-width: 900px;
  padding: 40px;
}
.intro-card-text {
  margin: -1.5rem 10px 0;
  padding: 30px 20px;
  position: relative;
  border: 2px solid #c5e8fd;
  background: rgba(255, 255, 255, 0.75);
  /* resource font_7: 18px / 400 / 1.8 */
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
  color: rgb(45, 45, 49);
  text-align: justify;
}
@media (max-width: 768px) {
  .intro-card {
    padding: 12px;
    margin-bottom: 18px!important;
  }
  .intro-card-text{
    padding: 20px 20px 15px 20px;
  }
  .intro-wave {
    width: 60px;
  }
}


@media (min-width: 768px) {
  .section-banner{
    margin-left: 80px;
    margin-right: 80px;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .intro-card-text {
    margin-left: 85px;
    margin-right: 85px;
  }
}

@media (max-width: 768px) {
  .intro-card-text {
    font-size: 13px;
  }
}

/* ---------- Section banner (full-width solid color title strip) ---------- */
/* "Tiny check" (タイニーチェック) texture over the brand color — the exact AVIF
   extracted from the Wix resource's --sf-img-33, applied the same way Wix did
   (cover, centered, no-repeat). The .bg-primary blue shows through its gaps. */
.section-banner {
  background-image: url("../images/shapes/tiny-check.avif");
  background-position: center;
  background-repeat: repeat-x;
  background-size: auto 100%;
}

.section-banner img.icon-invert {
  width: 90px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .section-banner {
    padding: 1.62rem 0 !important;
  }

  .section-banner img.icon-invert {
    width: 60px;
  }

  .section-banner p,
  .section-banner h2 {
    font-size: 22px !important;
    margin-bottom: 0.5rem !important;
  }
}

/* ---------- Service area (対応エリア ribbon + prefecture silhouette) ---------- */
.area-badge {
  padding: 12px 40px;
  clip-path: polygon(100% 0%, 97% 50%, 100% 100%, 0% 100%, 3% 50%, 0% 0%);
      min-width: 560px;
}

@media(max-width:768px){
  .area-badge {
    min-width: 300px;
    padding: 12px 20px;
    font-size: 18px;
  }
}

.area-map {
  max-width: 600px;
  min-height: 380px;
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
}

.area-map-bg {
  width: 340px;
  opacity: 0.8;
  z-index: 0;
}
@media (max-width: 768px) {
  .area-map{
    padding:0;
    min-height: 245px;
  }
  .area-map-bg {
    width: 190px;
  }
}

/* ---------- Service icons (サービス一覧) ---------- */
.service-icon {
  width: 270px;
  max-width: 90%;
}

.service-icon-label {
  display: block;
  border-radius: 0.375rem;
  width: 350px;
  max-width: 100%;
  background: #0A71BD;
  padding: 1rem 0;
  font-size: 18px;
  font-weight: 400;
  padding-block: 13px;
}

/* Whole card (icon + label) is one clickable button. Hover feedback applies
   to the entire anchor so the image reads as clickable, not just the label. */
.service-link {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.service-link:hover .service-icon-label{
  background: rgba(10, 113, 189, 0.7);
  border-color: rgba(10, 113, 189, 0.7);
}

.service-link .service-icon-label {
  transition: background 0.2s ease;
}


@media (max-width:768px) {
  .service-icon-label {
    width: 250px;
    padding-block: 9px;
    font-size: 14px;
  }
}

/* ---------- LINE / Instagram QR codes (会社概要) ---------- */
.social-card {
  
}

.social-qr {
  width: 180px;
}

/* Dotted underline used below plain sub-section headings */
.heading-dots {
  width: 90px;
  border-top: 4px dotted var(--color-brand);
  margin: 0.5rem auto 0;
}

.heading-dots-start {
  width: 320px;
  max-width: 90%;
  margin: 0.5rem auto 0;
}

/* ---------- Wave-edged section background (エアコンクリーニング detail) ---------- */
.wave-section {
  background: var(--color-brand-lighter);
  padding: 90px 0;
}

.wave-cut {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg id='comp-maniuihn-bottom' preserveAspectRatio='none' viewBox='0 100 1920 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cstyle%3E%23comp-maniuihn-bottom %7B fill: %23FFFFFF; %7D%3C/style%3E%3C/defs%3E%3Cg%3E%3Cpath d='M1920 300v-4.067c-455.162 0-690.876-51.203-1082.65-129.288C490.044 97.423 0 100.013 0 100.013V300h1920z'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left 50% bottom;
  background-size: 100% 100%;
}

.wave-cut-top {
  top: 0;
  transform: scaleY(-1);
}

.wave-cut-bottom {
  bottom: 0;
  transform: scaleX(-1);
}

@media (max-width: 720px) {
  .heading-dots-start {
    width: 130px;
  }

  .wave-section {
    padding: 30px 0;
  }

  .wave-section h2 {
    font-size: 20px;
  }

  .wave-cut {
    height: 40px;
  }
}

/* ---------- Pricing ribbon ---------- */
.ribbon {
  display: block;
  text-align: center;
  padding: 14px 56px;
  clip-path: polygon(100% 0%, 97% 50%, 100% 100%, 0% 100%, 3% 50%, 0% 0%);
}
.ribbon-1{
  max-width:560px;
  margin-inline:auto;
}

@media(max-width:768px){
  .contact-card{
    margin-top:20px!important;
  }
  .container {
    --bs-gutter-x: 2.25rem;
  }
  /* g-5 rows use a 3rem gutter (-24px side margins), which exceeds the
     container's 18px mobile padding and pokes ~6px past the viewport,
     causing a horizontal scrollbar. Cap the horizontal gutter on mobile
     (columns are stacked here, so it's not visible); vertical spacing
     (--bs-gutter-y) is left at 3rem. */
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
  .ribbon {
    padding: 14px 20px;
    margin-left: 0.75em;
    margin-right:0.75em;
  }

  .ribbon strong {
    font-size: 18px;
  }

  .ribbon small {
    font-size: 15px;
  }
}
@media(max-width:768px){
  .ribbon-1{
    max-width:100%;
  }
}
.table-responsive-1{
  max-width: 870px;
}
.table-responsive-1 td,  .table-responsive-1 th{
  border-bottom: 2px dashed #cecece;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

@media (max-width: 768px) {
  /* stack label above value instead of two table columns (company info table only) */
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100% !important;
  }

  .info-table th {
    border-bottom: 0;
    padding-bottom: 0.25rem;
    font-weight: 400;
  }

  .info-table td {
    padding-top: 0;
  }
}

/* ---------- Pricing notes list ---------- */
.note-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 14px;
  color: #333;
  /* resource font_9 at 14px / 400 / 1.4 */
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
}

@media (max-width: 768px) {
  .note-list li {
    font-size: 12px;
  }
}

.note-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-brand);
}

/* ---------- Flow step badge ---------- */
.flow-step-badge {
  background: #1a1a1a;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.4rem 0.5rem 0.4rem 1rem;
}

.flow-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #fff;
  color: var(--color-brand);
  font-size: 1.5rem;
  color: #0A71BD;
  font-family: 'Courier New', Courier, monospace;
  line-height: 1;
  font-weight: bold;
}
@media (max-width:768px) {
  .flow-step-number {
    width: 22px;
    height: 22px;0
    font-size: 20px;
    
  }
}


/* ---------- Round cropped photo (house cleaning) ---------- */
.round-photo {
  width: 280px;
  height: 280px;
  max-width: 100%;
  overflow: hidden;
  flex: none;
}

.round-photo img {
  height: 100%;
  object-fit: cover;
}
.table tr td{color:rgb(45, 45, 49);}
/* ---------- Contact section wave background ---------- */
.contact-wave {
  background:  url(../images/bg1.avif) no-repeat left -1px bottom -1px;
  background-size: calc(100% + 3px) auto;
  min-height: 520px;
  padding: 3rem 0;
}
@media (max-width:768px) {
  .round-photo{
    width: 200px;
    height: 200px;
  }
  .contact-wave {
    background-color: #fff;
    background-size: auto 100%;
    background-position: center bottom -50px;
    min-height: auto;
    padding: 1.5rem 0;
  }
}

.contact-card {
  max-width: 920px;
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.6);
  background: rgba(255, 255, 255, 0.80);
  margin-top: 45px;
}

/* resource overrides this note's line-height to 1.6em (font_9 base is 1.4em) */
.contact-card .c-font-9 {
  line-height: 1.6;
}

@media (max-width: 768px) {
  .contact-card .c-font-9 {
    font-size: 13px;
  }
}

/* ---------- Contact form (Wix-style underline fields) ---------- */
.contact-form .form-label {
  font-weight: 400;
  color: #2d2d31;
}

/* red required marker shown after each field label */
.contact-form .form-required {
  color: var(--color-accent);
  font-weight: 700;
}

/* fields are a single bottom line rather than a boxed control */
.contact-form .form-control {
  border: 0;
  border-bottom: 1px solid #2d2d31;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  background: transparent;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--color-brand);
}

.contact-form .form-control::placeholder {
  color: #b0b0b0;
}

.contact-phone,
.header-phone {
  color: var(--color-accent);
}

/* ---------- News "all articles" link (plain text, not a button) ---------- */
.news-all-nav {
  padding-block: 0px;
  margin-bottom: 20px;
}
.news-empty{
  min-height:50vh;
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.news-all-link {
  color: var(--color-brand-dark);
  font-size: 16px;
  text-decoration: none;
}

.news-all-link:hover {
  color: var(--color-brand);
  text-decoration: underline;
}

/* ---------- News empty state (お知らせ, matches the resource's blog empty state) ---------- */
.news-empty__title {
  font-size: 32px;
  line-height: 1.5;
  font-weight: 700;
}

.news-empty__text {
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .news-empty__title {
    font-size: 24px;
    line-height: 1.4;
  }
}


footer .bg-primary {
  font-family: "udkakugolarge", "MS Gothic", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
}

/* resource overrides the address paragraph's line-height to 1.6em (font_9 base is 1.4em) */
footer .bg-primary .c-font-9 {
  line-height: 1.6;
}

/* resource copyright line is font_9 at 13px/1.4, but overrides font-family on the
   innermost span to Meiryo/Hiragino — no udkakugolarge, no MS Gothic fallback */
footer .bg-primary .c-fs-13px {
  line-height: 1.4;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
}

@media (max-width: 768px) {
  footer .bg-primary h2 {
    font-size: 18px;
  }

  footer .bg-primary .c-font-9 {
    font-size: 11px;
  }

  footer .bg-primary .c-fs-13px {
    font-size: 10px;
  }
}

/* ---------- Full-width nav bar (used by both the header nav and footer nav) ---------- */
.brand-nav-bar {
  background: var(--color-brand-light);
}

.brand-nav-bar .nav-link {
  color: #2d2d31;
  font-weight: 400;
  text-align: center;
  padding: 0.66rem 0.5rem;
  border-right: 1px solid rgb(0 157 250);
  transition: 0.23s ease-out;
  font-size: 15px;
}

.brand-nav-bar .nav-item:last-child .nav-link {
  border-right: 0;
}

.brand-nav-bar .nav-link.active {
  background: var(--color-brand-dark);
  color: #fff;
}

.brand-nav-bar .nav-link:hover {
  background: #fff;
  color: #2d2d31;
}

/* Mobile dropdown version of the header nav: plain white list with a thin
   bottom divider per item, left-aligned, no active highlight or side borders. */
@media (max-width: 767px) {
  .navbar-toggler-icon{
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgba%2845, 45, 49, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
  }
  #mainNav.brand-nav-bar {
    background: #fff;
  }

  #mainNav .nav {
    flex-direction: column;
  }

  #mainNav .nav-item {
    width: 100%;
    font-size: 15px;
  }

  #mainNav .nav-link {
    display: block;
    width: 100%;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--color-brand);
    padding: 0.85rem 0.5rem;
    font-weight: 400;
  }

  #mainNav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }

  #mainNav .nav-link.active,
  #mainNav .nav-link:hover {
    background: transparent;
    color: #2d2d31;
  }
  .mob-pt-0{
    padding-top: 0!important;
  }
  .mob-pb-0{
    padding-bottom: 0!important;
  }
}

/* ---------- Type/photo grid captions ---------- */
.type-grid img,
.photo-grid img {
  height: 160px;
  object-fit: cover;
}


@media(max-width:360px){
    .header-brand span > span:first-child {
      font-size: 17px !important;
    }
    .brand-tagline {
      font-size: 9px;
    }
}