@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap');

/* Reset styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html[lang="ja"] {
    font-family: "Outfit", "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight:normal;
    font-style: normal;
    font-size: 16px;
    line-height: 30px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000000;
}

.Outfit {
  font-family: "Outfit", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.zen-kaku-gothic-new-regular {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.zen-old-mincho-regular {
  font-family: "Zen Old Mincho", serif;
  font-weight: 400;
  font-style: normal;
}



/* sp/pc */
.sp {
    display: none!important;
}

.pc {
    display: block!important;
}

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

  .pc {
    display: none!important;
  }

  h2 {
    margin-bottom: 50px;
  }
}

/* ボタン */
.btn {
  display: inline-block;
  color: #FFF;
  padding: 10px 70px;
  text-decoration: none;
  font-weight: 800;
  transition: background-color 0.3s, color 0.3s;
  border: solid 1px #FFF;
  font-size: 20px;
}

.btn:hover {
  background-color: #004393;
  color: #FFFFFF;
}

.btncontents {
    display: flex;
    justify-content: center;
}

.btn02 {
  display: inline-block;
  color: #004393;
  padding: 10px 70px;
  text-decoration: none;
  font-weight: 800;
  transition: background-color 0.3s, color 0.3s;
  border: solid 1px #004393;
  font-size: 20px;
}

.btn02:hover {
  background-color: #004393;
  color: #FFF;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

  .btn {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

/* -------------------------------------------------- 
nav
 -------------------------------------------------- */

nav {
  width: 100%;
}

.header-nav {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

.logo a {
  transition: .3s;
}

.logo a:hover {
  opacity: 0.6;
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px 10px 20px;
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 208px;
  height: auto;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 39px; /* スペース② */
}

.menu-links {
  display: flex;
  gap: 50px;
}

.menu-links a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  color: #004393;
  text-decoration: none;
}

.menu-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #004393;
  transition: width 0.3s ease;
}

.menu-links a:hover::after {
  width: 100%;
}

.phone-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-info img {
  width: 20px;
  height: auto;
}

.phone-text .hours {
  font-size: 10px;
  color: #004393;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.phone-text .tel-number {
  margin: 0;
  line-height: 1.2;
}

.phone-text .tel-number a {
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #004393;
  font-weight: normal;
  text-decoration: none;
}

.phone-text .tel-number a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #004393;
  transition: width 0.3s ease;
}

.phone-text .tel-number a:hover::after {
  width: 100%;
}

/* ハンバーガー（SP時表示想定） */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 1100;
  position: relative; 
}

.hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: #004393;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
  position: relative;
}

/* アニメーション（open時） */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -7px);
}

/* オーバーレイメニュー */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #4C96A4;
  z-index: 1000;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-overlay.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}

.menu-items a {
    color: #FFF;
    border-bottom: dashed 2px #004393;
    padding-bottom: 5px;
}

.menu-overlay.active {
  display: flex;
  justify-content: center;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -7px);
}

/* nav-sp */
@media screen and (max-width: 1000px) {
  .nav-content {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media screen and (max-width: 768px) {
  .menu-items {
    margin-bottom: 10px; 
  }

  .phone-text .tel-number a {
    font-size: 30px;
  }

  .phone-info {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-top: 50px;
  }

  .phone-text {
    text-align: center;
  }

  .phone-text .hours {
    font-size: 15px;
  }

  .phone-info img {
    width: 30px;
  }

  .menu-overlay {
    padding: 40px 20px 20px;
    box-sizing: border-box;
  }

  
}

/* -------------------------------------------------- 
パンくず
 -------------------------------------------------- */
.breadcrumb {
  font-size: 14px;
  color: #555;
  margin: 12px 0 12px 70px;
}

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

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #004393;
}

.breadcrumb li + li::before {
  content: ">";
  color: #004393;
  margin: 0 6px;  color: #004393;
}

.breadcrumb a {
  color: #004393;
  text-decoration: none;
  transition: .3s;
}

.breadcrumb a:hover {
  opacity: 0.6;
}

.breadcrumb li[aria-current="page"] {

  font-weight: normal;
}

.breadcrumb li[aria-current="page"] a {
  pointer-events: none;
  text-decoration: none;
  cursor: default;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
      margin: 12px 0 12px 20px;
  }
}



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

#yt_player {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
}

