@charset "UTF-8";
/*
Theme Name: TANDEN Child
Template:   TANDEN
Version： 2.1.0
*/

html[lang="ja"] body {
  overflow-x: hidden;
  font-family: "Montserrat","Zen Kaku Gothic Antique", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.03em;
}
html[lang="ja"] body p{
  overflow-x: hidden;
  font-family: "Montserrat","Zen Kaku Gothic Antique", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0.03em;
}
@media(max-width: 767px){
  html[lang="ja"] body {
    font-size: 16px;
    line-height: 28px;
  }
  html[lang="ja"] body p{
    font-size: 16px;
    line-height: 28px;
  }
}
html[lang="en-US"] body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.03em;
}
html[lang="en-US"] body p{
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.03em;
}
@media(max-width: 767px){
  html[lang="en-US"] body {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.05em;
  }
  html[lang="en-US"] body p{
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.05em;
  }
}

body:not(.home) main {
  margin-top: 100px;
}


/*container*/
.container{
	padding-left:25px !important;
	padding-right:25px !important;
}
.page-content{
  overflow: hidden;
}



/*slider*/
.slider-top {
	position: relative;
	background-color: #7596B5;
	overflow: hidden;
	margin-top: -1px;
  padding-top:100px;
}
.slider-top img#main-image{
	width:95%;
	height: auto;
	padding:35px 0 50px;
	display: block;
}


.vertical-text {
  transform: rotate(90deg) translateX(0px);
  transform-origin: left top;
  white-space: nowrap;
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  letter-spacing: 0.1em !important;
  color: white;
  position: absolute;
  top:115px;
  left: 50px;
  will-change: transform;
}
@media(max-width: 767px){
  .vertical-text{
    top:102px;
  }
}

#text-after-load {
  opacity: 0;
  transition: opacity 1s ease-in;
}

#text-after-load.visible {
  opacity: 1;
}

.slider-top .message {
  position: absolute;
  top: 127px !important;
  right: 8% !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  letter-spacing: 0.1em !important;
  color: white;
  transform: translateY(-0.5em); /* ← 0.5文字分 上に */
  white-space: nowrap;
}
@media(max-width: 767px){
  .slider-top .message{
    top:140px !important;
    right:2% !important;
  }
}

.slider-line {
  position: absolute;
  bottom: 20px;
  right: 0px;
  width: 320px;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawLine 2s ease forwards;
  animation-delay: 1.4s;
}


@media(max-width: 767px){
	.slider-top img#main-image{
		width: 95%;
    padding:46px 0 50px !important;
	}
	.slider-top .message
	{
		top:54px;
		right: 4%;
	}
	.slider-line{
		width: 60%;
	}
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
/*animation*/
.fade-in-image {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.2s ease, transform 1.2s ease;
  animation: fadeInImage 1.2s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInImage {
  0% {
    opacity: 0;
    transform: scale(1.0);
  }
  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

/* 初期状態 */
.animate-on-visible {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

/* スクロールインでフェードイン＆上昇 */
.animate-on-visible.visible {
  opacity: 1;
  transform: translateY(0);
}

/* スクロールアウトで再度フェードアウト＆下降 */
.animate-on-visible.hide {
  opacity: 0;
  transform: translateY(50px);
}



/*topics*/
.topics {
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 824px;
  margin: 0 auto;
  text-align: center;
}

.topics h2 {
  font-size: 140%;
  margin-bottom: 1.5em;
  font-weight: 700;
  border-top: 2px solid #7596B5;
  border-bottom: 2px solid #7596B5;
  padding: 10px 0;
}

.topics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block; /* ✅ テキスト幅に対する中央寄せ */
  text-align: left;      /* ✅ 左揃えに戻す */
  font-size:16px;
}

.topics-list li {
  position: relative;
  padding-left: 2em;
  padding-right: 2em;
  margin-bottom: 0.5em;
}

/* ✅ 青丸を左に表示 */
.topics-list li::before {
  content: "●";
  position: absolute;
  left: 1em;
  top: 0.5em;
  color: #7596B5;
  font-size: 0.7em;
  line-height: 1;
}

/* ✅ 一行目だけに文字幅の下線 */
.topics-list li:first-child {
  display: inline-block;
  border-bottom: 1px solid #000;
}


/*About&Goal*/
div#-about.container{
	max-width: 1000px;
	position: relative;
  padding-left: 35px;
  padding-right: 35px;
  margin-top: 100px;
}
@media(max-width: 767px){
  div#-about.container{
    padding-left: 50px;
    padding-right: 50px;
  }
}



