body {
    background-image: url(../image/bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sp-only {
    display: none;
}

/* 2. base.css の .header-wrapper にある背景画像を「消す」 */
.header-wrapper {
  background-image: none !important;     /* メインビジュアル画像を消す */
  background-color: transparent !important; /* 背景色も透明にする */
}

/* モックアップ */
.works-grid {
    display: flex;
    justify-content: center;
}

.section_title-wrapper {
    width: 1040px;
    margin: 0 auto;
}

/* 制作実績 */
.works {
    margin-top: 160px;
}

/* トップ */
.works__top {
    display: flex;
    align-items: center;
}

.works__top-wrapper {
    width: 1040px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 120px;
}

.works__top-nav {
    padding-top: 20px;
}

.top__nav-item {
    transition: all 0.6s ease, transform 0.25s ease;
}

.top__nav-item.js-fade-in:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
    transform: scale(0.99);
}

.js-fade-in.is-show {
    opacity: 1;
    transform: translateY(0);
}

.top__nav-list {
    display: flex;
    font-weight: 700;
    align-items: center;
    gap: 10px;
}

.top__nav-item {
    background-color: #FBF9F6;
    display: inline-block;
    padding: 6px 30px;
    border-radius: 40px;
    border: 2px solid #E99E58;
}

.top__item-text {
    font-size: 28px;
    font-weight: 700;
}

.works__button {
    margin-top: 80px;
}

.top__picture {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* 中央揃えにする場合（左寄せなら不要） */
}

.top-text {
    margin-top: 20px;
    font-weight: 500;
}

.btn-svg {
    pointer-events: none; /* ボタンのクリックを邪魔しない */
}

/* 案件概要 */
.overview {
    margin: 180px auto 180px;
}

.info-list {
    width: 1040px;
    margin: 80px auto 0;
}

.info-list__item {
    display: flex;
    margin-bottom: 90px;
}

.info-list__label {
    font-size: 18px;
    width: 170px;
    flex-shrink: 0;
    color: #E99E58;
    font-weight: 700;
}

.info-list__detail {
    line-height: 2.2;
}

.info-list__detail li {
    position: relative;
    padding-left: 1em;
}

.info-list__detail li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.info-list-title {
    padding-bottom: 30px;
}



/* 制作ポイント */
.point-list__item {
    width: 1040px;
    display: flex;
    margin: 80px auto 180px;
}

.point-list__text {
    line-height: 2.2;
}
.point-list__label {
    font-size: 18px;
    width: 170px;
    flex-shrink: 0;
    color: #E99E58;
    font-weight: 700;
}

.point-slide__label-group {
    display: flex;
    flex-direction: column;
    font-size: 18px;
}

.point-slide__category {
    margin-bottom: 50px;
    font-weight: 700;
    color: #E99E58;
}

.point-slide__page-name {
    margin-bottom: 80px;
    font-weight: 500;
}

.point-carousel-container {
    width: 1040px;
    margin: 0 auto;
}

/* Swiperコンテナ（カードの高さを揃える設定） */
.point-swiper {
    width: 100%;
}

.point-swiper .swiper-wrapper {
    align-items: stretch; /* すべてのスライドの高さを均一化 */
}

/* スライド単体 */
.swiper-slide {
    height: auto; /* 全体の高さに追従 */
    display: flex;
    align-items: center;    /* 垂直方向（上下）の中央揃え */
    justify-content: center; /* 水平方向（左右）の中央揃え */
}

/* スライド内部のグリッド（画像 ＋ 右テキスト） */
.point-slide {
    display: grid;
    grid-template-columns: 509px 1fr; /* 左: 509px固定 / 右: 残りの幅 */
    gap: 82px;
    align-items: center; /* 画像と右側のテキストを垂直中央揃え */
    width: 100%;
}

/* メディア（画像エリア） */
.point-slide__media {
    width: 509px;
}

.point-slide__image {
    width: 100%;
}

.point-slide__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右側テキストコンテンツ */
.point-slide__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.point-slide__title {
    color: #E99E58;
    font-size: 20px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 20px;
}

.point-slide__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.point-slide__list li {
    position: relative;
    padding-left: 1.2em;
    font-size: 16px;
    line-height: 1.8;
    color: #4b4b4b;
}

.point-slide__list li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #4b4b4b;
}

/* 操作ボタン・カウント表示エリア */
.point-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
}

.point-controls__btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #E69D53; /* デザイン画像のオレンジボタン */
    color: #ffffff;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.point-controls__btn:hover {
    background-color: #E99E58;
}

.point-controls__btn.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.point-controls__fraction {
    font-size: 20px;
    font-weight: 500;
    color: #4b4b4b;
    letter-spacing: 0.05em;
    min-width: 60px;
    text-align: center;
}

.point-carousel-sub {
    margin-top: 160px;
}

.works__button-sub {
    display: flex;
    justify-content: center;
    margin-top: 180px;
}

/* コンセプト */
.design {
    margin-top: 180px;
}

.design__nav-list {
    display: flex;
    flex-wrap: wrap;
    width: 40%;
    gap: 25px;
    row-gap: 40px;
}

