
/*-------------------------------------------------
TOP
--------------------------------------------------*/
.mv {
    width: 90.27%;
    margin: 0 auto 30px;
    max-width: 3000px;
    border-radius: 20px;
}

.mv img {
    width: 100%;
}
.swiper-slide{
    overflow: hidden;
}
.top_lead {
    text-align: center;
    font-size: clamp(13px, 2.4rem, 24px);
    font-weight: bold;
    margin-bottom: 50px;
}

.top__secTtl {
    color: var(--color-orange);
    font-size: clamp(20px, 3.2rem, 34px);
    font-weight: bold;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1;
}

.top__secSubTtl {
    font-weight: 400;
}

.top__newsWrap {
    width: 68.54545%;
    margin: 0 auto;
}

.top__newsList {
    display: flex;
    gap: 40px;
}

.top__newsLink {
    color: var(--color-black);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: stretch;
    transition: all .3s;
}
.top__newsLink:hover{
    text-decoration: underline;
    transition: all .3s;
}

.top__newsLink:after {
    content: '';
    width: 12px;
    height: 12px;
    background: url('/common/img/arrow.svg')no-repeat;
    background-size: contain;
    display: block;
}

.top__news {
    margin-bottom: 30px;
}

.top__product {
    margin-bottom: 55px;
}

.top__productWrap {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    /* 任意の余白 */
    margin-bottom: 27px;
}

.top__productItem:nth-child(1),
.top__productItem:nth-child(2) {
    grid-column: span 3;
}

.top__productItem:nth-child(n+3) {
    grid-column: span 2;
}

.top__productItem {
    box-shadow: 3px 3px 5px 0px #00000021;
    border-radius: 10px;
    line-height: 0;
    overflow: hidden;
}
.top__productItem:hover{
    opacity: 1;
}
.top__productItem:hover img {
    transform: scale(1.035);

}

.top__productItem img {
    width: 100%;
    transition: all .3s ease-in-out;
}

.top__product__lead {
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    font-size: clamp(16px, 2.1rem, 22px);
}

