/* =========================================================
   ふくろうの保険Navi 共通シェル
   TOP: https://www.fukurou-navi.com/
   ========================================================= */
:root {
  --fukurou-main: #013377;
  --fukurou-link: #1176d4;
  --fukurou-text: #333;
  --fukurou-footer-bg: #eeeeee;
  --fukurou-container: 1200px;
}

body {
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--fukurou-text);
}

.fukurou-container {
  width: min(calc(100% - 32px), var(--fukurou-container));
  margin-inline: auto;
}

/* SWELL標準ヘッダー/フッターが何らかの理由で出た場合の二重表示防止 */
#header.l-header,
#fix_header.l-fixHeader,
#sp_menu.p-spMenu,
#footer.l-footer {
  display: none !important;
}

/* ---------- HEADER ---------- */
.fukurou-header {
  position: relative;
  z-index: 1000;
  background: var(--fukurou-main);
  color: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.fukurou-header__bar {
  background: #fff;
  color: #000;
  font-size: 12px;
  line-height: 1.2;
}

.fukurou-header__bar p {
  margin: 0;
  padding: 5px 0;
  font-size: 12px;
}

.fukurou-header__inner {
  min-height: 77px;
  display: flex;
  align-items: stretch;
}

.fukurou-header__logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 14px 0;
  margin-right: 20px;
}

.fukurou-header__logo a,
.fukurou-header__logo img {
  display: block;
}

.fukurou-header__logo img {
  width: auto;
  height: 45px;
  max-width: 220px;
  object-fit: contain;
}

.fukurou-header__nav {
  margin-left: auto;
  display: flex;
}

.fukurou-header__nav ul {
  list-style: none;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.fukurou-header__nav li {
  display: flex;
  margin: 0;
  padding: 0;
}

.fukurou-header__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 77px;
  padding: 0 11px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  transition: background-color .2s ease;
}

.fukurou-header__nav a:hover,
.fukurou-header__nav a:focus-visible {
  color: #fff;
  background: rgba(250,250,250,.16);
}

.fukurou-header__menu-button {
  display: none;
}

/* ---------- MOBILE MENU ---------- */
.fukurou-sp-menu {
  display: none;
}

/* ---------- FOOTER ---------- */
.fukurou-footer {
  margin-top: 0;
  background: var(--fukurou-footer-bg);
  color: #000;
  font-size: 15px;
}

.fukurou-footer a {
  color: inherit;
}

.fukurou-footer__main {
  padding: 42px 0 30px;
}

.fukurou-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: 54px;
  align-items: center;
}

.fukurou-footer__logo {
  display: inline-block;
  margin-bottom: 9px;
}

.fukurou-footer__logo img {
  display: block;
  width: 278px;
  max-width: 100%;
  height: auto;
}

.fukurou-footer__company p {
  margin: 8px 0 14px;
  line-height: 1.8;
}

.fukurou-footer__fujitomi,
.fukurou-footer__fujitomi img {
  display: block;
}

.fukurou-footer__fujitomi img {
  width: 160px;
  height: auto;
}

.fukurou-footer__contact {
  text-align: center;
}

.fukurou-footer__tel {
  margin: 0 0 12px;
  padding: 14px 12px;
  border: 1px dashed #c8c8c8;
  background: rgba(255,255,255,.55);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
}

.fukurou-footer__tel span {
  display: inline-block;
  background: linear-gradient(transparent 60%, #b7e3ff 60%);
}

.fukurou-footer__tel a {
  color: #3d79d5;
  text-decoration: none;
}

.fukurou-footer__mail {
  margin: 8px 0 17px;
}

.fukurou-footer__mail a {
  color: var(--fukurou-link);
  text-decoration: none;
}

.fukurou-footer__contact-button {
  display: block;
  width: min(100%, 440px);
  margin-inline: auto;
  padding: 14px 20px;
  border-radius: 80px;
  background: var(--fukurou-main);
  box-shadow: 0 2px 4px rgba(0,0,0,.18);
  color: #fff !important;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  transition: opacity .2s ease, transform .2s ease;
}

.fukurou-footer__contact-button:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.fukurou-footer__bottom {
  border-top: 1px solid #d9d9d9;
  padding: 18px 0 16px;
}

.fukurou-footer__nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 0;
  margin: 0 0 13px;
}

.fukurou-footer__nav li {
  margin: 0;
  padding: 0;
}

.fukurou-footer__nav li + li::before {
  content: "|";
  margin: 0 10px;
  color: #999;
}

.fukurou-footer__nav a {
  font-size: 13px;
  text-decoration: none;
}

