@charset "UTF-8";
/*===========
common  
===========*/
  .u-section__title{
    font-size: 18px;
    font-weight: normal;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
  }
  
  .u-section__title span{
    font-size: 73px;
    font-weight: normal;
  }  
  
  .u-section__title[data-type="01"]{
    text-align: right;
    padding-right: 5%;
  }

  .u-section__title[data-type="02"]{
    text-align: left;
    padding-left: 5vw;
  }

  .u-section__title[data-type="02"] span{
    color:#cccccc;
  }

  .u-section__title[data-type="03"]{
    text-align: left;
    padding-left:calc((100vw - 900px) / 2);
    position: relative;
    color:#ffffff;
    margin-bottom: 0;
  }

.u-section__title[data-type="03"]:before{
  content:" ";
  width: calc(((100vw - 900px) / 2) - 20px);
  height: 1px;
  background:#ffffff;
  top:calc(50% - 30px);
  left: 0;
  display: block;
  position: absolute;
}




  .u-section-block{
    padding: 100px 0;
  }
  
  .u-content_w900{
    width: 90%;
    max-width: 900px;
    margin: auto;
  }

.u-text{
  font-size: 16px;
  line-height: 1.75em;
}

.os,.os *{
  font-family: "Oswald", sans-serif;
}
/* === ファーストビュー === */
.first-view {
  position: relative;
  height: 100vh;
  min-height: 700px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* === パララックス背景 === */
.main-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* 少し余裕を持たせる */
  opacity: 0;
  
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.1s linear;
  animation: bgIn 2s ease-out forwards;
  animation-delay: 4.2s;
  z-index: 1;
}

.main-bg .slide-img{
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.fade-slider__inner{
  width: 100%;
  height: 100%;
  position: relative;
}

/* すでにスライド要素のCSSがあるなら、そこに +α で追加してOK */
.js-fade-slide {
  opacity: 0;
  transition: opacity 0.6s ease;
  position: absolute;
  top:0;
  left: 0;
}

/* 表示中のスライド */
.js-fade-slide.is-active {
  opacity: 1;
}

@keyframes bgIn { to { opacity: 1; } }

.bg-visible .logo-wrap { color: #fff; }

/* === ロゴ・テキスト === */
.logo-wrap {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #000;
  transition: color 1.5s ease;
}

.logo {
  font-size: 80px;
  font-weight: bold;
  opacity: 0;
  transform: scale(3);
  animation: logoIn 2s ease-out forwards;
}

/*
.logo *{
  animation: whiteOut 1.5s ease-out forwards;
  animation-delay: 4.2s;
}

@keyframes whiteOut {
  to { fill:#ffffff; transform: translateY(0); }
}
*/

@keyframes logoIn {
  0% { opacity: 0; transform: scale(3); }
  40% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.text {
  font-size: 24px;
  opacity: 0;
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  transform: translateY(30px);
  animation: textIn 1.5s ease-out forwards;
  animation-delay: 2.3s;
}
@keyframes textIn {
  to { opacity: 1; transform: translateY(0); }
}


/* === ヘッダー === */
.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  opacity: 0;
  animation: headerIn 1.5s ease forwards;
  animation-delay: 4.5s;
  z-index: 5;
  display: flex;
  align-items: flex-start;;
  justify-content: space-between;
  height: 100px;
  padding: 20px;
  transition: all 0.3s ease;
}

@media screen and (max-width:767px){
  .main-header {
  height: 58px;
    padding:0 5%;
    align-items: center;
  }
  
  .main-header__logo img{
    width: 120px;
  }
}

.main-header nav .btn {
border: none;
color: var(--color-brand) !important;
border-radius: 0;
background: #ffffff;
position: relative;
width: 160px;
padding-left: 45px;
display: inline-block;
}

.main-header nav .btn::before {
background: var(--color-brand, #87774a);
color:#ffffff !important;
} 

.main-header nav .btn:hover{
  opacity: 1;
  color:#ffffff !important;
}  
  
.main-header nav svg{
  width: 35px;
  position: absolute;
  top: 17px;
  left: 15px;
}  

.main-header nav .btn:hover path{
  fill:#ffffff;
}

.main-header.header-scroll {
  background: rgba(0, 0, 0, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}
@keyframes headerIn { to { opacity: 1; } }

.main-header .main-header__logo {
  font-size:12px;
  margin: 0;
  color: #ffffff;
  margin-left: 30px;
}

.main-header .main-header__logo a:hover{
 opacity: 1; 
}

/* === メニュー === */
.main-header .nav {
  display: flex;
  gap: 50px;
  align-items: center;
}
.main-header .nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: normal;
  transition: color 0.3s;
  text-align: center;
  font-size: 10px;
}
.main-header .nav a:hover { color: var(--color-brand); }

.main-header .nav a span{
  font-size: 16px;
  letter-spacing: 0.075em;
}

/* === ハンバーガーボタン === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 10;
  margin-right: 5%;
}
.hamburger span {
  height: 3px;
  width: 100%;
  background: #fff;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(2){margin: 5px 0;}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-8px);position: relative;top: -4px;}

/* === モバイルメニュー === */
@media (max-width: 768px) {
  .main-header .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
  }
  .main-header .nav.open { right: 0; }
  .hamburger { display: flex; }
}

/* === SCROLL DOWN === */
.scroll-down {
  position: absolute;
  right: 40px;
  bottom: 40px;
  font-size: 14px;
  letter-spacing: 2px;
  color: #fff;
  text-align: center;
  opacity: 0;
  animation: scrollFadeIn 2s ease forwards;
  animation-delay: 5.5s;
  z-index: 2;
  writing-mode: vertical-rl;
}
.scroll-down::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  margin: 10px auto 0;
  background: #fff;
  animation: arrowMove 1.5s ease-in-out infinite;
  margin-top: 190px;
  position: relative;
  right: -11px;
}
@keyframes arrowMove {
  0%,100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(10px); opacity: 0.6; }
}
@keyframes scrollFadeIn { to { opacity: 1; } }

