/*
Theme Name: Toshikobo Theme
Author: Hiroki Takahashi / Cross Media Group
Description: 都市工房用のカスタムテーマ
Version: 1.0
*/

@charset "UTF-8";

/* ----------------------------------------
   Foundation（ベース設定・リセットなど）
---------------------------------------- */
/* ----------------------------------------
   CSS Reset ＋ 基本のルート変数設定
---------------------------------------- */
/* カスタムプロパティ（変数） */
:root {
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Meiryo", sans-serif;
  --font-title: "Bebas Neue", sans-serif;
  --color-text: #333;
  --color-bg: #fff;
  --color-primary: #005288;
  --color-accent: #fbd400;
  font-size: 62.5%;
}

/* リセット & Normalize 基本 */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* google recaptcha アイコン 非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

html,
body {
  height: 100%;
  font-size: 1.6rem;
  font-family: var(--font-base);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.sp-only {
  display: none;
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }
}

.pc-only {
  display: block;
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
}

main {
  padding-top: 80px;
}

@media (max-width: 768px) {
  main {
    padding-top: 60px;
  }
}

.container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
}

.section--blue {
  background-color: #eef4f7;
}

.section--blue::before {
  background-color: #eef4f7;
}

.section--slant {
  position: relative;
  z-index: 5;
  background-color: #fff;
}

.section--slant::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #fff;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section--slant::before {
    display: none;
  }
}

.section--slant-sub {
  position: relative;
  z-index: 0;
  background-color: #fff;
}

.section--slant-sub::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #fff;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
}

.section--slant-reverse {
  position: relative;
  z-index: 6;
}

.section--slant-reverse::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: -1;
}

.section--slant-reverse-last {
  position: relative;
  z-index: 9;
}

.section--slant-reverse-last::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 100%, 0 100%);
  z-index: -1;
}

.section--slant-net {
  position: relative;
  z-index: 7;
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
}

@media (max-width: 768px) {
  .section--slant-net {
    padding-top: 100px;
    margin-top: -50px;
  }
}

.section--slant-net::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  padding: 20px;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
}

.section--slant-net-reverse {
  position: relative;
  z-index: 0;
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  padding-bottom: 200px;
}

@media (max-width: 768px) {
  .section--slant-net-reverse {
    padding-top: 100px;
  }
}

.section--slant-net-reverse::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  clip-path: polygon(100% 100%, 0 0, 100% 0%);
  -webkit-clip-path: polygon(100% 100%, 0 0, 100% 0%);
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
}

.section--slant-net-double {
  position: relative;
  z-index: 8;
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  padding-top: 100px;
  padding-bottom: 200px;
}

.section--slant-net-double::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: -1;
}

.section--slant-net-double::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  clip-path: polygon(100% 100%, 0 0, 100% 0%);
  -webkit-clip-path: polygon(100% 100%, 0 0, 100% 0%);
  -webkit-clip-path: polygon(100% 100%, 0 0, 100% 0%);
  background-color: #fff;
  background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)), linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
  background-size: 16px 16px;
  background-repeat: repeat;
  background-position: center center;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 768px) {
  .section--slant-net-double {
    padding-top: 50px;
    padding-bottom: 100px;
  }
}

.section--slant-last {
  position: relative;
  z-index: 10;
  background-color: #fff;
}

.section--slant-last::before {
  content: "";
  position: absolute;
  bottom: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: clamp(50px, 20vw, 300px);
  background-color: #fff;
  clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  -webkit-clip-path: polygon(100% 0%, 0 100%, 100% 100%);
  z-index: 0;
  pointer-events: none;
}

.heading-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.heading-primary__en {
  font-family: var(--font-title);
  font-size: 9rem;
  font-weight: normal;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #000;
}

@media (max-width: 768px) {
  .heading-primary__en {
    font-size: 4.5rem;
  }
}

.heading-primary__en--blue {
  color: #015184;
}

.heading-primary__en--green {
  color: #00a95f;
}

.heading-primary__en--orange {
  color: #ea5532;
}

.heading-primary__ja {
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: 0;
}

