/*----------------------------------------
  mv（メインビジュアル）
  デザイン幅 1600px
  画像は 1600px を超えると高さそのままで右端まで伸びる
----------------------------------------*/
.mv {
    position: relative;
}

/* 縦組みのキャッチコピー */
.mv__copy {
    position: absolute;
    top: 17.6px;
    left: max(100.6px, calc(50% - 699.4px));
    writing-mode: vertical-rl;
    font-feature-settings: normal;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.65;
}

/* カギカッコは縦組みの半角送りにする */
.mv__brk {
    margin-inline: -0.26em;
}

.mv__copy-orange {
    color: #e28383;
}

.mv__copy-pink {
    color: #ff7bac;
}

/* 縦中横（43年の「43」） */
.mv__tcy {
    -webkit-text-combine: horizontal;
    text-combine-upright: all;
}

/* キャラクター */
.mv__character {
    position: absolute;
    top: 594px;
    left: max(58.8px, calc(50% - 741.2px));
    width: 173.49px;
}

.mv__character img {
    width: 100%;
    height: auto;
}

/* スライダー（画像） */
.mv__slider {
    height: 827px;
    margin-left: max(258.5px, calc(50% - 541.5px));
    border-top-left-radius: 149.72px;
    overflow: hidden;
}

.mv__slider-inner,
.mv__slider-inner .slick-list,
.mv__slider-inner .slick-track,
.mv__slide {
    height: 100%;
}

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

/* slick 初期化前のちらつき防止 */
.mv__slider-inner:not(.slick-initialized) .mv__slide:nth-child(n + 2) {
    display: none;
}

/* スライダー（テキスト）＋下の罫線 */
.mv__info {
    margin-top: 29px;
    margin-left: max(256.5px, calc(50% - 543.5px));
    padding-bottom: 22px;
    border-bottom: 1px solid #000;
}

.mv__text {
    padding-right: 84px;
    font-size: 16px;
    text-align: right;
    font-weight: 500;
    letter-spacing: 0.07em;
    line-height: 1;
}

.mv__text a {
    transition: opacity 0.3s;
}

.mv__text time {
    margin-right: 16px;
    letter-spacing: 0.11em;
}

@media (hover: hover) {
    .mv__text a:hover {
        opacity: 0.7;
    }
}

/*----------------------------------------
  banner（バナースライダー）
----------------------------------------*/
.banner {
    margin-top: 40.5px;
}