/* === レスポンシブ微調整 === */
@media (max-width: 1024px) {
  .logo { font-size: 60px; }
  .text { font-size: 20px; }
}

@media screen and (max-width:1000px){
  .first-view{
    padding:0 5%;
  }
  
  .text {
  font-size: 16px;
  margin-bottom: 20px;  
  }
  
  
}

@media (max-width: 600px) {
  .logo { font-size: 42px; }
  .scroll-down { right: 20px; bottom: 25px; font-size: 12px; letter-spacing: 1px; }
  .scroll-down::after { height: 30px; }
  header { padding: 16px 5%; }
  header h1 { font-size: 16px; }
  .main-header h1{
    margin-left: 0;
  }
  .text {
  font-size: 14px;
  }
  .hamburger{
    margin-right: 0;
  }
}



/*===========
top-about 
===========*/
  .top-about{
    background-image: url("../images/side_logo.svg");
    background-size: 200px auto;
    background-position: -30px 100px;
    background-repeat: no-repeat;
  }
  
  .top-about__title{
    text-align: center;
    font-weight: bold;
    letter-spacing: 0.15em;
    color:var(--color-brand);
    font-size:38px;
    margin-bottom: 40px;
  }
  
  .top-about__title small{
    display: block;
    margin-bottom: 30px;
    color:#333333;
    font-size: 17px;
    font-weight: 500;
  } 
  
  .top-about__image{
    width: calc(100% - ((100% - 900px) / 2));
    position: relative;
    left:calc((100% - 900px) / 2);
  }
  
  .top-about__text{
    font-size: 16px;
    line-height: 2.5em;
    margin-top: 40px;
  }

/*===========
top-service
===========*/
  .top-service{
    background:var(--color-bg-light);;
  }
  
  .top-service .u-section__title span{
    color:#ffffff;
  }
  
  .top-service__block{
    display: grid;
    gap:60px;
  }

  .top-service__box{
    width: calc(100% - ((100% - 900px) / 2));
    position: relative;
  }
  
  .top-service__box[data-service="02"]{
    left:calc((100% - 900px) / 2);    
  }
  
  .top-service__box .top-service__heading{
    display: flex;
    background: #ffffff;
  }  
  
  .top-service__box[data-service="02"] .top-service__heading{
    flex-flow: row-reverse;
  }

  .top-service__heading-image{
    width:  450px;
    height: 355px;
  }
  
  .top-service__heading-image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .top-service__heading-info{
    padding: 50px;
    position: relative;
    width: calc(100% - 450px);
  }