div#-goal.container{
  max-width: 850px;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
}
@media(max-width: 767px){
  div#-goal.container{
    padding-left: 60px;
    padding-right: 60px;
  }
}
div#-about .img-heading{
	width:238px;
	height:auto;
}

.about-description {
  display: table;
  text-align: left;
  margin-top: 50px;
  margin-left: auto;
  margin-right: 70px;
}


.about-text,.goal-text  {
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 1.5em;
  background-color: #fff;
  letter-spacing: 0.05em;
}

.about-text rt {
  font-size: 0.6em;
  color: #666;
  line-height: 1;
  padding-bottom: 3px;
}

@media(min-width:768px){
	div#-about .col-lg-4{
		width: 40%;
	}

	div#-about .col-lg-8{
		width: 60%;
	}
}

@media(max-width:767px){
	div#-about .img-heading{
		width: 50%;
	}
	.about-description {
		margin-top: 30px;
		margin-left: 0;
		margin-right: auto;
	}
	.about-description p{
		margin-bottom:0;
	}
}

.decoration-1 {
  position: absolute;
  top: 200px; /* ← 必要なら */
  left: calc(-1 * ((100vw - 100%) / 2));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: -1;
}

.decoration-1.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-1 img {
  display: block;
  width: 180px;
  height: auto;
}

@media(max-width:767px){
  .decoration-1 {
    top:auto;
    bottom:0;
    left: calc(-1 * ((100vw - 90%) / 2));
    z-index: 1;
  }
  .decoration-1 img {
    width: 150px;
  }
}

/*Goal*/
#-goal h2{
  font-size:30px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 1em;
}
@media(max-width: 767px){
  #-goal h2{
    font-size: 22px;
    line-height: 1.2;
  }
}
/*.decoration-2*/
.decoration-2 {
  position: absolute;
  top: 200px; /* ← 必要なら */
  left: calc(-1 * ((100vw - 100%) / 2));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: -1;
}

.decoration-2.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-2 img {
  display: block;
  width: 270px;
  height: auto;
}

@media(max-width:767px){
	.decoration-2 {
    display: none;
	}
}
/*.decoration-3*/
.decoration-3 {
  position: absolute;
  top: 100px; /* ← 必要なら */
  right: calc(-1 * ((100vw - 100%) / 2));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: 1;
}

.decoration-3.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-3 img {
  display: block;
  width: 446px;
  height: auto;
}

@media(max-width:767px){
  .decoration-3 {
    display: none;
  }
}






.goal-image{
  max-width: 920px;
  margin: auto;
  padding: 0 20px;
}


/*Guest relations*/
.highlight-text {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.highlight-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 100%;
  height: 100%;
  background: url("/wp-content/uploads/guest-relations.svg") no-repeat center center;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

/*values*/
div#-values.container{
  max-width: 830px;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
}
#-values h2 {
  font-size: 140%;
  margin-bottom: 1.5em;
  font-weight: 700;
  border-top: 2px solid #DDCAE1;
  border-bottom: 2px solid #DDCAE1;
  padding: 10px 0;
  text-align: center;
}

@media(max-width: 767px){
  #-values .col-md-4{
    padding-left: 60px;
    padding-right: 60px;
    margin-bottom: 35px;
  }
}

/*crew&Goal*/
div#-crew.container{
  max-width: 1000px;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
}
div#-crew .img-heading{
  width:238px;
  height:auto;
}

.crew-description {
  display: table;
  text-align: left;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
}


.crew-text{
  font-size: 1.125rem; /* 約18px */
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1.5em;
  background-color: #fff;
}

@media(min-width:768px){
  div#-crew .col-lg-4{
    width: 35%;
  }

  div#-crew .col-lg-8{
    width: 65%;
  }
}

@media(max-width:767px){
  div#-crew .img-heading{
    width: 50%;
  }
  .crew-description {
    margin-top: 0;
    margin-left: 0;
    margin-right: auto;
  }
  .crew-description p{
    margin-bottom:0;
  }
}

/*.decoration-4*/
.decoration-4 {
  position: absolute;
  top: 40px;
  right: calc(-1 * ((100vw - 100%) / 2));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: 1;
}

.decoration-4.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-4 img {
  display: block;
  width: 334px;
  height: auto;
}

@media(max-width: 767px){
  .decoration-4{
    top:30px;
  }
  .decoration-4 img{
    width: 200px;
  }
}

@media(max-width:1200px) and (min-width: 768px){
  .decoration-4{
    top:70px;
  }
}