.banner__slider:not(.slick-initialized) {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.banner__slider .slick-list,
.banner__slider .slick-track,
.banner__slider .slick-slide {
    height: auto;
}

.banner__item {
    width: 426px;
    margin: 0 9.5px;
}

.banner__item img {
    display: block;
    width: 100%;
    height: 137px;
    /* object-fit: cover; */
    transition: opacity 0.3s;
}

.banner .slick-dots {
    position: static;
    display: flex;
    justify-content: center;
    gap: 20.2px;
    width: auto;
    margin-top: 28.4px;
    line-height: 0;
}

.banner .slick-dots li {
    width: 15.8px;
    height: 15.8px;
    margin: 0;
}

.banner .slick-dots li button {
    width: 15.8px;
    height: 15.8px;
    padding: 0;
}

.banner .slick-dots li button::before {
    width: 15.8px;
    height: 15.8px;
    border-radius: 50%;
    background: #000;
    content: "";
    opacity: 1;
}

/*----------------------------------------
  guide（STEP.01 家づくりの始め方ガイド）
----------------------------------------*/
.guide {
    margin-top: 70.3px;
    padding-bottom: 100px;
}

.guide__inner {
    position: relative;
    max-width: 1600px;
    height: 249.14px;
    margin: 0 auto;
}

.guide__step {
    position: absolute;
    top: 30px;
    left: 228.1px;
    width: 184.49px;
    height: auto;
}

.guide__title {
    position: absolute;
    top: 39px;
    left: 437.9px;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.guide__text {
    position: absolute;
    top: 113.8px;
    left: 233.8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.073em;
    line-height: 42px;
}

/* 重ね順：吹き出し(1) → ボタン(2) → キャラクター(3) */
.guide__bubble {
    position: absolute;
    top: -0.5px;
    left: 1045.1px;
    z-index: 1;
    width: 391px;
}

.guide__character {
    position: absolute;
    top: 11px;
    left: 900.5px;
    z-index: 3;
    width: 173.49px;
    pointer-events: none;
}

.guide__bubble img,
.guide__character img {
    width: 100%;
    height: auto;
}

.guide__btn {
    position: absolute;
    top: 163px;
    left: 986.6px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 467px;
    height: 84px;
    border-radius: 42px;
    background: #e28383;
    color: #edf6fc;
    transition: opacity 0.3s;
}

.guide__btn-text {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.guide__btn-arrow {
    position: absolute;
    top: 50%;
    right: 29.7px;
    width: 12.41px;
    height: auto;
    transform: translateY(-50%);
}

@media (hover: hover) {
    .banner__item a:hover img,
    .guide__btn:hover {
        opacity: 0.7;
    }
}

/*----------------------------------------
  works（STEP.02 理想のイメージを見つけよう！）
----------------------------------------*/
/* .guide の padding-bottom:100px と合わせてデザインの余白93.9pxを作る */
.works {
    padding-bottom: 137px;
    background: #fcf5e3;
}

/* 見出しブロック */
.works__head {
    position: relative;
    max-width: 1600px;
    height: 317.1px;
    margin: 0 auto;
}

.works__step {
    position: absolute;
    top: 116px;
    left: 228.1px;
    width: 184.49px;
    height: auto;
}

.works__heading {
    position: absolute;
    top: 127px;
    left: 437.1px;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.works__lead {
    position: absolute;
    top: 196.3px;
    left: 234.6px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.073em;
    line-height: 42px;
}

.works__illust {
    position: absolute;
    top: 102px;
    left: 915px;
    width: 473px;
}

.works__illust img {
    width: 100%;
    height: auto;
}

/* 施工実例の見出し */
.works__sec-head {
    margin-top: 33.1px;
    text-align: center;
}

.works__home {
    display: block;
    width: 52.19px;
    height: auto;
    margin: 0 auto;
}

.works__sec-title {
    margin-top: 13.9px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-indent: 0.08em;
}

.works__sec-line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 25.8px auto 0;
}

/* 一覧（カードは施工実例一覧と同じ作り。works.css と同じ値にしている） */
.works__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 20.1px;
    row-gap: 35px;
    align-items: start;
    max-width: 1198.51px;
    margin: 30.3px auto 0;
}

/* お気に入りボタンをカードのリンクの外に出すための入れ物 */
.works__item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.works__card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

/* サムネイル */
/* min-height: 0 が無いと、flexアイテムの自動最小サイズ（画像の高さ）が
   aspect-ratio より優先されて、画像によって数px高くなってしまう */
.works__thumb {
    position: relative;
    min-height: 0;
    aspect-ratio: 1;
}

/* PICKUPの吹き出しは下にはみ出すので、拡大の切り抜きは内側で行う */
.works__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.works__thumb-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.works__pickup {
    position: absolute;
    bottom: -16.92px;
    left: 9.78px;
    width: 90.01px;
    height: auto;
}

/* サムネイルと同じ正方形の領域を重ねて、その右下に置く */
.works__fav-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1;
    pointer-events: none;
}

.works__fav {
    position: absolute;
    right: 5.03px;
    bottom: 5.5px;
    width: 41.94px;
    height: 41.94px;
    pointer-events: auto;
    transition: opacity 0.3s;
}

.works__fav img {
    display: block;
    width: 100%;
    height: auto;
}

/* テキスト。PICKUP記事はこのかたまりに背景色を敷く */
.works__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.works__card--pickup .works__body {
    padding: 0 10px 10px;
    background: #e8f0fb;
}

.works__name {
    margin-top: 14px;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0;
    line-height: 1.45;
}

/* PICKUPの吹き出しが下にはみ出す分だけ余白を広げる */
.works__card--pickup .works__name {
    margin-top: 22px;
}

.works__meta {
    margin-top: auto;
    padding-top: 7.5px;
    border-top: 1px solid #999;
}

/* 会社名は長いと2行に折り返すので、行間を少しだけ空けておく */
.works__company {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.25;
}

.works__tags {
    margin-top: 7px;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 1;
}

.works__tags span + span::before {
    content: "|";
    margin: 0 0.5em;
    color: #999;
}

/* 公開中の実例が1件も無いとき */
.works__empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    font-size: 16px;
    text-align: center;
}

