/* ============================================
   リセット・ベーススタイル
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: "Zen Maru Gothic", sans-serif;
  color: #000;
  line-height: 1.8;
  background: url(../img/bg_main.jpg) no-repeat center top / 200vw auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
ul {
  list-style: none;
}

/* ============================================
   共通スタイル
   ============================================ */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
	a img {
		transition: opacity 0.3s ease;
	}
	a:hover img {
		opacity: 0.8;
	}
	a[href^='tel'] {
		pointer-events: none;
		cursor: text;
	}
  .is-hidden-pc {
    display: none;
  }
}

/* ============================================
   ヘッダー
   ============================================ */
.header {
  position: relative;
  width: 100%;
  height: 90px;
  z-index: 100;
}
.header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header__logo {
  position: absolute;
  top: 20px;
  left: 24px;
}
.header__logo-img {
  width: 233px;
  height: 37px;
}
@media (min-width: 768px) {
  .header__logo-img {
    width: 266px;
    height: 42px;
  }
}
@media (min-width: 1024px) {
  .header__logo {
    top: calc(50% - 5px);
    transform: translateY(-50%);
  }
  .header__logo-img {
    width: 368px;
    height: 58px;
  }
}

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  position: absolute;
  top: 24px;
  right: 32px;
  width: 40px;
  height: 27px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}
.header__hamburger-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #0068B7;
  transition: all 0.3s ease;
}
.header__hamburger:hover .header__hamburger-line {
  background-color: #0066cc;
}
.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
  transform: translateY(13.5px) rotate(45deg);
}
.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
  transform: translateY(-13.5px) rotate(-45deg);
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__tel-btn,
.header__contact-btn {
  display: inline-flex;
  width: 200px;
  height: 50px;
  margin: 0 auto;
  padding: 8px 16px;
  color: #fff;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}
.header__tel-btn {
  background-color: #0066cc;
}
.header__tel-btn:hover {
  background-color: #0052a3;
}
.header__tel-number {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__tel-number::before {
  width: 15px;
  height: 18px;
  background: url(../img/icon_tel.svg) no-repeat center center / contain;
  content: '';
  display: inline-block;
  vertical-align: middle;
}
.header__contact-btn {
  gap: 10px;
  background-color: #009fff;
}
.header__contact-btn:hover {
  background-color: #0066cc;
}
.header__contact-icon {
  width: 22px;
  height: 15px;
}
.header__contact-text {
  font-size: 1rem;
}
@media (min-width: 1024px) {
  .header__contact {
    position: absolute;
    top: 0;
    right: 0;
  }
  .header__tel-btn {
    justify-content: center;
    position: absolute;
    top: 0;
    right: 118px;
    width: 210px;
    height: 50px;
    padding-bottom: 10px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    font-size: 1.375rem;
  }
  .header__tel-number::before {
    margin-top: 2px;
  }
  .header__contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 96px;
    height: 96px;
    border-radius: 0;
    border-bottom-left-radius: 12px;
  }
  .header__contact-btn::after {
    font-weight: 700;
    font-size: 0.8125rem;
    line-height: 1.2;
    content: 'CONTACT';
  }
  .header__contact-icon {
    width: 40px;
    height: 26px;
  }
  .header__contact-text {
    display: none;
  }
}
@media (min-width: 1200px) {
  .header__tel-btn {
    right: clamp(120px, 8vw, 140px);
  }
}

.header__nav {
  display: flex;
  align-items: center;
}
.header__nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header__nav-link {
  font-size: 0.875rem;
  color: #333;
  transition: color 0.3s;
  white-space: nowrap;
}
.header__nav-link:hover {
  color: #0066cc;
}
.header__nav-link--contact {
  padding: 8px 20px;
  background-color: #0066cc;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.3s;
}
.header__nav-link--contact:hover {
  background-color: #0052a3;
  color: #fff;
}
.header__tel-hours {
  display: none;
}
@media (max-width: 1023px) {
  .header__inner {
    flex-wrap: wrap;
    position: relative;
    padding: 0 5%;
    background: rgba(255, 255, 255, 0.9);
  }
  .header__inner:has(.header__hamburger.is-active) {
    height: 100svh;
  }
  .header__hamburger {
    display: flex;
    order: 2;
  }
  .header__nav {
    display: none;
    width: 100%;
    order: 3;
    margin-top: 0;
    padding-top: 30px;
  }
  .header__nav.is-active {
    display: block;
  }
  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .header__nav-item {
    width: 100%;
  }
  .header__nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    color: #0068B7;
    font-weight: 700;
    font-size: 1.0625rem;
  }
  .header__contact {
    display: none;
    order: 4;
    width: 100%;
    margin-top: 30px;
  }
  .header__contact.is-active {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }
  .header__contact.is-active .header__tel-btn,
  .header__contact.is-active .header__contact-btn {
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    height: 80px;
    margin: 0 auto;
    padding: 0 20px;
    border-radius: 12px;
  }
  .header__contact.is-active .header__contact-btn {
    font-size: 1.0625rem;
  }
  .header__contact.is-active .header__tel-btn {
    flex-direction: column;
  }
  .header__contact-icon {
    width: 38px;
    height: 24px;
  }
  .header__tel-number {
    font-size: 1.5rem;
  }
  .header__tel-number::before {
    width: 21px;
    height: 26px;
  }
  .header__tel-hours {
    display: block;
    font-weight: 400;
    font-size: 0.875rem;
  }
}
@media (min-width: 1024px) {
  .header {
    height: 130px;
  }
  .header__nav {
    position: absolute;
    right: 118px;
    bottom: 26px;
  }
  .header__nav-list {
    gap: 36px;
  }
  .header__nav-link {
    color: #0068b7;
    font-weight: 700;
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .header__nav-link:hover {
    color: #009fff;
  }
}
@media (min-width: 1200px) {
  .header__nav {
    right: clamp(120px, 8vw, 140px);
  }
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.hero::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 124px;
  background: url(../img/bg_wave_1.svg) no-repeat right top / 768px auto;
  content: '';
  z-index: 1;
}
@media (min-width: 480px) {
  .hero {
    overflow: visible;
  }
}
@media (min-width: 768px) {
  .hero::after {
    background-position: center bottom;
    background-size: 102vw auto;
  }
}
@media (min-width: 1024px) {
  .hero::after {
    bottom: calc(-5.66666vw + 40px);
    height: 11.33333vw;
    background-position: center bottom;
  }
}

.hero__heading {
  position: absolute;
  right: -0.5em;
  bottom: 32vw;
  z-index: 10;
}
.hero__title {
  font-weight: 400;
  font-size: min(1.75rem, 7.46666vw);
  line-height: 1.8;
  text-shadow: 0 0 10px white, 0 0 10px white, 0 0 15px white;
}
.hero__text,
.hero__news-btn {
  display: none;
}
@media (min-width: 480px) {
  .hero__heading {
    top: 50%;
    right: 2.5vw;
    bottom: inherit;
    transform: translateY(-65%);
  }
  .hero__text {
    display: block;
    margin-top: 1em;
    font-size: 0.875rem;
    line-height: 2.14;
    text-shadow: 0 0 10px white, 0 0 10px white, 0 0 15px white;
  }
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 2.25rem;
  }
  .hero__text {
    font-size: 1rem;
  }
}
@media (min-width: 1024px) {
  .hero__heading {
    transform: translateY(-70%);
  }
  .hero__title {
    font-size: calc(0.5vw + 2.5rem);
  }
  .hero__text {
    font-size: calc(0.25vw + 1rem);
  }
}
@media (min-width: 1200px) {
  .hero__title {
    font-size: clamp(3.375rem, calc((100vw - 1024px) * 0.0051779935 + 3.375rem), 4rem);
  }
}
@media (min-width: 1400px) {
  .hero__heading {
    right: 0;
    width: 596px;
  }
}

