@charset "UTF-8";
/* =======================
cover
========================*/
.main {
    background-color: #f8f8f8;
}

.header-desktop {
    background-color: #f8f8f8;
}

.cover {
    padding-top: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid #292929;
}

.cover__container {
    padding: 0 15px;
}

.page__title {
    font-family: "Anton";
    color: #292929;
    font-size: 80px;
    line-height: 1;
    margin-top: 40px;
}

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

.page__link {
    margin-top: 8px;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    color: #292929;
    border-bottom: 1px solid #292929;
}

.cover__img {
    margin-top: 24px;
}

.cover__img img {
    width: 100%;
}

.intoroduction {
    margin-top: 40px;
}

.pc__image {
    display: none;
}

.view-switch__pc {
    display: none;
}

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

.intro__title {
    font-family: "Anton";
    font-size: 48px;
    font-style: normal;
    line-height: 1;
}

.intro__subtitle {
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1;
    margin-top: 8px;
}

.br__sp {
    display: block;
}

.intro__slide {
    margin-top: 16px;
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.intro__slide iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

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

.attention {
    font-family: "Noto Sans JP";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
}

.view-switch__sp {
    display: block;
    padding-bottom: 56px;
}

.sp__wrapper img {
    width: 100%;
}

/* ===== スイッチャー共通（PC/SPの両方に効く） ===== */

/* ボタン行 */
.view-switch__pc .switch__btn,
.view-switch__sp .switch__btn {
  display: flex;
  width: 100%;
  border-bottom: 1px solid #292929;
}

/* ボタン */
.view-switch__pc .switch__btn button,
.view-switch__sp .switch__btn button {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  font-family: "Anton";
  font-size: 32px;
  line-height: 1;
  background: #f8f8f8;
  color: #292929;
  border: none;
  cursor: pointer;
  user-select: none;
}

/* アクティブ見た目 */
.view-switch__pc .switch__btn button.is-active,
.view-switch__sp .switch__btn button.is-active {
  background: #292929;
  color: #f8f8f8;
}

/* 画像表示部 */
.view-switch__pc .view-switch__image,
.view-switch__sp .view-switch__image {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 24px 15px 0;
}

/* 画像の表示/非表示 */
.view-switch__pc .view-switch__image img,
.view-switch__sp .view-switch__image img {
  display: none;
  max-width: 100%;
  height: auto;
}
.view-switch__pc .view-switch__image img.active,
.view-switch__sp .view-switch__image img.active {
  display: block;
}

/* SPデザイン画像だけは幅を制限（ボタンに影響しないように img に限定） */
.view-switch__pc .view-switch__image .sp__page__img,
.view-switch__sp .view-switch__image .sp__page__img {
  max-width: 375px;
  width: 100%;
  height: auto;
}

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

    .cover__container {
        padding: 0 56px;
    }

    .page__title {
        font-size: 132px;
        margin-top: 0;
    }

    .cover__img {
        margin-top: 56px;
    }

    .cover__img img {
        width: 100%;
    }

    .intoroduction {
        margin-top: 112px;
    }

    .pc__wrapper {
        display: flex;
    }

    .view-switch__pc {
        display: block;
        flex: 0 0 40%;
        max-width: 40%;
        background-color: #f8f8f8;
    }

    /* ボタン */
    .switch__btn {
        display: flex;
        width: 100%;
        border-bottom: 1px solid #292929;
    }

    .switch__btn button {
        flex: 1 1 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 24px;
        font-family: "Bebas Neue";
        font-size: 32px;
        line-height: 1;
        background: #f8f8f8;
        color: #292929;
        border: none;
        cursor: pointer;
        user-select: none;
    }

    .switch__btn button.is-active {
        background: #292929;
        color: #f8f8f8;
    }

    /* 画像表示部 */
    .view-switch__image {
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        padding: 56px;
    }

    .view-switch__image img {
        display: none;
        max-width: 100%;
        height: auto;
    }

    .view-switch__image img.active {
        display: block;
    }

    .sp__page__img {
        max-width: 375px;
        height: auto;
    }

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

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

    .intro__title {
        margin-top: 56px;
        font-size: 112px;
    }

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

    .intro__subtitle {
        font-size: 16px;
    }

    .br__sp {
        display: none;
    }

    .intro__slide {
        margin-top: 40px;
    }

    .intro__desc {
        margin-top: 40px;
    }

    .attention {
        font-size: 24px;
    }

    .view-switch__sp{
        display: none;
    }

    .view-switch__pc .view-switch__image,
    .view-switch__sp .view-switch__image {
        padding: 24px 56px;
    }
}

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

.allworks__title {
    margin-bottom: 24px;
    font-family: "Anton";
    font-size: 48px;
    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: 48px;
    }

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