#yt_player iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* スマホ用 */
@media screen and (max-width: 768px) {
  #yt_player {
    width: 120vw;
    height: 120vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
  }

  #yt_player iframe {
    width: 120vw;
    height: 120vh;
    border: none;
    pointer-events: none;  
  }
}


/* -------------------------------------------------- 
page-hero
 -------------------------------------------------- */

.page-hero-text-img {
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -300%);
  height: auto;
  width: 50%;
  max-width: 800px;
}
.page-hero-text-img-company {
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -160%);
  height: auto;
  width: 50%;
  max-width: 800px;
}

@media screen and (max-width: 768px) {
    .page-hero-text-img {
    top: 40%;
  }
  .page-hero-text-img-company {
    top: 40%;
  }
}


/* -------------------------------------------------- 
top-news
 -------------------------------------------------- */
.news-container {
  background-color: #6FABB6;
  max-width: 1140px;
  width: 100%;
  padding: 0 20px;
  margin: 70px auto;
  color: #FFF;
  padding: 100px 0 200px 0;
}

section.news {
  padding: 70px 0;
}

.news-container h2 {
  color: rgba(181, 198, 201, 0.3);
  font-size: 12rem;
  text-align: center;
}

/* ニュースリスト */
.news-list {
  list-style: none;
  padding: 150px 0 0 0;
  margin: 0 auto 150px;
  max-width: 775px;
  font-weight: 800;
}

.news-list li {
  margin-bottom: 20px;
}

.news-list li a {
  color: #fff;
  text-decoration: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 1rem;
  gap: 100px;
  transition: opacity 0.3s;
  padding: 10px 0;
}

.news-date {
  white-space: nowrap;
  font-weight: bold;
}

.news-title {
  flex: 1;
}


.news-list li a {
  transition: .3s;
}
.news-list li a:hover {
  color: #004393;
}

/* news-sp */
@media screen and (max-width: 768px) {
  .news-container {
    padding: 100px 20px 100px 20px;
  }

  .news-container h2 {
    font-size: 30px!important;
    padding: 20px 0 20px;
  }

  .news-list {
      margin: 0 auto 50px;
  }

  .news-list li a {
    flex-direction: column;
    align-items: flex-start!important;
    gap: 5px!important;
    padding: 10px 20px!important;
  }

  section.news {
      padding: 70px 20px;
  }

}


/* --------------------------------------------------  
top-Message
-------------------------------------------------- */

section.message {
  background-image: linear-gradient(60deg, rgba(133, 203, 185, 1) 10%, rgba(28, 87, 158, 1) 100%, rgba(97, 164, 176, 1) 50%);
  margin-top: 70px;
}

.message-container {
  text-align: center;
  margin: 0 auto;
}

.top-message-main {
  position: relative;
}

.message-img-wrapper {
  position: relative;
  z-index: 1;
}

img.top-message-img {
  width: 100%;
  vertical-align: bottom;
}

.top-message-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  box-sizing: border-box;
  text-align: center;
}

.top-message-text {
  margin: 100px 0;
}

.top-message-overlay h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 80px;
}


.message-text p {
  font-size: 1rem;
  line-height: 30px;
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  section.message {
    position: relative;
  }

  .top-message-main {
    position: relative;
  }

  .message-img-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }

  img.top-message-img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top-message-overlay {
    position: relative; /* ← absolute ではなく relative に戻す */
    z-index: 2;
    padding: 30px 20px 100px 20px;
    background: none;
    color: #fff;
    text-align: center;
  }

  .top-message-text {
    width: 100%;
    margin: 40px 0;
  }

  .top-message-overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .message-text {
    padding: 30px 0;
  }

  .message-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
  }
}

/* --------------------------------------------------  
top-services
-------------------------------------------------- */

.top-service-title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.top-service-title-img-u {
  height: auto;
  display: block;
  opacity: 0.3;
}

.top-service-title-text {
  position: absolute;
  border: 1px solid #004393;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-service-title-text .sub-en-title {
  font-size: 22px;
  color: #004393;
  margin-bottom: 10px;
}

.top-service-title-text h2 {
  font-size: 40px;
  color: #004393;
  margin: 0;
}

.top-service-title-text-w {
  position: absolute;
  border: 1px solid #FFF;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-service-title-text-w .sub-en-title {
  font-size: 22px;
  color: #FFF;
  margin-bottom: 10px;
}

.top-service-title-text-w h2 {
  font-size: 40px;
  color: #FFF;
  margin: 0;
}

