@charset "UTF-8";
/* =======================
common
========================*/
html {
    font-size: 62.5%;
}

body {
    margin: 0;
    padding: 0;
    color: #292929;
    font-size: 2.4rem;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    background-color: #fefefe;
}

.main {
    padding: 0 0;
}

.section__title {
    font-family: "Bebas Neue";
    font-size: 6.6rem;
    color: #292929;
    font-style: normal;
    line-height: 1;
    text-align: center;
}

.section__title h2 span {
    display: inline-block;
    will-change: transform, opacity;
}

@media screen and (min-width:769px) {
    .main {
        padding: 0 0;
    }
    
    .section__title {
        font-size: 11.2rem;
    }
}

/* =======================
header
========================*/
.fv {
    height: 100vh;
}

.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #292929;
    height: 51px;
    padding: 2px 15px;
}

.header > a {
    display: block;
    line-height: 0;
}

.logo {
    width: 51px;
    height: 51px;
    display: block;
}

.header__btn {
    width: 21px;
    height: auto;
    cursor: pointer;
}

.nav{
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: #fefefe;
  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 999;
  display: flex;             /* ← 縦に積む */
  flex-direction: column;
}
.nav.is-open{ transform: translateX(0); }

/* パネル上部のヘッダー（ロゴ＋閉じる） */
.nav__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 15px;
  height: 51px;
  border-bottom: 1px solid #292929;
  background: #fefefe;
  position: sticky;     /* スクロールしても上に固定 */
  top: 0;
  z-index: 1;
}

.nav__header .nav__btn {
    cursor: pointer;
    width: 24px;
    height: auto;
}

.nav__topic img {
    width: 51px;
    height: 51px;
    display: block;
}

/* リストはヘッダーの下に伸びる */
.nav__list{
  margin: 0;
  padding: 24px 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;       /* 多い場合はスクロール */
  flex: 1 1 auto;
}

.nav__item a{
    font-family: "Bebas Neue";
    color:#292929;
    font-size: 4.8rem;
    text-decoration: none;
    line-height: 1;
}

.nav__item a:hover{ opacity:.6; }

.stitch__upper {
    width: 100%;
    margin-top: 200px;
}

.stitch__under {
    width: 100%;
    margin: 20px 0 200px;
}