.top__philosophy-content{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.top__philosophy-imageWrap{
    width: 50%;
}
.top__philosophy-imageWrap img{
    width: 100%;
}
.top__philosophy-heading{
    font-size: clamp(28px,3.2rem,33px);
    color: #b00d23;
    margin-bottom: 24px;
}
.top__philosophy-body{
    font-size: clamp(16px,1.9rem,20px);
}
.top__philosophy-text{
    width: 49%;
}
.top__philosophy-heading-green{
    color: #006934;
}
.pillars-grid{
        display: flex;
    gap: 16px;
    margin-top: 30px;
    margin-bottom: 50px;
}
.pillars-gridItem{
    width: 33%;
        display: flex;
    flex-direction: column;
}
.pillar-label{
    font-size: clamp(28px,3.2rem,33px);
    text-align: center;
    font-weight: bold;
    display: flex;
    gap: 10px;
        justify-content: center;
    align-items: center;
}
.pillar-label:before,.pillar-label:after{
    content: '';
    display: inline-block;
        width: 40px;
    height: 2px;
    transform: rotate(45deg);
    background-color: #333;
}
.pillar-label:after{
    transform: rotate(-45deg);
}
.pillar-label-flexible{
    color: #ea5514;
}
.pillar-label-flexible:before,.pillar-label-flexible:after{
    background-color: #ea5514;
}
.pillar-label-stable{
    color: #2b726e;
}
.pillar-label-stable:before,.pillar-label-stable:after{
    background-color: #2b726e;
}
.pillar-label-strict{
    color: #80b01f;
}
.pillar-label-strict:before,.pillar-label-strict:after{
    background-color: #80b01f;
}
.pillar-box{
    padding: 28px 24px 18px;
    background: url('/home/img/feature1_bg.jpg')no-repeat;
    background-size: cover;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.pillar-box-stable{
    background-image: url('/home/img/feature2_bg.jpg');
    padding-top: 26px;
}
 .pillar-box-strict{
    background-image: url('/home/img/feature3_bg.jpg');
 }
.pillar-name{
    font-size: clamp(28px,3.2rem,33px);
    font-weight: bold;
}
.pillar-icon{
        position: absolute;
    left: 0;
}
.pillar-icon-row{
    display: flex;
    gap: 35px;
    align-items: center;
        justify-content: center;
    position: relative;
    margin-bottom: 10px;
}
.pillar-desc{
    font-size: clamp(18px,1.9rem,20px);
}
.top__about-pie-banner{
max-width: 84.4%;
    width: fit-content;
    margin: 0 auto;
    background-color: #a39a80;
    border-radius: 80px;
    display: flex;
    align-items: center;
    padding: 22px 42px;
    justify-content: center;
    gap: 47px;
    color: var(--color-black);
}
.top__about-pie-left{
        display: flex;
    align-items: center;
    gap: 30px;
}
.top__about-pie-title{
    font-size: clamp(28px,3.2rem,33px);
    font-weight: bold;
}
.top__about-pie-icon{
    line-height: 0;
}
.top__about-pie-subTitle{
    font-size: clamp(24px,2.6rem,27px);
    font-weight: 400;
    color: #7f4f21;
    margin-left: 17px;
}
.top__about-pie-desc{
    color: #fff;
    font-size: clamp(16px,2.0rem,21px);
    font-weight: bold;

}
 /* ===== Contact CTA ===== */

    .top__contact{
        /* margin-top: 47px; */
        text-align: center;
    }
    /* --- Keyframes --- */
    @keyframes btn-enter {
      0%   { opacity: 0; transform: translateY(28px) scale(0.88); }
      60%  { opacity: 1; transform: translateY(-6px) scale(1.03); }
      80%  { transform: translateY(3px) scale(0.99); }
      100% { opacity: 1; transform: translateY(0) scale(1); }
    }
    .contact__btn {
      display: inline-block;
      background-color: var(--color-navy);
      color: #fff;
      text-decoration: none;
      padding: 20px 40px;
      font-size: clamp(24px, 2.6rem,28px);
      font-weight: bold;
      line-height: 1.5;
      cursor: pointer;
      opacity: 0;
      transform: translateY(28px) scale(0.88);
      transition: background-color 0.25s, box-shadow 0.25s;
      transition: opacity 0.25s ease;
    }
  
    /* --- Visible state (JS adds this class) --- */
    .contact__btn.is-visible {
      animation: btn-enter 0.65s cubic-bezier(0.22, 0.68, 0, 1.3) forwards;
    }
      .contact__btn:hover{
        opacity: .7!important;
    }
 
    .contact__btn-sub {
      display: block;
      font-size: clamp(20px,2.6rem,28px);
      font-weight: 400;
      color: var(--color-orange);
    line-height: 1;
    }
 
    .contact__btnNote {
      font-size: clamp(14px,2.2rem,24px);
      color: #b6b7b7;
          margin-top: 3px;
    font-weight: 400;
    opacity: 0;
      transition: opacity 0.4s ease 1s;
    }

     .contact__btnNote.is-visible {
      opacity: 1;
    }
/*ローディング---------------------------------------------*/
.loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: all;
}

.loading.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loading__inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading__logo {
  width: 20%;
  opacity: 0;
  transform: scale(0.9);
  animation: loading-logo-in 0.6s ease 0.2s forwards;
}

@keyframes loading-logo-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
    /*---------------------------------------------
    SP
    ---------------------------------------------*/
 @media (max-width: 767px) {
    .mv{
        margin-bottom: 20px;
    }
    .top_lead{
            font-size: 1.6rem;
    }
    .top__secTtl{
        font-size: 2.4rem;
        margin-bottom: 20px;
    }
    .top__newsWrap{
        width: 100%;
    }
    .top__newsList{
            flex-direction: column;
    gap: 0;
    }
    .top__news,.top__product{
        margin-bottom: 60px;
    }
    .top__product__lead{
        font-size: 1.5rem;
    }
    .top__productItem:nth-child(1), .top__productItem:nth-child(2) {
    grid-column: span 6;
}
.top__productItem:nth-child(n+3) {
    grid-column: span 3;
}
.top__philosophy-content{
    flex-direction: column;
    gap: 16px;
}
.top__philosophy-imageWrap{
    width: 100%;
}
.top__philosophy-text{
    width: 90%;
    margin: 0 auto;
}

.top__philosophy-imageWrap--2{
    order: 1;
}
.top__philosophy-text-2{
    order: 2;
}
.top__philosophy-heading{
        font-size: 2.2rem;
    margin-bottom: 10px;
}
.top__philosophy-body{
    font-size: 1.4rem;
}
.pillars-gridItem{
    width: 90%;
    margin: 0 auto;
}
.pillars-grid{
    flex-direction: column;
    gap: 24px;
}
.pillar-label{
    font-size: 2.4rem;
}
.pillar-name{
    font-size: 2.6rem;
}
.pillar-desc{
    font-size: 1.6rem;
        
}
.top__about-pie-icon{
    width: 50px;
}
.top__about-pie-title{
    font-size: 1.6rem;
    width: 70%;
}
.top__about-pie-subTitle{
    margin-left: 0;
    font-size: 1.2rem;
        display: block;
}
.top__about-pie-desc{
    font-size: 1.2rem;
    width: 50%;
}
.top__about-pie-banner,.top__about-pie-left{
    gap: 10px;
}
.top__about-pie-banner{
        padding: 18px 20px;
        max-width: 100%;
}
.contact__btn{
    font-size: 1.6rem;
    width: 80%;
}
.contact__btn-sub,.contact__btnNote{
    font-size: 1.2rem;
}
.loading__logo {
    width: 45%;
}
 }