.top-service-title-text-c-w {
  position: absolute;
  border: 1px solid #FFF;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.top-service-title-text-c-w .sub-en-title {
  font-size: 22px;
  color: #FFF;
  margin-bottom: 10px;
}

.top-service-title-text-c-w h2 {
  font-size: 26px;
  color: #FFF;
  margin: 0;
}

.top-service-text {
    padding-top: 100px;
    line-height: 30px;
}

section.services {
    width: 100%;
    background-color: #EEEEEE;
    text-align: center;
    padding: 200px 0;
}

.works-gallery {
  width: 100%;
  overflow: hidden;
  padding: 100px 0 200px 0;
}

.works-container {
  width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 120px;
  position: relative;
  transition: transform 0.6s ease;
  will-change: transform;
}

.works-item {
  box-shadow: 0px 20px 20px rgb(0 0 0 / 22%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  flex-shrink: 0;
  overflow: hidden;
}

/* 中央画像 */
.works-item.center {
  width: 700px;
  transform: scale(1.1);
  z-index: 1;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
}

.works-item.center img {
  width: 100%;
  display: block;
}

/* 左右画像 */
.works-item.left,
.works-item.right {
  width: 550px;
}

.works-item.left img,
.works-item.right img {
  width: 700px;
  display: block;
}

.works-item.left img {
  transform: translateX(0px);
}

.works-item.right img {
  transform: translateX(-0px);
}



@media screen and (max-width: 768px) {
  .works-container {
    width: 60%;
    gap: 20px;
  }

  .works-item {
    width: 90% !important;
    transform: none !important;
  }

  .works-item img {
    width: 100% !important;
    transform: none !important;
  }

  .works-item.center {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
  }

  .top-service-text {
    text-align: center;
    padding: 130px 20px 0px 20px;
  }

  img.top-service-title-img-u {
    width: 90%;
  }

  section.services {
    padding: 120px 0;
  }

  .works-gallery {
    width: 100%;
    overflow: hidden;
    padding: 60px 0 50px 0;
  }

  .top-service-title-text h2 {
    font-size: 30px;
  }
}

/* 画像スライド */
.works-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.6s ease, opacity 0.6s ease;
  cursor: pointer;
}

/* hoverで画像が暗くなるレイヤー */
.works-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.works-item:hover::after {
  opacity: 1;
}

/* 画像そのもの */
.works-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
  position: relative;
  z-index: 0;
}

/* 配置ごとのサイズと位置 */
.works-item.left {
  width: 550px;
  transform: translateX(0px) scale(1);
}

.works-item.center {
  width: 700px;
  transform: scale(1.1);
  z-index: 2;
}

.works-item.right {
  width: 550px;
  transform: translateX(0) scale(1);
}



/* --------------------------------------------------  
top-company
-------------------------------------------------- */
.profile-with-bg {
  background: url('/assets/img/top-company-img03.jpg') no-repeat center bottom;
  background-size: contain;
  position: relative;
  padding-bottom: 100px;
}

