/*
  会場選び 3つのポイント：コンポーネント専用CSS
  すべて .gptgen-modal 以下にスコープ。
  デスクトップ 961px～、スマートフォン／タブレット ～960px。
*/
.gptgen-modal {
  --gptgen-navy: #021B46;
  --gptgen-ink: #252a31;
  --gptgen-muted: #607184;
  --gptgen-line: #c9d5e0;
  --gptgen-pale: #f3f6fa;
  --gptgen-white: #fff;
  margin: 0 auto;
  padding: 24px 28px 14px;
  border: 2px solid #d5d8dd;
  border-radius: 10px;
  color: var(--gptgen-ink);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}

.gptgen-modal p { margin: 0; padding:0;}
.gptgen-modal img { display: block; max-width: 100%; }
.gptgen-emphasis,
.gptgen-highlight { color: var(--gptgen-navy); }
.gptgen-nowrap { white-space: nowrap; }
.gptgen-mobile-only,
.gptgen-heading-mobilelead { display: none; }

/* 見出し */
.gptgen-header {
  position: relative;
  height: auto;
  padding: 0 170px 24px;
  text-align: center;
}
.gptgen-eyebrow {
  position: absolute;
  top: 28px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px 8px 11px;
  border: 1.5px solid var(--gptgen-navy);
  border-radius: 50px;
  color: var(--gptgen-navy);
  font-size: 16px;
  line-height: 1.25;
  white-space: nowrap;
}
/* 三角形の外枠（ネイビー） - 約20度の鋭角 */
.gptgen-eyebrow::before {
  position: absolute;
  top: 50%;
  right: -18px; /* 長くなった分だけ外側に移動 */
  width: 19px;  /* 矢印の長さを伸ばす */
  height: 14px; /* 根元を少し細くする */
  transform: translateY(-50%);
  background: var(--gptgen-navy);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
}

/* 三角形の内側（白） */
.gptgen-eyebrow::after {
  position: absolute;
  top: 50%;
  right: -16px; /* ::before よりわずかに内側 */
  width: 17px;  /* ::before に合わせたサイズ調整 */
  height: 11px;
  transform: translateY(-50%);
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: "";
  z-index: 1;
}

.gptgen-eyebrow-icon { width: 24px; height: 24px; object-fit: contain; }
.gptgen-heading {
  margin: 0;
  padding: 4px 0 12px;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.36;
}
.gptgen-highlight { font-size: 1.5em; font-weight: 750; line-height: .75; }
.gptgen-count-suffix { font-size: .55em; }
.gptgen-intro { font-size: 16px; line-height: 1.65; }
.gptgen-intro p + p { margin-top: 5px; }
.gptgen-thinking {
  position: absolute;
  z-index: 0;
  right: 8px;
  bottom: 0;
  width: 160px;
  height: 153px;
  object-fit: contain;
  object-position: center bottom;
}

/* 3カラム。PC版では説明と「比較のヒント」が別段。 */
.gptgen-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1.5px solid var(--gptgen-line);
  border-radius: 8px;
}
.gptgen-point {
  min-width: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}
.gptgen-point + .gptgen-point { border-left: 1px dashed var(--gptgen-line); }
.gptgen-point-main {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 18px 21px 17px;
}
.gptgen-point-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  min-height: 76px;
}
.gptgen-number {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gptgen-navy);
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
	padding:0 0 6px 1px;
	margin-top:5px;
}
.gptgen-point-heading {
	margin:0;
	padding:0;
  font-size: 2rem;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: .005em;
}
.gptgen-illustration {
  align-self: center;
  width: auto;
  height: 142px;
  margin: 12px auto 16px;
	img{
		width:100%;
		height:100%;
		object-fit: contain;
	}
}
.gptgen-illustration-layout { max-width: 195px; }
.gptgen-illustration-access { width: min(100%, 280px); }
.gptgen-illustration-calendar { max-width: 160px; }
.gptgen-copy { font-size: 15px; line-height: 1.68; }
.gptgen-point-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 119px;
  padding: 17px 12px;
  border-top: 1.5px solid var(--gptgen-line);
  background: var(--gptgen-pale);
  font-size: 14.5px;
  line-height: 1.7;
}
.gptgen-check {
  flex: 0 0 23px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--gptgen-navy);
}
.gptgen-check svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* サービスの説明 */
.gptgen-about {
  display: grid;
  grid-template-columns: 275px minmax(0, 1fr) 110px;
  align-items: center;
  gap: 30px;
  min-height: 114px;
  margin-top: 16px;
  padding: 11px 24px;
  border: 1.5px solid var(--gptgen-line);
  border-radius: 7px;
  background: var(--gptgen-pale);
}
.gptgen-about-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  height: 86px;
  border-right: 1.5px solid var(--gptgen-line);
  font-size: 23px;
  line-height: 1.25;
}
.gptgen-about-heading strong { padding-left: 10px; color: var(--gptgen-navy); font-size: 18px; }
.gptgen-brand { width: 72px; height: 72px; }
.gptgen-about-copy { font-size: 16px; line-height: 1.8; }
.gptgen-about-illustration { width: 110px; height: 103px; object-fit: contain; }
.gptgen-footer {
  margin: 15px 0 0 !important;
  color: var(--gptgen-navy);
  font-size: 20px;
  line-height: 1.5;
  text-align: center;
  letter-spacing: .03em;
}