/* 親要素をFlexboxにして横並びに */
.design-item {
    display: flex;
    align-items: center; /* 上下中央揃え */
}

.design__item-name {
    font-weight: 500;
    background-color: #FFAF64;
    display: inline-block;
    padding: 6px 30px;
    border-radius: 40px;
}

.design__font {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.75;
}

.design__text {
    padding-top: 20px;
    margin-left: 0;
    padding-left: 0;
}

.color-container {
    display: flex;
    gap: 18px;
} 

.info-list__item-wrapper {
    background-color: #ffffff;
    max-width: 666px;
    border-radius: 5px;
    border:solid #E99E58 2px;
    padding: 50px 136px;
    align-items: flex-start;
    margin-left: 170px;

}

.design-list {
    display: flex;
    flex-direction: column; /* 縦並びにする */
    gap: 28px;             /* アイテム同士の上下の間隔 */
}

.concept-item {
    display: flex;
}

.info__point {
    font-size: 18px;
    width: 180px; /* ★ここを好きな幅に調整（文字数に合わせて指定） */
    margin: 0;
}

.info__point-sub {
    font-size: 18px;
    margin: 0;
}

.info-list__item-sub {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.design-info {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 193px;
    margin: 160px auto 160px;
}


/* 左ボタン */
.custom-btn:hover .left-arrow::before {
    background-color: #4B4B4B;
}
.custom-btn:hover .left-arrow::after {
    border-color: #4B4B4B;
}

.left-arrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    /* translateの第1引数をマイナスにして、左側に位置を微調整 */
    transform: translate(-0.7em, -0.05em);
}

.left-arrow::before, .arrow::after {
    box-sizing: border-box;
}

/* 矢印の「軸（一本線）」 */
.left-arrow::before {
    content: '';
    position: absolute;
    right: 0; /* ★ left: 0 から right: 0 に変更 */
    top: 50%;
    transform: translateY(-50%);
    width: 90%;
    height: 0.1em;
    background-color: #ffffff;
}

/* 矢印の「先端（くの字）」 */
.left-arrow::after {
    content: '';
    position: absolute;
    left: 10%; /* ★ right: 10% から left: 10% に変更 */
    top: 50%;
    width: 40%;
    height: 40%;
    border-top: 0.1em solid #ffffff;
    border-right: 0.1em solid #ffffff;
    /* ★ rotate(45deg) から rotate(-135deg) に変更 */
    transform: translateY(-50%) rotate(-135deg); 
}

.button__area.is-hidden {
    visibility: hidden;
}

/* ==========================================
レスポンシブ：768px以下（タブレット・スマホ）
   ========================================== */
@media screen and (max-width: 768px) {
.pc-only {
    display: none;
}

.sp-only {
    display: inline; 
}

/* 制作実績 */
.works__top-wrapper {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
    margin: 180px auto 120px;
}

.works__item-image {
    width: 100%;
    max-width: 688px;
    height: auto;
}

.works__top-item {
    width: 100%;
    padding-top: 40px;
    text-align: left;
}

/* 案件概要 */
.info-list {
    width: 100%;
}

.point-list__item {
    width: 100%;
}

.point-carousel-container {
    width: 100%;
}

.point-slide {
    grid-template-columns:1fr; /* 1列の縦並びにする */
}

.point-slide__media {
        width: 100%; /* 固定幅を解除 */
        max-width: 509px; /* 必要であれば画像の最大幅を指定（画面幅いっぱいでOKなら消して可） */
        margin: 0 auto; /* ★中央寄せ */
    }

/* コンセプト */
.design__nav-list {
    width: 70%;
    row-gap: 25px;
}

.info-list__item-wrapper {
    width: 100%;
    margin-left: 0;
    padding: 50px clamp(34px, 8vw, 111px); /* 画面幅に合わせて左右の余白を縮める */
}

.info-list__item-wrapper .info-list__label {
    width: 120px; /* 見出しの幅を狭くして、右側のスペースを確保 */
}

.info__point {
    width: auto; /* 固定幅を解除 */
}

.concept-item {
    gap: 20px; /* 固定幅の代わりに間隔で離す */
}

.design-info {
    flex-wrap: wrap; /* 入りきらない時は折り返す */
    gap: 15px 20px;
}

.button-wrapper {
    flex-direction: column;
    gap: 60px;
}
}

/* ==========================================
レスポンシブ：480px以下（小型スマホ）
   ========================================== */
@media screen and (max-width: 480px) {
body {
    background-image: url(../image/bg-sp.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

.top__item-name {
    font-size: 14px;
}

.works__button {
    text-align: center;
}

.info-list__item {
    flex-direction: column;
}

.info-list__detail {
    margin-top: 15px;
}

.point-list__item {
    flex-direction: column;
}

.point-list__text {
    margin-top: 15px;
}

.design__nav-list {
    gap: 15px;
    margin-top: 15px;
    width: 100%;
}

.design__font {
    font-size: 20px;
}

.color-wrapper {
    margin-top: 15px;
}

.color-container {
    gap: 10px;
}

.info-list__item-wrapper {
    padding: 50px 34px;
}

.design-info {
    flex-direction: column;
}

.design-info {
    gap: 15px;
}


}