.profile {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.top-company-conteiner {
  margin-top: 70px;
  background-color: rgba(76, 150, 164, 0.8);
  padding: 100px 20px 200px 20px;
  color: #FFF;
}

.top-company-f-cont {
  display: flex;
  justify-content: center;
  padding: 130px 0 100px 0;
}

img.top-company-img {
  width: 480px;
  height: auto;
}

.company-fle-con {
  width: 480px;
  padding-left: 40px;
}

.top-company-text {
  padding-bottom: 125px;
}

@media screen and (max-width: 768px) {
  .top-company-f-cont {
    display: block;
  }

img.top-company-img {
    width: 100%;
  }

.company-fle-con {
    width: 100%;
    padding-left: 0px;
  }

  .profile-with-bg {
    background-size: unset;
    padding-bottom: 100px;
  }

  .top-company-text {
  padding-bottom: 40px;
  }

}



/* --------------------------------------------------  
top-recruit
-------------------------------------------------- */
.recruit-with-bg {
  background: url('/assets/img/top-recruit-img03.jpg') no-repeat center bottom;
  position: relative;
  padding-bottom: 200px;
  text-align: center;
}

.recruit {
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.top-recruit-conteiner {
  margin-top: 70px;
  background-image: linear-gradient(60deg, rgba(133, 203, 185, 0.9) 10%, rgba(28, 87, 158, 0.9) 100%, rgba(97, 164, 176, 0.9) 50%);
  padding: 100px 20px 100px 20px;
  color: #FFF;
}

.top-recruit-f-cont {
  display: flex;
  justify-content: center;
  padding: 5% 70px 100px 70px;
  text-align: center;
}

.top-recruit-f-cont-copy {
    padding: 120px 0px 0px 0px;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 2;
}

.top-recruit-bunner {
    padding-bottom: 100px;
}

.top-recruit-movie {
    padding-top: 100px;
}
.top-recruit-movie a {
  transition: .3s;
}
.top-recruit-movie a:hover {
  filter: brightness(0.5); 
}

img.top-recruit-img {
  width: 480px;
  height: auto;
}

.recruit-fle-con {
  width: 480px;
  padding-left: 40px;
}

.top-recruit-text {
  padding-bottom: 125px;
}

.top-recruit-bunner img {
    width: 1000px;
}



@media screen and (max-width: 768px) {
  .top-recruit-bunner {
      padding-bottom: 40px;
  }

    .top-recruit-bunner img {
      width: 100%;
  }
  .top-recruit-movie img {
    width: 100%;
  }

  .recruit-with-bg {
    padding-bottom: 70px;
    background-size: contain;
  }

  .top-recruit-conteiner {
    padding: 100px 20px 50px 20px;
  }

  
  .top-recruit-f-cont {
    padding: 100px 0px 100px 0px;
  }

  .top-recruit-f-cont-copy {
    font-size: 1.5rem;
  }
}


/* --------------------------------------------------  
top-contact
-------------------------------------------------- */

section.contact {
  background-image: linear-gradient(60deg, 
  rgba(28, 87, 158, 1) 10%, 
  rgba(97, 164, 176, 1) 50%, 
  rgba(133, 203, 185, 1) 100%);
  padding: 155px 0 240px 0;
}

.contact-container {
  text-align: center;
  margin: 0 auto;
}

.top-contact-main {
  position: relative;
}

.contact-img-wrapper {
  position: relative;
  z-index: 1;
}

img.top-contact-img {
  width: 100%;
  vertical-align: bottom;
}

.top-contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  box-sizing: border-box;
  text-align: center;
}


.top-contact-overlay h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 80px;
}


.contact-text p {
  font-size: 1rem;
  line-height: 30px;
  max-width: 800px;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  section.contact {
    position: relative;
    padding: 155px 0 80px 0;
  }

  .top-contact-main {
    position: relative;
  }

  .contact-img-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
  }

  img.top-contact-img {
    width: 100%;
    height: auto;
    display: block;
  }

  .top-contact-overlay {
    position: relative; /* ← absolute ではなく relative に戻す */
    z-index: 2;
    padding: 30px 20px 100px 20px;
    background: none;
    color: #fff;
    text-align: center;
  }

  .top-contact-text {
    width: 300px!important;
    margin: 0;
    height: 60px!important;
  }

  .top-contact-overlay h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .contact-text {
    padding: 30px 0;
  }

  .message-text p {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: left;
  }
}