.fv__title {
    margin-top: 32px;
    overflow: hidden;
    width: 100%;
    white-space: nowrap;
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.title {
    font-family: "Bebas Neue";
    color: #292929;
    font-size: 14.8rem;
    line-height: 1;
    padding-right: 8vw; /* 2つのタイトルの間隔 */
    margin: 0;
    white-space: nowrap;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* 2つ分のうち半分動かす */
}

.title__border {
    color: transparent;
    -webkit-text-stroke: 1px #292929; 
}

@media screen and (min-width:1440px) {
    .header {
        padding: 24px 56px;   
    }

    .fv__title {
        margin-top: 60px;
        display: flex;
    }

    .title {
        font-size: 29.6rem;
        font-style: normal;
        line-height: 1;
    }

    .title__border {
        -webkit-text-stroke: 2px #292929; 
    }

    .nav__list{
        padding: 40px 56px;
    }

    .nav__item a{
        font-size: 11.2rem;
    }

    .nav__header{
        padding: 15px 56px;
    }
}

/* =======================
webdesign
========================*/
.webdesign {
    border-top: 1px solid #292929;
    padding: 60px 0;
}

.webdesign__container {
    margin-top: 40px;
    padding: 0 15px;
}

.webdesign__content {
    margin-top: 40px;
}

.webdesign__content :nth-of-type(1) {
    margin-top: 0;
}

.webdesign__content a {
    margin-top: 16px;
    font-size: 1.6rem;
    font-weight: 400;
}

.siteimg {
    display: block;
    width: 100%;
}

.roll__ball {
    display: none;
}

@media screen and (min-width:1000px) {
    .webdesign {
        margin-top: 0;
        padding: 60px 0 0;
    }

    .webdesign a:hover {
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }

    .webdesign__container {
        margin: 56px auto 0;
        padding: 0;
        max-width: 1080px;
    }

    .webdesign__contents {
        margin-top: 56px;
        display: flex;
        justify-content: space-between;
    }

    .webdesign__contents > div{
        flex: 0 0 calc((100% - 2*30px)/2);
    }

    .webdesign__contents > div:empty{
        visibility: hidden;
    }

    .webdesign__content {
        margin-top: 0;
        width: 32%;
    }

    .webdesign__content a {
        margin-top: 24px;
    }

    .webdesign__contents :nth-of-type(1) {
        margin-top: 0;
    }

}

/* =======================
bannerdesign
========================*/
.bannerdesign {
    border-top: 1px solid #292929;
    padding: 60px 0;
}

.bannerdesign__container {
    margin-top: 40px;
    padding: 0 15px;
}

.bannerdesign__content {
    margin-top: 32px;
}

.bannerdesign__content :nth-of-type(1) {
    margin-top: 0;
}

.bannerdesign__content a {
    margin-top: 16px;
    font-size: 1.6rem;
    font-weight: 400;
}

.bannerimg {
    display: block;
    width: 100%;
}

.bannerdesign__slider {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.slider-for img {
  width: 100%;
  object-fit: cover;
}

.slider-nav img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.slider-nav-item {
  padding: 10px;
}

.slider-nav .slick-slide {
    opacity: .5;
    transition: opacity .2s;
}

.slider-nav .slick-current {
    opacity: 1;
}

.slider-for img {
    width:100%;
    height:auto;
    display:block;
}

.slider-nav img  {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

slider-nav .slick-slide {
    height: 110px;
} 

.bannerdesign__slider .slick-prev,
.bannerdesign__slider .slick-next{
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
}

.bannerdesign__slider .slick-prev{
    left: 8px !important;
}

.bannerdesign__slider .slick-next{
    right: 8px !important;
}

.bannerdesign__slider .slick-prev:before,
.bannerdesign__slider .slick-next:before{
  color: #292929;
  font-size: 16px;
}

.banner-progress{
    max-width:560px;
    margin:24px auto 0; height:28px;
}

.banner-progress__dots{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:100%;
}

.banner-progress__dot{
    position:relative;
    width:18px;
    height:18px;
    flex:0 0 auto;
}

.banner-progress__dot::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:#d9d9d9;
  opacity:1;
  transition:opacity .25s;
}

.banner-progress__dot::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:24px;
  height:24px;
  transform:translate(-50%,-50%) scale(.9);
  background:url("../image/ball.svg") center/contain no-repeat;
  opacity:0; transition:opacity .25s, transform .25s;
}

.banner-progress__dot.is-active::before{
    opacity:0;
}

.banner-progress__dot.is-active::after{
    opacity:1;
    transform:translate(-50%,-50%) scale(1);
}


@media screen and (min-width:769px) {
    .bannerdesign {
        margin-top: 152px;
        padding: 60px 0 0;
    }

    .bannerdesign a:hover {
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }

    .bannerdesign__container {
        margin-top: 56px;
    }

    .bannerdesign__contents {
        margin-top: 56px;
        display: flex;
        justify-content: space-between;
        gap: 30px;
    }

    .bannerdesign__content {
        margin-top: 0;
        width: 32%;
    }

    .bannerdesign__content a {
        margin-top: 24px;
    }

    .bannerdesign__contents :nth-of-type(1) {
        margin-top: 0;
    }
}

/* =======================
aboutme
========================*/
.about__me {
    border-top: 1px solid #292929;
    padding: 60px 0;
}

.about__me__container {
    margin-top: 0;
    padding: 0 15px;
}

.about__me__img {
    width: 60%;
    display: block;
    margin: 0 auto;
}
.about__me__upper {
  display: flex;
  justify-content: center;  /* ← 横方向に中央寄せ */
  align-items: center;      /* ← 縦方向の中央揃え */
  margin-top: 32px;
}

.js__3 span {
  display: inline-block;
  transform-origin: center;
  will-change: transform, opacity;
}

.about__me__logo {
    width: 80px;
    animation: spin 15s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.about__me__name {
    margin-left: 16px;
}

.about__me__name h3 {
    font-family: "Bebas Neue";
    font-size: 6.6rem;
    font-weight: 600;
    line-height: 1;
}

.name__en {
    margin-top: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
}

.about__me__description {
    margin-top: 32px;
    margin-bottom: 32px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
}

.about__me__btn {
    display: flex;
    justify-content: center; 
    align-items: center;
    margin: 0 auto;
    width: 100%;
    height: 50px;
    color: #ffffff;
    background-color: #292929;
    font-size: 1.6rem;
    font-weight: 400;
    cursor: pointer;
}

@media screen and (min-width:1200px) {
    .about__me {
        margin-top: 152px;
        padding: 0;
    }

    .about__me a:hover {
        opacity: 0.5;
        transition: opacity 0.3s ease;
    }

    .about__me__container {
        display: flex;
        align-items: center;
        padding: 0;
    }

    .about__me__img__container {
        border-right: 1px solid #292929;
        width: 50%;
    }

    .about__me__content {
        width: 50%;
        padding: 0 3.8%;
    }

    .about__me__img {
        width: 35%;
        display: block;
        margin: 0 auto;
        padding: 96px 0;
    }

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

    .about__me__logo {
        width: 150px;
    }

    .about__me__name {
        margin-left: 30px;
    }

    .about__me__name h3 {
        font-size: 11.2rem;
    }

    .about__me__description {
        margin-top: 56px;
        margin-bottom: 56px;
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 2;
    }

    .about__me__btn {
        display: flex;
        align-items: center;
        width: 100%;
        height: 80px;
        margin: 0;
    }
}

/* =======================
footer
========================*/
.footer {
    width: 100%;
    margin-top: 56px;
    background-color: #292929;
    padding: 40px 15px;
}

.footer__menu {
    font-family: "Noto Sans JP";
    color: #ffffff;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
}

.footer__menu li {
    margin-top: 16px;
}

.footer__menu li:nth-of-type(1) {
    margin-top: 0;
}

.footer__title {
    margin-top: 40px;
    font-family: "Bebas Neue";
    color: #ffffff;
    font-size: 8rem;
    font-style: normal;
    line-height: 0.9;
}

.footer__title__border {
    color: transparent;
    -webkit-text-stroke: 1px #ffffff; 
}

.copy {
    margin-top: 32px;
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 200;
    font-size: 0.8rem;
    color: #ffffff;
}

@media screen and (min-width:769px) {
    .footer {
        margin-top: 0;
        padding: 120px 3.8% 40px;
    }

    .footer__menu {
        font-size: 2.4rem;
        font-style: normal;
        font-weight: 600;
    }

    .footer__pc {
        display: flex;
        align-items: end;
        justify-content: space-between;
    }

    .footer__title {
        margin-top: 120px;
        font-size: 13.6rem;
    }

    .footer__title__border {
        color: transparent;
        -webkit-text-stroke: 1px #ffffff; 
    }

    .copy {
        margin-top: 32px;
        font-weight: 200;
        font-size: 1.6rem;
    }
}

/* =======================
backhome
========================*/

.backhome {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 90px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  text-decoration: none;
  z-index: 1000;

  opacity: 0;
  transform: translateY(10px) scale(.96);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.backhome.is-show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.backhome img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.backhome span {
  position: relative;
  top: -6px; 
  font-size: 1.2rem;
  font-weight: 700;
  color: #292929;
  text-align: center;
  line-height: 1.2;
}

@media (hover:hover){
  .backhome:hover{ transform: translateY(-2px) scale(1.02); }
}

@media screen and (max-width: 768px) {
  .backhome {
    width: 60px;
    right: 16px;
    bottom: 16px;
  }

  .backhome span {
    font-size: 8px;
    top: -4px;
  }
}