/* =========================================================
   Concept
   ========================================================= */
.sg-concpt {
    padding: 0 0 50px;
}

/* hero */
.sg-concpt .sgc-hero {
    padding-bottom: 30px;
}

.sg-concpt .sgc-hero-figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.sg-concpt .sgc-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 画像左上のコピー */
.sg-concpt .sgc-hero-copy {
    position: absolute;
    left: 30px;
    top: 30px;    
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: clamp(18px, 6vw, 50px);
    letter-spacing: .20em;
    color: #fff;
    margin: 0;
}

/* スマホは余白を少し小さく */
@media (max-width: 600px) {
    .sg-concpt .sgc-hero-copy {
        left: 12px;
        top: 12px;
    }
}

/* -------------------------
   3つの理念
------------------------- */
.sg-concpt .sgc-philo {
    padding-bottom: 10px;
}

/* 3行を縦に並べる */
.sgc-philo .sgc-philo-rows {
    display: grid;
    gap: 30px;
}

/* 1行 = 左(正方形カード) + 右(本文) */
.sgc-philo .sgc-philo-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
    align-items: start;
}

/* 右側の本文（各行共通） */
.sgc-philo .sgc-philo-body {
    padding-top: 10px;
}

/* 1行目（理念） */
.sgc-philo-row:first-child {
    align-items: center;
}

.sgc-philo-row:first-child .sgc-philo-body {
    padding-top: 0;
}

/* 2行目（使命） */
.sgc-philo-row:nth-child(2) {
    align-items: center;
}

.sgc-philo-row:nth-child(2) .sgc-philo-body {
    padding-top: 0;
}

/* -------------------------
   理念/使命/行動指針のタブ
------------------------- */
.sgc-philo .sgc-tab {
    background: #fff;
    border: none;
    width: 100%;
    aspect-ratio: 1 / 1;    /* 正方形 */
    padding: 18px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;    /* 縦方向中央 */
    align-items: center;    /* 横方向中央 */
    gap: 10px;    /* 枠線なし + ぼんやり影 */
    box-shadow:
        0 10px 26px rgba(0, 0, 0, .08),
        0 2px 10px rgba(0, 0, 0, .05);
}

.sgc-philo .sgc-tab h3 {
    margin: 0;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: clamp(25px, 3.5vw, 35px);
    letter-spacing: .2em;
    line-height: 1.15;
}

.sgc-philo .sgc-tab-en {
    display: block;
    font-family: "Cormorant", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 18px;
    opacity: .8;
    margin: 0;
}

/* -------------------------
    理念/使命/行動指針の本文
------------------------- */
.sgc-philo .sgc-philo-body p {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    margin: 0;
    line-height: 1.95;
}

/* list */
.sgc-philo .sgc-list {
    margin: 0;
    padding-left: 1.2em;
}

.sgc-philo .sgc-list li {
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    margin: .4em 0;
    line-height: 1.9;
}

/* actions */
.sgc-philo .sgc-actions {
    display: grid;
    gap: 14px;
}

.sgc-philo .sgc-action {
    background: #fff;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 180px 1fr;
    column-gap: 16px;
    align-items: center;
}

.sgc-philo .sgc-action h4 {
    margin: 0;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: .08em;
    border: 1px solid rgba(0, 0, 0, .35);
    padding: 8px 12px;
    text-align: center;
    line-height: 1.3;
    word-break: keep-all;
}

.sgc-philo .sgc-action p {
    margin: 0;
    font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
    font-weight: 500;
    line-height: 1.85;
}


/* -------------------------
   Responsive
------------------------- */
@media (max-width: 900px){

  /* 行を縦並びに */
  .sg-concpt .sgc-philo-row{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* カード中央寄せ */
  .sg-concpt .sgc-tab{
    max-width: 220px;
    margin: 0 auto;
  }

  /* 行全体の余白調整 */
  .sg-concpt .sgc-philo-rows{
    gap: 22px;
  }

  /* 本文の余白リセット */
  .sg-concpt .sgc-philo-body{
    padding-top: 0;
  }

  /* alignのズレ防止 */
  .sg-concpt .sgc-philo-row:first-child,
  .sg-concpt .sgc-philo-row:nth-child(2){
    align-items: start;
  }

@media (max-width: 600px){

  /* 全体余白 */
  .sg-concpt{
    padding-bottom: 30px;
  }

  /* ヒーロー文字 */
  .sg-concpt .sgc-hero-copy{
    left: 12px;
    top: 12px;
    font-size: 20px;
    letter-spacing: .15em;
  }

  /* 行間少し詰める */
  .sg-concpt .sgc-philo-body p{
    line-height: 1.8;
  }

  /* リスト余白 */
  .sg-concpt .sgc-list li{
    margin: .3em 0;
  }

  /* 行動指針を縦に */
  .sg-concpt .sgc-action{
    grid-template-columns: 1fr;
    row-gap: 10px;
    align-items: start;
  }

  /* 見出し */
  .sg-concpt .sgc-action h4{
    text-align: left;
    font-size: 16px;
    padding: 6px 10px;
  }

  /* actionsの余白 */
  .sg-concpt .sgc-actions{
    gap: 10px;
  }
} 