.top-contact-telmail {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.top-contact-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.top-contact-box img {
  width: 70px;
  height: 70px;
  margin-bottom: 16px;
}

.top-contact-text {
  background-color: #fff;
  width: 450px;
  height: 90px;
  border-radius: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #004393;
  transition: background-color 0.3s, color 0.3s;
}

/* ホバー時の効果（任意） */
.top-contact-text:hover {
  background-color: #004393;
  color: #fff;
}

/* 電話番号テキスト */
.tel-text {
  font-size: 40px;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

/* メールテキスト */
.mail-text {
  font-size: 24px;
  font-weight: 800;
}

@media screen and (max-width: 768px) {
  .tel-text {
    font-size: 30px;
  }

  .mail-text {
    font-size: 16px;
  }

  .top-contact-box img {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }
}


/* --------------------------------------------------  
footer
-------------------------------------------------- */

.site-footer {
  text-align: center;
  padding: 154px 20px 20px 20px;
  background-color: #f5f5f5;
  font-family: "Noto Sans JP", sans-serif;
}

.footer-bottom {
  padding: 60px 0 0 0;
  font-size: 12px;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 150px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.footer-nav a {
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  color: #004393;
  transition: .3s;
}

.footer-nav a:hover {
  opacity: 0.6;
}

.footer-logo img {
  max-width: 208px;
  height: auto;
  margin: 0px 0 50px 0px;
}

.footer-logo a {
  transition: .3s;
}

.footer-logo a:hover {
  opacity: 0.6;
}

.footer-info {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
}

.footer-office {
  font-weight: bold;
  min-width: 60px;
}

.footer-address {
  font-size: 14px;
  font-weight: 800;
  color: #000;
  text-align: left;
}

.footer-address p {
  margin: 0;
}

.footer-info-wrapper {
  display: flex;
  justify-content: center; 
}

.footer-address-block {
  display: grid;
  grid-template-columns: 60px auto;
  gap: 50px;
  max-width: 600px;
}

.u-p20 {
  padding-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .site-footer {
    padding: 60px 20px;
  }

  .footer-nav ul {
    gap: 20px;
    margin: 0 0 60px;
  }

  
.footer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

}

/* --------------------------------------------------  
page-service
-------------------------------------------------- */

.page-service-nav {
  text-align: center;
  padding: 120px 20px 80px;
  font-family: "Noto Sans JP", sans-serif;
  color: #000;
}

.p-s-text {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 60px;
}

.p-s-btn {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.p-s-btn .btn {
  width: 300px;
  height: 100px;
  border: 1px solid #004393;
  background-color: transparent;
  color: #004393;
  font-size: 18px;
  font-weight: bold;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
}

.p-s-btn .btn::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #004393;
  margin-top: 12px;
}

.p-s-btn a:hover {
  background-color: #004393;
  color: #FFF;
}

.p-s-btn .btn:hover::after {
  border-top-color: #FFF;
}

section.page-service-process {
    background-color: #4C96A4;
    padding: 158px 0 200px 0;
}

.service-steps {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 165px;
}

.step {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 120px;
}

.step.reverse {
  flex-direction: row-reverse;
}

.step-left, .step-right {
  width: 450px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-bottom: 60px;
}

.step-number {
  font-size: 100px;
  font-weight: bold;
  color: #FFF;
  line-height: 1;
}

.step-num {
  width: 100px;
  font-weight: bold;
  font-size: 100px;
  color: #FFF;
}

.step-line {
  width: 150px;
  height: 1px;
  background-color: #FFF;
  flex-shrink: 0;
}

.step-title {
  font-size: 40px;
  font-weight: bold;
  color: #FFF;
  margin-left: auto;
  white-space: nowrap;
  line-height: 1;
}

.step-text {
  color: #FFF;
  line-height: 1.8;
}

.step-right img {
  width: 100%;
  margin-top: 14px;
  box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.16);
}

section.page-service-type {
  background-color: #EEEEEE;
  padding: 158px 0 200px 0;
}

h2 {
  margin-bottom: 100px;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 45px;
  max-width: 1000px;
  margin: 0 auto;
}

.image-gallery img {
  width: calc((100% - 90px) / 3); 
  box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.16);
  height: auto;
}

.youtube-wrapper {
  position: relative;
  aspect-ratio: 16 / 9; /* ← 新たに追加！ */
  height: auto;
  overflow: hidden;
  max-width: 1000px;
  margin: 60px auto 0 auto;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@media screen and (max-width: 768px) {
  .image-gallery img {
    width: calc((100% - 45px) / 2);
  }
  .image-gallery {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .image-gallery img {
    width: 100%; /* 1列に切り替え */
  }
}

.gallery-title h2 {
  text-align: center;
  padding: 150px 0 0 0;
  color: #004393;
  font-weight: 800;
  font-size: 40px;
}

.gallery-title-w h2 {
  text-align: center;
  padding: 150px 0 0 0;
  color: #FFF;
  font-weight: 800;
  font-size: 40px;
  line-height: 60px;
}

section.page-service-construction {
  background: linear-gradient(to bottom, #4C96A4, #004393);
  padding: 158px 0 200px 0;
}

@media screen and (max-width: 768px) {
  .service-steps {
    padding: 165px 20px 0 20px;
  }

  .step {
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
  }

  .step.reverse {
    flex-direction: column;
  }

  .step-left, .step-right {
    width: 100%;
  }

  .step-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
  }

  .step-num {
    font-size: 36px;
    width: auto;
  }

  .step-line {
    width: 100%;
    margin: 10px 0;
    display: none;
  }

  .step-title {
    font-size: 28px;
    margin-left: 0;
  }

  .step-text {
    font-size: 16px;
  }

  .step-right img {
    width: 100%;
    margin-top: 20px;
  }

  section.page-service-process {
  padding: 158px 0 10px 0;
  }
}


/* --------------------------------------------------  
page-recruit
-------------------------------------------------- */
.recruit-copy {
  font-size: 60px;
  line-height: 90px;
  color: #004393;
}

.recruitcopy-text {
  padding: 120px 0 0px 0;
  line-height: 35px;
}

section.page-recruit-guidelines {
  background: linear-gradient(to bottom, #4C96A4, #004393);
  padding: 158px 0 200px 0;
}

.custom-table {
  width: 800px;
  margin: 0 auto;
  color: #fff;
  font-size: 16px;
  padding: 156px 0 0 0;
}

.table-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}

.table-row.no-border {
  border-bottom: none;
}

.cell-left {
  width: 240px;
  text-align: left;
  padding-right: 10px;
  flex-shrink: 0;
}

.cell-right {
  width: 450px;
  text-align: left;
  line-height: 1.6;
}

section.page-recruit-interview {
  background: #EEEEEE;
  padding: 158px 0 200px 0;
  color: #004393;
}

.recruit-section {
  width: 1140px;
  margin: 0 auto;
  padding-top: 157px;
}

.recruit-block {
  display: flex;
  margin-bottom: 60px;
}

.recruit-block.reverse {
  flex-direction: row-reverse;
}

.recruit-img img {
  width: 350px;
  box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.16);
}

.recruit-text {
  width: 790px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-left: 0;
  align-items: center;
  text-align: left;
}

.recruit-block.reverse .recruit-text {
  padding-left: 0;
  padding-right: 0;
}

.recruit-info {
  display: flex;
  margin-bottom: 50px;
}

.recruit-dept {
  width: 200px;
  text-align: left;
  font-weight: bold;
}

.recruit-name {
  width: 530px;
  text-align: left;
  font-weight: bold;
}

.recruit-desc {
  width: 670px;
  text-align: left;
  line-height: 1.8;
}

section.page-recruit-contact {
  background: linear-gradient(to bottom, #4C96A4, #004393);
  padding: 170px 0 200px 0;
}

/* メディアクエリ */
@media screen and (max-width: 768px) {

  .recruit-copy {
      font-size: 40px;
      line-height: 60px;
      color: #004393;
  }

  .table-row {
    display: block;
    padding: 10px 0;
  }

  .cell-left,
  .cell-right {
    width: 100%;
    padding: 5px 0;
  }

  .cell-left {
    font-weight: 800;
}

  .recruit-block {
    flex-direction: column !important;
    align-items: center;
  }

  .recruit-info {
    flex-direction: column;
    align-items: flex-start;
  }

  .recruit-dept,
  .recruit-name {
    width: 100%;
  }

  .top-contact-telmail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .top-contact-box img {
    width: 50px;
    height: auto;
  }

  .top-contact-text {
    font-size: 18px;
    text-align: center;
  }

  .top-service-title {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .recruitcopy-text {
    padding: 60px 20px;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .custom-table {
    width: 100%;
    padding: 156px 20px 0 20px;
  }

  .recruit-section {
    width: 100%;
  }

  .recruit-desc {
    width: 100%;
  }

  .recruit-text {
    width: 100%;
    padding: 0 20px;
  }

  .recruit-block.reverse .recruit-text {
    padding: 0 20px;
  }
}

/* --------------------------------------------------  
page-company
-------------------------------------------------- */

section.page-company-policy {
    padding: 139px 0 200px 0;
}

.company-copy {
  font-size: 60px;
  line-height: 90px;
  color: #004393;
  text-align: center;
  padding-top: 140px;
}

.companycopy-text {
  padding: 120px 0 0 0;
  display: flex;
  justify-content: center;
}

.companycopy-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.companycopy-text li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 20px;
  line-height: 1.8;
  max-width: 900px;
  text-align: left;
}

.companycopy-text li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.2em;
  color: #000;
  font-size: 14px;
}

section.page-company-information {
  background: #004393;
  padding: 160px 0 200px 0;
}

section.page-company-map {
  padding: 163px 0 200px 0;
}

.company-map {
  margin: 0 auto;
  padding-top: 127px;
  display: flex;
  justify-content: center;
}


/* --------------------------------------------------  
page-news
-------------------------------------------------- */


.news-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.news-item a {
  text-decoration: none;
  color: #007acc;
}

#pagination button {
  margin: 5px;
  padding: 5px 10px;
}

#pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

#pagination button {
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  padding: 8px 12px;
  transition: opacity 0.3s, color 0.3s;
}


/* 左向き三角ボタン ◀ */
#pagination .prev::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 6px;
  vertical-align: middle;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
}