.hero__slider {
  overflow: hidden;
  width: 92.5vw;
  height: 95vw;
  border-top-right-radius: 40px;
}
.hero__slider .swiper,
.hero__slider .swiper-wrapper,
.hero__slider .swiper-slide {
  width: 100%;
  height: 100%;
}
.hero__slider .swiper-slide img {
  width: auto;
  max-width: inherit;
  height: 100%;
}

@media (min-width: 480px) {
  .hero__slider {
    width: 90vw;
    height: 60vw;
  }
  .hero__slider .swiper-slide img {
    width: 100%;
    object-fit: cover;
  }
}
@media (min-width: 1024px) {
  .hero__slider {
    width: 88.66666vw;
    height: calc(100vh - 130px);
    border-top-right-radius: 60px;
  }
}
@media (min-width: 1200px) {
  .hero__slider {
    width: 80vw;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
}
.hero__faq-btn {
  display: block;
  padding: 15px 24px;
  background-color: rgba(0, 159, 255, 0.8);
  color: #fff;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  transition: opacity 0.3s;
}
.hero__faq-btn:hover {
  opacity: 0.8;
}
.hero__faq-title {
  font-weight: 700;
  font-size: 1.5rem;
}
.hero__faq-text {
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (max-width: 1023px) {
  .hero__faq {
    display: none;
  }
}
@media (min-width: 1024px) {
  .hero__faq {
    position: absolute;
    bottom: 7.93333vw;
    left: 0;
    width: 260px;
  }
  .hero__faq-text {
    font-size: 0.9375rem;
  }
}
@media (min-width: 1200px) {
  .hero__faq {
    width: clamp(280px, 20vw, 300px);
  }
  .hero__faq-text {
    font-size: clamp(0.9375rem, calc((100vw - 1024px) * 0.0051779935 + 0.9375rem), 1rem);
  }
}

.hero__news {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 10px 24px 0;
  background-color: #fff;
}
.hero__news-title {
  color: #0068b7;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.hero_news-list {
  width: calc(100% - 64px);
}
.hero__news-item a {
  display: flex;
  align-items: center;
  gap: 1em;
  position: relative;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.hero__news-item a:hover {
  color: #009fff;
}
.hero__news-item a::after {
  display: block;
  width: 8px;
  height: 14px;
  margin-top: 2px;
  background: url(../img/icon_arrow_bl.svg) no-repeat center center / contain;
  content: '';
}
.hero__news-item a:hover::after {
  background-image: url(../img/icon_arrow_lb.svg);
}
.hero__news-text {
  max-width: calc(100% - 6.2em - 8px);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .hero__news {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 52vw;
    margin-top: 0;
    padding-top: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background-color: rgba(255, 255, 255, 0.8);
  }
}
@media (min-width: 1024px) {
  .hero__news {
    right: 0;
    bottom: 7.93333vw;
    left: inherit;
    width: 596px;
    height: 76px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 20px;
    border-top-left-radius: 20px;
  }
  .hero_news-list {
    max-width: calc(100% - 6.2em - 110px);
  }
  .hero__news-title {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .hero__news-text {
    width: calc(100% - 6.2em - 16px);
    font-size: clamp(0.9375rem, calc((100vw - 1024px) * 0.0051779935 + 0.9375rem), 1rem);
  }
  .hero__news-btn {
    display: block;
  }
  .hero__news-btn-text {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0068b7;
    color: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.2;
    text-align: center;
    border-radius: 99px;
    padding: 8px 1em;
    white-space: nowrap;
    transition: background-color 0.3s;
  }
  .hero__news-btn-text:hover {
    background-color: #009fff;
  }
}
@media (min-width: 1200px) {
  .hero__news {
    border: 1px solid #009fff;
    border-right: 0;
  }
}

/* ============================================
   紹介セクション
   ============================================ */
.intro {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 60px 0 26vw;
  background: #fff url(../img/img_toyama_sp.jpg) no-repeat center bottom / 100% auto;
}
.intro__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.intro__title {
  color: #0068b7;
  font-size: 1.25rem;
  line-height: 1.75;
  text-align: center;
}
.intro__text {
  margin-top: 1.5em;
  font-size: 0.875rem;
  line-height: 2;
  text-align: center;
}
.is-visible-sp {
  display: none;
}
.intro__bg {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
.intro__bg-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.intro__wave {
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
}
@media (max-width: 359px) {
  .is-visible-sp {
    display: block;
  }
}
@media (min-width: 768px) {
  .intro {
    padding: 20px 0 20vw;
    background-image: url(../img/img_toyama_tc.jpg);
  }
}
@media (min-width: 1024px) {
  .intro {
    padding-bottom: 260px;
    background-image: url(../img/img_toyama.jpg);
  }
  .intro__title {
    font-size: clamp(1.5rem, calc((100vw - 1024px) * 0.0051779935 + 1.5rem), 1.75rem);
  }
  .intro__text {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
}
@media (min-width: 1200px) {
  .intro {
    padding-top: 3.5625vw;
    padding-bottom: 23.4375vw;
  }
}

/* ============================================
   自然の水セクション
   ============================================ */
.groundwater {
  width: 100%;
  padding: 60px 0;
  background-color: #fff;
}
.groundwater__inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.groundwater__content {
  flex: 1;
}
.groundwater__title {
  color: #0068b7;
  font-weight: 700;
  font-size: 1.1875rem;
}
.groundwater__text {
  margin-top: 1.5em;
  font-size: 0.875rem;
  line-height: 2;
}
.groundwater__images {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  max-width: 464px;
  margin: 0 auto;
}
.groundwater__image-item {
  overflow: hidden;
  width: 43.5%;
  margin-top: 40px;
  border-radius: 12px;
}
.groundwater__image-item + .groundwater__image-item {
  width: 50%;
  margin-top: 0;
}
.groundwater__image {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.groundwater__imate-cahtch {
  position: absolute;
  right: -4px;
  bottom: -20px;
  left: -10px;
}
@media (min-width: 768px) {
  .groundwater__inner {
    flex-direction: row;
    justify-content: space-between;
    width: 84vw;
    margin: 0 auto;
  }
  .groundwater__content {
    width: 46.875%;
  }
  .groundwater__images {
    width: 45.9375%;
    margin-top: -20px;
  }
}
@media (min-width: 1024px) {
  .groundwater {
    padding: 80px 0 160px;
  }
  .groundwater__title {
    font-size: clamp(1.5rem, calc((100vw - 1024px) * 0.0051779935 + 1.5rem), 1.75rem);
  }
  .groundwater__text {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
}

/* ============================================
   ご相談セクション
   ============================================ */
.consult {
  position: relative;
  width: 100%;
  margin: 20vw 0;
  background-color: #00a0ff;
}
.consult::before {
  position: absolute;
  top: -20vw;
  left: 0;
  width: 100%;
  height: 20vw;
  background: url(../img/bg_top.png) no-repeat center bottom / auto 100%;
  content: '';
}
.consult::after {
  position: absolute;
  bottom: -20vw;
  left: 0;
  width: 100%;
  height: 20vw;
  background: url(../img/bg_bottom.png) no-repeat center bottom / auto 100%;
  content: '';
}
.consult__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.consult__title {
  margin-bottom: 1em;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}
.consult__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.consult__item {
  width: 100%;
  max-width: 200px;
}
@media (min-width: 400px) {
  .consult__item {
    width: calc(50% - 10px);
  }
}
@media (min-width: 768px) {
  .consult::before {
    top: -15vw;
  }
  .consult::after {
    bottom: -10vw;
  }
  .consult__items {
    gap: 4.299755%;
    max-width: 820px;
    margin: 0 auto;
  }
  .consult__item {
    width: 30.46683%;
    max-width: 252px;
  }
}
@media (min-width: 1024px) {
  .consult {
    margin: 120px auto;
  }
  .consult__title {
    margin-bottom: 1.5em;
    font-size: clamp(1.5rem, calc((100vw - 1024px) * 0.0051779935 + 1.5rem), 1.75rem);
  }
}
@media (min-width: 1428px) {
  .consult__items {
    gap: 0 32px;
  }
}
@media (min-width: 1428px) {
  .consult .consult__inner {
    max-width: inherit;
  }
  .consult__items {
    max-width: 100%;
  }
}

/* ============================================
   会社の理念セクション
   ============================================ */
.home .company {
  width: 100%;
  padding-top: 80px;
  background-color: #fff;
}
.company__content {
  padding: 0 20px;
}
.company__text {
  color: #333;
  font-size: 0.875rem;
  line-height: 2;
}
.company__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1em;
  padding-right: 2px;
  padding-bottom: 4px;
  color: #0068b7;
  border-bottom: 1px solid #0068b7;
  font-weight: 700;
  font-size: 0.875rem;
}
.company__btn::after {
  width: 8px;
  height: 14px;
  margin-top: 2px;
  background: url(../img/icon_arrow_bl.svg) no-repeat center center / contain;
  content: '';
  transition: all 0.3s ease;
}
.company__btn:hover {
  color: #009fff;
  border-color: #009fff;
}
.company__btn:hover::after {
  background-image: url(../img/icon_arrow_lb.svg);
}
.company__images {
  max-width: 546px;
  margin-top: 2em;
}
@media (min-width: 768px) {
  .home .company {
    margin-top: 10vw;
    padding: 0;
  }
  .company__inner {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
  }
  .company__content {
    padding-left: 0;
  }
  .company__images {
    width: 45.5%;
    margin-top: 0;
  }
}
@media (min-width: 1024px) {
  .company__content {
    padding-left: 40px;
  }
  .company__text {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .company__btn {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .company__images {
    width: 50%;
    max-width: inherit;
  }
}

/* ============================================
   サービス紹介セクション
   ============================================ */
.home .service {
  position: relative;
  width: 100%;
  margin: 20vw 0;
  background-color: #edf8ff;
}
.home .service::before {
  position: absolute;
  top: -20vw;
  left: 0;
  width: 100%;
  height: 20vw;
  background: url(../img/bg_wave_2.png) no-repeat center bottom / auto 100%;
  content: '';
}
.home .service::after {
  position: absolute;
  bottom: -20vw;
  left: 0;
  width: 100%;
  height: 20vw;
  background: url(../img/bg_wave_3.png) no-repeat center top / auto 100%;
  content: '';
}
.service__inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px;
}
.service__inner::before {
  position: absolute;
  top: -1px;
  left: calc(50% - 50vw);
  z-index: 1;
  width: 100vw;
  height: 2px;
  background-color: #edf8ff;
  content: '';
}
.service__inner::after {
  position: absolute;
  bottom: -1px;
  left: calc(50% - 50vw);
  z-index: 1;
  width: 100vw;
  height: 2px;
  background-color: #edf8ff;
  content: '';
}
.service__title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0068b7;
  letter-spacing: 0.1em;
  margin-bottom: 1em;
}
.service__title .en {
  margin-right: 0.5em;
  font-size: 1.75rem;
}
.service__intro {
  max-width: 1000px;
  margin: 0 auto 50px;
}
.service__intro-text {
  margin-bottom: 20px;
  color: #0068b7;
  font-weight: 700;
  font-size: 1.25rem;
}
.service__intro-desc {
  font-size: 0.875rem;
  line-height: 2;
  color: #333;
}
.service__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1em;
  padding-right: 2px;
  padding-bottom: 4px;
  color: #0068b7;
  border-bottom: 1px solid #0068b7;
  font-weight: 700;
  font-size: 0.875rem;
}
.service__btn::after {
  width: 8px;
  height: 14px;
  margin-top: 2px;
  background: url(../img/icon_arrow_bl.svg) no-repeat center center / contain;
  content: '';
}
.service__btn:hover {
  color: #009fff;
  border-color: #009fff;
}
.service__btn:hover::after {
  background-image: url(../img/icon_arrow_lb.svg);
}
.service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 468px;
  margin: 0 auto;
}
.service__card {
  display: block;
  position: relative;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.service__card::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 4em;
  background: linear-gradient(to bottom, #00a0ff, transparent);
  mix-blend-mode: multiply;
  content: '';
}
.service__card-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
}
.service__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service__card-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  top: 1em;
  left: 1em;
  z-index: 2;
  padding-bottom: 4px;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}
.service__card-title::after {
  width: 8px;
  height: 14px;
  margin-top: 2px;
  background: url(../img/icon_arrow_wh.svg) no-repeat center center / contain;
  content: '';
}
@media (min-width: 480px) {
  .home .service::before,
  .home .service::after {
    height: 124px;
    background-size: contain;
  }
  .home .service::before {
    top: -124px;
  }
  .home .service::after {
    bottom: -124px;
  }
  .home .service__inner {
    padding: 20px;
  }
}
@media (min-width: 768px) {
  .home .service::before {
    background-size: contain;
  }
  .home .service__grid {
    max-width: 1000px;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .service__card:first-child {
    grid-area: 1 / 1 / 2 / 3;
    max-height: 324px;
  }
  .service__card:first-child .service__card-image {
    aspect-ratio: inherit;
  }
  .service__card-title {
    font-size: 1rem;
  }
}
@media (min-width: 1024px) {
  .home .service {
    margin: 10vw 0 15vw;
  }
  .home .service::before {
    top: -10.45833vw;
    height: 0;
    padding-top: 10.45833%;
    background-size: cover;
  }
  .home .service::after {
    bottom: calc(-10.33333vw + 1px);
    z-index: -1;
    height: 0;
    padding-top: 10.33333%;
    background-size: cover;
  }
  .service__title {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .service__title .en {
    font-size: clamp(2.625rem, calc((100vw - 1024px) * 0.0051779935 + 2.625rem), 3rem);
  }
  .service__intro-text {
    font-size: clamp(1.5rem, calc((100vw - 1024px) * 0.0051779935 + 1.5rem), 1.75rem);
  }
  .service__intro-desc,
  .service__btn {
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .service__card-title {
    font-size: 1.25rem;
  }
}

/* ============================================
   お問い合わせボタンセクション
   ============================================ */
.contact-buttons {
  width: 100%;
  padding: 60px 0;
  background-color: #fff;
}
.wp-block-buttons.contact-buttons {
  flex-direction: column;
  gap: 20px;
}
.contact-buttons__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.contact-buttons__heading {
  color: #0068b7;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

.contact-buttons__btn,
.wp-block-buttons.contact-buttons .wp-block-button__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 0;
  width: 100%;
  max-width: 400px;
  height: 80px;
  margin: 0 auto;
  padding: 0 10px;
  color: #fff;
  border-radius: 12px;
  line-height: 1;
  transition: background-color 0.3s, transform 0.3s;
}
.wp-block-buttons.contact-buttons>.wp-block-button {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.contact-buttons__btn--email,
.is-form .wp-block-button__link {
  background-color: #009fff;
}
.contact-buttons__btn--email:hover,
.is-form .wp-block-button__link:hover {
  background-color: #0066cc;
}
.contact-buttons__btn--tel,
.is-tel .wp-block-button__link,
.is-fax .wp-block-button__link {
  background-color: #0066cc;
}
.is-fax .wp-block-button__link {
	pointer-events: none;
}
.is-tel .wp-block-button__link strong {
  display: block;
  width: 100%;
  text-align: center;
}
.contact-buttons__btn--email .contact-buttons__icon,
.is-form .wp-block-button__link .contact-buttons__icon {
  width: 38px;
  height: 24px;
  margin-right: 10px;
}
.is-fax .wp-block-button__link .contact-buttons__icon {
  width: 38px;
  height: auto;
  margin-right: 10px;
}
.contact-buttons__btn--tel .contact-buttons__icon,
.is-tel .wp-block-button__link .contact-buttons__icon {
  width: 21px;
  height: 26px;
  margin-top: auto;
  margin-right: 6px;
}
.contact-buttons__text {
  font-weight: 700;
  font-size: 1.0625rem;
}
.is-fax .contact-buttons__text {
  width: 100%;
}
.contact-buttons__tel-number {
  margin-top: auto;
  font-weight: 700;
  font-size: 1.5rem;
}
.is-fax .contact-buttons__tel-number {
  margin-top: 0;
}
.contact-buttons__tel-hours {
  margin-bottom: auto;
  font-size: 0.875rem;
}
.is-hidden-sp {
  display: none;
}
@media (min-width: 480px) {
  .contact-buttons {
    padding-top: 0;
  }
  .wp-block-buttons.contact-buttons {
    padding-top: 60px;
  }
}
@media (min-width: 768px) {
  .contact-buttons__heading {
    width: 100%;
    font-size: clamp(1.125rem, calc((100vw - 1024px) * 0.0051779935 + 1.125rem), 1.25rem);
  }
  .contact-buttons__inner,
  .wp-block-buttons.contact-buttons {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 60px 28px;
  }
  .wp-block-buttons.contact-buttons {
    gap: 20px;
  }
  .wp-block-buttons.contact-buttons>.wp-block-button {
    width: auto;
    margin: 0;
  }
  .contact-buttons__btn,
  .wp-block-buttons.contact-buttons .wp-block-button__link {
    width: calc(50% - 14px);
    max-width: none;
    height: 100px;
    border-radius: 20px;
  }
  .wp-block-buttons.contact-buttons .wp-block-button__link {
    width: auto;
    padding: 0 20px;
  }
  .contact-buttons__btn--email .contact-buttons__icon {
    width: 44px;
    height: 30px;
    margin-right: 20px;
  }
  .contact-buttons__btn--tel .contact-buttons__icon,
  .is-tel .wp-block-button__link .contact-buttons__icon {
    width: 22px;
    height: 28px;
    margin-right: 8px;
    margin-bottom: 2px;
  }
  .contact-buttons__text {
    font-size: 1.25rem;
  }
  .contact-buttons__tel-number {
    font-size: 1.75rem;
    letter-spacing: 0.05em;
  }
  .contact-buttons__tel-hours {
    font-size: 0.9375rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .is-fax .wp-block-button__link,
  .is-form .wp-block-button__link {
    flex-direction: column;
  }
  .wp-block-buttons.contact-buttons .wp-block-button__link {
    max-width: 320px;
  }
  .wp-block-buttons.contact-buttons .is-fax .wp-block-button__link {
    gap: 8px;
  }
  .is-fax .wp-block-button__link .contact-buttons__icon,
  .is-form .wp-block-button__link .contact-buttons__icon {
    margin-right: 0;
  }
  .is-fax .wp-block-button__link .contact-buttons__icon {
    margin-top: -4px;
  }
  .is-fax .contact-buttons__tel-number {
    font-size: 1.5rem;
  }
  .is-form .contact-buttons__text {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  .contact-buttons__inner {
    padding: 0;
  }
  .is-hidden-sp {
    display: inline-block;
  }
}

/* ============================================
   採用情報セクション
   ============================================ */
.home .recruit {
  position: relative;
  width: 100%;
  max-width: 508px;
  margin: 0 auto 60px;
  padding: 0 20px;
  overflow: hidden;
}
.recruit__inner {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
.recruit__bg {
  position: relative;
}
.recruit__bg::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background: linear-gradient(transparent, #edf8ff);
  content: '';
}
.recruit__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.recruit__content {
  position: relative;
  z-index: 2;
  padding: 20px 20px 40px;
  background-color: #edf8ff;
}
.recruit__title {
  color: #009fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.recruit__title .en {
  margin-right: 0.5em;
  font-size: 2rem;
}
.recruit__text {
  color: #333;
  font-size: 0.9375rem;
  margin-bottom: 20px;
}
.recruit__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.recruit__btn {
  display: inline-flex;
  align-items: center;
  width: 11em;
  padding: 8px 20px;
  background-color: #009fff;
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s;
}
.recruit__btn::after {
  width: 8px;
  height: 14px;
  margin-top: 2px;
  margin-left: auto;
  background: url(../img/icon_arrow_wh.svg) no-repeat center center / contain;
  content: '';
}
.recruit__btn:hover {
  background-color: #0066cc;
  color: #fff;
}
@media (min-width: 768px) {
  .home .recruit {
    max-width: 1000px;
  }
  .recruit__inner {
    overflow: hidden;
    position: relative;
    padding: 0;
    border-radius: 20px;
  }
  .recruit__bg::after {
    display: none;
  }
  .recruit__content {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 0 0 24px;
    background-color: transparent;
  }
}
@media (min-width: 1024px) {
  .home .recruit {
    margin-bottom: 100px;
  }
  .recruit__title {
    font-size: clamp(1.125rem, calc((100vw - 1024px) * 0.0051779935 + 1.125rem), 1.25rem);
  }
  .recruit__title .en {
    font-size: clamp(2.625rem, calc((100vw - 1024px) * 0.0051779935 + 2.625rem), 3rem);
  }
  .recruit__text {
    margin-bottom: 24px;
    font-size: clamp(1rem, calc((100vw - 1024px) * 0.0051779935 + 1rem), 1.125rem);
  }
  .recruit__buttons {
    gap: 16px;
  }
  .recruit__btn {
    font-size: 1.125rem;
  }
}

/* ============================================
   ページヘッダー
   ============================================ */
.page-header {
  position: relative;
  width: 100%;
  padding: 20px 0 80px;
  text-align: center;
}
.page-header::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: url(../img/bg_wave.svg) no-repeat center bottom / auto 100%;
  content: '';
}
.page-header__title {
  color: #0068b7;
  font-weight: 700;
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .page-header {
    padding: 60px 0 100px;
  }
  .page-header::after {
    height: 6.66666vw;
    background-size: contain;
  }
  .page-header__title {
    font-size: 2rem;
    letter-spacing: 0.2em;
  }
}
@media (min-width: 1024px) {
  .page-header {
    padding: 80px 0 140px;
  }
}

/* ============================================
   ページコンテンツ
   ============================================ */
.page-content {
  position: relative;
  width: 100%;
  padding: 20px 20px 60px;
  background-color: #fff;
}
.breadcrumb {
  font-size: 0.875rem;
  line-height: 1.8;
  white-space: nowrap;
}
.breadcrumb a {
  color: #009fff;
}
.content {
  margin-top: 20px;
  font-size: 0.9375rem;
}
h2.wp-block-heading {
  display: flex;
  align-items: center;
  height: 60px;
  margin-bottom: 2em;
  padding: 0 1em;
  border-radius: 30px;
  background: url(../img/bg_title.png) no-repeat right center / cover;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
* + h2.wp-block-heading {
  margin-top: 2em;
}
h3.wp-block-heading {
  margin-top: 1.5em;
  margin-bottom: 1em;
  color: #0068b7;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
h4.wp-block-heading {
  margin-top: 1em;
  margin-bottom: 0.5em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid #009fff;
  color: #0068b7;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.content p.heading {
  display: flex;
  align-items: center;
  color: #009fff;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-bottom: 4px;
  padding-left: 0.75em;
  border-bottom: 1px solid #009fff;
  border-left: 4px solid #009fff;
}
.content p.title {
  font-size: 1rem;
}
.content p.has-small-font-size {
  font-size: 0.875rem !important;
}
.wp-block-image img,
.wp-block-media-text__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.wp-block-image figcaption {
  margin-top: 1em;
  font-size: 0.875rem;
}
.wp-block-columns,
.wp-block-media-text {
  margin-top: 2em;
}
.wp-block-media-text>.wp-block-media-text__content {
  padding: 0;
}
:root :where(p.has-background) {
  border-radius: 20px;
}
.wp-block-table {
  margin-bottom: 2em;
}
.wp-block-table td,
.wp-block-table th {
  display: block;
  border-color: #009fff;
  border: 0;
}
.wp-block-table td {
  padding-top: 0;
  padding-bottom: 0.75em;
}
.wp-block-table tr:last-child td:last-child {
  border-bottom: 1px solid #009fff;
}
.wp-block-table tr td:first-child,
.wp-block-table th {
  padding-top: 0.75em;
  padding-bottom: 0;
  border-top: 1px solid;
  color: #009fff;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.wp-block-group:has(iframe) {
  overflow: hidden;
}
.wp-block-group__inner-container:has(iframe) {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-top: 75%;
}
iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (min-width: 600px) {
  .wp-block-media-text>.wp-block-media-text__content {
    padding-left: 8%;
  }
  .wp-block-media-text__content .wp-block-heading {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .page-content {
    padding: 20px 24px 80px;
  }
  .breadcrumb {
    margin: 0 auto 40px;
    font-size: 1rem;
  }
  .content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
  }
  h2.wp-block-heading {
    margin-top: 4em;
    font-size: 1.5rem;
  }
  h3.wp-block-heading {
    margin-top: 2em;
    font-size: 1.25rem;
  }
  .content p.heading {
    margin-top: 3em;
    font-size: 1.25rem;
  }
  .wp-block-column p {
    font-size: 1rem;
  }
  .wp-block-image figcaption {
    font-size: 0.9375rem;
  }
  .wp-block-table {
    margin-bottom: 3em;
  }
  .wp-block-table td,
  .wp-block-table th {
    display: table-cell;
    padding: 1em;
  }
  .wp-block-table td {
    border-top: 1px solid #009fff;
    border-bottom: 1px solid #009fff;
  }
  .wp-block-table tr td:first-child,
  .wp-block-table th {
    max-width: 9em;
    padding-bottom: 1em;
    border-bottom: 1px solid #009fff;
  }
  .wp-block-table tr:last-child td:last-child {
    min-width: 85%;
  }
}
@media (min-width: 782px) {
  .wp-block-columns.is-irregular>.wp-block-column:first-child {
    flex-grow: 0.9;
  }
  .wp-block-columns.is-irregular>.wp-block-column:last-child {
    flex-grow: 1.1;
  }
  .wp-block-columns .wp-block-column:has(p.has-background) {
    display: flex;
    flex-direction: column;
  }
  .wp-block-columns .wp-block-column:has(p.has-background) p.has-background {
    flex-grow: 1;
  }
}
@media (min-width: 1024px) {
  .page-content {
    padding-bottom: 100px;
  }
  .content {
    font-size: 1rem;
  }
  .wp-block-columns,
  .wp-block-media-text {
    width: 92%;
    margin-right: auto;
    margin-left: auto;
  }
  .wp-block-columns:has(> .wp-block-column:nth-child(3):last-child) {
    width: 100%;
  }
}

.smb-step {
  margin-top: 2em;
  margin-bottom: 4em;
}
.smb-step__body>*+* {
  margin-top: 3em;
}
.smb-step__body:before {
  display: none;
}
.smb-step__item {
  position: relative;
  margin-right: 40px;
  margin-left: 40px;
  padding: 1.5em;
  border-radius: 20px;
  background: #edf8ff;
}
.smb-step__item__number {
  width: 50px;
  height: 50px;
  font-weight: 700;
  font-size: 1.5rem;
}
.smb-step__item__title {
  margin-bottom: 0.5em;
}
.smb-step__item__title>.smb-step__item__number {
  top: -20px;
  left: 20px;
  background-color: #009fff;
}
.smb-step__item__title>span {
  color: #003399;
  font-size: 1.0625rem;
}
.smb-step__item__body p.is-fixed {
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 1.5em;
  right: 1.5em;
  padding: 0 1em;
  border-radius: 10px;
  background-color: #0068b7;
  color: #fff;
}
.smb-step__item__body p.is-fixed strong {
  font-size: 0.75rem;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .smb-step__item__body {
    font-size: 1rem;
  }
}
@media (min-width: 782px) {
  .smb-step {
    padding-top: 1rem;
  }
  .smb-step__item {
    width: 42%;
  }
  .smb-step__item:nth-child(odd) {
    margin-right: auto;
  }
  .smb-step__item:nth-child(even) {
    margin-left: auto;
  }
  .smb-step__item:not(:first-child) {
    margin-top: -6em;
  }
}

.philosophy {
  display: grid;
  grid-auto-flow: row;
  gap: 1.5em;
  padding: 1.5em 4vw;
  border-radius: 20px;
}
.philosophy > * + * {
  margin-top: 1.5em;
}
.philosophy .wp-block-group {
  position: relative;
}
.is-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #009fff;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}
.philosophy h3.wp-block-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 60px;
  margin: 0 0 0 60px;
  font-size: 0.8125rem;
  line-height: 1.6;
}
.philosophy h3.wp-block-heading strong {
  display: block;
  padding-left: 0.5em;
  font-size: 1.1875rem;
}
.philosophy p:not(.is-initial) {
  color: #4d4d4d;
  font-size: 0.875rem;
}
@media (min-width: 640px) {
  .philosophy {
    grid-auto-flow: column;
    grid-template-rows: repeat(4, auto);
    grid-auto-columns: 1fr;
    align-items: start;
    padding: 1.5em 2em;
  }
}
@media (min-width: 1024px) {
  .philosophy .wp-block-group {
    display: flex;
    justify-content: flex-start;
  }
  .philosophy .wp-block-group.is-vertical {
    gap: 0;
  }
  .is-initial {
    position: static;
    width: 72px;
    height: 72px;
    font-size: 2.25rem;
  }
  .philosophy h3.wp-block-heading {
    flex-direction: row;
    align-items: center;
    height: auto;
    margin-left: 0;
    font-size: 0.9375rem;
  }
  .philosophy h3.wp-block-heading strong {
    display: inline;
    padding-bottom: 8px;
    padding-left: 0;
    font-size: 1.5rem;
    line-height: 1.2;
  }
}

#faq {
  margin: 0 -20px;
  padding: 60px 20px;
  background-color: #edf8ff;
}
#faq h2.wp-block-heading {
  margin-top: 0;
}
.smb-faq {
  margin-top: 40px;
  border-top: 0;
}
.smb-faq__item {
  padding: 20px;
  border-bottom: 0;
  border-radius: 20px;
  background: #fff;
}
.smb-faq__item + .smb-faq__item {
  margin-top: 2em;
}
.smb-faq__item__question {
  padding-bottom: 0.5em;
  border-bottom: 1px solid #009fff;
  color: #0068b7;
}
.smb-faq__item__answer__label,
.smb-faq__item__question__label {
  width: 1em;
  margin-right: 0.5em;
  color: #0068b7;
  font-weight: 700;
  text-align: center;
}
.smb-faq__item__question__body {
  font-size: 1rem;
}
@media (min-width: 768px) {
  #faq {
    margin-right: -24px;
    margin-left: -24px;
    padding-right: 24px;
    padding-left: 24px;
  }
  .smb-faq__item__question__body {
    font-size: 1.125rem;
  }
}
@media (min-width: 1024px) {
  #faq {
    position: relative;
    margin: 0 auto;
    padding: 60px 0;
  }
  #faq::before {
    position: absolute;
    top: 0;
    left: calc(50% - 50vw);
    z-index: 0;
    width: 100vw;
    height: 100%;
    background: #edf8ff;
    content: '';
  }
  #faq .wp-block-group__inner-container {
    position: relative;
    z-index: 1;
  }
}

#form {
  padding-top: 60px;
}
#form h2.wp-block-heading {
  margin-top: 0;
}

/* ============================================
   採用情報
   ============================================ */
.wp-block-media-text__content:has(.recruit-btn) {
  margin-top: 2em;
}
.recruit-btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 1em;
  padding: 0 2px 4px 0;
  background-color: transparent;
  color: #0068b7;
  border-bottom: 1px solid #0068b7;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.875rem;
}
.recruit-btn .wp-block-button__link::after {
  width: 8px;
  height: 14px;
  margin-top: 2px;
  background: url(../img/icon_arrow_bl.svg) no-repeat center center / contain;
  content: '';
}
.recruit-btn .wp-block-button__link:hover {
  color: #009fff;
  border-color: #009fff;
}
.recruit-btn .wp-block-button__link:hover::after {
  background-image: url(../img/icon_arrow_lb.svg);
}
@media (min-width: 1024px) {
  .recruit-btn .wp-block-button__link {
    font-size: 1rem;
  }
}

.is-nav {
  width: 100%;
}
.is-nav .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  background-color: #009fff;
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s;
}
.is-nav .wp-block-button__link:hover {
  background-color: #0066cc;
}
.is-nav .wp-block-button__link::after {
  width: 8px;
  height: 14px;
  margin-top: 2px;
  margin-left: 1em;
  background: url(../img/icon_arrow_wh.svg) no-repeat center center / contain;
  transform: rotate(90deg);
  content: '';
}
@media (min-width: 1024px) {
  .is-nav .wp-block-button__link {
    font-size: 1.125rem;
  }
}

.interview .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}
.interview .wp-block-buttons .wp-block-button {
  display: inline-block;
  margin: 0;
}
.interview .wp-block-buttons .wp-block-button__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #009fff;
  color: #fff;
  font-weight: 700;
  font-size: 0.8125rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.interview .wp-block-buttons .wp-block-button__link:hover {
  background-color: #0066cc;
}
.interview .wp-block-buttons .wp-block-button__link strong {
  display: block;
  width: 100%;
  font-size: 1.125rem;
}
.interview .wp-block-buttons .wp-block-button__link::after {
  width: 0;
  height: 0;
  margin-top: 10px;
  margin-bottom: -10px;
  border-top: 7px solid #fff;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: '';
}
.wp-block-buttons.is-application {
  margin-top: 60px;
}
.wp-block-buttons.is-application .wp-block-button {
  width: 100%;
  max-width: 400px;
}
.wp-block-buttons.is-application .wp-block-button__link {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px 0;
  width: 100%;
  max-width: 400px;
  height: 80px;
  margin: 0 auto;
  padding: 0 10px;
  color: #fff;
  border-radius: 12px;
  font-size: 1.0625rem;
  line-height: 1;
  transition: background-color 0.3s, transform 0.3s;
}
.wp-block-buttons.is-application .wp-block-button__link::after {
  display: none;
}
.interview .wp-block-group {
  margin-top: 40px;
  padding: 2em 1em;
  border: 1px solid #009fff;
  border-radius: 20px;
}
.interview h2.wp-block-heading {
  height: auto;
  margin-top: 0;
  margin-bottom: 0.5em;
  padding: 0;
  background: none;
  color: #0068b7;
}
.interview h3.wp-block-heading {
  display: flex;
  align-items: center;
  color: #009fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-top: 2em;
  margin-bottom: 1em;
  padding-bottom: 4px;
  padding-left: 0.75em;
  border-bottom: 1px solid #009fff;
  border-left: 4px solid #009fff;
}
.interview h2.wp-block-heading + p {
  padding-left: 0.25em;
  border-bottom: 3px solid #009fff;
  font-weight: 700;
}
.interview h2.wp-block-heading + p strong {
  font-size: 1.5rem;
}
@media (min-width: 768px) {
  .interview .wp-block-buttons .wp-block-button__link {
    width: 100px;
    height: 100px;
  }
  .interview .wp-block-group {
    padding: 2em 2.375em;
  }
  .interview h3.wp-block-heading {
    font-size: 1.25rem;
  }
  .wp-block-buttons.is-application .wp-block-button__link {
    width: 400px;
    height: 80px;
    font-size: 1.125rem;
  }
  .interview .wp-block-buttons .wp-block-button__link strong {
    font-size: 1.5rem;
  }
}