/* もっと見る */
.works__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 412px;
    height: 70px;
    margin: 42px auto 0;
    border-radius: 7.73px;
    background: #8cb4eb;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.21em;
    line-height: 1;
    text-indent: 0.21em;
    transition: opacity 0.3s;
}

/* 一括資料請求バナー */
/* .works__cta {
    position: relative;
    display: block;
    width: 721px;
    height: 208.5px;
    margin: 39.5px auto 0;
    border-radius: 104.25px;
    background: #e28383;
    transition: opacity 0.3s;
}

.works__cta-character {
    position: absolute;
    top: 15.5px;
    left: 58.5px;
    width: 137.61px;
    height: auto;
}

.works__cta-label {
    position: absolute;
    top: 37.5px;
    left: 218.5px;
    display: flex;
    gap: 5px;
}

.works__cta-label span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff;
    color: #e28383;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.works__cta-text {
    position: absolute;
    top: 107.2px;
    left: 227.5px;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.079em;
    line-height: 36px;
} */

.works__cta {
    display: block;
    width: 721px;
    margin: 39.5px auto 0;
    transition: opacity 0.3s;
}

.works__cta img {
    width: 100%;
}

/* カードのホバー（サムネイル拡大＋名前の下線）は common.css で共通化している */
@media (hover: hover) {
    .works__more:hover,
    .works__cta:hover {
        opacity: 0.7;
    }
}

/*----------------------------------------
  company（STEP.04 建築会社を探そう）
----------------------------------------*/
.company {
    padding-bottom: 90px;
}

.company__head {
    position: relative;
    max-width: 1600px;
    height: 305.4px;
    margin: 0 auto;
}

.company__step {
    position: absolute;
    top: 113px;
    left: 232.9px;
    width: 184.49px;
    height: auto;
}

.company__heading {
    position: absolute;
    top: 123.5px;
    left: 442.1px;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.company__lead {
    position: absolute;
    top: 192.8px;
    left: 237.8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.073em;
    line-height: 42px;
}

/* 吹き出し(900.1)＋キャラ(〜1403.3)を合成した 503.24px を配置 */
.company__illust {
    position: absolute;
    top: 79px;
    left: 900.1px;
    width: 503.24px;
}

.company__illust img {
    width: 100%;
    height: auto;
}

/* 建築会社を探す 見出し */
.company__sec-head {
    margin-top: 32.4px;
    text-align: center;
}

.company__tool {
    display: block;
    width: 50.1px;
    height: auto;
    margin: 0 auto;
}

.company__sec-title {
    margin-top: 18px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-indent: 0.08em;
}

.company__sec-line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 19.1px auto 0;
}

/* 一覧（カードは建築会社一覧と同じ作り。company.css と同じ値にしている） */
.company__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
    column-gap: 25px;
    row-gap: 35.6px;
    max-width: 1198.51px;
    margin: 42.5px auto 0;
}

/* お気に入りボタンをカードのリンクの外に出すための入れ物 */
.company__item {
    position: relative;
    display: flex;
    flex-direction: column;
}