/*Crew*/
.wrapper {
  display: flex;
  align-items: stretch;
}
.fixed-left {
  flex: 0 0 20%;
  background-color: white;
  padding: 20px;
  position: relative;
  left: 0;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* 上下に配置 */
}
.fixed-left h2 {
  writing-mode: vertical-rl;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.fixed-left svg {
  width: 80px;
  height: 80px;
  margin-top: 20px;
}
.scroll-container {
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  position: relative;
  cursor: grab;
  scroll-behavior: auto;
  user-select: none;
}
.scroll-container::-webkit-scrollbar {
  display: none; /* Safari, Chrome */
}
@media(max-width: 767px){
  .scroll-container {
    overflow-x: auto;   /* ← touch scrollを許可するため必須 */
    -webkit-overflow-scrolling: touch;
  }
}

.scroll-container img {
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
}


.scroll-inner {
  display: flex;
  gap: 0;
  /*padding: 10px 40px;*/
	padding: 10px 20px 10px 10px; /* ← 左を10pxに変更（以前は40px） */
  width: max-content; 
}
.member-card {
  /*flex: 0 0 calc(100% / 11);*/
  width: 280px; 
  padding: 10px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#-supportcrew .member-card {
  /*flex: 0 0 calc(100% / 13.5);*/
  width: 280px; 
}
@media(max-width: 767px){
  .member-card{
  /*flex: 0 0 calc(100% / 3);*/
  width: 280px; 
  padding: 10px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
  }
}
@media(max-width: 767px){
  #-supportcrew .member-card {
  /*flex: 0 0 calc(100% / 9);*/
  width: 280px; 
  padding: 10px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 5px;
  }
}
.member-card img {
  width: 100%;
  border-radius: 10px;
}
.member-card p {
  margin: 0;
  font-size: 16px !important;
  line-height: 26px !important;
  word-break: break-word;
  white-space: normal;
}
/*.member-card:hover {
  transform: scale(1.02);
}*/
body.dragging {
  user-select: none;
  cursor: grabbing;
}

.member-card .name, .member-card .fullname, .member-card .title, .member-card .hometown{
  border-bottom: 1px solid #000;
  padding: 5px 0;
}
.member-card .name{
  font-size: 14px !important;
  line-height: 16px !important;
  width: 70%;
  padding: 3px;
  border: 1px solid #000;
  border-radius: 0 50px 50px 0; /* 左上・左下を丸める */
  background-color: white;
  display: inline-block;
  text-align: center;
}
.member-card .fullname{
  line-height: 1.1 !important;
}
.member-card .fullname span{
  font-size:60%;
}

.fixed-left img.corecrew-image {
  margin-top: auto;
  width: 200px;
}


#-corecrew .img-heading{
  width: 270px;
}

.fixed-left .corecrew-image {
  width: 80px;
}

div#-corecrew-title,div#-supportcrew-title{
  padding-left: 35px;
  padding-right: 35px;
}
#-corecrew-title h2,#-supportcrew-title h2 {
  font-size: 30px;
  letter-spacing: 0.05em;
  margin-bottom: 1.5em;
  font-weight: 700;
  border-top: 2px solid #409590;
  border-bottom: 2px solid #409590;
  padding: 10px 0;
  text-align: center;
  margin-bottom: 20px;
}
@media(max-width: 767px){
  #-corecrew-title h2,#-supportcrew-title h2 {
    font-size: 22px;
  }
}

#-supportcrew .fullname{
  position: relative;
}
#-supportcrew .fullname span{
  position: absolute;
  right: 0;
  font-size: 10px;
  letter-spacing: 0.05em;
}


/*Service*/
div#-services.container{
  max-width: 1000px;
  position: relative;
  padding-left: 35px;
  padding-right: 35px;
}
div#-services .img-heading{
  width:238px;
  height:auto;
}

.service-description {
  display: table;
  text-align: left;
  margin-top: 0px;
  margin-left: auto;
  margin-right: auto;
}


.service-text{
  font-size: 1.125rem; /* 約18px */
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 1.5em;
  background-color: #fff;
}

@media(min-width:768px){
  div#-services .col-lg-4{
    width: 40%;
  }

  div#-services .col-lg-8{
    width: 60%;
  }
}

@media(max-width:767px){
  div#-services .img-heading{
    width: 60%;
    margin-top: 10px;
  }
  .service-description {
    margin-top: 0px;
    margin-left: 0;
    margin-right: auto;
  }
  .service-description p{
    margin-bottom:0;
  }
}

/*.decoration-5*/
.decoration-5 {
  position: absolute;
  top: -60px;
  right: calc(-1 * ((100vw - 100%) / 2));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: 1;
}

.decoration-5.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-5 img {
  display: block;
  width: 180px;
  height: auto;
}

@media(max-width: 767px){
  .decoration-5{
    top:-30px;
  }
  .decoration-5 img{
    width: 130px;
  }
}

@media(max-width:1200px) and (min-width: 768px){
  .decoration-5{
    top:-100px;
  }
}

