/* =========================================================
   Base（PARTS詳細専用）
========================================================= */
:root{
  --text: #606463;
  --muted: #8f8f8f;
  --gap: 100px;
}

main{
  width: 80%;
  margin: 0 auto;
}

.wrap{
  width: 76.45%;
  margin: 0 auto;
  padding: 240px 0 80px;
}

/* =========================================================
   ロゴ
========================================================= */
.hero-logo-block{
  position: fixed;
  top: 145px;
  transform: translateY(-50%);
  text-align: left;
  z-index: 1000;
}

.hero-logo-block img{
  width: 170px;
  height: auto;
}

.hero-about{
  margin-top: 40px;
  font-size: 14px;
  letter-spacing: 1.6px;
  color: #C9C5C0;
}

/* SPロゴ */
.contentslogo{
  display: none;
}

.sub{
  display: none;
}

/* === 中央本文 === */
.main-text {
    position: absolute;
    top: 498px;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 483px;
    font-size: 13px;
    line-height: 2.2;
    letter-spacing: 1.2px;
    color: #606463;
    text-align: left;
    font-family: "futura-pt", yu-gothic-pr6n, sans-serif;
    font-weight: 300;
}
.main-text p.head{font-size: 16.2px;
  margin:0 0 1.4em;
color: #606463;
letter-spacing: 1px;
  font-family: "futura-pt", yu-gothic-pr6n, sans-serif;
  font-weight: 300;
}


@media (min-width:767px){
ul.parts {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

ul.parts li {
    margin: 0 15px 25px 0px;
    width: 13%;
}

.partstit {
    color: #EAEAEA;
    font-weight: normal;
    font-size: 9px;
    margin: 0.3em 0 1.2em;
    letter-spacing: 0.38px;
}

.parts-body {
    width: 100%;
    margin: 45px auto 0;
}
}

@media (max-width:767px){
ul.parts {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

ul.parts li {
    margin: 0 15px 25px 0px;
    width: 30%;
}

.partstit {
    color: #EAEAEA;
    font-weight: normal;
    font-size: 9px;
    margin: 0.3em 0 1.2em;
    letter-spacing: 0.38px;
}

.parts-body {
    width: 100%;
    margin: 45px auto 0;
}
}


/* 詳細2カラム */
.detail{
  display:grid; grid-template-columns: 1fr 1fr; gap:var(--gap); align-items:start;
}

/* 正方形画像 */
.figure{
  aspect-ratio:1/1; background:#f5f5f5; overflow:hidden;
  box-shadow: 0 0 0 1px #eee inset;
}
.figure img{width:100%; height:100%; object-fit:cover}

/* 下の薄い矢印 */
.arrow{
  width:14px; height:14px; margin:36px auto 0; position:relative; opacity:.35;
}
.arrow::before{
  content:""; position:absolute; inset:0;
  border:2px solid currentColor; border-left:0; border-top:0;
  transform: rotate(45deg);
}

/* レスポンシブ */
@media (max-width: 980px){
  :root{ --gap:28px }
  .wrap{ padding-top:110px }
  .detail{ grid-template-columns: 1fr; }

}

.parts_tit {
    color: #606463;
    font-weight: normal;
    font-size: 19px !important;
    margin: 0.3em 0 1.2em;
    letter-spacing: 2px;
    line-height: 24px;
}
.parts_txt {
    color: #606463;
    font-weight: 400;
    font-size: 12px;
    letter-spacing: 1.5px;
    line-height: 1.9;
    margin-bottom: 0;
}

.detail {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  align-items: end; /* ← ここがポイント（両カラムの下端を揃える） */
  gap: 100px;
}

.figure {
    width: 100%;
    auto;
    margin: 0 auto;
  background: #f5f5f5;
  overflow: hidden;
}

.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.copy {
  align-self: end; /* ← 念のため個別指定（右側テキストを下寄せ） */
}


/* スマホ時は縦並び */
@media (max-width: 1500px) {

.detail .figure{
    /* フルブリード（左右の余白ゼロ） */
    width: 100%;
    auto;
    margin: 0 auto;

    /* 既存が方形ならそのままでOK。比率を固定しないなら下2行は任意 */
    /* aspect-ratio を使わないなら削除可 */
  }
  .detail .figure img{
    width: 100%;
    height: 100%;
    object-fit: cover; /* 必要なら contain に変更 */
    display:block;
  }

  .detail {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .copy {
    align-self: start;
  }
}

@media (max-width: 767px) {
.detail {
margin-top: 110px;
gap: 40px;
}

.parts_tit {
    color: #606463;
    font-weight: normal;
    font-size: 13px !important;
    margin: 0.3em 0 1.2em;
    letter-spacing: 1.1px;
    line-height: 24px;
}
.parts_txt {
    color: #606463;
    font-weight: 400;
    font-size: 9px;
    letter-spacing: 1;
    line-height: 15px;
}

}




@media (min-width:768px){
  ul.parts{
    list-style:none;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px 15px;
  }

  /* 7列固定 → 21個なら常に3行 */
  ul.parts li{
    margin:0;
    flex: 0 0 calc((100% - (15px * 6)) / 7); /* 7列、横gap 15pxが6個分 */
    max-width: calc((100% - (15px * 6)) / 7);
  }
}


@media (max-width:767px){
  ul.parts{
    list-style:none;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;   /* ←追加 */
    gap:25px 15px;            /* ←追加 */
  }
  ul.parts li{
    margin:0;                 /* ←margin消す */
    width:30%;
  }
}





/* === 中央本文 === */
.main-text {
    position: absolute;
    top: 498px;
    left: 50%;
    transform: translate(-50%,-50%);
    max-width: 483px;
    font-size: 13px;
    line-height: 24px;
    letter-spacing: 1.2px;
    color: #606463;
    text-align: left;
    font-family: "futura-pt", yu-gothic-pr6n, sans-serif;
    font-weight: 300;
}
.main-text p.head {
    font-size: 16.2px;
    margin: 0 0 1.4em;
    color: #606463;
    letter-spacing: 1px;
    font-family: "futura-pt", yu-gothic-pr6n, sans-serif;
    font-weight: 300;
    line-height: 30px;
}



.arrow{
  display:block;
  width:14px;
  height:14px;
  margin:36px auto 0;
  position:relative;
  opacity:.35;
  cursor:pointer;
}

.arrow::before{
  content:"";
  position:absolute;
  inset:0;
  border:2px solid currentColor;
  border-left:0;
  border-top:0;
  transform: rotate(45deg);
}