@charset "UTF-8";

/* ================
main-slider sp
==================*/
.main-slider-sp { display: block !important; }
.main-slider-pc { display: none !important; }

.main-slider-sp {
    width: 100%;
    height: 100vh;
    position:relative;
    overflow: hidden;
}

.main-slider-sp__item img {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.slick-dots li button:before{
	font-size:20px!important;
    z-index: 10;
}

.slick-dots li{
	width:40px!important;
}

.slick-dots{
	bottom: 10px!important;
}

.main-slider {
    position: relative;
}

.main-slider::before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    max-width: 700px;
    background-image: url(../img/mainvisual-sp.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    z-index: 10;
}

.catchcopy {
  position: absolute;
  width: 80%;
  bottom: 4%;
  left: 3%;
  z-index: 10;
}

.catchcopy-pc {
    display: none;
}

/* ===============
main-slider pc 769px
==================*/
@media screen and (min-width:769px) {
.main-slider-sp { display: none !important; }
.main-slider-pc { display: block !important; }

.main-slider-pc {
    width: 100%;
    height: 100vh;
    position:relative;
    overflow: hidden;
}

.main-slider-pc__item img {
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.main-slider::before{
    max-width: 1800px;
    background-image: url(../img/mainvisual-pc.png);
}

.catchcopy-pc {
    display: block;
}

.catchcopy-sp {
    display: none;
}

.catchcopy {
    position: absolute;
    width: 70%;
    bottom: 2%;
    left: 5%;
    z-index: 10;
}
}

/* ================
sp marquee
================== */

.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee__content {
    display: flex;
    gap: 100px; /* テキスト同士の間隔 */
    animation: marquee-loop 10s linear infinite;
}

.marquee__content p {
    font-family: "Inter";
    font-weight: 800;
    font-size: var(--fontsize-marquee-sp);
    line-height: 1;
    color: rgba(0, 132, 59, 0.5); 
}

@keyframes marquee-loop {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%); /* 半分の位置まで移動 */
  }
}

/* ================
sp marquee
================== */
@media screen and (min-width:769px) {
.marquee__content {
    gap: 120px; 
    animation: marquee-loop 18s linear infinite;
    margin-top: 4%;
}

.marquee__content p {
    font-size: var(--fontsize-marquee-pc);
}
}

/* ================
 sp ABOUT US
================== */
.container {
    position: relative;
      background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 3%,
    rgba(0, 132, 59, 0.3) 50%,
    rgba(255, 255, 255, 1) 90%,
    rgba(255, 255, 255, 1) 100%
  );
}

.about {
    padding: 0 5.3%;
}

.title {
    font-family: 'YDWaosagi';
    font-size: var(--fontsize-L-sp);
    text-align: center;
    margin-top: 18%;
}

.about-txt {
    max-width: 742px;
    margin: 0 auto;
    font-size: var(--fontsize-S-sp);
    margin-top: 30px;
    padding: 20px 3%;
    background-color: #FFFFFF;
    border-radius: 5px;
    position: relative;
}

.about img {
    display: block;
    margin: 20px auto 0;
    max-width: 70px;
}

/* ===============
pc ABOUT US
================ */
@media screen and (min-width:769px) {
.container {
    position: relative;
      background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 1) 8%,
    rgba(0, 132, 59, 0.3) 50%,
    rgba(255, 255, 255, 1) 80%,
    rgba(255, 255, 255, 1) 100%
  );
}

.title {
    font-size: var(--fontsize-L-pc);
    margin-top: 10%;
}

.about-txt {
    width: 90%;
    font-size: var(--fontsize-S-pc);
    margin-top: 50px;
    padding: 30px 3%;
    border-radius: 6px;
    line-height: 1.8;
    box-shadow: 1px 1px 2px rgba(0, 132, 59, 0.3);
}

.about-container {
    display: flex;
    justify-content: center;
}

.about img {
    margin: 0 0 -5%;
    max-width: 110px;
    aspect-ratio: 16 / 9; 
    object-fit: contain;  
}
}

/* ===============
news sp
================ */
.slider {
    width: 100%;
    margin: 6% auto 0;
    display: flex;
    align-items: center;
}

.slider__item {
    margin-left: 8px;
    aspect-ratio: 1 / 1;
}

.slider__item img {
    object-fit: cover;
    width: 90%;
    height: 90%;
}

/* ===============
news pc
================ */
@media screen and (min-width:769px) {

.title-news {
    margin-top: 12%;
}

.slider {
    margin: 4% auto 0;
}

.slider__item {
    margin-left: 30px;
}
}

