@charset "utf-8";

/* ----------------------------------------
	block-style
---------------------------------------- */

/* top-contact */
#top-contact {
  display: flex;
  padding: 10rem 0 15rem 0;
  overflow: hidden;
}

.top-contact-left,
.top-contact-right {
  width: 50%;
  box-sizing: border-box;
  position: relative;
}

.top-contact-left-content,
.top-contact-right-content {
  position: relative;
}

.image-container-contact {
  position: relative;
  overflow: hidden;
}

.image-container-contact img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 0;
}

.image-container-contact .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.top-contact-left-content:hover .overlay,
.top-contact-right-content:hover .overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.top-contact-left-text,
.top-contact-right-text {
  position: absolute;
  z-index: 2;
}

.top-contact-left-text,
.top-contact-right-text {
  position: absolute;
  bottom: 2rem;
  left: 10%;
}

.top-contact-left-text p:first-of-type,
.top-contact-right-text p:first-of-type {
  color: #39B54A;
  font-family: 'ZCOOL XiaoWei', sans-serif;
  font-size: 16px;
}

.top-contact-left-text p:nth-of-type(2),
.top-contact-right-text p:nth-of-type(2) {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.top-contact-left a {
  color: #fff;
  font-family: 'ZCOOL XiaoWei', sans-serif;
  font-size: 1.8rem;
}

.top-contact-left a i {
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.top-contact-left a span {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
}
.animation-text p {
  color: #E1F3E2;
  font-family: 'ZCOOL XiaoWei', sans-serif;
  font-size: 3rem;
}

.top-contact-left-content:hover {
  background-color: rgba(0,0,0,.7);
}

#top-contact i {
  margin-right: 1rem;
}

.top-contact-left-content:hover i.btn-arrow-right {
  color: #fff;
  border: double 4px transparent;
  background-color: #39B54A;
  transform: rotateY(360deg);
} 

.top-contact-right-content:hover i.fa-arrow-right {
  color: #fff;
  border: double 4px transparent;
  background-color: #39B54A;
  transform: rotateY(360deg);
}

.arrow-right-box {
  display: flex;
  align-items: center;
}

.top-contact-left-text .arrow-right-box p {
  color: #fff;
  font-size: 1.8rem;
}

.top-contact-left-text .arrow-right-box p span {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
}

/* ループ文字 */
.loop-box {
  overflow: hidden;
  width: 100%;
  height: auto; /* 高さは文字サイズに合わせて */
  position: relative;
  z-index: 1;
}

.loop-track {
  display: flex;
  white-space: nowrap;
  animation: loop-scroll 20s linear infinite;
}

.loop-track span {
  display: inline-block;
  padding-right: 2rem;
  font-size: 4rem;
  font-family: 'ZCOOL XiaoWei', sans-serif;
  color: rgba(161, 205, 161, 0.3); /* 淡い緑 */
  white-space: nowrap;
}

@keyframes loop-scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  .top-contact-left-text,
  .top-contact-right-text {
    bottom: 2rem;
  }

  .top-contact-left-text p:first-of-type,
  .top-contact-right-text p:first-of-type {
    font-size: 0.9rem;
  }

  .top-contact-left-text p:nth-of-type(2),
  .top-contact-right-text p:nth-of-type(2) {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .top-contact-left-text .arrow-right-box p {
    color: #fff;
    font-size: 1.3rem;
  }

  .top-contact-left-text .arrow-right-box p span {
    font-size: 0.9rem;
  }
}

/* 画面幅1024px以下：タブレット対応 */
@media screen and (max-width:1024px) {
  .top-contact-left-text,
  .top-contact-right-text {
    bottom: 1rem;
  }

  .top-contact-left-text p:first-of-type,
  .top-contact-right-text p:first-of-type {
    font-size: 0.8rem;
  }

  .top-contact-left-text p:nth-of-type(2),
  .top-contact-right-text p:nth-of-type(2) {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }

  .top-contact-left-text .arrow-right-box p {
    color: #fff;
    font-size: 1.2rem;
  }

  .top-contact-left-text .arrow-right-box p span {
    font-size: 0.8rem;
  }
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  #top-contact {
    display: block;
    padding: 4rem 0 4rem 0;
  }

  .top-contact-left,
  .top-contact-right {
    width: 100%;
  }

  .top-contact-left-content .overlay,
  .top-contact-right-content .overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .for-sp {
    display: none;
  }
}