.fukurou-footer__nav a:hover {
  text-decoration: underline;
}

.fukurou-footer__copyright {
  margin: 0;
  text-align: center;
  font-size: 12px;
}

.fukurou-sp-only {
  display: none;
}

/* ---------- SWELL本文のTOP寄せ ---------- */
:root {
  --color_main: #013377;
  --color_link: #1176d4;
  --color_htag: #013377;
  --color_header_bg: #013377;
  --color_header_text: #ffffff;
  --color_footer_bg: #eeeeee;
  --color_footer_text: #000000;
  --container_size: 1200px;
  --article_size: 900px;
}

.post_content h2:where(:not([class^="swell-block-"]):not(.faq_q):not(.p-postList__title)) {
  border-left: solid 8px #013377;
  padding: .75em 1em;
  background: linear-gradient(135deg, transparent 25%, rgba(1,64,149,.05) 25%, rgba(1,64,149,.05) 50%, transparent 50%, transparent 75%, rgba(1,64,149,.05) 75%);
  background-size: 4px 4px;
}

/* ---------- TABLET / MOBILE ---------- */
@media (max-width: 1100px) {
  .fukurou-header__nav a {
    padding-inline: 7px;
    font-size: 12.5px;
  }
}

@media (max-width: 959px) {
  .fukurou-container {
    width: min(calc(100% - 28px), var(--fukurou-container));
  }

  .fukurou-header__bar {
    display: none;
  }

  .fukurou-header__inner {
    position: relative;
    min-height: 64px;
    justify-content: center;
    align-items: center;
  }

  .fukurou-header__logo {
    margin: 0;
    padding: 8px 0;
  }

  .fukurou-header__logo img {
    height: 48px;
    max-width: min(54vw, 225px);
  }

  .fukurou-header__nav {
    display: none;
  }

  .fukurou-header__menu-button {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .fukurou-header__menu-button span {
    display: block;
    width: 24px;
    height: 1px;
    background: #fff;
  }

  .fukurou-sp-menu {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: block;
    pointer-events: none;
    visibility: hidden;
  }

  .fukurou-sp-menu__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(0,0,0,.6);
    opacity: 0;
    transition: opacity .25s ease;
  }

  .fukurou-sp-menu__panel {
    position: relative;
    z-index: 2;
    width: min(88vw, 390px);
    height: 100%;
    overflow-y: auto;
    background: #fdfdfd;
    color: #333;
    transform: translateX(-102%);
    transition: transform .25s ease;
  }

  .fukurou-sp-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    background: #013377;
    color: #fff;
  }

  .fukurou-sp-menu__close {
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
  }

  .fukurou-sp-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .fukurou-sp-menu li {
    margin: 0;
    border-bottom: 1px solid #e6e6e6;
  }

  .fukurou-sp-menu li a {
    position: relative;
    display: block;
    padding: 15px 42px 15px 22px;
    color: #333;
    text-decoration: none;
  }

  .fukurou-sp-menu li a::after {
    content: "›";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #013377;
    font-size: 22px;
  }

  .fukurou-menu-open {
    overflow: hidden;
  }

  .fukurou-menu-open .fukurou-sp-menu {
    pointer-events: auto;
    visibility: visible;
  }

  .fukurou-menu-open .fukurou-sp-menu__overlay {
    opacity: 1;
  }

  .fukurou-menu-open .fukurou-sp-menu__panel {
    transform: translateX(0);
  }

  .fukurou-footer__main {
    padding: 32px 0 24px;
  }

  .fukurou-footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .fukurou-footer__company,
  .fukurou-footer__contact {
    text-align: center;
  }

  .fukurou-footer__logo img,
  .fukurou-footer__fujitomi img {
    margin-inline: auto;
  }

  .fukurou-footer__tel {
    font-size: 17px;
  }
}

@media (max-width: 599px) {
  .fukurou-footer {
    font-size: 14px;
  }

  .fukurou-footer__company p {
    line-height: 1.7;
  }

  .fukurou-footer__tel b {
    display: none;
  }

  .fukurou-footer__tel span:nth-of-type(2)::before {
    content: "";
    display: block;
  }

  .fukurou-footer__contact-button {
    font-size: 17px;
    padding: 13px 16px;
  }

  .fukurou-footer__nav ul {
    display: block;
    text-align: center;
  }

  .fukurou-footer__nav li + li::before {
    display: none;
  }

  .fukurou-footer__nav li {
    margin: 6px 0;
  }

  .fukurou-sp-only {
    display: block;
  }
}