/* ============================================
   フォーム
   ============================================ */
.wp-block-contact-form-7-contact-form-selector {
  margin-top: 2em;
}
.input_area > p,
.confirm_area > p {
  margin-bottom: 2em;
}
.form-group {
  display: flex;
  flex-direction: column;
  padding: 1em 0 0.25rem;
  border-top: 1px solid #f1f1f1;
  font-size: 0.9375rem;
}
.form-group:has(+ .form-button) {
  border-bottom: 1px solid #f1f1f1;
}
.form-group > label {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  font-weight: 700;
}
.form-group > label br {
  display: none;
}
.form-group > label .required {
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: calc(50% - 9px);
  right: 0;
  padding: 2px 4px 3px;
  border: 1px solid #009fff;
  border-radius: 2px;
  background: #009fff;
  color: #FFF;
  font-size: 0.6875rem;
  line-height: 1;
}
.form-group .row {
  padding: 1em 0;
}
body.confirm .form-group .row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.form-group .row > div {
  display: flex;
  align-items: center;
}
.form-group .row > div input {
  width: calc(100% - 0.5em);
  max-width: 140px;
  margin-left: 0.5em;
}
.form-group .row > div input.year {
  width: 5em;
  margin-left: 0;
}
.form-group .row > div + div {
  margin-top: 10px;
}
body.confirm .form-group .row > div + div {
  margin-top: 0;
}
.form-group .wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-direction: column;
}
.form-group .wpcf7-form-control-wrap:has(textarea) {
  width: 100%;
  max-width: 480px;
}
.form-group .row > div .wpcf7-form-control-wrap {
  width: auto;
}
.form-group .row > div:has(.wpcf7-not-valid-tip) {
  padding-bottom: 2em;
}
.form-group .row > div .wpcf7-form-control-wrap:has(.wpcf7-not-valid-tip) .wpcf7-not-valid-tip {
  position: absolute;
  bottom: -2em;
  left: 0.5em;
  width: 100%;
  white-space: nowrap;
}
.form-group .row span.notice {
  display: block;
  color: #63707F;
  font-weight: 400;
  font-size: 0.875rem;
}
.wpcf7-form .wpcf7-spinner {
  display: none;
  width: 100%;
  margin-top: 10px;
}
.wpcf7-form .wpcf7-list-item {
  width: 100%;
  margin: 0 0 0.25em;
  white-space: nowrap;
}
.wpcf7-form .wpcf7-list-item:has(input[type="radio"]) {
  width: auto;
  margin-right: 20px;
}
.wpcf7-form .wpcf7-list-item.has-free-text {
  display: flex;
  flex-direction: column;
}
.wpcf7-form .wpcf7-list-item.has-free-text input[type="text"] {
  margin-top: 10px;
}
.wpcf7-list-item.first {
  margin: 0;
}
.wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
}
.wpcf7-form-control-wrap:has(.wpcf7-email) + .wpcf7-form-control-wrap:has(.wpcf7-email) {
  margin-top: 10px;
}
.wpcf7-form-control-wrap:has(select) {
  display: flex;
  align-items: center;
}
input[type="radio"],
input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}
.wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #274B67;
  content: '';
  height: 1rem;
  margin-bottom: auto;
  margin-right: .5em;
  margin-top: auto;
  transition: background-color .3s;
  width: 1rem;
}
input[type="radio"] +.wpcf7-list-item-label::before {
  border-radius: 100%;
}
input[type="radio"]:checked + .wpcf7-list-item-label::before {
  background-color: #0068b7;
  box-shadow: inset 0 0 0 3px #FFF;
}
input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 10px;
  height: 7px;
  border-top: 3px solid #0068b7;
  border-right: 3px solid #0068b7;
  transform: rotate(135deg);
  position: absolute;
  left: 3px;
  top: 9px;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