@media (min-width: 961px) and (max-width: 1180px) {
  .gptgen-header { padding-left: 175px; padding-right: 130px; }
  .gptgen-eyebrow { left: 0; font-size: 14px; }
  .gptgen-thinking { width: 135px; }
  .gptgen-point-main { padding-right: 15px; padding-left: 15px; }
  .gptgen-point-head { gap: 10px; }
  .gptgen-point-tip { font-size: 13px; }
  .gptgen-about { grid-template-columns: 220px minmax(0,1fr) 90px; gap: 18px; }
}

/* PowerPoint 2枚目（SP）に合わせたデザインへ切替 */
@media (max-width: 960px) {
  .gptgen-modal {
    width: min(100%, 600px);
    padding: 24px 16px 19px;
    border-radius: 0;
    font-size: 15px;
  }
  .gptgen-eyebrow,
  .gptgen-thinking,
  .gptgen-about-heading,
  .gptgen-footer { display: none; }
  .gptgen-mobile-only,
  .gptgen-heading-mobilelead { display: inline; }
  .gptgen-modal .gptgen-thinking { display: none; }
  .gptgen-header { min-height: 0; padding: 0 6px 24px; }
  .gptgen-heading {
    padding: 0 0 14px;
    font-size: clamp(24px, 4.8vw, 32px);
    line-height: 1.4;
    letter-spacing: .025em;
  }
  .gptgen-heading-mobilelead { display: block; }
  .gptgen-highlight { font-size: 1.28em; }
  .gptgen-intro { font-size: 15px; line-height: 1.75; }
  .gptgen-intro p + p { margin-top: 7px; }
  .gptgen-intro-break { display: none; }
  .gptgen-points { display: flex; flex-direction: column; gap: 12px; border: 0; border-radius: 0; overflow: visible; }
  .gptgen-point {
    display: block;
    border: 1.5px solid var(--gptgen-line);
    border-radius: 9px;
  }
  .gptgen-point + .gptgen-point { border-left: 1.5px solid var(--gptgen-line); }
  .gptgen-point-main {
    padding: 17px 14px;
  }
  .gptgen-point-head { grid-column: 2; grid-row: 1; min-height: 0; gap: 11px; align-items: flex-start; }
  .gptgen-number { flex-basis: 39px; width: 39px; height: 39px; font-size: 23px; }
  .gptgen-point-heading { font-size: clamp(15px, 3.3vw, 22px); line-height: 1.45; }
  .gptgen-illustration {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: auto;
    max-height: 126px;
    margin: 0;
    object-fit: contain;
  }
  .gptgen-illustration-layout { max-width: 100%; }
  .gptgen-illustration-access { width: 100%; max-width: 100%; }
  .gptgen-illustration-calendar { max-width: 100%; }
  .gptgen-copy { grid-column: 2; grid-row: 2; margin-top: 10px !important; font-size: 14px; line-height: 1.65; }
  .gptgen-about {
    display: grid;
    grid-template-columns: 92px minmax(0,1fr);
    gap: 16px;
    min-height: 117px;
    margin-top: 12px;
    padding: 16px;
  }
  .gptgen-about-illustration { grid-column: 1; grid-row: 1; width: 92px; height: 92px; }
  .gptgen-about-copy { grid-column: 2; grid-row: 1; font-size: 14px; line-height: 1.8; }
}
@media (max-width: 420px) {
  .gptgen-modal { padding: 20px 12px 15px; }
  .gptgen-header { padding: 0 0 21px; }
  .gptgen-heading { font-size: clamp(21px, 6.25vw, 26px); }
  .gptgen-heading-main { display: block; }
  .gptgen-intro { font-size: 13px; }
  .gptgen-point-head { gap: 7px; }
  .gptgen-number { flex-basis: 33px; width: 33px; height: 33px; font-size: 20px; }
  .gptgen-point-heading { font-size: 15px; }
  .gptgen-copy { font-size: 12.5px; line-height: 1.65; }
  .gptgen-about { grid-template-columns: 65px minmax(0,1fr); gap: 10px; padding: 12px 10px; }
  .gptgen-about-illustration { width: 65px; height: 75px; }
  .gptgen-about-copy { font-size: 12.5px; }
}
/*
  会場選び 3つのポイント：コンポーネント専用CSS ここまで
*/
