@charset "utf-8";

:root {
    --ink: #171717;
    --muted: #666;
    --line: #eee;
    --indigoblue: #1a237e;
    --chip: #f6f6f6;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(0, 0, 0, .06);

}

.container {
    /* width: min(1120px, 92vw); */
    margin-inline: auto;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 2vw, 16px)
}

.row {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 16px);
    flex-wrap: wrap
}

.muted {
    color: var(--muted)
}


/*******************************************************
front-page.php #hero（スライダー無し版：最新）
*******************************************************/
.hero {
    position: relative;
    color: #fff;

    /* flex → grid の方が中央固定が安定 */
    display: grid;
    place-items: center;

    /* height固定より min-height の方がズレにくい */
    min-height: 74vh;
    height: auto;

    /* 見た目の重心を整える：上下に少し余白 */
    padding: 40px 0;

    background-image: url("../images/top.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    padding-top: 200px !important;
    padding-bottom: 40px !important;
}

/* 中身を前面へ */
.hero__inner {
    position: relative;
    z-index: 2;
}

/* heroの中身（左右レイアウトの器） */
.hero__inner {
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(18px, 3vw, 48px);

    /* CTAを下段へ落とせる */
    flex-wrap: wrap;

    position: relative;
    z-index: 2;
}

/* 左：テキスト（既存hero__centerを再利用する） */
.hero__center {
    flex: 1;
    min-width: 280px;

    /* 旧設定（右寄せ/justify-content:end）をリセット */
    display: block;
    max-width: none;
    padding: 0;
    margin: 0;
    justify-content: initial;
    text-align: left;
}

/* コピー */
.hero__lead {
    margin: 0 0 10px;
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 700;
    letter-spacing: .04em;
}

.hero__title {
    margin: 0;
    font-size: clamp(22px, 3.2vw, 50px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0068b7;
}

/* 旧 hero__center h2 / p を使う場合の互換（不要なら消してOK） */
.hero__center h2 {
    margin: 0;
    font-size: clamp(24px, 3.2vw, 50px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0068b7;
}

/* 右：丸画像 */
.hero__media {
    flex: 0 0 auto;
}

.hero__circle {
    margin: 0;
    width: clamp(240px, 34vw, 500px);
    aspect-ratio: 1 / 1;
    border-radius: 999px;
    /*overflow: hidden;
    background: rgba(255, 255, 255, .12);*/
}

.hero__circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CTA（PCでは左下／SPでは最下部で横100%） */
.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 45px;
    padding: 20px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: .04em;
    background: #0068b7;
    color: #fff;
    flex-basis: 100%;
    width: fit-content;
    font-size: 26px;
}

/* サイドメニューは既存利用でOK（必要なら残す） */
.side-menu {
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    color: #fff;
    z-index: 2;
}

.side-menu ul {
    display: grid;
    gap: 8px;
}

.side-menu a {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: .45rem .7rem;
    border-radius: 999px;
    font-size: 13px;
}

@media (min-width:1024px) {
    .side-menu {
        display: block;
    }
}

@media (max-width:768px) {
    .hero {
        min-height: 80vh;
        padding-top: 140px !important;
        padding-bottom: 40px !important;
    }

    .hero__inner {
        flex-direction: column-reverse;
        align-items: center;
        gap: 18px;
        padding: 0 10px;
    }

    .hero__media {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero__circle {
        width: min(78vw, 360px);
    }

    .hero__cta {
        width: 100%;
        padding: 16px 18px;
        border-radius: 12px;
        margin-top: 6px;
    }

    .hero__center {
        min-width: 100%;
    }
}


/*******************************************************
front-page.php お悩み事
*******************************************************/
section#top-concerns {
    padding-bottom: 0px;
}

.top-concerns {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img.pc-block {
    display: block;
}

img.sp-block {
    display: none;
}

.hero2 {
    position: relative;
    color: #fff;
    display: grid;
    place-items: center;
    padding-top: 30px;
    background: aliceblue;
}

/* ボタン横並び */
#top-concerns .hero__btns {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

/* 共通ボタン */
#top-concerns .hero__cta {
    display: inline-block;
    padding: 22px 11px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    font-size: 24px;
    text-align: center;
}

/* 電話ボタン */
.hero__cta--tel {
    background: #ff7a00;
    color: #fff;
}

/* メールボタン */
.hero__cta--mail {
    background: #0066cc;
    color: #fff;
}

/* hover */
.hero__cta:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

@media (max-width:900px) {
    section#top-concerns {
        padding-top: 40px;
    }

    #top-concerns .hero__media {
        width: 65%;
    }


    .hero2 {
        padding-bottom: 60px;
        padding-top: 60px;
    }

    #top-concerns .hero__btns {
        display: flex;
        gap: 10px;
        justify-content: space-between;
        flex-direction: column;
    }

    img.pc-block {
        display: none;
    }

    img.sp-block {
        display: block;
    }
}

/*******************************************************
front-page.php #about
*******************************************************/
.about {
    position: relative;
    overflow: hidden;

}

.about .bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .15;
}

.about .veil {
    position: absolute;
    inset: auto 0 0 0;
    top: 18%;
    height: 56%;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(2px)
}

.about__inner {
    position: relative;
    z-index: 2
}

.about__h {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.4;
    color: var(--indigoblue);
    /* letter-spacing: 0.1em; */
}