/* 画面幅575px以下：スマホ対応 */
@media screen and (max-width:575px) {  
  .top-contact-left-text p:first-of-type,
  .top-contact-right-text p:first-of-type {
    font-size: 0.8rem;
  }

  .top-contact-left-text p:nth-of-type(2),
  .top-contact-right-text p:nth-of-type(2) {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }

  .top-contact-left-text .arrow-right-box p {
    color: #fff;
    font-size: 1.2rem;
  }

  .top-contact-left-text .arrow-right-box p span {
    font-size: 0.8rem;
  }
}

/* 画面幅375px以下：スマホ対応 */
@media screen and (max-width:375px) {
  .top-contact-left-text,
  .top-contact-right-text {
    bottom: 1rem;
  }
}

/* page-contact */
#page-contact {
  display: flex;
  align-items: stretch; 
  padding: 10rem 0 15rem 0;
  overflow: hidden;
}

.page-contact-left,
.page-contact-right {
  width: 50%;
  box-sizing: border-box;
  position: relative;
}

.page-contact-left-content,
.page-contact-right-content {
  position: relative;
}

.image-container-contact {
  position: relative;
  overflow: hidden;
}

.image-container-contact img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 0;
}

.image-container-contact .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0);
  transition: background-color 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.page-contact-left-content:hover .overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.page-contact-left-text {
  position: absolute;
  bottom: 4rem;
  left: 10%;
  z-index: 2;
}

.page-contact-left-text p:first-of-type {
  color: #39B54A;
  font-family: 'ZCOOL XiaoWei', sans-serif;
  font-size: 16px;
}

.page-contact-left-text p:nth-of-type(2) {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

/* .page-contact-left a {
  color: #fff;
  font-family: 'ZCOOL XiaoWei', sans-serif;
  font-size: 1.8rem;
} */

/* .page-contact-left a span {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
} */

.page-contact-left-text .arrow-right-box p {
  color: #fff;
  font-size: 1.8rem;
}

.page-contact-left-text .arrow-right-box p span {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
}


#page-contact i {
  margin-right: 1rem;
}

.page-contact-left-content:hover i.btn-arrow-right {
  color: #fff;
  border: double 4px transparent;
  background-color: #39B54A;
  transform: rotateY(360deg);
} 

.page-contact-right-content:hover i.fa-arrow-right {
  color: #fff;
  border: double 4px transparent;
  background-color: #39B54A;
  transform: rotateY(360deg);
}

#page-contact .fa-arrow-right:before {
  font-size: 1rem;
}

/* 緑背景メッセージ */
.page-contact-right-content.green-bg {
  background-color: #39B54A;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4rem;
  height: 100%;
  max-height: 396px;
}

.page-contact-right-text {
  color: #fff;
  max-width: 90%;
}

.page-contact-right-text p {
  color: #fff;
}

.page-contact-right-text .main-msg {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  .top-contact-left-content .overlay,
  .top-contact-right-content .overlay {
    background-color: rgba(0, 0, 0, 0.3);
  }
}


/* 画面幅1180px以下：タブレット対応 */
@media screen and (max-width:1180px) {
  .page-contact-left-text,
  .page-contact-right-text {
    bottom: 2rem;
  }
}

/* 画面幅767px以下：スマホ対応 */
@media screen and (max-width:767px) {
  #page-contact {
    display: block;
    padding: 4rem 0 4rem 0;
  }

  .page-contact-left,
  .page-contact-right {
    width: 100%;
  }

  .page-contact-left-content .overlay,
  .page-contact-right-content .overlay {
    background-color: rgba(0, 0, 0, 0.5);
  }

  .for-sp {
    display: none;
  }

  .page-contact-right-content.green-bg {
    padding: 4rem;
  }

  .page-contact-right-text .main-msg {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* 画面幅575px以下：スマホ対応 */
@media screen and (max-width:575px) {  
  .page-contact-left-text p:first-of-type {
    font-size: 0.8rem;
  }

  .page-contact-left-text p:nth-of-type(2),
  .page-contact-right-text p:nth-of-type(2) {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }

  .page-contact-left-text .arrow-right-box p {
    color: #fff;
    font-size: 1.2rem;
  }

  .page-contact-left-text .arrow-right-box p span {
    font-size: 0.8rem;
  }

  .page-contact-right-content.green-bg {
    padding: 3rem 1rem;
  }

  .page-contact-right-text .main-msg {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
}

/* 画面幅375px以下：スマホ対応 */
@media screen and (max-width:375px) {
  .page-contact-left-text,
  .page-contact-right-text {
    bottom: 1rem;
  }

  .page-contact-right-content.green-bg {
    padding: 1rem 0;
  }

  .page-contact-right-text .main-msg {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
}