.company__card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

/* min-height: 0 が無いと、flexアイテムの自動最小サイズ（画像の高さ）が
   aspect-ratio より優先されて、画像によって数px高くなってしまう */
.company__thumb {
    position: relative;
    min-height: 0;
    aspect-ratio: 220 / 225;
    /* 画像が未登録の会社もあるので、枠の色を置いておく */
    background: #eae8e9;
}

/* 拡大したときにはみ出す分はここで隠す */
.company__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.company__thumb-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* サムネイルと同じ縦横比の領域を重ねて、その右下に置く */
.company__fav-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 220 / 225;
    pointer-events: none;
}

.company__fav {
    position: absolute;
    right: 5.03px;
    bottom: 6.53px;
    width: 41.94px;
    height: 41.94px;
    pointer-events: auto;
    transition: opacity 0.3s;
}

.company__fav img {
    display: block;
    width: 100%;
    height: auto;
}

/* 種別が複数ある会社は横に並べて折り返す */
.company__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 7.5px;
}

.company__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 20px;
    padding: 0 7px;
    border: 1px solid #999;
    border-radius: 3px;
    font-size: 12px;
    letter-spacing: 0.03em;
    line-height: 1;
}

.company__name {
    margin-top: 3.6px;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 20.1px;
}

.company__area {
    /* 対応エリアが複数だと折り返すことがあるので、行間を確保したうえで
       1行目の見た目の位置が変わらないよう margin で相殺している */
    margin-top: 5.1px;
    font-size: 12px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

/* 公開中の建築会社が1件も無いとき */
.company__empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    font-size: 16px;
    text-align: center;
}

/* もっと見る */
.company__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 412px;
    height: 70px;
    margin: 72.6px auto 0;
    border-radius: 7.73px;
    background: #a7ce7a;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.21em;
    line-height: 1;
    text-indent: 0.21em;
    transition: opacity 0.3s;
}

/* カードのホバー（サムネイル拡大＋名前の下線）は common.css で共通化している */
@media (hover: hover) {
    .company__more:hover {
        opacity: 0.7;
    }
}

/*----------------------------------------
  event（STEP.03 見学会に行ってみよう！）
----------------------------------------*/
.event {
    padding-bottom: 107px;
    background: #fcf5e3;
}

.event__head {
    position: relative;
    max-width: 1600px;
    height: 333.5px;
    margin: 0 auto;
}

.event__step {
    position: absolute;
    top: 135px;
    left: 227.6px;
    width: 184.49px;
    height: auto;
}

.event__heading {
    position: absolute;
    top: 146px;
    left: 436.8px;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.event__lead {
    position: absolute;
    top: 215.3px;
    left: 232.8px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.073em;
    line-height: 42px;
}

.event__illust {
    position: absolute;
    top: 80px;
    left: 890px;
    width: 480px;
}

.event__illust img {
    width: 100%;
    height: auto;
}

/* 見学会情報 見出し */
.event__sec-head {
    text-align: center;
}

.event__calendar {
    display: block;
    width: 59.5px;
    height: auto;
    margin: 0 auto;
}

.event__sec-title {
    margin-top: 17.7px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-indent: 0.08em;
}

.event__sec-line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 12.6px auto 0;
}

/* 一覧。カードそのもの（.event__card 以下）はイベント一覧・詳細と共用で
   common.css が持っているので、ここでは枠の幅と位置だけを指定する */
.event__list {
    max-width: 1200px;
    margin: 34.2px auto 0;
}

/* もっと見る */
.event__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 412px;
    height: 70px;
    margin: 52px auto 0;
    border-radius: 7.73px;
    background: #f4c773;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.21em;
    line-height: 1;
    text-indent: 0.21em;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .event__more:hover {
        opacity: 0.7;
    }
}

/*----------------------------------------
  start（STEP.05 建築スタート！）
----------------------------------------*/
.start {
    padding-bottom: 68.2px;
    background: #fff;
}