@media (max-width: 768px) {
  .heading-primary__ja {
    font-size: 2rem;
  }
}

.heading-primary.heading-primary--left {
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 768px) {
  .heading-primary.heading-primary--left {
    align-items: center;
    text-align: center;
  }
}

/* ----------------------------------------
   Components（共通パーツ）
---------------------------------------- */
.l-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 1000;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  padding: 0 0 0 6rem;
  height: 80px;
  transition: box-shadow 0.3s ease;
}

.l-header.is-scrolled {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.l-header__line {
  display: none;
}

.l-header-logo {
  flex: 0 0 auto;
}

.l-header-logo img {
  width: 155px;
  height: auto;
}

@media (max-width: 768px) {
  .l-header-logo img {
    width: 120px;
  }
}

.l-header-nav {
  margin-left: auto;
  margin-right: 4rem;
}

.l-header-nav__list {
  display: flex;
  gap: 4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.l-header-nav__list li {
  position: relative;
}

.l-header-nav__link {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 1.4rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.l-header-nav__link:hover {
  color: #1b79b2;
  transform: translateY(-2px);
}

.l-header-nav__link.has-submenu::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -1.7rem;
  width: 10px;
  height: 10px;
  border-right: 2px solid #1b79b2;
  border-bottom: 2px solid #1b79b2;
  transform: translateY(-40%) rotate(45deg);
  pointer-events: none;
}

.l-header-nav__listLv2 {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  padding: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  min-width: 220px;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.l-header-nav__listLv2.is-open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.l-header-nav__listLv2 li a {
  display: block;
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
  color: #333;
  white-space: nowrap;
  text-decoration: none;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}

.l-header-nav__listLv2 li a:hover {
  padding-left: 2.4rem;
  background-color: #f0f4f8;
  color: #1b79b2;
}

.l-header-nav .l-header-nav__list>li:hover>.l-header-nav__listLv2 {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.l-header-buttons {
  display: flex;
}

.l-header-buttons__item {
  position: relative;
  top: 17.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 115px;
  height: 115px;
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.l-header-buttons__item--recruit {
  background-color: #4a85b2;
}

.l-header-buttons__item--contact {
  background-color: #1c5b90;
}

.l-header .l-header-menu {
  position: fixed;
  top: 2.2rem;
  right: 2rem;
  z-index: 2000;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: none;
}

.l-header .l-header-menu span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #231f20;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.l-header .l-header-menu.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.l-header .l-header-menu.is-open span:nth-child(2) {
  opacity: 0;
}

.l-header .l-header-menu.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -3px);
}

@media (max-width: 768px) {
  .l-header .l-header-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
}

.l-header-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #eef4f7;
  padding: 80px 20px;
  z-index: 999;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
  display: none;
}

.l-header-drawer.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  display: block;
}

.l-header-drawer__close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
}

.l-header-drawer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.l-header-drawer__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-weight: bold;
  font-size: 1.8rem;
  padding: 1.6rem 0;
  background: none;
  border: none;
  color: #000;
  cursor: pointer;
  border-bottom: 1px solid #015184;
}