.about__p {
    /* max-width: 80ch; */
    color: #333;
    letter-spacing: 0.05em;
    /* margin-left: 20ch; */
    line-height: 2em;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.about__side {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    letter-spacing: .2em;
    color: #333;
    font-weight: 700
}

@media (max-width:900px) {
    .about__layout {
        display: grid;
        gap: 0;
    }

    .about__side {
        writing-mode: horizontal-tb;
        transform: none;
        order: -1
    }

    .about__p {
        max-width: 100%;
        margin-left: 0;
        padding: 0 16px;
        box-sizing: border-box;
    }
}


/*******************************************************
front-page.php  featured　強み
*******************************************************/

.featured {
    display: grid;
    gap: 28px;
    margin: 20px 0
}

.feature {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: center
}

.feature:nth-child(2n) {
    grid-template-columns: .9fr 1.1fr
}

.feature .card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow)
}

.feature .text {
    display: grid;
    gap: 10px
}

.feature .meta {
    font-size: 12px;
    color: var(--muted)
}

@media (max-width:900px) {
    .feature {
        grid-template-columns: 1fr
    }
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin: 28px 0
}

@media (max-width:900px) {
    .thumbs {
        grid-template-columns: repeat(2, 1fr)
    }
}

.thumbs figure {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid #222;
    background: #111;
    color: #fff
}

.btn--ghost {
    background: #fff;
    color: #111;
    border-color: #111;
    width: 200px;
}





/*******************************************************
front-page.php  3つの強み
*******************************************************/
.strengths {
    padding: 120px 0;
}

.strengths__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.strengths__title {
    text-align: center;
    font-size: clamp(22px, 3.4vw, 38px);
    font-weight: 800;
    letter-spacing: .02em;
    margin: 0 0 60px;
    position: relative;
}

.strengths__title:before {
    content: '';
    position: absolute;
    bottom: -15px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #0068b7;
    border-radius: 2px;
}

.strengths__title span {
    display: inline-block;
    color: #0068b7;
}

/* 3カラム */
.strengths__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* カード */
.strengthCard {
    border: 3px solid rgba(0, 0, 0, .62);
    padding: 22px 20px 18px;
    background: #fff;
}

.strengthCard__head {
    display: grid;
    font-weight: 800;
    letter-spacing: .06em;
}

.strengthCard__num {
    border-bottom: 2px solid rgba(0, 0, 0, .25);
    display: grid;
    font-weight: 800;
    letter-spacing: .06em;
}

.strengthCard__ttl {
    margin: 8px 0 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.strengthCard__lead {
    margin: 0 0 10px;
    line-height: 1.75;
    color: rgba(0, 0, 0, .82);
}

.strengthCard__note {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0, 0, 0, .62);
}

/* 画像枠（ラフの「img」箱） */
.strengths__img {
    overflow: hidden;
    /* ←これ重要 */
    height: 200px;
}

.strengths__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ←きれいにトリミング */
    display: block;
}

/* SP */
@media (max-width: 900px) {
    .strengths {
        padding: 60px 0;
    }


    .strengths__grid {
        grid-template-columns: 1fr;
    }

    .strengths__img {
        height: 190px;
    }
}


/* =========================
  買取一覧
========================= */

.buyList {
    padding-top: 0;;
  background: #fff;
}

.buyList__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* グリッド（最大3列） */
.buyGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .buyGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .buyGrid {
    grid-template-columns: 1fr;
  }
}

/* カード */
.buyCard {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* 見出し */
.buyCard__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  padding-left: 12px;
  position: relative;
}

.buyCard__title::before {
  content: "";
  width: 6px;
  height: 20px;
  background: #0068b7;
  position: absolute;
  left: 0;
  top: 3px;
}

/* 内容＋画像 横並び */
.buyCard__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

/* テキスト側 */
.buyCard__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  flex: 1;
}

/* 画像側 */
.buyCard__img {
  width: 48%;
  aspect-ratio: 4 / 3;   /* ← 全画像を同じ比率に */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.buyCard__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* 切れずに収まる */
}



/*******************************************************
front-page.php  その他サービス全体の案内
*******************************************************/
section#top-osBlock {
    padding: 120px 0;
    background: aliceblue;
}

.osBlock {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 上段：2カラム */
.osBlock__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 22px;
}

/* ========= カード（aタグ丸ごと） ========= */
.osCard {
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, .10);
    background: #fff;
}

.osCard:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.osCard__img {
    aspect-ratio: 16 / 9;
    /* 手書きイメージに近い比率 */
    background: #e9e9e9;
}

.osCard__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.osCard__cap {
    padding: 14px 16px;
    font-weight: 800;
    font-size: 18px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .9);
    /* 帯っぽく */
}

/* ========= 求人バナー（aタグ丸ごと） ========= */
.osRecruit {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, .10);
    background: #fff;
    transition: transform .18s ease, box-shadow .18s ease;
}

.osRecruit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.osRecruit__text {
    font-weight: 900;
    font-size: clamp(20px, 3vw, 34px);
    letter-spacing: .04em;
}

/* ========= SP：1カラム ========= */
@media (max-width: 768px) {
    .osBlock__grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 14px;
    }

    .osRecruit {
        min-height: 90px;
    }

    section#top-osBlock {
        padding: 60px 0;
    }
}