@media screen and (max-width:1000px){
  .top-service__heading-info{
    padding: 30px;
  }
}
  
  .top-service__heading-title{
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px dashed #cccccc;
    color:var(--color-brand);
    font-size: 26px;
    font-weight: 500;
  }
/* ============================================
   TOP SERVICE ACCORDION + LIGHTBOX (RESPONSIVE)
============================================ */

/* ボタン */
.top-service__trigger {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  background: transparent;
  color: var(--color-main, #87774a);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  bottom:0;
  right:0;
  padding: 0;
}

.top-service__trigger span {
  display: inline-block;
  position: relative;
  padding: 20px;
  margin-left: 15px;
  background: var(--color-brand);
}

.top-service__trigger span::before,
.top-service__trigger span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1px;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.top-service__trigger span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.top-service__trigger.is-active span::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* ホバーアクション */
.top-service__trigger::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
  z-index: -1;
}

.top-service__trigger:hover {
  color: var(--color-brand);
}

.top-service__trigger:hover::before {
  transform: scaleX(1);
}

/* アコーディオン */
.top-service__example {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.top-service__example.is-open {
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
}

/* ギャラリー */
.top-service__list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.top-service__list li {
  flex: 1 1 calc(25% - 24px);
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  max-height: 210px;
  position: relative;
}
.top-service__list li:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.top-service__list img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* ============================================
   LIGHTBOX (左右ナビ＋フェード)
============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 999;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.6s ease;
}

.lightbox__img.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ナビゲーションボタン */
.lightbox__nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent; /* テキスト矢印を非表示 */
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  opacity: 0.9;
  z-index: 10;
}

.lightbox__nav::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transition: transform 0.3s ease;
}

.lightbox__nav--prev::before {
  transform: rotate(-135deg); /* 左向き */
  position: relative;
  left: 3px;
}

.lightbox__nav--next::before {
  transform: rotate(45deg); /* 右向き */
  position: relative;
  left: 0px;
}

/* ホバー時のエフェクト */
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.lightbox__nav--prev { left: 3%; }
.lightbox__nav--next { right: 3%; }

/* --------------------------------------------
   RESPONSIVE DESIGN
-------------------------------------------- */

/* タブレット：2列 */
@media (max-width: 1024px) {
  .top-service__list li {
    flex: 1 1 calc(50% - 24px);
  }

  .lightbox__img {
    max-width: 85%;
    max-height: 80%;
  }
}

/* スマホ：1列 */
@media (max-width: 767px) {
  .top-service__list {
    gap: 16px;
  }
  .top-service__list li {
    flex: 1 1 100%;
  }

  .top-service__trigger {
    width: 100%;
    justify-content: center;
  }

  .lightbox__img {
    max-width: 95%;
    max-height: 80%;
  }

  .lightbox__nav--prev { left: 5%; }
  .lightbox__nav--next { right: 5%; }
}