select {
  width: 100%;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid #DDD;
  background-color: #FFF;
  color: #202945;
  font-weight: normal;
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
}
select {
  width: auto;
}
.wpcf7-select {
  min-width: 175px;
}
input[type="text"].age,
input[type="text"].year,
input[type="text"].month,
input[type="text"].date {
  width: 7em;
  margin-right: 5px;
}
::placeholder {
  color: #CDD6DD;
}
textarea {
  width: 100%;
  max-height: 200px;
  padding: 10px 15px;
  border-radius: 3px;
  border: 1px solid #DBDBDB;
  background-color: #FFF;
  color: #3A3937;
  font-weight: normal;
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
}
input:focus,
textarea:focus {
  z-index: 10;
  outline: 0;
  border: 1px solid #009fff;
}
input[type="submit"],
input[type="button"],
input[type="reset"] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  min-width: 225px;
  height: 52px;
  padding: 0 20px;
  border-radius: 8px;
  border: none;
  background-color: #0068b7;
  color: #FFF;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  transition: all 0.2s ease;
}
input[type="button"] {
  background-color: #0068b7;
}
input[type="button"].back_button {
  background-color: #707070;
}
input[type="button"]:disabled {
  opacity: 0.5;
  background-color: #707070;
  cursor: not-allowed;
}
input[type="reset"] {
  background-color: #707070;
}
.contact .button p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}
.wpcf7-not-valid-tip {
  color: #EA0829;
  font-weight: normal;
}
.wpcf7-response-output {
  margin-top: 1rem;
}
.wpcf7-not-valid-tip {
  overflow: visible;
  white-space: nowrap;
}
.form-notice {
  margin-top: 20px;
  margin-bottom: 20px;
  color: #63707F;
  font-weight: 400;
  font-size: 0.8125rem;
  line-height: 2;
}
.font-notice strong {
  font-weight: 500;
}
.page-content .form-notice p + p {
  margin-top: 0;
}
.form-agree {
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  text-align: center;
}
.form-agree .wpcf7-list-item-label {
  justify-content: center;
  position: relative;
  width: fit-content;
}
.form-agree a {
  text-decoration: underline;
}
.form-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #EA0829 !important;
  color: #EA0829;
}
@media (min-width: 768px) {
  .form-group {
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
  }
  .form-agree .wpcf7-form-control-wrap {
    width: fit-content !important;
  }
  .wpcf7-form .wpcf7-list-item.has-free-text {
    flex-direction: row;
    align-items: center;
  }
  .wpcf7-form .wpcf7-list-item.has-free-text input[type="text"] {
    width: calc(100% - 82px);
    margin-top: 0;
    margin-left: 10px;
  }
  .form-group {
    flex-direction: row;
    align-items: stretch;
    padding: 0;
    font-size: 1rem;
  }
  .form-group:last-of-type {
    border-bottom: 1px solid #f1f1f1;
  }
  .form-group > label {
    align-items: flex-start;
    width: 200px;
    padding: calc(1rem + 6px) 1rem 1rem;
    border-bottom: 1px solid #FFF;
  }
  .form-group > label br {
    display: block;
  }
  .form-group > label .required {
    top: 28px;
  }
  .form-group .row {
    display: flex;
    align-items: center;
    gap: 5px;
    width: calc(100% - 200px);
    min-height: 76px;
    padding: 1rem;
  }
  .form-group .row:has(.wpcf7-email) {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-group .row > div + div {
    margin-top: 0;
  }
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  select {
    margin-top: 0;
  }
  textarea {
    margin-top: 0;
  }
  input[type="submit"],
  input[type="button"],
  input[type="reset"] {
    height: 60px;
    padding-right: 50px;
    padding-left: 50px;
    font-size: 1.125rem;
  }
  .form-notice {
    margin: 20px auto 40px;
    font-size: 0.875rem;
  }
  .form-agree {
    margin-top: 40px;
  }
  .form-button {
    gap: 20px;
    margin-top: 60px;
  }
  .wpcf7-response-output {
    text-align: center;
  }
}
@media (min-width: 48em) and (hover: hover) {
  input[type="submit"]:hover,
  input[type="button"]:not(:disabled):hover,
  input[type="reset"]:hover {
    opacity: 0.8;
    cursor: pointer;
  }
}

/* ============================================
   お知らせ
   ============================================ */
.news-list {
  display: flex;
  flex-direction: column;
}
.news-item {
  display: flex;
  align-items: center;
  border-top: 1px solid #009fff;
}
.news-item:last-of-type {
  border-bottom: 1px solid #009fff;
}
.news-item a {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  padding: 1em;
  letter-spacing: 0.05em;
}
.news-item time {
  line-height: 1.4;
}
@media (min-width: 768px) {
  .news-item a {
    flex-direction: row;
    align-items: center;
    gap: 1em;
  }
}
@media (min-width: 1024px) {
  .news-text {
    font-size: clamp(0.9375rem, calc((100vw - 1024px) * 0.0051779935 + 0.9375rem), 1rem);
  }
}

.entry-header,
.entry-body,
.entry-footer {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}
.entry-header {
  display: flex;
  flex-direction: column-reverse;
  margin-bottom: 2em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #009fff;
}
.entry-footer,
.is-back {
  margin-top: 2em;
  text-align: center;
}
.entry-title {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
}
.entry-meta {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.single .wp-block-group.has-background {
  margin-bottom: 2em;
  padding: 1.25em 2.375em;
  border-radius: 20px;
}
.single p a {
  text-decoration: underline;
}
.single .wp-block-group:has(a[target="_blank"]) {
  margin-top:0.5em;
  padding: 1.25em 2.375em;
  border: 1px solid #0068b7;
  border-radius: 20px;
}
.single .wp-block-group a[target="_blank"] {
  padding-right: 1.5em;
  background: url(../img/icon_window.svg) no-repeat right center / 16px;
  color: #0068b7;
  font-weight: 700;
  text-decoration: none;
}
.single .wp-block-list {
  font-weight: 700;
}
.single .wp-block-list li::before {
  content: '●';
}
.is-back {
  justify-content: center;
}
.entry-footer a,
.is-back a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 11em;
  padding: 8px 20px;
  background-color: #009fff;
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background-color 0.3s, color 0.3s;
}
.error404 .is-back a {
  width: auto;
}
@media (min-width: 768px) {
  .entry-footer,
  .is-back {
    margin-top: 80px;
  }
}
@media (min-width: 1024px) {
  .entry-footer,
  .is-back {
    margin-top: 100px;
  }
  .entry-footer a,
  .is-back a {
    font-size: 1.125rem;
  }
}

/* ============================================
   プライバシーポリシー
   ============================================ */
.privacy h2.wp-block-heading {
  position: relative;
  height: auto;
  margin-bottom: 1em;
  padding: 0 0 0 1.2em;
  background: none;
  color: #0068b7;
  line-height: 1.6;
}
.privacy h2.wp-block-heading::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: #009fff;
  border-radius: 3px;
  content: '';
}
.privacy .wp-block-list {
  list-style: disc;
  margin-top: 1em;
  margin-left: 2.5em;
}
.privacy .wp-block-list li::marker {
  color: #009fff;
}
@media (min-width: 768px) {
  .privacy h2.wp-block-heading {
    margin-top: 2.5em;
  }
}

