@charset "UTF-8";


/**-- hero --**/
:root {
  --hero-bg: #FFAD14;
}

.hero{
    background: var(--hero-bg);
    color: #fff;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}
.hero-sub {
    font-weight: 500;
}
.hero-title {
	font-size: 4rem;
}

.hero-inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  height: 100vh;
}

.hero-text {
    width: 100%;
    padding-left: 5%;
    padding-bottom: 10vh;
    text-align: left;
    position: relative;
    z-index: 2;
}

.hero-graphic {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
    width: 50%;
    overflow: hidden;
}

/* Canvasの設定 */
#hero-canvas {
    display: block;
    aspect-ratio: 1 / 1;
    width: 800px;
    margin-right: 0;
    background: transparent;
    pointer-events: none;
}


/**-- section共通 --**/
.section-head{
    margin-bottom: 40px;
}
.section-title {
	font-size: 4.5rem;
}
.section-sub {
	font-size: 18px;
    color: #FFAD14;
    font-weight: bold;
}

/**-- about,company graphic --**/
.about, .company {
    position: relative;
    overflow: hidden; 
    margin: 200px auto;
}
.about-inner,
.company-inner {
    position: relative;
    width: 33%;
    min-width: 680px;
    margin: 0 auto;
    z-index: 10;
    isolation: isolate;
}
.about-graphic,
.company-graphic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
/* --- Canvas自体の共通スタイル --- */
.bgDots {
  position: absolute;
  display: block;
  width: clamp(520px, 54vw, 820px);
  aspect-ratio: 1 / 1;
  background: transparent;
  pointer-events: auto; /* マウスアクション（波紋）を有効にする */
  /* 周縁をふわっとぼかすマスク */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 82%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 82%);
}
/* --- Aboutセクションでの位置（左上） --- */
.about-graphic .bgDots {
  left: clamp(-220px, -18vw, -140px);
  top: clamp(60px, 10vh, 120px);
}
/* --- Companyセクションでの位置（右中央） --- */
.company-graphic .bgDots {
  right: clamp(-220px, -18vw, -140px);
  top: 50%;
  transform: translateY(-50%);
}


/**-- about --**/
.about .section-body p{
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2;
}


/**-- company --**/
.company-card{
    background: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 12.5%;
}
.company .kv-row{
    border-bottom: 1px solid #C2C2C2;
    padding: 40px 0;
}
.company .kv-row:last-of-type {
    border-bottom: none;
}
.company .kv-row dt{
    font-weight: bold;
}
.company .kv-row dd{
}
.company .kv-row dd a:hover{
    text-decoration: underline;
}

/**-- contact --**/
.contact{
    background-color: #FFAD14;
    background-image: url('../img/index/cta-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 2%;
    border-radius: 24px;
}
.contact-inner{
    width: 90%;
    margin: 0 auto;
    padding: 150px 0;
}
.contact-copy{
    width: calc(90% - 320px);
    color: #fff;
}
.contact-copy .contact-sub{
    display: block;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 40px;
}
.contact .contact-title{
    font-size: 3rem;
    margin-bottom: 40px;
}
.contact .contact-text{
    font-size: 1.25rem;
    font-weight: bold;
}
.contact-actions{
    width: 320px;
}



/************************************
responsive
************************************/
@media (max-width: 960px) {
    /**-- hero --**/
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-text {
        padding-left: 2.5%;
    }

    .hero-graphic {
        position: absolute;
        top: 50%;
        right: 0;
        left: 50%;
        transform: translate(-50%, -65%);
        width: 90%;
    }

    /* Canvasの設定 */
    #hero-canvas {
        width: 100%;
    }



    /**-- section共通 --**/

    .section-title {
        font-size: 3rem;
    }
    .section-sub {
        font-size: 12px;
    }


    /**-- about,company graphic --**/
    .about, .company {
        margin: 80px auto;
    }
    .about-inner,
    .company-inner {
        width: 95%;
        min-width: auto;
    }

    /**-- about --**/
    .about .section-body p{
        font-size: 1.125rem;
    }

    /**-- company --**/
    .company-card{
        border-radius: 16px;
        padding: 10%;
    }

    /**-- contact --**/
    .contact{
        background-image: url('../img/index/cta-bg_sp.png');
        margin: 0 2.5%;
        border-radius: 16px;
    }
    .contact-inner{
        flex-direction: column;
        width: 90%;
        padding: 100px 0;
    }
    .contact-copy{
        width: 100%;
        margin-bottom: 80px;
    }
    .contact-copy .contact-sub{
        font-size: 14px;
    }
    .contact .contact-title{
        font-size: 2rem;
    }
    .contact .contact-text{
        font-size: 1rem;
    }
    .contact-actions{
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

}






/* --- スマホ時の調整 --- */
@media (max-width: 768px) {
  .bgDots {
    width: clamp(360px, 78vw, 520px);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0) 86%);
    mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 62%, rgba(0, 0, 0, 0) 86%);
  }

  .about-graphic .bgDots {
    left: -22vw;
    top: 40px;
  }

  .company-graphic .bgDots {
    right: -22vw;
    top: 62%; /* 少し下へずらすなど微調整 */
  }
}