/*
Theme Name: fujishima
*/

:root {
  --color-main-blue: #023681;
  --color-mid-blue: #022962;
  --color-main-red: #BF2C2C;
  --color-main-black: #222222;
  --color-main-gray: #B3B3B3;
  --color-gray: #D0D0D0;
  --color-white: #FFFFFF;
  --color-black: #000;
  --bg-white: #FAFAFA;
}

html,
body {
  width: 100%;
}

body {
  font-size: 16px;
  font-family: 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'MS PMincho', serif;
  color: var(--color-main-black);
  background-color: var(--color-white);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

main {
  margin-top: 80px;
}

h1 {
  font-size: 48px;
}

h2 {
  font-size: 34px;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 28px;
}

img {
  display: block;
  width: 100%;
}

p {
  line-height: 1.438;
}

.container {
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
}

.pc-show {
  display: block !important;
}

.sp-show {
  display: none !important;
}

@media screen and (max-width: 768px) {
  .container {
    max-width: calc(100% - 40px) !important;
    margin: 0 auto;
  }

  .pc-show {
    display: none !important;
  }

  .sp-show {
    display: block !important;
  }

  h2 {
    font-size: 26px;
    margin-bottom: 0;
  }
}

/* ---------------
 *
 *  ヘッダー
 *  
 * --------------- */

header {
  width: 100%;
  background-color: var(--color-white);
  padding: 14px 0 6px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  font-family: 'Hiragino Mincho Pro', 'Hiragino Mincho ProN', 'MS PMincho', serif;
  transition: border-bottom 0.3s ease;
}

header.with-border {
  border-bottom: 1px solid var(--color-main-black);
}

header.scrolled {
  border-bottom: none !important;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  position: relative;
  max-width: 234px;
  height: 60px;
  margin-left: 34px;
  z-index: 9999;
}

header nav {
  display: flex;
}

header nav ul {
  display: flex;
}

header nav ul li {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.nav-menu-sp ul li::after {
  content: "/";
  margin: 0px 12.5px;
  color: var(--color-black);
}

.nav-menu-sp ul li:nth-of-type(7):after {
  content: none;
}

.nav-menu-sp ul li:last-child::after {
  content: "";
  margin: 0;
}

nav ul li:last-child {
  margin-right: 80px;
  margin-left: 32px;
}

header nav ul li a {
  color: var(--color-black);
  font-size: 16px;
  font-weight: normal;
  text-decoration: none;
}

header nav ul li:last-child a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 40px;
  border: 1px solid var(--color-main-blue);
  color: var(--color-main-blue);
  font-size: 16px;
  font-weight: bold;
}


header nav ul li:last-child a:hover {
  background: var(--color-main-blue);
  color: var(--color-white);
}

header nav ul .current a {
  position: relative;
  font-weight: bold;
  color: var(--color-main-blue);
}

header nav ul .current a::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-main-blue);
  position: absolute;
  left: 0;
  bottom: -3px;
}

.hamburger-menu {
  display: none;
  width: 33px;
  height: 24px;
  margin-right: 15px;
  position: relative;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-menu span {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--color-main-black);
  left: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu span:nth-child(1) { top: 0; }
.hamburger-menu span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-menu span:nth-child(3) { bottom: 0; }

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(11.5px) rotate(-35deg);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-11.5px) rotate(35deg);
}

body.is-menu-open {
  overflow: hidden;
}

.nav-privacy {
  display: none;
}

@media screen and (max-width: 768px) {
  header {
    border-bottom: 1px solid var(--color-main-black);
    padding: 10px 0;
    margin-bottom: 20px;
  }
  .logo img {
    height: 40px;
    margin-left: 10px;
  }
  .hamburger-menu {
    display: block;
  }
  header nav ul .current a {
    color: var(--color-main-black);
    font-weight: normal;
  }
  header nav ul .current a::after {
    display: none;
  }
  header nav ul li a {
    width: 100%;
    font-size: 18px;
    padding: 16.5px 16px;
  }
  .nav-menu-sp {
    position: fixed;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
    transition:
      transform 0.5s ease,
      opacity 0.45s ease,
      visibility 0s linear 0.55s;
    z-index: 1002;
    margin-top: 61px;
    padding: 0;
    overflow-y: auto;
  }
  .nav-menu-sp.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition:
      transform 0.35s ease,
      opacity 0.25s ease;
  }
  .nav-menu-sp ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: calc(100% - 48px);
    padding-top: 20px;
    margin: 0 auto;
  }
  .nav-menu-sp ul li {
    position: relative;
    border-bottom: 1px solid #E1E1E1;
    margin: 0;
  }
  .nav-menu-sp ul li:nth-of-type(7):after {
    content: "";
  }
  .nav-menu-sp ul li::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-main-blue);
    border-right: 2px solid var(--color-main-blue);
    transform: translateY(-50%) rotate(45deg);
  }
  .nav-menu-sp ul li:last-of-type:after {
    content: none;
  } 
  .nav-contact {
    display: flex;
    justify-content: center;
    width: calc(100% - 48px);
    margin: 0 auto;
    border-bottom: none !important;
    padding: 0;
    margin: 36px auto !important;
  }
  .nav-contact a {
    padding: 0;
  }
  header nav ul li:last-child a {
    width: 200px;
    height: 50px;
    font-size: 18px;
    font-weight: normal;
    border: 2px solid var(--color-main-blue);
  }
  header nav ul .nav-privacy a {
    display: block;
    width: 100%;
    padding: 16.5px 16px;
  }
  .nav-privacy {
    display: block;
  }
}