.l-header-drawer__listLv2 {
  display: none;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.l-header-drawer__listLv2 li a {
  display: block;
  padding: 0.8rem 1rem;
  font-size: 1.5rem;
  transition: background-color 0.3s ease;
}

.l-header-drawer__listLv2 li a:hover {
  background-color: #dbe8f0;
}

.l-header-drawer__listLv2 li:first-of-type a {
  margin-top: 1rem;
}

.l-header-drawer__buttons {
  margin: 5rem 0;
}

.l-header-drawer__buttons a {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
  padding: 1.4rem 0;
  color: #fff;
  text-decoration: none;
  margin: 1.2rem auto;
  max-width: 260px;
}

.l-header-drawer__footer {
  text-align: center;
  font-size: 1.4rem;
  color: #000;
  line-height: 1.6;
  margin-top: 3rem;
}

.l-header-drawer__footer a {
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
  color: inherit;
}

.l-header-drawer__link.open+.l-header-drawer__listLv2 {
  display: block;
}

.btn--recruit {
  background-color: #4a85b2;
}

.btn--contact {
  background-color: #1c5b90;
}

.arrow {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid #015184;
  border-bottom: 2px solid #015184;
  transform: rotate(-45deg);
  margin-left: 8px;
  margin-top: 2px;
}

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

@media (max-width: 768px) {
  .l-header {
    justify-content: space-between;
    padding: 0 1.6rem;
    height: 60px;
  }

  .l-header-nav,
  .l-header-buttons {
    display: none;
  }
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__caption {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  color: #fff;
  z-index: 5;
}

@media (max-width: 768px) {
  .hero__caption {
    padding: 0 16px;
  }
}

.hero__lead {
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero__lead {
    line-height: 1.1;
  }
}

.hero__main {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1100px;
  width: 100%;
  padding: 0 20px;
  z-index: 10;
  font-family: var(--font-title);
  font-size: clamp(3rem, 13vw, 15.5rem);
  letter-spacing: 0.04em;
  color: #015184;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  z-index: 10;
}

.hero__main span {
  display: inline-block;
  opacity: 0;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero__main {
    bottom: 0;
    padding: 0 16px;
    white-space: normal;
    color: #fff;
  }
}

.hero--subpage {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero--subpage .hero__inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero--subpage .hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero--subpage .hero__caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  color: #fff;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
  z-index: 5;
}

.hero--subpage .hero__main-en {
  font-family: var(--font-title);
  font-size: 9rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero--subpage .hero__main-en {
    font-size: 4rem;
  }
}

.hero--subpage .hero__main-ja {
  font-size: 2.4rem;
  font-weight: bold;
  margin-top: -1rem;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .hero--subpage .hero__main-ja {
    font-size: 2rem;
    margin-top: 0.3rem;
    line-height: 1;
  }
}

.recruit--hero.hero--subpage .hero__caption {
  color: #000000;
  text-shadow: none;
}

.l-footer {
  background-color: #fff;
  padding: 4rem 2rem;
  font-size: 1.4rem;
  color: #000;
  border-top: 1px solid #ccc;
  overflow: visible;
  min-height: 350px;
}

.l-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.l-footer__left {
  flex: 1;
  min-width: 300px;
}

.l-footer__left .l-footer__logo {
  margin-bottom: 3rem;
}

.l-footer__left .l-footer__logo img {
  width: 180px;
  height: auto;
}

.l-footer__left .l-footer__info {
  margin-bottom: 3rem;
  line-height: 1.8;
}

.l-footer__left .l-footer__copyright {
  font-size: 1.2rem;
  color: #231815;
}

.l-footer__right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 320px;
  margin-top: 2rem;
}

.l-footer__right .l-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
}

.l-footer__right .l-footer__nav li {
  position: relative;
  display: flex;
  align-items: center;
}

.l-footer__right .l-footer__nav li a {
  font-weight: bold;
  text-decoration: none;
  color: #000;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.l-footer__right .l-footer__nav li a:hover {
  color: #1b79b2;
  transform: translateY(-2px);
}

.l-footer__right .l-footer__nav li a.has-submenu::after {
  content: "";
  position: absolute;
  top: 40%;
  right: -1.5rem;
  transform: translateY(-40%) rotate(45deg);
  width: 9px;
  height: 9px;
  border-right: 2px solid #1b79b2;
  border-bottom: 2px solid #1b79b2;
  pointer-events: none;
}

.l-footer__right .l-footer__nav li .footer-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.l-footer__right .l-footer__nav li .footer-submenu li a {
  display: block;
  padding: 0.8rem 1.6rem;
  color: #333;
  font-size: 1.3rem;
  white-space: nowrap;
  text-decoration: none;
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease, color 0.3s ease;
}

.l-footer__right .l-footer__nav li .footer-submenu li a:hover {
  padding-left: 2.4rem;
  background-color: #f0f4f8;
  color: #1b79b2;
}