/* ============================================
   フッター
   ============================================ */
.footer {
  width: 100%;
  padding: 40px 0 30px;
  background-color: #009fff;
  color: #fff;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.footer__company {
  display: flex;
  flex-direction: column;
}
.footer__logo {
  width: 220px;
  height: 40px;
}
.footer__tel {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}
.footer__tel::before {
  width: 15px;
  height: 18px;
  background: url(../img/icon_tel.svg) no-repeat center center / contain;
  content: '';
  display: inline-block;
  vertical-align: middle;
}
.footer__address {
  font-size: 0.875rem;
  line-height: 1.8;
  white-space: nowrap;
}
.footer__postal {
  display: block;
  margin-bottom: 5px;
}
.footer__map-link {
  text-decoration: underline;
  transition: opacity 0.3s;
}
.footer__map-link:hover {
  opacity: 0.8;
}
.footer__fax {
  font-size: 14px;
}

.footer__copyright {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 20px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  line-height: 1.78;
}
.footer__nav-title {
  font-weight: 700;
  font-size: 0.875rem;
}
.footer__nav-list {
  display: flex;
  flex-direction: column;
}
.footer__nav-link {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
}
.footer__nav-link:hover {
  opacity: 0.8;
}
.footer__sub-link {
  font-size: 0.875rem;
}
.footer__sub-link::before {
  margin-right: 4px;
  content: '└';
}
@media (max-width: 1023px) {
  .footer__company {
    order: 3;
    margin-top: 30px;
  }
  .footer__nav-title + .footer__nav-list,
  .footer__sub-list {
    display: none;
  }
}
@media (min-width: 1024px) {
  .footer__inner {
    display: flex;
    justify-content: space-around;
    gap: 24px;
    padding: 0;
  }
  .footer__logo {
    width: 296px;
    height: 48px;
  }
  .footer__tel {
    gap: 8px;
    margin-top: 20px;
    font-size: clamp(1.25rem, calc((100vw - 1024px) * 0.0051779935 + 1.25rem), 1.5rem);
  }
  .footer__address {
    font-size: clamp(0.875rem, calc((100vw - 1024px) * 0.0051779935 + 0.875rem), 1rem);
  }
  .footer__nav-title {
    padding-bottom: 4px;
    border-bottom: 1px solid #fff;
    font-size: clamp(0.875rem, calc((100vw - 1024px) * 0.0051779935 + 0.875rem), 1rem);
  }
  .footer__nav:has(.footer__nav-title) .footer__nav-list {
    flex-wrap: wrap;
    gap: 0 24px;
    height: 134px;
  }
  .footer__nav-item {
    width: fit-content;
  }
  .footer__nav-link {
    font-size: clamp(0.875rem, calc((100vw - 1024px) * 0.0051779935 + 0.875rem), 1rem);
  }
  .footer__sub-link {
    font-size: clamp(0.875rem, calc((100vw - 1024px) * 0.0051779935 + 0.875rem), 1rem);
  }
  .footer__copyright {
    font-size: clamp(0.75rem, calc((100vw - 1024px) * 0.0051779935 + 0.75rem), 0.875rem);
  }
}
@media (min-width: 1200px) {
  .footer__nav:has(.footer__nav-title) .footer__nav-list {
    gap: 0 40px;
  }
}