.auto-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: auto;
}

.auto-scroll-inner {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  width: 100%; 
}
@media(max-width:767px){
	.auto-scroll-inner {
		width: max-content;
	}
}

.scrolling-image {
  display: block;
  pointer-events: none;
  user-select: none;
  height: auto;
  width: 100%; /* ✅ PCデフォルト表示 */
}

@media (max-width: 767px) {
  .auto-scroll-wrapper {
    height: 450px;
	  overflow-x: scroll;
	  -webkit-overflow-scrolling: touch; /* iOSの慣性スクロール */
	  touch-action: pan-x; /* 横方向のスクロールを許可 */
	  scrollbar-width: none; /* Firefox */
  }
  .auto-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Safari, Chrome */
  }

  .scrolling-image {
    height: 450px;
    width: auto;
  }
}
.auto-scroll-wrapper {
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

.scrolling-image {
  pointer-events: auto;
  user-select: none;
  -webkit-user-drag: none;
}

div#-service2.container{
    max-width: 850px;
    position: relative;
    padding-left: 35px;
    padding-right: 35px;
}


div#-service2 .col-md-6{
  margin-bottom:15px;
}
div#-service2 img{
  width: 100%;
}


/*.decoration-6*/
.decoration-6 {
  position: absolute;
  top: 0px; /* ← 必要なら */
  left: calc(-1 * ((100vw - 100%) / 1.95));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: -1;
}

.decoration-6.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-6 img {
  display: block;
  width: 200px;
  height: auto;
}

@media(max-width:767px){
  .decoration-6 {
    display: none;
  }
}



/*Contact*/
div#-contact.container{
    max-width: 1000px;
    position: relative;
    padding-left: 35px;
    padding-right: 35px;
}
div#-contact .img-heading{
    width:238px;
    height:auto;
}

.contact-description {
  display: table;
  text-align: left;
  margin-top: 20px;
  margin-left: 110px;
  margin-right: auto;
}


.contact-text{
  font-size: 33px !important;
  line-height: 48px !important;
  font-weight: 700;
  letter-spacing: 0.05em !important;
  margin-bottom: 1.5em;
  background-color: #fff;
}



@media(max-width:767px){
    div#-contact .img-heading{
      margin-top: 35px;
        width: 50%;
    }
}

.contact-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #409590;
  color: #fff !important;
  text-decoration: none;
  border-radius: 9999px; /* 丸みを最大に */
  font-family: sans-serif;
  font-size: 90%;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 300px;
  text-align: center;
  margin-bottom:15px;
}

.contact-button:hover {
  background-color: #337b78; /* 少し濃い色に変化 */
}

@media(max-width:767px){
    .contact-button{
      width: 85%;
    }
}

/*Decoration-7*/

.decoration-7 {
  position: absolute;
  top: 230px;
  left: calc(-1 * ((100vw - 100%) / 8));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: -1;
}

.decoration-7.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-7 img {
  display: block;
  width: 300px;
  height: auto;
}

/*.decoration-8*/
.decoration-8 {
  position: absolute;
  top: 20px;
  right: calc(-1 * ((100vw - 100%) / 5));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: -1;
}

.decoration-8.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-8 img {
  display: block;
  width: 250px;
  height: auto;
}

@media(max-width: 767px){
  .decoration-8{
    top:30px;
    right: 20px;
  }
  .decoration-8 img{
    width: 140px;
  }
}

@media(max-width:1200px) and (min-width: 768px){
  .decoration-8{
    top:-10px;
  }
}




/*recruit*/
div#-recruit{
    background-color: #DFF2FC;
    margin-top: -1px;
}
div#-recruit .container{
    max-width: 1000px;
    position: relative;
    padding-left: 35px;
    padding-right: 35px;
}
div#-recruit .img-heading{
    width:238px;
    height:auto;
}

.recruit-row{
  justify-content: center;
}

.recruit-description {
  display: block;
  text-align: left;
  margin-top: 20px;
  margin-left: 80px;
  margin-right: 0;
}


.recruit-text{
  font-size: 33px !important;
  line-height: 48px !important;
  letter-spacing: 0.05em !important;
  font-weight: 700;
  margin-bottom: 1.5em;
}




@media(max-width:767px){
    div#-recruit .img-heading{
      margin-top: 35px;
        width: 50%;
    }
    .recruit-text{
      margin-bottom: -10px;
      font-size: 22px !important;
      line-height: 33px !important;
    }
    .recruit-description{
      margin-top: 0;
      margin-left: 0;
    }
}


.movie {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.iframe-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 のアスペクト比（高さ / 幅 = 9 / 16） */
  height: 0;
  overflow: hidden;
}
.iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}