.l-footer__right .l-footer__nav li:hover>.footer-submenu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.l-footer__right .l-footer__nav li a.btn--recruit,
.l-footer__right .l-footer__nav li a.btn--contact {
  width: 120px;
  height: 40px;
  text-align: center;
  color: #fff;
  font-weight: bold;
  padding: 0.8rem 1.6rem;
  font-size: 1.4rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.l-footer__right .l-footer__nav li a.btn--contact {
  background-color: #1c5b90;
}

.l-footer__right .l-footer__nav li .btn--recruit {
  background-color: #4a85b2;
}

.l-footer__right .l-footer__nav li .btn--recruit:hover {
  background-color: #6fa3cc;
}

.l-footer__right .l-footer__nav li .btn--contact {
  background-color: #1c5b90;
}

.l-footer__right .l-footer__nav li .btn--contact:hover {
  background-color: #4d84c4;
}

.l-footer__right .l-footer__policies {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: auto;
}

.l-footer__right .l-footer__policies li a {
  text-decoration: none;
  color: #000;
  font-size: 1.4rem;
}

.l-footer__buttons--sp {
  display: none;
  margin-bottom: 2rem;
}

.l-footer__buttons--sp a {
  max-width: 280px;
  width: 100%;
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.6rem;
  margin: 0 auto 2rem;
  padding: 1rem 0;
  color: #fff;
  text-decoration: none;
}

.l-footer__buttons--sp .btn--recruit {
  background-color: #4a85b2;
}

.l-footer__buttons--sp .btn--recruit:hover {
  background-color: #6fa3cc;
}

.l-footer__buttons--sp .btn--contact {
  background-color: #1c5b90;
}

.l-footer__buttons--sp .btn--contact:hover {
  background-color: #4d84c4;
}

@media (max-width: 768px) {
  .l-footer {
    padding: 3rem 1.6rem;
    text-align: center;
  }

  .l-footer__inner {
    flex-direction: column;
    align-items: center;
  }

  .l-footer__right {
    display: none;
  }

  .l-footer__buttons--sp {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 3rem;
  }

  .l-footer__buttons--sp a {
    max-width: 200px;
  }

  .l-footer__left .l-footer__logo {
    margin-bottom: 1rem;
  }

  .l-footer__left .l-footer__logo img {
    width: 150px;
    margin: 0 auto;
    padding: 2rem 0;
  }

  .l-footer__left .l-footer__info {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .l-footer__left .l-footer__copyright {
    font-size: 1.2rem;
  }
}

/* ----------------------------------------
   elements (共通パーツ)
---------------------------------------- */
.test {
  text-align: center;
}

.arrow-button {
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #000;
  text-decoration: none;
  padding-right: 70px;
}

.arrow-button__text {
  font-size: 1.6rem;
  font-weight: 500;
  display: inline-block;
}

.arrow-button__arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 45px;
  height: 2px;
  background-color: #1b79b2;
  border-radius: 9999px;
  transform: translateY(-50%);
  transition: transform 0.4s ease;
  z-index: 2;
}

@media (max-width: 768px) {
  .arrow-button__arrow {
    height: 1px;
  }
}

.arrow-button__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 2px;
  background-color: #1b79b2;
  border-radius: 9999px;
  transform: translateY(0%) rotate(60deg);
  transform-origin: right center;
}

@media (max-width: 768px) {
  .arrow-button__arrow::before {
    height: 1px;
  }
}

.arrow-button__circle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: #fff100;
  border: 2px dashed #1b79b2;
  border-radius: 50%;
  box-sizing: content-box;
  transition: transform 0.3s ease;
  z-index: 1;
}

@media (max-width: 768px) {
  .arrow-button__circle {
    width: 25px;
    height: 25px;
  }
}

.arrow-button:hover .arrow-button__arrow,
.arrow-button:focus-visible .arrow-button__arrow {
  transform: translate(5px, -50%);
}

.arrow-button:hover .arrow-button__circle,
.arrow-button:focus-visible .arrow-button__circle {
  transform: translateY(-50%) scale(0.9) rotate(45deg);
}

.arrow-button--blue .arrow-button__arrow,
.arrow-button--blue .arrow-button__arrow::before {
  background-color: #fff;
}

.arrow-button--blue .arrow-button__circle {
  border-color: #fff;
  background-color: transparent;
}