/* ---------------
 *
 *  お問い合わせバナー
 *  
 * --------------- */

.contact-banner {
  display: block;
  background: var(--color-mid-blue);
  padding: 68px 0;
  text-decoration: none;
  text-align: center;
}

.contact-banner-inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}

.contact-banner-text h2 {
  font-size: 32px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 12px;
}

.contact-banner-text .en-title {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 28px;
}

.contact-text {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1;
}

.contact-arrow {
  position: absolute;
  top: 30%;
  right: 23%;
  width: 30px;
  height: 30px;
  border-right: 2px solid var(--color-white);
  border-top: 2px solid var(--color-white);
  transform: rotate(45deg);
}

@media screen and (max-width: 768px) {
  .contact-banner {
    padding: 78px 0 163px;
  }
  .contact-arrow {
    top: 150%;
    right: 49%;
    width: 27px;
    height: 27px;
  }
  .contact-banner-text h2 {
    font-size: 26px;
  }
  .contact-text {
    font-size: 14px;
    font-weight: 300;
  }
}


/* ---------------
 *
 *  フッター
 *  
 * --------------- */

.footer {
  background: var(--color-white);
  padding: 80px 0 40px;
}

.footer .container {
  max-width: 1160px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 211px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  justify-content: flex-start;
  gap: 62px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.footer-logo img {
  width: 140px;
  height: auto;
}

.footer-contact img {
  max-width: 210px;
  height: auto;
}

.footer-contact a {
  display: inline-block;
  margin-bottom: 10px;
}

.footer-badges {
  display: flex;
  justify-content: space-between;
}

.footer-badges .badge1 {
  max-width: 60px;
  max-height: 60px;
  margin-right: 40px;
}

.footer-badges .badge2 {
  max-width: 74px;
  max-height: 60px;
  margin-right: 26px;
}

.footer-badges .badge3 {
  max-width: 94px;
  max-height: 60px;
  margin-right: 19px;
}

.footer-badges .badge4 {
  max-width: 105px;
  max-height: 60px;
}

.footer-right {
  flex: 1 1 20%;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  gap: 22px 40px;
}

.footer-nav li a {
  text-decoration: none;
  color: var(--color-main-black);
  font-size: 18px;
}

.footer-bottom {
  margin-top: 80px;
  text-align: center;
  font-size: 12px;
  color: var(--color-main-black);
  ;
}

@media screen and (max-width: 768px) {
  .footer {
    position: relative;
    padding: 60px 0 40px;
  }
  .footer-logo img {
    width: 120px;
    height: 157px;
  }
  .footer-top {
    margin-top: 36px;
    margin-left: 20px;
    align-items: center;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }
  .footer-left {
    gap: 40px;
  }
  .footer-badges {
    position: absolute;
    bottom: 17%;
    left: 3.5%;
  }
  .footer-contact {
    margin-top: 54px;
    margin-right: 0;
    margin-left: 0;
  }
  .footer-contact img {
    max-width: 201px;
  }
  .footer-nav {
    gap: 30px 88px;
    margin-bottom: 170px;
  }
  .footer-nav li a {
    font-size: 16px;
  }
  .footer-bottom {
    margin-top: 0;
  }
  .footer-badges .badge1 {
    max-width: 50px;
    max-height: 50px;
    margin-right: 37px;
  }
  .footer-badges .badge2 {
    max-width: 62px;
    max-height: 50px;
    margin-right: 37px;
  }
  .footer-badges .badge3 {
    max-width: 78px;
    max-height: 50px;
    margin-right: 37px;
  }
  .footer-badges .badge4 {
    max-width: 88px;
    max-height: 50px;
  }
}

@media screen and (max-width: 415px) {
  .footer-badges .badge2 {
    margin-right: 20px;
  }
  .footer-badges .badge3 {
    margin-right: 20px;
  }
}


/* ---------------
 *
 *  タイトル
 *  
 * --------------- */

.title {
  margin-top: 40px;
  margin-bottom: 60px;
  color: var(--color-main-black);
  line-height: 1;
}

.title h1 {
  font-size: 35px;
}

@media screen and (max-width: 768px) {
  .title {
    margin-top: 24px;
    margin-bottom: 8px;
  }
  .title h1 {
    font-size: 26px;
  }
}



/* ---------------
 *
 *  パンくずリスト
 *  
 * --------------- */

.breadcrumb {
  margin-top: 104px;
  line-height: 1;
}

.breadcrumb ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li a {
  font-size: 12px !important;
  text-decoration: none;
  color: #868686;
}

.breadcrumb span {
  font-size: 12px !important;
  margin: 0 5px;
}

.no-click {
  pointer-events: none;
  color: var(--color-main-black) !important;
}

@media screen and (max-width: 768px) {
  .breadcrumb {
    margin-top: 80px;
    margin-bottom: 24px;
  }
}