  html,body{ margin:0; padding:0; 
  overflow-x: hidden; /* 横スクロールを禁止 */
  overflow-y: auto;   /* 縦スクロールは許可 */
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", /* macOS/iOS ゴシック */
    "Yu Gothic UI", "Yu Gothic", "Meiryo",       /* Windows ゴシック */
    "Noto Sans JP",                               /* Android/Google Fonts 日本語 */
    "Segoe UI", Roboto, system-ui,
    sans-serif;
  line-height: 1.6;
  color: var(--text);
}

  .container{ max-width: var(--frame-w); margin-inline: auto; padding-inline: 16px; }

  header{ position: sticky; align-items:center; top: 0; background: #fff; border-bottom: 1px solid #e5e7eb; z-index: 10; }
  .header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
  .brand{ color:var(--brand); font-weight:500; }
a {
  text-decoration: none;
}
h1{
    font-size: larger;
	white-space: nowrap;
}
h1 a {
  color: #333;               /* 通常：濃いグレー */
  text-decoration: none;
  transition: color 0.25s ease;
}
h1 a:hover, 
h1 a:focus {
  color: #111;               /* ホバー/フォーカス：さらに濃いグレー */
}
h1 a:active {
  color: #000;               /* クリック中：黒 */
}
h1 a:visited {
  color: #555;               /* 訪問済み：やや薄いグレー */
}
h2{
    font-size: 22px;
    white-space: nowrap;
    font-weight: normal;
    margin-top: 50px;
}

  /* ===== メインビジュアル ===== */
  .hero{
    position: relative;
    height: var(--hero-h);   /* ← 高さを90vhに */
    overflow: hidden;
    color: #fff;
    isolation: isolate;
  }
  .carousel{ position:absolute; inset:0; }
  .track{ position: relative; width:100%; height:100%; }
  .slide{
    position:absolute; inset:0;
    opacity:0; pointer-events:none;
    transition:opacity var(--fade) ease;
    display:flex; justify-content:center; align-items:center;
  }
  .slide.is-active{ opacity:1; pointer-events:auto; }
  .slide picture, .slide img{
    height: 100%;      /* 高さ=90vh固定 */
    width: auto;       /* 横は成り行き */
    display:block;
  }
  /* .hero::before{
    content:""; position:absolute; inset:0; z-index:1;
    background:linear-gradient(180deg, rgb(0 0 0 / .35), rgb(0 0 0 / .15));
    pointer-events:none;
  } */

  /* テキストフレームは1200px内に */
  .hero-inner{ position:absolute; inset:0; z-index:2; display:grid; place-items:center start; }
  .hero-frame{
    position:absolute; top:0; left:50%;
    width:var(--frame-w); height:100%;
    transform:translateX(-50%);
    display:grid; place-items:center; padding:0 40px;
  }
  .hero-caption h1{
    margin:0 0 8px; font-size:clamp(28px,4.2vw,56px);
    line-height:1.15; text-shadow:0 1px 12px rgb(0 0 0 / .45);
  }
  .hero-caption p{ margin:0; max-width:60ch; text-shadow:0 1px 10px rgb(0 0 0 / .4); }

  /* コントロール */
  /* コントロール（ブラウザ左右に追従） */
.ctrl{
  position: absolute;
  inset-block: 0;
  display: grid;
  place-items: center;
  z-index: 3;
  padding-inline: 8px;
}
.ctrl.prev{ left: 0; }   /* ブラウザ左端に固定 */
.ctrl.next{ right: 0; }  /* ブラウザ右端に固定 */
.ctrl button{
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgb(255 255 255 / .55);
  background: rgb(15 23 42 / .35);
  color: #fff;
  backdrop-filter: blur(6px);
}

  .ctrl button:hover{ background:rgb(15 23 42 / .5); }

  .dots{
    position:absolute; z-index:3;
    inset-inline:calc(50% - 600px) calc(50% - 600px);
    inset-block-end:12px;
    display:flex; justify-content:center; gap:8px;
  }
  .dots button{
    width:10px; height:10px; border-radius:999px; cursor:pointer;
    border:1px solid rgb(255 255 255 / .6);
    background:rgb(255 255 255 / .45);
  }
  .dots button[aria-current="true"]{ background:#fff; }

  /* 900px以下: テキスト・UI調整 + 縦長画像差し替え */
  @media (max-width:900px){
    .hero-frame{ padding:0 24px; }
    .hero-caption h1{ font-size:clamp(22px,5vw,36px); }
    .hero-caption p{ font-size:14px; }
    .ctrl.prev{ inset-inline-start:8px; }
    .ctrl.next{ inset-inline-end:8px; }
    .ctrl button{ width:40px; height:40px; }
    .dots{ inset-inline:0; gap:6px; }
  }

  main{
    padding-left: 20px;
    padding-right: 20px;
}
  .section{
    /* [disabled]padding-top: 48px; */
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 48px;
}
  .grid{ display:grid; grid-template-columns:repeat(12,1fr); gap:clamp(12px,3vw,24px); }
  .card{ grid-column:span 4; background:#fff; border:1px solid #e5e7eb; border-radius:12px; padding:20px; }
  @media (max-width:1100px){ .card{ grid-column:span 6; } }
  @media (max-width:700px){ .card{ grid-column:span 12; } }
  footer{
	 color: #555555;
    background-color: #FFFFFF;
	position: relative;
  	padding: 20px 0;
  	overflow: hidden;      /* 疑似要素のはみ出しを隠す */

}
/* フッターの上にぼかしボーダー */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;  /* ぼかしの高さ */
  background: linear-gradient(to top, rgba(0,0,0,0.15), rgba(0,0,0,0));
  pointer-events: none;
}

  .footer-inner{
    padding-top: 32px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 32px;
}

.footer-meta {
	
}


.image-panel-child {
  align-self: stretch;
  position: relative;
  max-width: 100%;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
  object-fit: cover;
}

.image-panel {
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    margin-left: auto;
    margin-right: auto;
}
.image-panel div {
    padding-left: auto;
    padding-right: auto;
  	align-self: stretch;
}

.image-panel-inner {
  align-self: stretch;
  position: relative;
  background-color: #c2c2c2;
  height: 220px;
}
.product-area {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 62px;
    text-align: center;
    font-size: 18px;
    color: rgb(48, 48, 48);
    letter-spacing: 0.2em;
    padding-top: 100px;
    overflow: hidden;
}


/* ----------------------*
 * プロジェクト紹介
 * ----------------------*/
.project {
    width: 100%;
    position: relative;
    text-align: left;
    font-size: 16px;
    color: #303030;
}
.project-link {
    background-color: #eee;
    width: 100%;
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 16px;
}
.project-link-inner {
    margin-left: auto;
    margin-right: auto;
}
.project-link-buttom {
    position: absolute;
    border-radius: 16px;
    background-color: #FFFFFF;
    width: 183px;
    height: 80px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 29px 47px;
    box-sizing: border-box;
    right: 50px;
    bottom: 30px;
}
.project-link-buttom-text {
  	position: relative;
}
.project-text-2 {
    font-size: 16px;
    line-height: 32px;
    margin-bottom: 50px;
    border-radius: 16px;
    color: #555555;
}
.project-text-1 {
    font-size: 20px;
}

.responsiv_img {
	width: 100%;
}
.responsiv_img picture, .responsiv_img img {
    width: 100%;       /* 横は成り行き */
    display:block;
  }


/* ----------------------*
 * 商品ページ
 * ----------------------*/

.main-content_pjpage {
  display: flex;
  flex-wrap: wrap; /* 折り返しを許可 */
  gap: 10x 10px;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}
@media screen and (max-width: 960px) {
  .main-content_pjpage {
    padding: 0;
    gap: 30px 0px;
  }
}

.img-panel_pjpage {
  width: 50%;
  padding: 10px;
  display: flex;
  justify-content: center;
}
@media screen and (max-width: 960px) {
  .img-panel_pjpage {
    width: 100%;
  }
}

.img-panel-inner_pjpage {
  display: flex;
  gap: 20px;
}
@media screen and (max-width: 960px) {
  .img-panel-inner_pjpage {
    display: block;
  }
}

.img-panel_pjpage img {
    width: 100%;
}
@media screen and (max-width: 960px) {
  .img-panel_pjpage img {
    width: 100%;
  }
  .img-panel-inner_pjpage div {
    padding: 0 0 0 10px;
  }
}

.img-panel_pjpage70 {
  display: flex;
  gap: 20px;
  width: 70%;
}
@media screen and (max-width: 960px) {
  .img-panel_pjpage70 {
    display: block;
  }
}

.img-panel_pjpage30 {
  display: flex;
  gap: 20px;
  width: 30%;
}
@media screen and (max-width: 960px) {
  .img-panel_pjpage30 {
    display: block;
  }
}