.arrow-button--yellow .arrow-button__arrow,
.arrow-button--yellow .arrow-button__arrow::before {
  background-color: #1b79b2;
}

.arrow-button--yellow .arrow-button__circle {
  border-color: #1b79b2;
  background-color: #fff100;
}

.arrow-button__white .arrow-button__arrow,
.arrow-button__white .arrow-button__arrow::before {
  background-color: #fff;
}

.arrow-button__white .arrow-button__circle {
  border-color: #fff;
  background-color: transparent;
}

.arrow-button--long .arrow-button__arrow {
  width: 60px;
}

.arrow-button--no-border {
  border: none;
}

a.text-button-box {
  text-decoration: none;
}

.text-button-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid #144b75;
  padding: 1rem 1.5rem;
  background-color: #fff;
  max-width: 350px;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.text-button-box--no-border {
  border: none;
  background-color: transparent;
}

.text-button-box__text {
  font-size: 2rem;
  font-weight: bold;
  color: #000;
  transition: color 0.3s ease;
  display: inline-block;
}

@media (max-width: 768px) {
  .text-button-box__text {
    font-size: 1.6rem;
  }
}

.text-button-box .arrow-button {
  flex-shrink: 0;
}

.text-button-box:hover {
  background-color: #144b75;
}

.text-button-box:hover .text-button-box__text {
  color: #fff;
}

.text-button-box:hover .arrow-button__arrow {
  transform: translate(5px, -50%);
  background-color: #fff;
}

.text-button-box:hover .arrow-button__arrow::before {
  background-color: #fff;
}

.text-button-box:hover .arrow-button__circle {
  transform: translateY(-50%) scale(0.9) rotate(45deg);
  border-color: #fff;
}

.text-button-box--no-border:hover {
  background-color: transparent;
}

.text-button-box--no-border:hover .text-button-box__text {
  color: #000;
}

.text-button-box--no-border:hover .arrow-button__arrow {
  transform: translate(5px, -50%);
  background-color: #144b75;
}

.text-button-box--no-border:hover .arrow-button__arrow::before {
  background-color: #144b75;
}

.text-button-box--no-border:hover .arrow-button__circle {
  transform: translateY(-50%) scale(0.9) rotate(45deg);
  border-color: #144b75;
}

@media (max-width: 768px) {
  .text-button-box {
    gap: 0;
    align-items: center;
  }

  .text-button-box .arrow-button {
    align-self: auto;
  }
}

.fadein-item {
  opacity: 0;
  transform: translateY(40px);
}

.heading-section-wrapper {
  text-align: center;
  margin-bottom: 3rem;
}

.heading-section-wrapper .heading-section {
  display: inline-block;
  font-size: 3rem;
  line-height: 1.2;
  border-bottom: 2px solid #1b79b2;
  padding-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .heading-section-wrapper .heading-section {
    font-size: 2rem;
  }
}


/* ----------------------------------------
   Front page css ↓↓↓
---------------------------------------- */
/* ----------------------------------------
   Company Profile
---------------------------------------- */
.company__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  position: relative;
  padding-top: 50px;
  padding-bottom: 300px;
}

@media (max-width: 768px) {
  .company__inner {
    padding-top: 0;
    padding-bottom: 50px;
  }
}

.company__content {
  flex: 1;
  max-width: 50%;
  z-index: 2;
}

@media (max-width: 768px) {
  .company__content {
    max-width: 100%;
    padding-top: 0;
  }
}

.company__content h2.heading-primary {
  white-space: nowrap;
  overflow: visible;
  text-align: left;
}

.company__desc {
  max-width: 420px;
  width: 100%;
  font-size: 1.6rem;
  line-height: 1.8;
  margin: 5rem 0;
}

@media (max-width: 768px) {
  .company__desc {
    max-width: 100%;
    font-size: 1.4rem;
    margin: 2rem 0;
  }
}

.company__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
  max-width: 400px;
}

@media (max-width: 768px) {
  .company__links {
    max-width: 100%;
    align-items: center;
  }
}

.company__links .text-button-box {
  padding: 0;
  background-color: transparent;
  border: none;
  max-width: fit-content;
  margin: 0;
  justify-content: space-between;
  gap: 1rem;
}

