@charset "UTF-8";
/* CSS Document */
.hero__bg {
  position: relative;
  background: url("../img/decor/hero_back.jpg") no-repeat center/cover;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 120px 0;
padding-bottom: 0 !important;
  min-height: 80vh;
}

.hero__overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;   /* 縦横比を保ちながらフィット */
  z-index: 1;
  display: block;   /* 画像の下に余白が出ないように */
  width: 100%;      /* 横幅いっぱいに */
  height: auto; 
}

/* PC（例: 1024px以上）のときに横幅100% */
@media (min-width: 1024px) {
  .hero__overlay {
    width: 100%;
    height: auto;     /* 縦横比は保つ */
    left: 0;          /* 中央寄せじゃなく左端に揃える */
    top: 0;
    transform: none;  /* 中央配置用のtransformを解除 */
  }
}
@media (max-width: 768px){
  .hero__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;   /* 横幅いっぱい */
    height: 100% !important;  /* 高さも親にフィット */
    object-fit: cover;        /* 画像を縦横比を保ったまま埋める */
    z-index: 1;
    height: auto; 
    position: static; /* 絶対配置が不要なら外す */
    object-fit: contain; /* coverだとトリミングされるので注意 */
  }
}
.hero__content h1 {
  margin-top: -20px;
font-size: clamp(28px, 6vw, 56px);
  line-height: 1.2;
	color: #F62837;
}
/* テキスト */
.hero__content {
  position: relative; /* z-index指定できるようにする */
  margin-top: -40px;
  margin-left: 5%;
  z-index: 2; /* 前面に出す */
}

.hero__content p {
font-size: clamp(16px, 3.5vw, 28px);
  line-height: 1.6;
  font-weight: bold;
  margin: 0;
}

@media (max-width: 768px){
  .hero__bg{ position: relative; }

.hero__content {
  position: absolute;
  left: 50%;
  top: 25%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: calc(100% - 32px);      
  z-index: 2;
}

  .hero__content h1{
    font-size: calc(var(--fz-h1) * 1.3);
    line-height: 1.2;
    margin-bottom: 14px;
  }
}

/* 不動産管理代行、インテリアの計画から配送・設置まで、
その他なんでもお困り事がありましたら、お気軽にご相談ください。*/
.hero__catch {
margin-top: clamp(24px, 4vw, 64px);
font-size: clamp(20px, 4vw, 32px);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 768px){
  .hero__bg{
    position: relative;
    padding: 0 !important;      /* ← これで押し下げを止める */
    min-height: 70vh;           /* 画面に対して十分な高さを確保（好みで65–80vh） */
  }
  .hero__overlay{
    position: absolute;
    inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: block;
  }
  .hero__content{
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-52%, -50%) !important;
    width: calc(100% - 32px);
    text-align: center;
    z-index: 2;
  }
  .hero__catch{ margin-top: 8px; }
}
.hero__bg{ padding: 120px 0; }
@media (max-width:1180px){
  .hero__bg{ padding: 80px 0; }
}
@media (max-width:768px){
  .hero__bg{ padding: 40px 0; }
}
@media (max-width: 768px){
  .hero__overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100% !important;   /* 横幅いっぱい */
    height: 100% !important;  /* 高さも親にフィット */
    object-fit: cover;        /* 画像を縦横比を保ったまま埋める */
    z-index: 1;
  }
}
@media (max-width: 768px) {
  .hero__bg picture {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    display: block;
  }
  .hero__bg picture > img.hero__overlay {
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }
}
@media (max-width: 768px) {
  .hero__bg picture,
  .hero__bg picture > img.hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;  
    object-fit: cover;
    display: block;
    z-index: 1;
  }
}