/* 右向き三角ボタン ▶ */
#pagination .next::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  vertical-align: middle;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #fff;
}

/* ページ番号 */
#pagination button:not(.prev):not(.next) {
  padding: 8px 12px;
}

/* ホバー */
#pagination button:hover {
  opacity: 0.7;
}

/* アクティブなページ */
#pagination button.active {
  color: #004393;
  font-weight: 900;
}

.news-detail-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 100px;
  color: #fff;
}

.news-detail-box {
  display: flex;
  width: 1000px;
}

.news-detail-date {
  width: 255px;
  padding-left: 57px;
  font-weight: bold;
}

.news-detail-content {
  width: 745px;
}

.news-detail-title {
  font-weight: bold;
  margin-bottom: 100px;
  font-size: 1.5rem;
}

.news-detail-body {
  line-height: 2;
}

/* ナビ全体のレイアウト */
.news-detail-nav {
  width: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 左向き三角（prev） */
.news-detail-nav .prev::before {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-right: 20px;
  vertical-align: middle;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
}

/* 右向き三角（next） */
.news-detail-nav .next::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 20px;
  vertical-align: middle;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #fff;
}

.news-detail-nav a {
  transition: .3s;
}

.news-detail-nav a:hover {
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  .news-detail-box {
    display: block;
    width: 100%;
}
.news-detail-content {
    width: 100%;
}

.news-detail-date {
    width: 100%;
    padding-left: 0px;
}

.news-detail-container {
    max-width: 100%;
}

.news-detail-nav {
    width: 100%;
}
}