.start__inner {
    position: relative;
    max-width: 1600px;
    height: 388.8px;
    margin: 0 auto;
}

.start__step {
    position: absolute;
    top: 112px;
    left: 228.1px;
    width: 184.49px;
    height: auto;
}

.start__heading {
    position: absolute;
    top: 122.5px;
    left: 437.2px;
    font-size: 35px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.start__lead {
    position: absolute;
    top: 192.6px;
    left: 237px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.31em;
    line-height: 42px;
}

.start__illust {
    position: absolute;
    top: 111px;
    left: 771.5px;
    width: 655.4px;
}

.start__illust img {
    width: 100%;
    height: auto;
}

/*----------------------------------------
  news（お知らせ）
----------------------------------------*/
.news {
    padding-bottom: 103.6px;
    background: #fcf5e3;
}

.news__sec-head {
    padding-top: 65.7px;
    text-align: center;
}

.news__icon {
    display: block;
    width: 47.07px;
    height: auto;
    margin: 0 auto;
}

.news__sec-title {
    margin-top: 12.8px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 1;
    text-indent: 0.24em;
}

.news__sec-line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 10.5px auto 0;
}

/* 一覧 */
.news__list {
    max-width: 1271px;
    margin: 27.7px auto 0;
}

.news__item {
    border-bottom: 1px solid #999;
}

.news__item a {
    display: flex;
    align-items: center;
    height: 93px;
    transition: opacity 0.3s;
}

.news__date {
    flex-shrink: 0;
    width: 146px;
    color: #999;
    font-size: 18px;
    letter-spacing: 0.04em;
    line-height: 1;
}