.hero__catch{
  margin-top: clamp(10px, 1.2vw, 40px);
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
@media (max-width:1180px){
  .hero__catch{ margin-top: clamp(6px, 0.9vw, 24px); }
}
@media (max-width:768px){
  .hero__catch{ margin-top: clamp(4px, 1vw, 16px); }
}

/* ========== CTA 2枚 ========== */
.cta__grid{
  display:grid; gap: var(--s6);
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-items: start;
}
@media (max-width: 768px){
  .cta__grid{ 
	  grid-template-columns: 1fr;
	}
}

.cta__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, 1fr); /* 2列並び */
  justify-content: center; /* 中央寄せ */
  max-width: 800px; /* 全体幅を制御 */
  margin: 0 auto;
}

/* 各カード */
.cta-card {
  padding: 16px;
padding-top: 0px;
  border-radius: 12px;
  text-align: center;
	color:#FFF;
}
.cta-card.is-blue{background:#1D6CF0; }
.cta-card.is-orange{ background:#FF8144; }

.cta-card__head{ display:flex; align-items:center; gap:12px; margin-bottom: clamp(14px, 2vw, 18px); }
.cta-card__ico{ width:28px; height:28px; filter: invert(1) brightness(200%); }
.cta-card__title{
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 600;
}
.cta-card__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom:0px;
}

/* 内側の白い丸ボタン */
.cta-minibtn{
  display:inline-flex; align-items:center; gap:10px;
  background:#fff; color:#1D6CF0; font-weight:600;
  border-radius: 999px; padding: 10px 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  transition: transform .15s ease;
}
.cta-minibtn.is-orange{ color:#FF8144; }
.cta-minibtn:hover{ transform: translateY(-1px); }

/* 共通スタイル */
.cta-minibtn__arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;          /* 白丸で固定 */
  font-size: 14px;
border: 2px solid currentColor;
}

/* 青ボタン用 */
.cta-minibtn.is-blue .cta-minibtn__arrow {
  color: #1D6CF0;  /* 矢印を青 */
}

/* オレンジボタン用 */
.cta-minibtn.is-orange .cta-minibtn__arrow {
  color: #FF8144;  /* 矢印をオレンジ */
}
/* 共通の影 */
.cta-minibtn.is-blue,
.cta-minibtn.is-orange {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* ふんわり影 */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー時は少し浮かせる */
.cta-minibtn.is-blue:hover,
.cta-minibtn.is-orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* ========== News ========== */
.news{
  background:#efefef;   /* 背景の薄グレー */
  padding-block: clamp(20px, 3vw, 28px);
}
.news__inner{
  display:grid; gap: var(--s6);
  grid-template-columns: 280px 1fr;     /* 左見出し / 右リスト */
  align-items: start;
}
@media (max-width: 900px){
  .news__inner{ grid-template-columns: 1fr; }
}

.news__ttl{
  font-size: clamp(28px, 4vw, 48px);
font-size: clamp(16px, 2.5vw, 30px);
  font-weight: 800; color:#F62837; line-height:1;
  margin: 0 0 6px;
}
.news__cat{ margin:0 0 14px; opacity:.9; }

.news__more{
  display:inline-flex; align-items:center; gap:8px;
  background:#F62837; color:#fff; font-weight:700;
  border-radius:999px; padding:10px 18px; text-decoration:none;
  box-shadow: inset 0 -2px rgba(0,0,0,.1);
  box-shadow:
    0 0 0 4px #fff,                    /* 白フチ */
    0 8px 18px rgba(0,0,0,.18);        /* 影 */
  transition: transform 0.3s, background 0.3s;
}

@media (any-hover: hover) {
  .news__more:hover{
    transform: translateY(-1px);
    background:#d72130;
  }
}

/* リスト */
.news__list{ background:#FFF; border-radius:12px; padding: 8px 0; }
.news__item{
  display:grid; grid-template-columns: 140px auto 1fr;
  align-items:center; gap: 8px 14px;
  padding: 10px 16px; text-decoration:none; color:#222;
  border-bottom:1px solid rgba(0,0,0,.06);
}
.news__item:last-child{ border-bottom:0; }
@media (max-width: 768px){
  .news__item{ grid-template-columns: 110px 1fr; }
  .news__txt{ grid-column: 1 / -1; }
}
.news__date{ color:#666; }
.news__txt{ white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news__more .news__more-arrow{
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: transparent;             /* ← 中は透明 */
  color: inherit;                       /* ← 親の白を継承（=矢印色） */
  border: 2px solid currentColor;       /* ← 白い輪郭 */
  transform: rotate(-45deg);  
}
.news__more .news__more-arrow svg{
  width: 12px; height: 12px; display: block;
}


/* バッジ */
.badge{
  display:inline-block; padding: 4px 8px; border-radius:999px;
  font-size: 12px; font-weight:700; line-height:1;
  background:#dfe7f8; color:#1D6CF0;
}
.badge.is-orange{ background:#ffe1d1; color:#FF8144; }

/*リボン*/
.section-divider {
  width: 100%;
  text-align: center;
  margin:0;
}

.section-divider img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* ========== About ========== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about__content h2 {
  color: #F62837;
}

.about__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F62837;
}

.about__content p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.about__image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about__image {
    order: -1; /* 画像を先に表示 */
  }
}
/* 赤いピル本体（白フチは多重 box-shadow で作る） */
.btn--red{
  background: #F62837 !important; 
 line-height: 1.2;
  color: #fff;
  border-radius: 9999px;
  padding: 8px 16px;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  /* 白い外縁 + やわらかい影 */
  box-shadow:
    0 0 0 4px #fff,                    /* 白フチ */
    0 8px 18px rgba(0,0,0,.18);        /* 影 */
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
}

.btn--red:hover{
  background:#e0212f;
  transform: translateY(-1px);
}

/* 右側の白枠丸アイコン */
.btn--red .btn__icon{
  display:inline-grid; place-items:center;
  width:28px; height:28px; border-radius:50%;
  border:2px solid #fff;               
  color:#fff;                          
  flex:0 0 auto;
}
.btn--red .btn__icon svg{ width:14px; height:14px; display:block; }

/* ========== service ========== */
/* 見出し */
.service__ttl{
  text-align:center;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color:#F62837;
  letter-spacing:.02em;
  margin: 0 0 8px;
}
.service__sub{
  text-align:center;
  color:#F62837;
  font-weight:700;
  margin: 0 0 var(--s7);
}

/* 2カラム → SPで1カラム */
.service__grid{
  display:grid;
  gap: clamp(20px,3vw,32px);
  grid-template-columns: repeat(2, minmax(0,1fr));
  align-items:start;
}
@media (max-width: 900px){
  .service__grid{ grid-template-columns: 1fr; }
}

/* 各カード */
.service-card{
  text-align:center;
}
.service-card__gallery{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(10px,1.8vw,16px);
  margin-bottom: var(--s5);
}
.service-card .thumb{
  aspect-ratio: 16/10;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* 1) どこでも使える共通のサムネ定義を1本化 */
.thumb{
  width: 100%;
  display: block;          /* 画像の下の余白を消す */
  aspect-ratio: 3 / 2;     /* 既定の比率 */
  object-fit: cover;       /* はみ出しはトリミング */
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

/* 2) Service だけは 16:10 に“比率だけ”上書き */
.service-card__gallery .thumb{
  aspect-ratio: 16 / 10;
}

/* タイトル・本文 */
.service-card__hd{
  color:#F62837;
  font-weight: 600;
  font-size: clamp(18px, 2.2vw, 22px);
  margin: 6px 0 var(--s3);
}
.service-card__txt{
  color:#222;
  line-height:1.9;
  margin: 0 0 var(--s4);
}

/* もっと見る（既存.btnを拡張） */
.btn--pill{ border-radius: 999px; padding: 12px 20px; }
.btn--red{ background:#F62837; color:#fff; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.btn--red:hover{ background:#da1f2d; }
.btn__arrow{
  display:inline-grid; place-items:center;
  width:24px; height:24px; margin-left:10px;
  border-radius:999px; background:#fff; color:#F62837; font-weight:700;
}

/* 見出し */
.company__ttl{
  text-align:center;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 800;
  color:#F62837;
  letter-spacing:.02em;
  margin: 0 0 6px;
}
.company__sub{
  text-align:center;
  color:#F62837;
  font-weight:700;
  margin: 0 0 var(--s7);
}

/* 2カラム：左リンク / 右画像 */
.company__grid{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px,3vw,40px);
  align-items:center;
}
@media (max-width: 900px){
  .company__grid{ grid-template-columns: 1fr; }
}

/* 左：リンク2列 */
.company__nav{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 36px;
}
@media (max-width: 600px){
  .company__nav{ grid-template-columns: 1fr; }
}
.company__link{
  position:relative;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding: 6px 0;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 600;
  color:#111; text-decoration:none;
  transition: color .2s ease, transform .2s ease;
}

/* ホバー：赤字＋矢印スライド */
.company__link:hover{ color:#F62837; }
.company__link:hover .arrow{ transform: translateX(2px); }

/* 右：画像カード */
.company__figure{
  margin:0;
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.company__figure img{
  display:block; width:100%; height:auto;
}
.company__link .arrow::before{ content: none !important; }

.company__link .arrow{
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 999px;
  border: 2px solid #F62837;
  color: #F62837;                 /* currentColor でSVGに反映される */
  display: inline-grid; place-items: center;
}

/* SVGのフィット */
.company__link .arrow svg{
  width: 16px; height: 16px;     /* お好みで 14–18px 程度に */
  display: block;
}

/* ホバー挙動（既存のまま） */
.company__link:hover{ color:#F62837; }
.company__link:hover .arrow{ transform: translateX(2px); }

/* ===== Recruit ===== */
.recruit__ttl{
  text-align:center;
  font-size: clamp(32px, 5vw, 64px);
  font-weight:600;
  color:#F62837;
  margin:0 0 6px;
}
.recruit__sub{
  text-align:center; color:#F62837; font-weight:700;
  margin:0 0 var(--s5);
}
.recruit__lead{
  text-align:center; line-height:1.9; margin:0 0 var(--s6);
}

/* 3ボタン行 */
.recruit__actions{
  display:flex; justify-content:center; gap: 18px;
  flex-wrap:wrap; margin-bottom: var(--s6);
}
.rbtn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 14px 22px;
  border-radius: 999px;
  color:#fff; font-weight:600; text-decoration:none;
  box-shadow: 0 10px 18px rgba(0,0,0,.12);
  transition: transform .15s ease, filter .2s ease;
}
.rbtn:hover{ transform: translateY(-2px); filter: brightness(.98); }

.rbtn--red{    background:#F62837; --btn-color:#F62837; }
.rbtn--orange{ background:#FF8144; --btn-color:#FF8144; }
.rbtn--blue{   background:#1D6CF0; --btn-color:#1D6CF0; }

.rbtn__arrow{
  display: inline-grid; place-items: center;
  width: 26px; height: 26px; border-radius: 999px;
  background: #fff;
  color: var(--btn-color, #111);
}

.rbtn__arrow svg{
  width: 14px; height: 14px; display: block;
  stroke: currentColor; fill: none;
}

/* 画像グリッド（角丸は .thumb を利用） */
.recruit__grid{ display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(10px, 2vw, 18px); } /* 画像を“縦長の箱”にして、中身をカバーでトリミング */ .recruit__grid .thumb{ display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 8px 16px rgba(0,0,0,.12); border-radius: 12px; }
/* ブレークポイント（必要に応じて調整） */
@media (max-width: 1280px){
  .recruit__grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px){
  .recruit__grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px){
  .recruit__grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .recruit__grid{ grid-template-columns: 1fr; }
}