/* --------------------------------------------------  
page-contact
-------------------------------------------------- */
.page-contact {
  font-family: "Noto Sans JP", sans-serif;
}


.page-contact h1 {
  font-size: 40px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  color: #004393;
  letter-spacing: 15px;
}


.page-contact p {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  padding: 80px 0;
}

/* メールフォーム部分 */
.page-form-container {
  width: 1140px;
  max-width: 100%;
  margin: 40px auto;
  background-color: #4C96A4;
  padding: 120px 0;
}

/* 電話ボックス */
.page-tel-container {
  width: 100%;
  background: linear-gradient(to bottom, #4C96A4, #004393);
  color: #FFF;
  font-size: 80px;
  font-weight: bold;
  text-align: center;
  padding: 50px 0;
  box-sizing: border-box;
  letter-spacing: 10px;
}

.page-tel-container a {
  color: #FFF;
  transition: .3s;
}

.page-tel-container a:hover {
  opacity: 0.6;
}

.page-contact-container {
  padding: 120px 0 0 0;
}

@media screen and (max-width: 1024px) {
  .page-contact h1 {
    font-size: 32px;
    letter-spacing: 8px;
  }

  .page-form-container {
    padding: 80px 20px;
  }

  .page-contact p {
    padding: 60px 20px;
  }

  .page-tel-container {
    font-size: 60px;
    letter-spacing: 6px;
  }
}

@media screen and (max-width: 768px) {
  .page-contact h1 {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .page-contact p {
    font-size: 15px;
    padding: 40px 15px;
  }

  .page-form-container {
    padding: 60px 15px;
  }

  .page-tel-container {
    font-size: 40px;
    letter-spacing: 2px;
    padding: 40px 10px;
  }

  .company-copy {
    font-size: 40px;
    line-height: 60px;
  }
  .companycopy-text {
      padding: 120px 20px 0 20px;
}

}

@media screen and (max-width: 480px) {
  .page-contact h1 {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .page-contact p {
    font-size: 14px;
    padding: 30px 10px;
  }

  .page-form-container {
    padding: 40px 10px;
  }

  .page-tel-container {
    font-size: 28px;
    letter-spacing: 1px;
    padding: 30px 5px;
  }
}


/* --------------------------------------------------  
page-privacy
-------------------------------------------------- */
.privacy-container {
  background-color: #004393;
  max-width: 1140px;
  width: 100%;
  padding: 0 20px;
  margin: 70px auto;
  color: #FFF;
  padding: 120px 70px 150px 70px;
}

section.privacy {
  padding: 70px 0;
}

@media screen and (max-width: 768px) {
  .privacy-container {
    padding: 120px 20px 150px 20px;
  }
}