@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;
}

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

/* =======================
header
========================*/
.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 1.8%;
  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; }

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

    .nav__list{
        padding: 40px 56px;
    }

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

    .nav__header{
        padding: 15px 56px;
    }
}
/* =======================
cover
========================*/
.cover {
    margin-top: 56px;
    padding: 0 15px 56px;
    border-bottom: 1px solid #292929;
}

.cover__container {
    padding: 0 15px;
}

.page__title {
    font-family: "Bebas Neue";
    color: #292929;
    font-size: 6.4rem;
    line-height: 1;
}

.page__subtitle {
    margin-top: 8px;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
}

.pc__image {
    display: none;
}

.content {
    margin-top: 56px;
    padding: 0 15px 56px;
    border-bottom: 1px solid #292929;
}

.content:last-of-type {
    border-bottom: none;
}

.intro__title {
    font-family: "Bebas Neue";
    font-size: 4.8rem;
    font-style: normal;
    line-height: 1;
}

.intro__subtitle {
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
}

.sp__image {
    margin-top: 16px;
}

.sp__image:first-of-type {
    margin-top: 0;
}

.br__sp {
    display: block;
}

.intro__desc {
    margin-top: 16px;
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2;
}

.sp__wrapper {
    display: block;
    margin-top: 56px;
    padding: 0 15px 56px;
    border-bottom: 1px solid #292929;
}

.sp__wrapper img {
    width: 100%;
}

@media screen and (min-width:769px) {
    .cover {
        margin-top: 72px;
        padding: 0 56px 72px;
    }

    .page__title {
        font-size: 15.4rem;
    }

    .pc__wrapper {
        display: flex;
    }

    .pc__image {
        margin-top: 40px;
        display: block;
        width: 100%;
    }

    .pc__image img {
        width: 100%;
    }

    .pc__img {
        flex: 0 0 40%;
        max-width: 40%;
        padding: 56px 56px;
    }

    .sp__image {
        display: none;
    }

    .pc__image:first-of-type {
        margin-top: 0;
    }

    .cover__img {
        margin-top: 112px;
    }

    .cover__img img {
        width: 100%;
    }

    .intoroduction {
        margin-top: 112px;
    }

    .container {
        padding-top: 56px;
        border-left: 1px solid #292929;
        flex: 0 0 60%;
        max-width: 60%;
        box-sizing: border-box;
    }

    .content {
        margin-top: 0;
        padding: 0 56px 56px;
    }

    .intro__title {
        margin-top: 64px;
        font-size: 11.2rem;
    }

    .container .content:first-child .intro__title {
        margin-top: 0;
    }

    .intro__subtitle {
        font-size: 1.6rem;
    }

    .br__sp {
        display: none;
    }

    .intro__slide {
        margin-top: 40px;
    }

    .intro__desc {
        margin-top: 40px;
    }

    .sp__wrapper {
        display: none;
    }

    .sp__wrapper img {
        display: none;
    }
}

/* =======================
allworks
========================*/
.all__works {
    border-top: 1px solid #292929;
}

.allworks__title {
    margin-bottom: 24px;
    font-family: "Bebas Neue";
    font-size: 4.8rem;
    font-style: normal;
    line-height: 1;
}

.webdesigns {
    padding: 56px 15px;
}

.webdesigns__contents {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.webdesigns__container img {
    display: block;
    width: 100%;
}

.bannerdesigns {
    padding: 56px 15px;
    border-top: 1px solid #292929;
}

.bannerdesigns__container {
    margin-top: 8px;
}

.bannerdesigns__container img {
    display: block;
    width: 100%;
}

.bannerdesigns__contents {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

@media screen and (min-width:769px) {
    .all__works {
        padding: 0;
    }

    .allworks__title {
        font-size: 4.8rem;
    }

    .all__works__wrapper {
        display: flex;
    }

    .webdesigns {
        width: 50%;
        padding: 56px;
    }

    .bannerdesigns {
        width: 50%;
        padding: 56px;
        border-left: 1px solid #292929;
        border-top: none;
    }

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

/* =======================
footer
========================*/
.footer {
    width: 100%;
    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;
  }
}