.job-info-table {
  display: flex;
  flex-direction: column;
}

.job-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #000; /* 下線（罫線）を追加 */
  padding: 8px 0;
}
@media(max-width: 767px){
  .job-row{
    padding: 2px 0;
    line-height: 22px;
  }
}
.job-row:first-child {
  border-top: 1px solid #000;
}

.job-row .bullet {
  width: 18px;
  height: 18px;
  background-color: #EFA282;
  border-radius: 50%;
  margin-right: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}
@media(max-width: 767px){
  .job-row .bullet{
    margin-top:3px;
  }
}

.job-row .label {
  margin-right: 6px;
  white-space: nowrap;
  width: 5em;
}
html[lang="en-US"] .job-row .label {
  width:40%;
  white-space: normal;
}

.job-row .value {
  flex: 1;
}




/*Decoration-9*/

.decoration-9 {
  position: absolute;
  bottom: 40px;
  left: calc(-1 * ((100vw - 100%) / 8));
  transform: translateY(50px);
  opacity: 0;
  transition: all 2s ease;
  z-index: -1;
}

.decoration-9.visible {
  transform: translateY(0);
  opacity: 1;
  z-index: 1;
}


.decoration-9 img {
  display: block;
  width: 180px;
  height: auto;
}

@media(max-width:767px){
  .decoration-9 {
    top:20px;
    bottom:auto;
    left: auto;
    right: 0;
    z-index: 1;
  }
  .decoration-9 img {
    width: 120px;
  }
}


.recruit-button {
  display: inline-block;
  padding: 10px 30px;
  background-color: #EFA282;
  color: #fff !important;
  text-decoration: none;
  border-radius: 9999px; /* 丸みを最大に */
  font-family: sans-serif;
  font-size: 90%;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 300px;
  text-align: center;
  margin-bottom:15px;
}

.recruit-button:hover {
  background-color: #EB8B63; /* 少し濃い色に変化 */
}

@media(max-width:767px){
    .recruit-button{
      width: 85%;
    }
}



/*Company*/
#-company{
  padding-bottom: 150px;
  overflow: hidden;
}
.company-row {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #000; /* 下線（罫線）を追加 */
  padding: 8px 0;
}
@media(max-width: 767px){
  .company-table{
    margin-bottom: -30px;
  }
  .company-row{
    padding: 2px 0;
    line-height: 22px;
  }
}
.company-row:first-child {
  border-top: 1px solid #000;
}

.company-row .bullet {
  width: 18px;
  height: 18px;
  background-color: #EFA282;
  border-radius: 50%;
  margin-right: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}
@media(max-width: 767px){
  .company-row .bullet{
    margin-top: 3px;
  }
}

.company-row .label {
  margin-right: 6px;
  white-space: nowrap;
  width: 5em;
}

html[lang="en-US"] .company-row .label {
  width:40%;
  white-space: normal;
}

.company-row .value {
  flex: 1;
}


div#-company .container{
    max-width: 1000px;
    position: relative;
    padding-left: 35px;
    padding-right: 35px;
}
div#-company .img-heading{
    width:238px;
    height:auto;
}

.company-row{
  justify-content: center;
}

.company-description {
  display: block;
  text-align: left;
  margin-top: 20px;
  margin-left: 25%;
  margin-right: 25%;
}




@media(max-width:767px){
    div#-company .img-heading{
      margin-top: 35px;
        width: 50%;
    }
    .company-description{
      margin-bottom: 50px;
    }
}




/*.decoration-10*/
.decoration-10 {
  position: absolute;
  bottom: -80px;
  right: calc(-1 * ((100vw - 100%) / 5));
  transform: translateY(50px);
  opacity: 1;
  transition: all 2s ease;
  z-index: -1;

}

.decoration-10.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-10 img {
  display: block;
  width: 400px;
  height: auto;
}

@media(max-width: 767px){
  #-company{
    padding-bottom: 110px;
  }
  .decoration-10{
    bottom:-50px;
    right: calc(-1 * ((100vw - 90%) / 2));
  }
  .decoration-10 img{
    width: 280px;
  }
}



/*Areas*/
div.areas .img-heading{
  width:200px;
  height:auto;
}
@media(max-width: 767px){
  div.areas .img-heading{
    width: 130px;
  }
}

div.main {
  background-image: url('/wp-content/uploads/img-bg.jpg');
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  padding:35px;
}
@media(max-width: 767px){
  div.main{
    padding:25px;
  }
}

/*.decoration-11*/
.decoration-11 {
  position: absolute;
  top: 165px; /* ← 必要なら */
  left: 50%;
  transform: translateX(250px);
  opacity: 1;
  transition: all 2s ease;
  z-index: 1;
}