/* ============================================

top-news

============================================ */

  .news__list{
    max-width: 1800px;
    width: 90%;
    display: grid;
    gap:20px;
    grid-template-columns: repeat(3,1fr);
    margin: auto;
  }

  .news__list li{
    border:1px solid #cccccc;
    padding-bottom: 30px;
    position: relative;
  }
  
  .news__list-img{
    width: 100%;
    height: 280px;
  }
  
  .news__list-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .news__list-box{
    padding: 20px;
  }
  
  .news__list-date{
    color:#b3b3b3;
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .news__list-title{
    font-size: 16px;
    line-height: 2em;
  }
  
  .news__arrow{
    position: absolute;
    right: 20px;
    bottom: 20px;
    transition: 0.5s;
    transform: translateX(0);
  }
  
  a:hover .news__arrow{
    transform: translateX(10px);
  }
  
  .btn-wrap{
    margin-top: 60px;
    text-align: center;
  }



/* ============================================

top-company

============================================ */
  .top-company__wrap{
    display: grid;
    grid-template-columns: calc(280px + 5%) 1fr;
    gap:40px;
    align-items: center;
  }
  
  .company__table{
    width: 100%;
    line-height: 2em;
  }
  
  .company__table th{
    padding: 20px;
    width: 150px;
    padding-left: 50px;
    text-align: left;
    vertical-align:top;
  }
  
  .company__table td{
    padding: 20px;
    padding-right: 20px;
    width: calc(100% - 150px);
  }  
  
  .company__table tr:nth-child(odd) th,
  .company__table tr:nth-child(odd) td{
    background:#f2f2f2;
  }
  
  .top-company__title{
    font-size: 34px;
    margin-top: 60px;
  }
  
  .top-company__link{
    display: flex;
    gap:20px;
    align-items: center;
  }

.com-btn{
  display: inline-block;
  font-size: 10px;
  color:#ffffff;
  padding: 1px 10px;
  border-radius: 100px;
  background: #222222;
  margin-left: 10px;
}

.com-list{
  padding-left: 1.75em;
  list-style: disc;
}
/* ============================================

foot-contact

============================================ */
.foot-contact{
  background: url("../images/contact__bg.webp") center;
  background-size: cover;
}

  .foot-contact__content{
    display: grid;
    grid-template-columns: calc(300px + ((100% - 900px) / 2)) 1fr;
    gap:30px;
    padding-right: 5%;
  }
  
  .foot-contact__block{
    display: grid;
    column-gap:20px;
    grid-template-columns: repeat(2,1fr);
  }
  
  .foot-contact__box{
    padding: 30px;
    border:1px solid #ffffff;
    color:#ffffff;
    text-align: center;
    display: grid;
    align-items: center;
    position: relative;
  }
  
  .top-contact__icon{
    position: absolute;
    left: -10px;
    top:-30px;
  }
  
  .foot-contact .btn-wrap{
    margin-top: 20px;
  }
  
  .foot-contact__box-title{
    font-size: 18px;
  }
  
  .foot-contact .btn svg{
    position: absolute;
    right: 10px;
    top:calc(50% - 10px);
  }  
  
.foot-contact .btn {
  border: 2px solid #ffffff;
  color: #ffffff;
  width: 100%;
  font-size: 20px;
}
  
  .foot-contact .btn:hover{
    opacity: 1;
  }
  
.foot-contact .btn *{
  stroke:#fff !important;
}

  .foot-contact .btn:hover{
    border-color: var(--color-brand);
  }  
  
.foot-contact .btn::before {
  background: var(--color-brand);
}

/* map-aria */
.map-aria{
  width: 100%;
  line-height: 0;
  display: block !important;
}

.map-aria iframe{
  width: 100%;
  height: 530px;
}

/* ============================================

main-footer

============================================ */
  .main-footer{
    background: #000000;
    color:#ffffff;
    padding:60px 5% 0;
    position: relative;
  }
  
  .main-footer__copy{
    border-top:1px solid var(--color-brand);
    margin: auto;
    padding: 40px 0 60px;
    font-size: 10px;
    color:#ffffff;
    text-align: left;
  }

  .main-footer .btn {
  position: relative;
  display: inline-flex;
  padding: 0.8em 2.2em;
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  overflow: hidden;
  transition: color 0.4s ease;
  z-index: 0;
  border-radius: 0;
  justify-content: center;
  align-items: center;
}
  
  .main-footer .btn svg{
    margin-right: 20px;
  }  

.main-footer .btn::before {
  background: var(--color-brand);
}
  
.main-footer .btn:hover {
  border-color:var(--color-brand);
  opacity: 1;
}  

  .main-footer__address{
    display: flex;
    gap:70px;
    margin-top: 30px;
  }
  
  .main-footer__address-title{
    display: inline-block;
    padding: 1px 20px;
    border:1px solid #ffffff;
    margin-bottom: 10px;
    font-size: 14px;
  }
  
  .main-footer__address-text{
    font-size: 14px;
  }
  
  .main-footer__content{
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
  }
  
  .main-footer__nav{
    display: flex;
    margin-bottom: 30px;
    column-gap: 30px;
    font-size: 16px;
  }
  
  .main-footer__btn{
    text-align: right;
  }
  
  .pagetop{
    right: 5%;
    bottom:30px;
    position: absolute;
  }

/* recruit-btn */
  .recruit-bth{
    position: fixed;
    right: -100px;
    top:calc(50% - 80px);
    color:#ffffff;
    display: grid;
    background: var(--color-brand);
    z-index:10;
    padding: 10px;
    text-align: center;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    transition: 0.4s ease;
  }  
  
  .recruit-bth.scroll-flag{
    right: 0;
  }  
  
  .recruit-bth.scroll-flag:hover{
    opacity: 1;
    filter: brightness(1.2);
  }
  
  .recruit-bth p{
    writing-mode: vertical-rl;
    padding-right: 4px;
    font-weight: bold;
  }  
  
  .recruit-bth img{
    display: block;
  }

/*================

other-page

=================*/
/* common */
.page-title{
  height: 360px;
  display: flex !important;
  align-items: center;
  padding: 0 5%;
  color:#ffffff;
  position: relative;
  background: url("../images/page-title_bg.webp") center;
  background-size: cover;
  width: 100%;
  padding-top: 60px;
}

.page-title__main{
  font-size: 18px;
}

.page-title__main span{
  font-size: 120px;
  line-height: 1em;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  display: inline-block;
  opacity: 0.8;
}

.page-title__main span{
  font-size: 120px;
  line-height: 1em;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.bread-crumbs{
  color:#ffffff;
  position: absolute;
  right: 5%;
  bottom:30px;
  display: flex;
  gap:60px;
}

.bread-crumbs li{
  position: relative;
}

.bread-crumbs li:not(:first-child):after{
  content:" ";
  position: absolute;
  top:8px;
  left: -40px;
  width: 10px;
  height: 10px;
  border-top: solid 2px #ffffff;
  border-right: solid 2px #ffffff;
  transform: rotate(45deg);
  display: block;
}

.other-page .main-header{
  animation-delay: 0s;
}

/* contact */
  .contact__heading{
    text-align: center;
  }  
  
  .contact__heading span{
    display: inline-block;
    font-size: 20px;
    line-height: 2em;
    padding:0 40px 30px;
    border-bottom: 1px solid #4d4d4d;
    margin-bottom: 40px;
  }  
  
  .contact__title{
    text-align: center;
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 30px;
  }
  
  .contact__title i{
    display: inline-block;
    margin-bottom: 10px;
  }
  
  .contact__tel-area{
    text-align: center;
  }
  
  .contact__tel-area span{
    padding: 20px 40px;
    background: #f2f2f2;
    font-size: 44px;
    display: inline-block;
    line-height: 1.25em;
  }  
  
  .contact__table{
    max-width: 730px;
    margin: auto;
    width: 100%;
  }
  
  .contact__table th{
    padding:10px 0;
    font-size: 18px;
    vertical-align: top;
    text-align: left;
    width:285px;
    font-weight: normal;
  }
  
  .contact__table th span{
    display: inline-block;
    margin-left: 10px;
    padding: 1px 8px;
    border-radius: 3px;
    background: #c1272d;
    color:#ffffff;
    font-size: 12px;
    
  }
  
  .contact__table td{
    padding:10px 0;
    font-size: 16px;
    width:calc(100% - 285px);
  }
  
  .contact__table td input,
  .contact__table td textarea{
    padding:10px;
    background: #f2f2f2;
    width: 100%;
    display: block;
  }

.submit-btn{
  text-align: center;
  margin-top: 40px;
}

.submit-btn span{
  position: relative;
  padding: 0;
}

.submit-btn span button{
  width: 100%;
  height: 100%;
  display: flex;
  min-width: 200px;
  align-items: center;
  justify-content: center;
  padding: 0.8em 2.2em;
  padding-left: 0;
  cursor: pointer;
}

.submit-btn:hover svg *{
  stroke:#ffffff;
}

.submit-btn svg{
  display: inline-block;
  margin-right: 10px;
  margin-left: 30px;
}

/* privacy */
  .privacy{
    background: #e6e6e6;
  }
  
  .privacy .u-content_w900{
    padding: 40px;
    background: #ffffff;
  }

/* recruit */
@media (min-width:769px){
  .contact-page .main-header__logo{
    color:#222222;
  }

  .contact-page .main-header .nav a:not(.btn){
    color:#222222;
  }

.contact-page .main-header.header-scroll {
  background: rgba(245, 245, 245, 1);
}
  
.contact-page header .btn{
  border:1px solid var(--color-brand) !important;
}  
}

.recrut-main{
  height:600px;
  width: 100%;
  background: url("../images/recruit/r_main.webp") center;
  background-size: cover;
  display: flex !important;
  padding:0 5%;
  padding-top: 60px;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 100px;
}

  .recrut-main-box{
    display: inline-block;
  }
  
  .recrut-main-title{
    letter-spacing: 0.1em;
    font-size:28px;
    color:var(--color-brand);
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom:1px solid var(--color-brand);
    line-height: 2em;
    font-weight: bold;
  }
  
  .recrut-main-text{
    font-size: 18px;
    color:#222222;
    font-weight: bold;
    line-height: 2.5em;
  }

  .our-works .u-content_w900{
    padding:80px 30px;
    background-color:#ffffff;
    background-image: url("../images/recruit/our-works__bg.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap:20px;
    box-shadow: 0 -20px 20px 0 rgba(0 0 0 / 10%);
    position: relative;
    top:-60px;
  }

  .our-works__title{
    font-weight: bold;
    font-size:32px;
    letter-spacing: 0.1em;
    color:var(--color-brand);
  }
  
  .our-works__title span{
    font-size:68px;
    letter-spacing: 0.1em;
    color:#808080;
    font-weight: 500;
    line-height: 1.25em;
  } 
  
  .our-works__text{
    font-weight: bold;
    font-size: 18px;
    line-height: 2.25em;
    color:#333333;
  }
  
  .our-works__icon{
    position: absolute;
    right: -80px;
    top:-80px;
    width: 160px;
    height: 160px;
    border-radius: 100px;
    color:#ffffff;
    background: linear-gradient(to right,#006837,#000000);
    text-align: center;
  }
  
  .our-works__icon span:nth-child(1){
    font-weight:bold;
    padding-top: 45px;
    font-size:16px;
    letter-spacing: 0.1em;
    display: block;
  }
  
  .our-works__icon span:nth-child(2){
    font-weight:bold;
    font-size:30px;
    letter-spacing: 0.1em;
    display: block;
  }

.message{
  background: url("../images/recruit/rec_bg.webp") center;
  background-size: cover;
  position: relative;
  color:#ffffff;
}

  .message__obj{
    font-size: 100px;
    letter-spacing: 0.2em;
    position: absolute;
  }
  
  .message .message__obj{
    top:190px;
    left: -190px;
    transform: rotate(-90deg);
    opacity: 0.5;
    color:#ffffff;
  }
  
  .r-sec-title{
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 0.2em;
    margin-bottom: 40px;
  }
  
  .r-sec-text{
    padding: 40px 0;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.2em;
    padding-left: 280px;
    line-height: 2em;
  }
  
  .r-sec-ceo{
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    padding-left: 280px;
  }

  .voice{
    position: relative;
  }
  
  .voice .message__obj{
    transform: rotate(90deg);
    right: -100px;
    top: 280px;
    color: #cccccc;
    z-index: -1;
  }
  
  .voice .r-sec-title{
    color:#808080;
  }
  
  .voice__list{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap:50px;
    margin-bottom: 80px;
  }
  
  .voice__list-img{
    text-align: center;
    
  }
  
  .voice__list-img img{
    display: inline;
  }  
  
  .voice__list-text{
    font-weight: bold;
    line-height: 2em;
    font-size: 18px;
  }

  .voice__list-text .mini{
    line-height: 1em;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
  }

  .voice-point{
    padding: 40px;
    position: relative;
    background: #f9f9f9;
  }

  .voice-point__icon{
    width: 80px;
    height: 80px;
    border-radius: 100px;
    background: var(--color-brand);
    color:#ffffff;
    font-size: 22px;
    text-align: center;
    position: absolute;
    left: -40px;
    top:-40px;
    font-weight: bold;
    padding-top: 21px;
  }
  
  .voice-point__title{
    font-size:22px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .voice-point__text{
    font-size:18px;
    font-weight: bold;
    line-height: 2em;
  }

  .experience{
      background:linear-gradient(#b3b3b3, #b3b3b3); /* グレー背景 */
      background-repeat: no-repeat;
      background-size: 70% 80%; /* ← 横60%（右40%余白）× 縦80%（下20%余白） */
      background-position: left top; /* ← 左上を基準に配置 */
      color:#ffffff;
      padding:0 5%;
  }  
  
  .experience .message__obj{
    position: relative;
    z-index: 0;
    bottom:-60px;
    color:#00aa44;
    opacity: 0.5;
  }
  
  .experience .r-sec-title{
    position: relative;
    z-index: 2;
  }
  
  .experience__text{
    font-weight: bold;
    font-size: 18px;
    line-height: 2em;
  }
  
  .experience__list{
    padding-left: 15%;
    margin-top: 30px;
    display:flex;
    flex-wrap: wrap;
  }

.experience__list li{
  padding: 25px;
  background-size: cover;
  background-position: center;
  height: 220px;
  width: calc(100% / 3);
  text-align: center;
  display: grid;
  font-size: 20px;
  font-weight: bold;
  line-height: 2em;
  
}

.experience__list li img{
  display: inline;
}

.experience__list li:nth-child(1){
  margin-left: calc((100% / 3) / 2);
}

.experience__list li:nth-child(2){
  margin-right: calc((100% / 3) / 2);
}
  
  /* 上2つを横並びに（中央寄せ）*/
.experience__list li:nth-child(1) {
  background-image: url("../images/recruit/experience__img01.webp");
}
.experience__list li:nth-child(2) {
  background-image: url("../images/recruit/experience__img02.webp");
}

/* 下3つは通常通り */
.experience__list li:nth-child(3) {
  background-image: url("../images/recruit/experience__img03.webp");
}
.experience__list li:nth-child(4) {
  background-image: url("../images/recruit/experience__img04.webp");
}
.experience__list li:nth-child(5) {
  background-image: url("../images/recruit/experience__img05.webp");
}

  .recruit-info .message__obj{
    position: relative;
    color:#808080;
  }
  
  .recruit-info__block{
    color:#808080;
    width:525px;
  }
  
  .recruit-info__content{
    display: flex;
    padding-left: 5%;
  }
  
  .recruit-info__content .top-company__block{
    width: calc(100% - 525px);
  }

  .flow{
    background: #e6e6e6;
  }
  
  .flow .message__obj{
    color:#ffffff;
    position: relative;
  }
  
  .flow__list{
    display: grid;
    gap:60px;
  }
  
  .flow__list li{
    position: relative;
    height: 190px;
    background-size: cover;
    background-position: center;
  }

.flow__list li:not(:last-child):after{
  content:" ";
  clip-path: polygon(0 0, 50% 100%, 100% 0);
  width: 50px;
  height: 25px;
  background: #ffffff;
  position: absolute;
  left: calc(50% - 25px);
  bottom:-40px;
}

  .flow__list li:nth-child(1){
    background-image: url("../images/recruit/flow__bg01.webp");
  }

  .flow__list li:nth-child(2){
    background-image: url("../images/recruit/flow__bg02.webp");
  }

  .flow__list li:nth-child(3){
    background-image: url("../images/recruit/flow__bg03.webp");
  }

  .flow__list li:nth-child(4){
    background-image: url("../images/recruit/flow__bg04.webp");
  }
  
  .flow__list-step{
    position: absolute;
    color:var(--color-brand);
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    padding-right: 50px;
    width: 300px;
    background: #ffffff;
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    left: 0;
    bottom:0;
  }
  
  .flow__list-step span{
    display: inline-block;
    font-size: 17px;
    margin-left: 15px;
  }  

.entry-text{
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 0.2em;
  font-size: 16px;
}

.entry-title{
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.2em;
  font-size: 26px;
  margin-bottom: 50px;
}

.entry-subtitle{
  margin-top: 60px;
  margin-bottom: 30px;
  text-align: center;
  font-size: 18px;
}

.confirm-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.confirm-content {
  background: #fff;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  border-radius: 8px;
}
.confirm-buttons p{
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap:20px;
}
.confirm-buttons button,
.confirm-buttons input[type="submit"] {
  padding: 10px 30px;
  border: none;
  background: #333;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
.confirm-buttons button:hover,
.confirm-buttons input[type="submit"]:hover {
  opacity: 0.8;
}

.input-error {
  border: 2px solid #d33;
  background: #fff5f5;
}

.wpcf7-list-item{
  margin-left: 0;
  display: block;
  margin-bottom: 10px;
}

.contact__table td input[type="checkbox"], .contact__table td input[type="radio"]{
    width: auto;
    display: inline;
}

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

.pri-text a{
  text-decoration: underline;
}

@media (max-width:1600px){
#news .news__list{
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width:1000px){
#news .news__list {
    grid-template-columns: 1fr;
}
}

@media (max-width:680px){
.top-about__text.pt02 br{
  display: none;
}
}

.service-text{
    position: absolute;
    z-index: 10;
    bottom: 0;
    left: 0;
    padding: 3px 10px;
    background: #000000;
    color: #ffffff;
}

.service-text02{
    position: absolute;
    left: 0;
    bottom: 30px;
    color: #ffffff;
    background: #000000;
    text-align: center;
    width: 100%;
}


/* =========================
  VOICE LIST 2 (ul > li)
========================= */
.voice_list_2{
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 60px;
}

@media (min-width: 640px){
  .voice_list_2{ gap: 20px; }
}
@media (min-width: 768px){
  .voice_list_2{
  }
}
@media (min-width: 1110px){
  .voice_list_2{
    gap: 24px;
  }
}

/* li をカード化 */
.voice_list_2 > li{
  position: relative;
  overflow: hidden;

  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 16px;
  padding: 18px;
font-weight: bold;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

@media (min-width: 640px){
  .voice_list_2 > li{ padding: 22px; border-radius: 18px; }
}

/* ちょいリッチなアクセント（左上のうっすらグラデ） */
.voice_list_2 > li::before{
  content:"";
  position:absolute;
  inset: -40% -40% auto auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 30% 30%, rgba(195,178,108,.25), rgba(195,178,108,0) 60%);
  pointer-events: none;
}


/* 何が入ってても崩れにくい最低限の整形 */
.voice_list_2 > li :where(h3,h4){
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.voice_list_2 > li :where(p){
  margin: 0;
  line-height: 1.8;
  color: #333;
  font-size: 14px;
}

.mb30{
  margin-bottom: 30px;
}

@media (min-width: 640px){
  .voice_list_2 > li :where(p){ font-size: 15px; }
}

/* 画像が入る場合（li内に img がある想定） */
.voice_list_2 > li img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* 引用っぽさを出したい場合：blockquoteがあれば勝手に良くする */
.voice_list_2 > li blockquote{
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid #C3B26C;
  color: #222;
}

/* 小さい補足（所属/日付など）があれば */
.voice_list_2 > li :where(.meta, .small, small){
  display: block;
  margin-top: 10px;
  color: #666;
  font-size: 12px;
}

/* キーボードフォーカス */
.voice_list_2 > li :where(a,button):focus-visible{
  outline: 3px solid rgba(31,78,159,.35);
  outline-offset: 3px;
  border-radius: 8px;
}

.main-header__logo small{
  font-size: 16px;
}

.top-about__text.pt02{
  text-align: center;
  font-size: 16px;
}

/* 動き苦手な人への配慮 */
@media (prefers-reduced-motion: reduce){
  .voice_list_2 > li{ transition: none; }
}

.single__content p{
  margin-bottom: 20px;
}

body img.emoji{
  display: none !important;
}