.company__links .text-button-box__text {
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .company__links .text-button-box__text {
    font-size: 1.6rem;
  }
}

.company__links .text-button-box .arrow-button__arrow {
  background-color: #1b79b2;
}

.company__links .text-button-box .arrow-button__arrow::before {
  background-color: #1b79b2;
}

.company__links .text-button-box .arrow-button__circle {
  border-color: #1b79b2;
  background-color: #fff100;
}

.company__links .text-button-box:hover .text-button-box__text {
  color: #1b79b2;
}

.company__links .text-button-box:hover .arrow-button__arrow {
  transform: translate(5px, -50%);
  background-color: #1b79b2;
}

.company__links .text-button-box:hover .arrow-button__arrow::before {
  background-color: #1b79b2;
}

.company__links .text-button-box:hover .arrow-button__circle {
  transform: translateY(-50%) scale(0.9) rotate(45deg);
  border-color: #1b79b2;
}

.company__images {
  flex: 1;
  max-width: 50%;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .company__images {
    max-width: 100%;
    margin-top: 3rem;
    padding: 0 1rem;
  }
}

.company__img {
  width: 100%;
  height: auto;
}

.company__img--back {
  position: relative;
  top: -40px;
  right: 120px;
  width: 340px;
  height: auto;
  z-index: 1;
  box-shadow: 6px 6px 8px 0px rgba(142, 142, 142, 0.45);
}

.company__img--front {
  position: absolute;
  right: 0;
  bottom: -100px;
  width: 340px;
  height: auto;
  z-index: 2;
  box-shadow: 6px 6px 8px 0px rgba(142, 142, 142, 0.45);
}

.company__images-sp {
  margin: 0 auto 4rem;
}

.company__images-sp img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 250px;
  height: auto;
  box-shadow: 6px 6px 8px 0px rgba(142, 142, 142, 0.45);
}

/* ----------------------------------------
   Service
---------------------------------------- */
.service__inner {
  width: 100%;
  margin: 0 auto;
  padding-bottom: 300px;
}

@media (max-width: 768px) {
  .service__inner {
    padding-bottom: 150px;
  }
}

.service__lead {
  font-size: 1.6rem;
  text-align: center;
  line-height: 1.8;
  margin: 2rem 0;
}

.service__list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 6.5rem;
  gap: 5rem;
  justify-content: center;
}

@media (max-width: 768px) {
  .service__list {
    gap: 3rem;
  }
}

.service__item {
  position: relative;
  width: 320px;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 6px 6px 8px rgba(142, 142, 142, 0.45);
  transition: transform 0.3s ease;
}

@media (max-width: 1160px) {
  .service__item {
    width: calc(50% - 27.5px);
  }
}

@media (max-width: 768px) {
  .service__item {
    width: 100%;
  }
}

.service__item .img-container {
  position: relative;
  overflow: hidden;
}

.service__item .img-container .img-wrapper {
  display: block;
  width: 100%;
  transition: transform 0.6s ease;
}

.service__item .img-container picture,
.service__item .img-container img {
  display: block;
  width: 100%;
  height: auto;
}

.service__item .img-container img {
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  position: relative;
  z-index: 1;
}

.service__item .img-container .img-overlay {
  position: absolute;
  inset: 0;
  background-color: #015184;
  z-index: 2;
  transform: scaleX(1);
  transform-origin: left;
}

.service__item .service__item-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: clamp(1.6rem, 2vw, 2rem);
  z-index: 3;
  white-space: nowrap;
  padding: 0 1rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.service__item:hover .img-wrapper {
  transform: scale(1.05);
}

/* ----------------------------------------
   FAQ
---------------------------------------- */
.faq-front {
  position: relative;
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .faq-front {
    padding-bottom: 100px;
  }
}

.faq-front__inner {
  width: 100%;
  margin: 0 auto;
}

.faq-front__card {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1/1;
  margin: 0 auto;
  padding: 2rem 1.6rem;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.faq-front__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.faq-front__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .faq-front__content {
    padding: 1rem;
  }
}