.decoration-11.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-11 img {
  display: block;
  width: 446px;
  height: auto;
}

@media(max-width:767px){
  .decoration-11 {
    display: none;
  }
}

/*Areas*/

.areas h2 {
  font-size: 30px;
  margin-bottom: 1.5em;
  font-weight: 700;
  border-bottom: 2px solid #87B2E0;
  padding: 10px 0;
  text-align: left;
  letter-spacing: 0.05em;
}
@media(max-width: 767px){
  .areas h2{
    font-size: 22px;
  }
}

.areas .card {
  position: relative;
  background-color: white;
  border: 2px solid #000;
  padding: 30px;
}
@media(max-width: 767px){
  .areas .card {
    padding:25px;
  }
}

.areas .badge {
  position: absolute;
  top: -14px;
  left: 20px;
  color:#000;
  padding: 0.5em 2em;
  border: 2px solid #000;
  border-radius: 15px;
  font-weight: bold;
}
.areas .badge.orange{
  background-color: #DA8541;
}
.areas .badge.grey{
  background-color: #D9D9D9;
}
.areas .badge.green{
  background-color: #94BBA7;
}
.areas .badge.lilac{
  background-color: #DDCAE1;
}

.areas .card-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
@media(max-width: 767px){
  .areas .card-content{
    display: block;
  }
}

.areas .card-left {
  width: 300px;
}
.areas .card-left.one{
  width: 240px;
}
@media(max-width: 767px){
  .areas .card-left.one{
    width: 100%;
  }
  .areas .card-left {
    width: 100%;
  }
}