/* ===============
conversion sp
================ */
.conversion {
    display: block;
    max-width: 400px;
    margin: 20px auto 60px;
    padding: 0 5.3%;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.conversion a img{
    transition-duration: 0.4s;
}

.conversion a img:hover {
    transform: scale(1.05);
}

/* ===============
conversion pc
================ */
@media screen and (min-width:769px) {
.conversion {
    max-width: 600px;
    margin: 80px auto 100px;
    text-align: center;
    position: relative;
}

.conversion::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    max-width: 110px;
    background-image: url(../img/news-image.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left bottom;
    left: -8vw;
    bottom: -4px;
    z-index: 10;
}
}

.factory {
    width: 100%;

}

/* ===============
business sp
================ */
.business {
    padding: 18% 0 20%;
    min-height: 100vh;
    background-image: url(../img/business-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.icon {
    display: flex;
    max-width: 470px;
    width: 80%;
    margin: 6% auto 10%;
    gap: 0 6%;
}

.icon__item {
    background-color: #FFFFFF;
    width: 20vw;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s, opacity 0.3s;
}

.icon__item:hover {
    background-color: #00843B;
}

.icon__item a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.icon__item img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.business-wrapper {
    padding: 0 5.3%;
    max-width: 550px;
    margin: 0 auto;
}

.business-wrapper img {
    margin: 16% auto 0;
    border-radius: 10px;
    aspect-ratio: 16 / 10; 
    object-fit: cover; 
}

.business-wrapper .top-image {
    margin-top: 0;
}

.business-container {
    padding: 14px 3%;
    margin-top: 20px;
    background-color: #FFFFFF;
    box-shadow: 2px 2px 4px rgba(0, 132, 59, 0.3);
}

.business-container h3 {
    font-size: var(--fontsize-S-sp);
    font-weight: 700;
    text-align: center;
}

.business-container p {
    margin-top: 14px;
}

/* ===============
business pc
================ */
@media screen and (min-width:769px) {
.business {
    padding: 6% 0 10%;
}

.icon {
    max-width: 750px;
    width: 70%;
    margin: 4% auto 5%;
    gap: 0 6%;
}

.business-wrapper {
    padding: 0 4.2%;
    max-width: 1440px;
    margin: 0 auto;
}

.business-wrapper div {
    display: flex;
    align-items: center;
    gap: 0 6%;
    margin-top: 5%;
}

.business-wrapper img {
    width: 100%;
    max-width: 670px;
    margin: 0;
}

.business-wrapper .top-image {
    margin-top: 0;
}

.business-container {
    max-width: 450px;
    flex-direction: column;
    padding: 30px 2%;
    margin-top: 0;
}

.business-container h3 {
    font-size: var(--fontsize-S-pc);
}

.business-container p {
    font-size: var(--fontsize-S-pc);
    margin-top: 30px;
}

}

/* ===============
company sp
================ */
.marquee__content-company p {
    color: rgba(185, 227, 101, 0.3); 
}

.company {
    width: 100%;
    padding: 12% 0;
    min-height: 100vh;
    background-color: #00843B;
}

.title-company {
    margin: 16% 0 10%;
    color: #FFFFFF;
}

.table {
    display: block;
    margin: 0 auto;
    padding: 0 5.3%;
}

tbody {
    display: block;
}

.table__list {
    display: flex;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 30px 0 6px;
}

.table__item  {
    display: block;
    width: 38%;
    color: #FFFFFF;
    line-height: 2;
    font-weight: 700;
    padding: 0 0 0 2%;
}

.table__details {
    display: block;
    color: #FFFFFF;
    line-height: 2;
    padding: 0;
}

.map {
    transform: translateY(-3px);
    width: 12%;
}

/* ===============
company pc
================ */
@media screen and (min-width:769px) {
.company {
    padding: 10% 0 16%;
}

.title-company {
    margin: 10% 0 5%;
}

.table {
    width: 100%;
    max-width: 900px;
}

.table__list {
    padding: 36px 0 10px;
}

.table__item  {
    width: 42%;
    font-size: var(--fontsize-S-pc);
    padding: 0 0 0 8%;
}

.table__details {
    font-size: var(--fontsize-S-pc);
    padding: 0;
}

.map-button {
    display: inline-block;
    padding: 8px 16px;
    margin-top: 6px;
    background-color: #00843B;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.map-button:hover {
    background-color: #B9E365;
}
}

/* ===============
contact sp
================ */
.contact {
    padding: 12% 0 26%;
}

.contact-wrapper {
    padding: 0 5.3%;
}

.title-contact {
    margin: 18% auto 10%;
}

.contact-container {
    background-color: #C7E984;
    border-radius: 25px;
    padding: 40px 2%;
}

.contact-container p {
    max-width: 386px;
    margin: 0 auto;
}

.btn--contact {
    margin-top: 0px;
    margin: 0 auto;
    margin-top: 30px;
    position: relative;
    line-height: 1.8;
    padding-right: 12px;
}

.btn--contact::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../img/arrow.svg);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: relative;
    transform: translateY(0);
    margin-left: 4%;
}

.contact-container img {
    display: block;
    margin: 20px auto 0;
    max-width: 100px;
}

/* ===============
contact pc
================ */
@media screen and (min-width:769px) {
.contact {
    padding: 8% 0 10%;
}
 
.contact-container {
    max-width: 900px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 80px 0;
    font-size: var(--fontsize-S-pc);
}

.contact-container p {
    max-width: none;
}

.title-contact {
    margin: 10% 0 5%;
}

.btn--contact {
    display: inline-block;
    margin-top: 20%;
    padding-right: 20px;
    border-radius: 30px;

    width: 100%;
    max-width: 400px;
    height: 60px;
    padding: 16px 10px;
    line-height: 1.8;
}

.btn--contact::after {
    width: 18px;
    height: 18px;
    transform: translateY(2px);
    margin-left: 6%;
}

.contact-container img {
    display: block;
    width: 80%;
    max-width: 180px;
    margin: 0;
    margin-left: 30%;
}
}