.news__title {
    color: #333;
    font-size: 20px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* お知らせが1件も無いとき（.news__item a と同じ高さにして枠が潰れないようにする） */
.news__empty {
    display: flex;
    align-items: center;
    height: 93px;
    color: #999;
    font-size: 18px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* もっと見る */
.news__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 412px;
    height: 70px;
    margin: 55.5px auto 0;
    border-radius: 7.73px;
    background: #f4c773;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.21em;
    line-height: 1;
    text-indent: 0.21em;
    transition: opacity 0.3s;
}

@media (hover: hover) {
    .news__item a:hover,
    .news__more:hover {
        opacity: 0.7;
    }
}

/*----------------------------------------
  book（発行書籍 / Instagram）
----------------------------------------*/
.book {
    padding-bottom: 118.6px;
    background: #fff;
}

.book__sec-head {
    padding-top: 71.6px;
    text-align: center;
}

.book__icon {
    display: block;
    width: 62.88px;
    height: auto;
    margin: 0 auto;
}

.book__sec-title {
    margin-top: 14.1px;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.24em;
    line-height: 1;
    text-indent: 0.24em;
}

.book__sec-line {
    display: block;
    width: 153.23px;
    height: auto;
    margin: 17.1px auto 0;
}

/* 書籍一覧 */
.book__list {
    display: flex;
    justify-content: center;
    gap: 37.33px;
    max-width: 1224px;
    margin: 44.7px auto 0;
}

.book__item {
    width: 278px;
}

/* 公開中の書籍が1冊も無いとき */
.book__empty {
    font-size: 16px;
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.book__link {
    display: block;
    transition: opacity 0.3s;
}

.book__cover {
    display: flex;
    justify-content: center;
}

.book__cover img {
    width: auto;
    height: 346px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.book__name {
    display: block;
    margin-top: 7.8px;
    color: #333;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 41px;
}

.book__price {
    display: block;
    margin-top: 11.2px;
    color: #999;
    font-size: 24px;
    letter-spacing: 0;
    line-height: 1;
}

/* オンラインで購入 */
.book__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 412px;
    height: 70px;
    margin: 54px auto 0;
    border-radius: 7.73px;
    background: #f4c773;
    color: #fff;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.3em;
    line-height: 1;
    text-indent: 0.3em;
    transition: opacity 0.3s;
}

/* Instagram埋め込み枠 */
.book__insta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13.55px 13.4px;
    max-width: 1202px;
    margin: 170px auto 0;
}

.book__insta-item {
    overflow: hidden;
    aspect-ratio: 1;
    background: #ccc;
}

.book__insta-item > * {
    width: 100% !important;
    min-width: 0 !important;
}

.book__insta-link {
    display: block;
    height: 100%;
    transition: opacity 0.3s;
}

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

@media (hover: hover) {
    .book__link:hover,
    .book__insta-link:hover,
    .book__more:hover {
        opacity: 0.7;
    }
}

/*========================================
  SP / タブレット（1023px 以下）
  PCの絶対配置レイアウトを解除して縦積みに組み替える
========================================*/
@media screen and (max-width: 1023px) {
    /* 共通の左右余白 */
    .mv__info,
    .guide__inner,
    .works__head,
    .works__sec-head,
    .works__list,
    .company__head,
    .company__sec-head,
    .company__list,
    .event__head,
    .event__sec-head,
    .event__list,
    .start__inner,
    .news__sec-head,
    .news__list,
    .book__sec-head,
    .book__list,
    .book__insta {
        padding-left: 16px;
        padding-right: 16px;
    }

    /*---------------- mv ----------------*/
    .mv {
        position: relative;
        padding-top: 24px;
    }

    .mv__copy {
        position: static;
        margin-left: 16px;
        font-size: 17px;
        line-height: 1.7;
    }

    /* メインビジュアル画像の下端に少し左寄りで重ねる */
    .mv__character {
        position: absolute;
        z-index: 3;
        top: auto;
        bottom: 65px;
        left: 45%;
        width: 130px;
        /* position:absolute + bottom指定 + auto高さの組み合わせで
           高さが0pxに解決されるブラウザの挙動があるため aspect-ratio で明示する */
        aspect-ratio: 173.49 / 237.66;
        margin: 0;
        transform: translateX(-50%);
        width: 75px;
    }

    .mv__slider {
        position: absolute;
        top: 24px;
        right: 0;
        left: auto;
        width: calc(100% - 90px);
        /* height: calc(100% - 24px); */
        height: 450px;
        margin-left: 0;
        border-top-left-radius: 60px;
    }

    .mv__info {
        position: relative;
        z-index: 2;
        margin-top: 50px;
        margin-left: 0;
        padding-top: 12px;
        padding-bottom: 12px;
        background: #fff;
    }

    .mv__text {
        padding-right: 0;
        font-size: 13px;
        line-height: 1.6;
        text-align: left;
    }

    .mv__text time {
        display: block;
        margin-right: 0;
        margin-bottom: 2px;
    }

    /*---------------- banner ----------------*/
    .banner {
        margin-top: 32px;
    }

    .banner__item {
        width: 260px;
        margin: 0 6px;
    }

    .banner__item img {
        height: 84px;
    }

    .banner .slick-dots {
        gap: 12px;
        margin-top: 18px;
    }

    .banner .slick-dots li,
    .banner .slick-dots li button,
    .banner .slick-dots li button::before {
        width: 10px;
        height: 10px;
    }

    /*---------------- 共通：STEP見出しブロック ----------------*/
    .works__head,
    .company__head,
    .event__head,
    .start__inner {
        position: static;
        height: auto;
    }

    .guide__step,
    .works__step,
    .company__step,
    .event__step,
    .start__step,
    .guide__title,
    .works__heading,
    .company__heading,
    .event__heading,
    .start__heading,
    .guide__text,
    .works__lead,
    .company__lead,
    .event__lead,
    .start__lead,
    .guide__bubble,
    .works__illust,
    .company__illust,
    .event__illust,
    .start__illust {
        position: static;
        top: auto;
        left: auto;
    }

    .guide__step,
    .works__step,
    .company__step,
    .event__step,
    .start__step {
        width: 132px;
        margin: 0 auto;
        display: block;
    }

    .guide__title,
    .works__heading,
    .company__heading,
    .event__heading,
    .start__heading {
        margin-top: 10px;
        font-size: 24px;
        letter-spacing: 0;
        white-space: normal;
    }

    .guide__text,
    .works__lead,
    .company__lead,
    .event__lead,
    .start__lead {
        margin-top: 14px;
        font-size: 14px;
        letter-spacing: 0.04em;
        line-height: 2;
        display: flex;
        justify-content: center;
    }

    .start__lead {
        letter-spacing: 0.1em;
    }

    .works__illust,
    .company__illust,
    .event__illust,
    .start__illust {
        width: min(100%, 420px);
        margin: 20px auto 0;
    }

    .guide__title,
    .works__heading,
    .company__heading,
    .event__heading,
    .start__heading {
        text-align: center;
    }

    /*---------------- guide（STEP.01） ----------------*/
    .guide {
        margin-top: 48px;
        padding-bottom: 56px;
    }

    .guide__inner {
        position: relative;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .guide__bubble {
        order: 1;
        width: min(100%, 360px);
        margin: 24px auto 0;
    }

    .guide__btn {
        position: relative;
        top: auto;
        left: auto;
        order: 2;
        width: min(100%, 360px);
        height: 64px;
        margin: 12px auto 0;
    }

    /* PCと同様、ボタンの左に少し重ねる */
    .guide__character {
        position: absolute;
        z-index: 3;
        top: auto;
        bottom: -6px;
        left: auto;
        right: calc(50% + 130px);
        width: 65px;
        aspect-ratio: 173.49 / 237.66;
        margin: 0;
        pointer-events: none;
    }

    .guide__btn-text {
        font-size: 18px;
    }

    .guide__btn-arrow {
        right: 20px;
        width: 9px;
    }

    /*---------------- 共通：セクション小見出し ----------------*/
    .works__sec-head,
    .company__sec-head,
    .event__sec-head {
        margin-top: 40px;
    }

    .news__sec-head,
    .book__sec-head {
        padding-top: 48px;
    }

    .works__home,
    .company__tool,
    .event__calendar,
    .news__icon,
    .book__icon {
        width: 40px;
    }

    .works__sec-title,
    .company__sec-title,
    .event__sec-title,
    .news__sec-title,
    .book__sec-title {
        margin-top: 10px;
        font-size: 18px;
    }

    .works__sec-line,
    .company__sec-line,
    .event__sec-line,
    .news__sec-line,
    .book__sec-line {
        width: 110px;
        margin-top: 12px;
    }

    /*---------------- works（STEP.02） ----------------*/
    .works {
        margin-top: 0;
        padding-bottom: 56px;
    }

    .works__head {
        padding-top: 40px;
    }

    .works__list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 12px;
        row-gap: 24px;
        max-width: 600px;
        margin-top: 24px;
    }

    .works__pickup {
        bottom: -12px;
        left: 6px;
        width: 72px;
    }

    .works__fav {
        right: 5px;
        bottom: 5px;
        width: 34px;
        height: 34px;
    }

    .works__name {
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 13px;
        line-height: 1.6;
    }

    .works__card--pickup .works__body {
        padding: 0 8px 8px;
    }

    .works__card--pickup .works__name {
        margin-top: 18px;
    }

    .works__meta {
        padding-top: 8px;
    }

    .works__company {
        font-size: 13px;
    }

    .works__tags {
        margin-top: 6px;
        font-size: 11px;
    }

    /*---------------- 共通：もっと見る等のボタン ----------------*/
    .works__more,
    .company__more,
    .event__more,
    .news__more,
    .book__more {
        width: min(300px, calc(100% - 32px));
        height: 56px;
        margin-top: 32px;
        font-size: 16px;
        letter-spacing: 0.15em;
        text-indent: 0.15em;
    }

    /*---------------- 一括資料請求バナー ----------------*/
    /* .works__cta {
        width: min(100%, 400px);
        height: auto;
        margin: 32px auto 0;
        padding: 20px 16px 20px 110px;
        border-radius: 24px;
    }

    .works__cta-character {
        top: 50%;
        left: 12px;
        width: 88px;
        transform: translateY(-50%);
    }

    .works__cta-label {
        position: static;
        gap: 3px;
    }

    .works__cta-label span {
        width: 30px;
        height: 30px;
        font-size: 17px;
    }

    .works__cta-text {
        position: static;
        margin-top: 10px;
        font-size: 14px;
        letter-spacing: 0.04em;
        line-height: 1.7;
    } */

    .works__cta {
        width: min(100%, 400px);
        margin: 32px auto 0;
    }

    /*---------------- company（STEP.04） ----------------*/
    .company {
        padding-bottom: 56px;
    }

    .company__head {
        padding-top: 40px;
    }

    .company__list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 12px;
        row-gap: 24px;
        max-width: 600px;
        margin-top: 24px;
    }

    .company__fav {
        right: 5px;
        bottom: 5px;
        width: 34px;
        height: 34px;
    }

    .company__tags {
        gap: 4px;
        margin-top: 8px;
    }

    .company__tag {
        height: 18px;
        padding: 0 6px;
        font-size: 11px;
    }

    .company__name {
        margin-top: 6px;
        font-size: 14px;
        line-height: 1.5;
    }

    .company__area {
        margin-top: 6px;
        font-size: 11px;
    }

    /*---------------- event（STEP.03） ----------------*/
    .event {
        padding-bottom: 56px;
    }

    .event__head {
        padding-top: 40px;
    }

    /* 2列・文字の大きさは common.css のカード側で指定している */
    .event__list {
        max-width: 600px;
        margin-top: 24px;
    }

    /*---------------- start（STEP.05） ----------------*/
    .start {
        padding-bottom: 48px;
    }

    .start__inner {
        padding-top: 40px;
    }

    /*---------------- news ----------------*/
    .news {
        padding-bottom: 56px;
    }

    .news__list {
        max-width: none;
        margin-top: 24px;
    }

    .news__item a {
        display: block;
        height: auto;
        padding: 16px 0;
    }

    .news__date {
        display: block;
        width: auto;
        margin-bottom: 6px;
        font-size: 13px;
    }

    .news__title {
        font-size: 15px;
        line-height: 1.6;
    }

    /*---------------- book ----------------*/
    .book {
        padding-bottom: 56px;
    }

    .book__list {
        flex-wrap: wrap;
        gap: 28px 12px;
        max-width: none;
        margin-top: 24px;
    }

    .book__item {
        width: calc(50% - 6px);
    }

    .book__cover img {
        width: 100%;
        max-width: 160px;
        height: auto;
    }

    .book__name {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.6;
    }

    .book__price {
        margin-top: 8px;
        font-size: 14px;
    }

    .book__insta {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: none;
        margin-top: 48px;
    }
}

/*---- さらに狭い幅（480px 以下） ----*/
@media screen and (max-width: 480px) {
    .mv__copy {
        font-size: 15px;
    }

    .mv__slider {
        height: 420px;
    }

    /* .works__cta {
        padding-left: 96px;
    }

    .works__cta-character {
        width: 76px;
    }

    .works__cta-label span {
        width: 26px;
        height: 26px;
        font-size: 15px;
    } */
}

@media screen and (max-width: 400px) {
    .guide__btn {
        width: min(100%, 280px);
    }

    .guide__btn-text {
        font-size: 17px;
    }

    .guide__character {
        right: auto;
        bottom: 40px;
        left: 10px;
        width: 60px;
    }

    .works__heading span {
        display: inline-block;
    }
}