.areas .card-left h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.areas .address {
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.areas .icons {
  display: flex;
  gap: 7px;
}

.areas .icons img {
  width: 24px;
  height: 24px;
}

.areas .card-right {
  width: auto;
  display: flex;
  flex-direction: row;
  gap: 5px;
  overflow: hidden;
}
@media(max-width: 767px){
  .areas .card-right {
    width: 100%;
  }
  .areas .card-right.iwatake {
    flex-direction: column;
  }
}




.areas .card-right .photo {
  width: calc(50% - 2.5px);
  height: auto;
  object-fit: cover;
}

@media (max-width: 767px) {
  .areas .card-right .photo {
    width: 100%;
    aspect-ratio: 122 / 85;     /* ← 横長にしたい比率 */
    height: auto;            /* 高さはaspect-ratioに従って決定される */
    object-fit: cover;
    display: block;          /* 不要な余白防止のため */
  }
  .areas .card-right.iwatake .photo {
    width: 100%;
  }
}

.areas .divider {
  border-top: 1.5px solid #000;
  width: calc(100% + 50px);
  margin-top: 1em;
  margin-bottom: 1em;
  z-index: -1;
}
.areas .divider.full{
  width: 100%;
}

/#Iwatake#/
@media(max-width:767px){
  .iwatake {
    flex-direction: column;
    display: none;
  }
  .iwatake{
    width: 100%;
  }
}



/* PC用：左1枚 + 右縦2枚 */
.card-right-group {
  display: flex;
  gap: 10px;
  align-items: stretch; /* ★ これが効く */
}

.card-photo-left {
  width: 65%;
}

.card-photo-right {
  width: 35%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* 左の画像（1枚） */
.card-photo-left .photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto; /* 必要なら明示的に解除 */
}

/* 右の画像（2枚縦並び） */
.card-photo-right .photo {
  width: 100%;
  height: calc(50% - 5px); /* ← gap 分を考慮して2分割 */
  object-fit: cover;
}

/* スマホ用：上1枚 + 下2枚横並び */
.card-right-group-sp {
  display: block;
  margin-bottom: 1em;
}
.card-right-group-sp .photo-full {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.card-right-group-sp .photo-row {
  display: flex;
}
.card-right-group-sp .photo-row .photo {
  width: calc(50% - 5px);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-right-group-sp .photo-row .photo:first-child {
  margin-right: 10px;
}

.type-a .card{
  width: 60%;
}
@media(max-width: 767px){
  .type-a .card{
    width: 100%;
  }
}
.type-a img{
  width: 100%;
}


/*.decoration-iwatake1*/
.decoration-iwatake1 {
  position: absolute;
  left: 50%;
  transform: translateX(220%);
  transition: all 2s ease;
  z-index: 1;
  text-align: right;
  top:0px;
  width: auto!important;
}

.decoration-iwatake-1.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-iwatake-1 img {
  display: block;
  width: 446px;
  height: auto;
}

@media(max-width:767px){
  .decoration-iwatake-1 {
    display: none;
  }
}

/*.decoration-iwatake2*/
.decoration-iwatake2 {
  position: absolute;
  left: 55%;
  transform: translateY(50px);
  transition: all 2s ease;
  z-index: 1;
  text-align: right;
  bottom: 0;
}

.decoration-iwatake2.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-iwatake2 img {
  display: block;
  width: 361px;
  height: auto;
}

@media(max-width:767px){
  .decoration-iwatake2 {
    bottom: -35px;
    left: 70%;
  }
  .decoration-iwatake2 img {
    width: 132px;
  }
}

/*Tsugaike*/
@media(min-width: 768px){
  .section-64 .col-md-8{
    width: 60%;
  }
  .section-64 .col-md-4{
    width: 40%;
  }
}

.areas .card-content.unplan{
  gap:10px;
}

.one .photo{
  width: 100% !important;
}

@media(max-width: 767px){
  .areas .card-right.one .photo{
    width: 100% !important;
  }
}

/*.decoration-unplan2*/
.decoration-unplan2 {
  position: absolute;
  bottom: 30px;
  left: 20px;
  transform: translateY(50px);
  opacity: 1;
  transition: all 2s ease;
  z-index: 1;
}
@media(min-width: 768px) and (max-width: 1199px){
  .decoration-unplan2 {
    right: calc(-1 * ((100vw - 103%) / 2));
    bottom: 10px;
  }
}

.decoration-unplan2.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-unplan2 img {
  display: block;
  width: 200px;
  height: auto;
}

@media(max-width:767px){
  .decoration-unplan2 {
    left: auto;
    top: -100px;
    bottom: auto;
  }
  .decoration-unplan2 img {
    width: 100px;
	  position:absolute;
	  right:0;
  }
}


/*.decoration-unplan-lodge1*/
.decoration-unplan-lodge1 {
  position: absolute;
  right: calc(-1 * ((100vw - 170%) / 2));
  transition: all 2s ease;
  z-index: 1;
  text-align: right;
  bottom:-30px;
  width: auto !important;
}

.decoration-unplan-lodge1.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-unplan-lodge1 img {
  display: block;
  width: 150px;
  height: auto;
}

@media(max-width:767px){
  .decoration-unplan-lodge1 {
    display: none;
  }
}

/*.decoration-unplan-lodge2*/
.decoration-unplan-lodge2 {
  position: absolute;
  right: calc(-1 * ((100vw - 120%) / 2));
  transform: translateY(50px);
  transition: all 2s ease;
  z-index: 1;
  text-align: right;
  bottom: -40px;
  width: auto !important;
}

.decoration-unplan-lodge2.visible {
  transform: translateY(0);
  opacity: 1;
}


.decoration-unplan-lodge2 img {
  display: block;
  width: 270px;
  height: auto;
}

@media(max-width:767px){
  .decoration-unplan-lodge2 {
    bottom: auto;
    top: -120px;
    right: -30px;
  }
  .decoration-unplan-lodge2 img {
    width: 120px;
  }
}

/#Others#/
@media(max-width:767px){
  .others {
    flex-direction: column;
    display: none;
  }
  .others{
    width: 100%;
  }
}

@media(max-width: 767px){
  .areas .card-right.others {
    flex-direction: column;
  }
  .areas .card-right.others .photo {
    width: 100%;
  }
}



/* === footer base === */
.footer {
  background-color: #7596B5;
  color: white;
  padding: 60px 20px;
  font-family: "Montserrat", "Noto Sans", sans-serif;
  font-size: 0.95rem;
  overflow-x: hidden; /* 横スクロール防止 */
  font-weight: 400;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  min-height: 220px;
  position: relative;
}

/* === 横並び制御ラッパー === */
.footer-navlinks-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  gap: 5%;
  flex-wrap: nowrap;  /* ✅ 折返し禁止 */
  box-sizing: border-box;
}

/* 各エリア固定比率 */
.footer-nav {
  flex: 0 0 20%;
  font-size: 100%;
}
.footer-links {
  flex: 0 0 80%;
  font-size: 15px;
  line-height: 31px;
  letter-spacing: 0.05em;
}
.footer-info {
  flex: 0 0 30%;
  position: relative;
  display: flex;
}

/* 共通 */
.footer-nav{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul {
  padding: 0;
  margin: 0;
}
.footer-nav li,
.footer-links li {
  margin-bottom: 0;
}
.footer-nav a,
.footer-links a {
  color: white;
  text-decoration: none;
  position: relative;
}
.footer-nav a:hover,
.footer-links a:hover {
  color: white;
}

/* 下線アニメーション */
.footer-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.footer-nav a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* === ロゴ & コピーライト（768px以上）=== */
.footer-logo {
  position: absolute;
  top: 0;
  right: 0;
}
.footer-logo img {
  width: 120px;
  height: auto;
}
.footer-copyright {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 0.75rem;
  margin: 0;
  text-align: right;
}

/* === モバイル対応 === */
@media (max-width: 767px) {
  .footer-inner {
    flex-direction: column;
    padding-bottom: 100px; /* フッター情報用スペース */
    gap: 20px;
  }

  .footer-navlinks-wrapper {
    flex-direction: row;  /* ✅ 横並びを維持 */
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
    box-sizing: border-box;
  }

  .footer-nav {
    flex: 0 0 30%;
    font-size: 80%;
  }

  .footer-links {
    flex: 0 0 70%;
    font-size: 11px;
	line-height:23px;
	  letter-spacing:0.05em;
    word-break: break-word;
  }

  .footer-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 20px;
    pointer-events: none;
  }

  .footer-copyright,
  .footer-logo {
    pointer-events: auto;
  }

  .footer-copyright {
    font-size: 9px;
	  line-height:1;
    text-align: left;
    margin: 0;
    left: 0;
  }

  .footer-logo {
    top: auto; /* ✅ 上固定解除 */
    bottom: 0;
  }

  .footer-logo img {
    width: 70px;
    height: auto;
    display: block;
    margin: 0;
  }
}





/* 共通リンクの見た目 */
li.no-disc {
  list-style-type: none;
}
.navbar-nav a,
.footer-menu a,
.footer-links a {
  position: relative;
  color: white;
  text-decoration: none;
}

.navbar-nav a:hover,
.footer-menu a:hover,
.footer-links a:hover {
  color: white;
}

/* 疑似要素で下線を表現 */
.navbar-nav a::after,
.footer-menu a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* 下にちょっと余白をつける */
  width: 100%;
  height: 1px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

/* ホバー時にフェードイン＆展開 */
.navbar-nav a:hover::after,
.footer-menu a:hover::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  opacity: 1;
}



body:not(.home) p:empty{display: none;}



.wpml-ls-legacy-list-horizontal a{
  padding: 0 10px 0;
  font-size: 16px;
  line-height: 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}







.wrapper {
  position: relative;
}

.scroll-button {
  position: absolute;
  top: 45%;
  right: 10px;
  transform: translateY(-50%);
  width: 115px;
  height: 115px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 100;
}

.scroll-button img {
  width: 115px;
  height: 115px;
  display: block;
}

.wrapper:hover .scroll-button {
  opacity: 1;
  pointer-events: auto;
}


@media (max-width: 768px) {
  .scroll-button {
    display: none !important;
  }
}


#news-badge {
  position: fixed;
  left: 0;
  bottom: 50px;
  width: 345px;
  padding-right: 26px;
  padding-bottom: 30px;
  background: transparent; /* ← 背景はclip-pathで表現するので透明 */
  border-radius: 0;
  overflow: hidden;
  z-index: 1;
  font-family: sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media(max-width:767px){
	#news-badge{
		position: fixed;
		bottom: 0;
		width:173px;
		padding-right:15px;
		padding-bottom:20px;
	}
}