.faq-front__title {
  font-size: 9rem;
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1;
  margin: 0 0 1rem;
  text-align: center;
  letter-spacing: 0.5rem;
}

@media (max-width: 768px) {
  .faq-front__title {
    font-size: 4.5rem;
  }
}

.faq-front__subtitle {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .faq-front__subtitle {
    font-size: 2rem;
  }
}

.faq-front__text {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 6rem;
}

@media (max-width: 768px) {
  .faq-front__text {
    font-size: 1.4rem;
    margin-bottom: 3rem;
  }
}

.text-button-box--faq {
  background-color: transparent;
  border: none;
  padding: 0;
}

.text-button-box--faq:hover {
  background-color: transparent;
}

.text-button-box--faq .text-button-box__text {
  font-family: var(--font-title);
  color: #fff;
  font-size: 4rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.3rem;
  transition: opacity 0.5s ease;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .text-button-box--faq .text-button-box__text {
    font-size: 3rem;
  }
}

.text-button-box--faq .text-button-box__text:hover {
  opacity: 0.7;
}

.text-button-box--faq .arrow-button__arrow {
  width: 45px;
  background-color: #fff;
}

.text-button-box--faq .arrow-button__arrow::before {
  background-color: #fff;
}

.text-button-box--faq .arrow-button__circle {
  background-color: transparent;
  border: 2px dashed #fff;
}

/* ----------------------------------------
   RECRUIT
---------------------------------------- */
.recruit {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 250px 0;
  width: 100%;
  background: url("../images/front-page/front_recruit.jpg") no-repeat center/cover;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .recruit {
    padding: 100px 0;
    background-attachment: scroll;
  }
}

.recruit__inner {
  padding: 10rem 0;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .recruit__inner {
    padding: 5rem 0;
  }
}

.recruit .heading-primary__en {
  position: relative;
}

.recruit .heading-primary__en .recruit__badge {
  position: absolute;
  top: 20px;
  right: -120px;
  width: 105px;
  height: 105px;
  background-color: #fff100;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.3;
  letter-spacing: normal;
  padding-top: 0.5rem;
}

@media (max-width: 768px) {
  .recruit .heading-primary__en .recruit__badge {
    top: 20px;
    right: -80px;
    width: 70px;
    height: 70px;
    font-size: 1.4rem;
  }
}

.recruit__lead {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.text-button-box--bg--blue {
  background-color: #015184;
  border: none;
  padding: 1rem 0;
  max-width: 270px;
}

.text-button-box--bg--blue .text-button-box__text {
  font-family: var(--font-title);
  color: #fff;
  font-size: 4rem;
  font-weight: normal;
  line-height: 1;
  letter-spacing: 0.3rem;
  transition: opacity 0.5s ease;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .text-button-box--bg--blue .text-button-box__text {
    font-size: 3rem;
  }
}

.text-button-box--bg--blue .arrow-button__arrow {
  width: 45px;
  background-color: #fff;
}

.text-button-box--bg--blue .arrow-button__arrow::before {
  background-color: #fff;
}

.text-button-box--bg--blue .arrow-button__circle {
  background-color: transparent;
  border: 2px dashed #fff;
}

.text-button-box--bg--blue:hover {
  background-color: #fff;
}

.text-button-box--bg--blue:hover .text-button-box__text {
  color: #015184;
}

.text-button-box--bg--blue:hover .arrow-button__arrow {
  transform: translate(5px, -50%);
  background-color: #015184;
}

.text-button-box--bg--blue:hover .arrow-button__arrow::before {
  background-color: #015184;
}

.text-button-box--bg--blue:hover .arrow-button__circle {
  transform: translateY(-50%) scale(0.9) rotate(45deg);
  border-color: #015184;
}

/* ----------------------------------------
   CONTACT
---------------------------------------- */
.contact {
  text-align: center;
  width: 100%;
}

.contact__inner {
  padding-bottom: 10rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact__inner {
    padding-bottom: 3rem;
  }
}

.contact__lead {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ----------------------------------------
   隣接土地所有者
---------------------------------------- */
.landOwner {
  background-color: #eef4f7;
  text-align: center;
}

/*# sourceMappingURL=style.css.map */