#news-badge ul{
  padding-left: 0;
}

/* フェードアウト */
#news-badge.hide {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

/* 背景ベース */
#news-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 28px, 100% 100%, 0 100%);
  z-index: -1;
}

/* 折り返し三角 */
#news-badge::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 28px;
  background-color: rgba(135, 178, 224, 1); /* 裏側色 */
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 0;
}

/* タイトル部分 */
.news-title {
  padding: 20px 0 10px 30px;
  font-weight: bold;
  border-bottom: 1px solid #000;
  background: transparent;
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 600;
  font-family: "Montserrat","Zen Kaku Gothic Antique", sans-serif;
  letter-spacing: 0.05em;
}
@media(max-width:767px){
	.news-title{
		padding: 10px 0 5px 15px;
		font-size:13px;
	}
}

/* ニュースリスト全体 */
.news-list {
  list-style: none;
  margin: 0;
}

/* 各項目 */
.news-list li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 0 10px 50px;
  border-bottom: 1px solid #000;
  font-size: 16px;
  color: #000;
  letter-spacing: 0.03em;
  line-height: 1.2;
  box-sizing: border-box;
}
@media(max-width:767px){
	.news-list li{
		font-size:11px;
		line-height:17px;
		  padding: 10px 0 10px 30px;
	}
}

/* 青ドット */
.news-list li::before {
  content: "●";
  position: absolute;
  left: 28px;
  top: 11px;
  font-size: 14px;
  color: #7596B5;
}
@media(max-width:767px){
	.news-list li::before{
		left:13px;
	}
}
