@charset "UTF-8";

/************************************************************************
* 代表挨拶
* 数値は PSD 保存値（実寸 = カンプ@2x ÷ 2、画面幅 2046px で等倍）
************************************************************************/

/*------------------------------------------------------------------
ヒーロー
--------------------------------------------------------------------*/

.fantasia-greeting-hero__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
}

/* タイトルと飾り文字は左カラム内で中央揃え（PSD の justification = center） */
.fantasia-greeting-hero__head {
  flex: 0 0 33.66%;
  margin-top: clamp(34px, 4.64vw, 95px);
  margin-left: 6.38%;
  text-align: center;
}

.fantasia-greeting-hero__title {
  margin: 0;
  color: var(--fantasia-sub-purple);
  font-size: var(--fantasia-sub-fz-title);
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  text-indent: 0.2em; /* letter-spacing の末尾分を戻して中央に見せる */
}

.fantasia-greeting-hero__lead {
  margin: clamp(17px, 2.35vw, 48px) 0 0;
  line-height: 0;
}

.fantasia-greeting-hero__lead img {
  width: 100%;
  height: auto;
}

/* 写真と署名は本文と縦に重なるため、フローから外して絶対配置する
   （カンプでは block1 の見出しが写真の左横に来る） */
.fantasia-greeting-hero__profile {
  position: absolute;
  top: clamp(10px, 1.32vw, 27px);
  right: 0;
  left: 54.2%;
  display: flex;
  align-items: flex-start;
}

.fantasia-greeting-hero__figure {
  flex: 0 0 43.26%;
  margin: 0;
}

.fantasia-greeting-hero__figure img {
  width: 100%;
  height: auto;
}

.fantasia-greeting-hero__name {
  margin: clamp(70px, 9.775vw, 200px) 0 0 6.46%;
  font-size: clamp(20px, 1.955vw, 40px);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.25;
}

.fantasia-greeting-hero__company {
  display: block;
  font-size: clamp(14px, 1.222vw, 25px);
  letter-spacing: 0.05em;
  line-height: 2;
}

/* 右端の金飾りと桜（装飾） */
.fantasia-greeting-hero__deco {
  position: absolute;
  top: clamp(13px, 1.71vw, 35px);
  right: 0;
  width: 8.82%;
  height: auto;
  pointer-events: none;
}

/*------------------------------------------------------------------
本文
--------------------------------------------------------------------*/

.fantasia-greeting-message {
  margin-top: clamp(28px, 3.617vw, 74px);
}

.fantasia-greeting-message .fantasia-sub-heading {
  color: var(--fantasia-sub-purple);
  font-size: clamp(20px, 1.711vw, 35px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.43;
}

.fantasia-greeting-message .fantasia-sub-heading::before {
  content: '◆';
  margin-right: 0.6em;
}

.fantasia-greeting-message .fantasia-sub-text {
  font-weight: 600;
}

h3.fantasia-sub-heading {
  font-size: clamp(15px, 1.3vw, 28px) !important;
}


/* ブロックの下余白・間隔はカンプ上で 1 ブロックずつ異なるため実測値で個別に当てる
   （罫線までの余白 = padding-bottom / 次ブロックまで = margin-top。単位は実寸 px 換算） */
.fantasia-greeting-message .fantasia-sub-block--ruled {
  padding-bottom: clamp(24px, 3.128vw, 64px);
}

.fantasia-greeting-message .fantasia-sub-block:nth-child(1) {
  padding-bottom: clamp(30px, 4.057vw, 83px);
}

.fantasia-greeting-message .fantasia-sub-block:nth-child(2) {
  padding-bottom: clamp(27px, 3.617vw, 74px);
}

.fantasia-greeting-message .fantasia-sub-block + .fantasia-sub-block {
  margin-top: clamp(28px, 3.763vw, 77px);
}

.fantasia-greeting-message .fantasia-sub-block:nth-child(2) {
  margin-top: clamp(35px, 4.741vw, 97px);
}

.fantasia-greeting-message .fantasia-sub-block:nth-child(3) {
  margin-top: clamp(33px, 4.496vw, 92px);
}

.fantasia-greeting-message .fantasia-sub-block:nth-child(5) {
  margin-top: clamp(30px, 4.008vw, 82px);
}

.fantasia-greeting-message .fantasia-sub-block:nth-child(6) {
  margin-top: clamp(26px, 3.519vw, 72px);
}

.fantasia-greeting-signature {
  margin: clamp(22px, 2.981vw, 61px) 0 0;
  padding-right: clamp(12px, 2.493vw, 51px);
  padding-left: var(--fantasia-sub-inset);
  font-size: var(--fantasia-sub-fz-text);
  letter-spacing: 0.03em;
  line-height: 1.74;
  text-align: right;
}

.mt30{
  margin: 30px 0 0 0 !important;
}

.tL{
  text-align: left !important;
}
.tC{
  text-align: center !important;
}
.tR{
  text-align: right !important;
}

.price_tbl{
  text-align:left;
  padding:20px 0;
}
.price_tbl table{
  font-size: var(--fantasia-sub-fz-text);
  font-weight: 600;
  margin:20px 0;
  border: 1px solid #664821;
  border-collapse: collapse;
}

.price_tbl table thead{
    background: linear-gradient(#fbf2f8, #f6edf4);
    font-weight: 700;
}


.price_tbl table th,
.price_tbl table td{
    height: 42px;
    padding: 6px 10px;
    border: 1px solid #c9c5c6;
}

.price_tbl table thead td,
.price_tbl table th{
    font-size: clamp(14px, 1.25vw, 18px);
}
.price_tbl table thead th,
.price_tbl table tbody th{
  text-align: left;
}

.price_tbl caption{
  caption-side: bottom;
  text-align: left;
  font-size:1.2rem;
}

.fantasia-ul{
  font-size: var(--fantasia-sub-fz-text);
  font-weight: 600;
}
.fantasia-ul li{
  margin: 0 0 10px;
}

/*------------------------------------------------------------------
「創造文化圏」ブロック（4 カラム + 循環図）
創造文化圏ページ（ccz.html / ccz.css）の部品をそのまま流用。
挨拶ページのカンプ（KF_official_GREET_260915）でも寸法は ccz と一致（アイコン・見出し・本文・
循環図の縦間隔まで同値）。ブロック内の並び: 1 見出し / 2 本文 / 3 4カラム / 4 本文 / 5 循環図 / 6 本文
--------------------------------------------------------------------*/

.fantasia-greeting-project > * + * {
  margin-top: clamp(14px, 1.466vw, 30px);
}

.fantasia-greeting-project > .fantasia-sub-heading + .fantasia-sub-text {
  margin-top: var(--fantasia-sub-gap-heading);
}

.fantasia-greeting-project > :nth-child(3) {
  margin-top: clamp(21px, 2.199vw, 45px);
}

.fantasia-greeting-project > :nth-child(4) {
  margin-top: clamp(20px, 2.102vw, 43px);
}

.fantasia-greeting-project > :nth-child(5) {
  margin-top: clamp(28px, 2.884vw, 59px);
}

.fantasia-greeting-project > :nth-child(6) {
  margin-top: clamp(25px, 2.688vw, 55px);
}

/* 4 つの特長（アイコン + 見出し + 本文の 4 カラム） */

/* カンプ幅 1661（縦罫線の間隔 415.25 x 4）/ ブロック内寸 1868 = 88.92% */
.fantasia-ccz-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(88.92%, 1661px);
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

/* 縦罫線はカンプ上でアイコンの上・本文の下へ少しはみ出す */
.fantasia-ccz-features__item {
  padding-top: clamp(8px, 0.831vw, 17px);
  padding-bottom: clamp(22px, 2.297vw, 47px);
  text-align: center;
}

.fantasia-ccz-features__item + .fantasia-ccz-features__item {
  border-left: 1px solid #bfb7b1;
}

/* アイコンは高さの違うものが下辺で揃う（カンプ y=2352 で一致）。
   高さは 1 カラム幅に対する比（最も背の高い 1 番目 = 26.69%）で確保する。
   固定 px にするとカラムが広がる幅で画像がはみ出す */
.fantasia-ccz-features__icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 1 / 0.2669;
  margin: 0;
}

.fantasia-ccz-features__icon picture {
  display: block;
}

.fantasia-ccz-features__icon img {
  display: block;
  width: 100%;
  height: auto;
}

/* 幅はカンプ実測（1 カラム 415.25 に対する比） */
.fantasia-ccz-features__item:nth-child(1) .fantasia-ccz-features__icon picture {
  width: 31.14%;
}

.fantasia-ccz-features__item:nth-child(2) .fantasia-ccz-features__icon picture {
  width: 34.56%;
}

.fantasia-ccz-features__item:nth-child(3) .fantasia-ccz-features__icon picture {
  width: 31.31%;
}

.fantasia-ccz-features__item:nth-child(4) .fantasia-ccz-features__icon picture {
  width: 23.60%;
}

/* 見出しは 1 行でも 2 行でも中心線が揃う（カンプ y=2458）。2 行分の高さを確保して中央寄せ */
.fantasia-ccz-features__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.34em;
  margin: clamp(11px, 1.173vw, 24px) 0 0;
  color: var(--fantasia-sub-purple);
  font-size: var(--fantasia-sub-fz-subheading);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.67;
}

/* 本文はカラム内で中央に置き、字面は左揃え
   幅は PSD のテキストボックス実値 342.7 / 1 カラム 415.25 = 82.53% */
.fantasia-ccz-features__text {
  width: min(82.53%, 343px);
  margin: clamp(10px, 0.978vw, 20px) auto 0;
  line-break: strict;
  text-align: left;
}

/* 創造の循環（円 5 つ + 矢印） */

/* カンプ幅 1421 / ブロック内寸 1868 = 76.06%。
   ただし画面が狭いと 76.06% では円が痩せてラベルが入らないため 800px の下限を置く
   （枠を超えないよう 100% で頭打ち）。2046px 時は従来どおり 1421px */
.fantasia-ccz-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, max(76.06%, 800px));
  margin-inline: auto;
  padding: 0;
  list-style: none;
}

/* 円 196 / 1421 = 13.79% */
.fantasia-ccz-flow__item {
  position: relative;
  width: 13.79%;
}

.fantasia-ccz-flow__item img {
  display: block;
  width: 100%;
  height: auto;
}

/* 矢印は円と円のあいだ（カンプ 31 x 30・間隔の中央） */
.fantasia-ccz-flow__item + .fantasia-ccz-flow__item::before {
  position: absolute;
  top: 50%;
  right: 100%;
  width: clamp(15px, 1.515vw, 31px);
  height: clamp(14px, 1.466vw, 30px);
  margin-right: clamp(20px, 2.053vw, 42px);
  background: url(../img/ccz/flow_arrow.png) center / contain no-repeat;
  transform: translateY(-50%);
  content: '';
}

/* ラベルは円の中（カンプ上端から 63.5%）。
   文字が乗る高さ（上端から約77%）では円の幅は直径の 82% しかないため、
   共通の --fantasia-sub-fz-subheading（下限 18px）だと中間幅で円からはみ出す。
   傾き（1.466vw）と上限（30px＝カンプ実測）は共通変数と同じにし、下限だけ下げて
   円と一緒に縮むようにする */
.fantasia-ccz-flow__label {
  position: absolute;
  top: 63.5%;
  right: 0;
  left: 0;
  color: var(--fantasia-sub-purple);
  font-size: clamp(14px, 1.466vw, 30px);
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.67;
  text-align: center;
}

/*------------------------------------------------------------------
狭い画面
--------------------------------------------------------------------*/

@media (max-width: 760px) {
  .fantasia-greeting-hero__inner {
    display: block;
  }

  .fantasia-greeting-hero__head {
    margin-left: 0;
  }

  .fantasia-greeting-hero__profile {
    position: static;
    display: block;
    margin-top: 32px;
  }

  .fantasia-greeting-hero__figure {
    width: 62%;
    margin-inline: auto;
  }

  .fantasia-greeting-hero__name {
    margin: 20px 0 0;
    text-align: center;
  }

  .fantasia-greeting-hero__deco {
    display: none;
  }
  .price_tbl table th, .price_tbl table td {
    padding: 10px 20px;
}

}

/* 「創造文化圏」ブロックの狭い画面（ccz.css と同じ切り替え） */
@media (max-width: 1050px) {
  /* 4 カラムは 2 列へ。仕切りは列の左と行の上に付け替える。
     見出しの字は 1050px 以下で 18px 固定になり、最長行「見せる場所、売る場所、」に
     208px 要る。4 カラムだと 1 カラム 213px しかなく折り返すため、ここで 2 列に落とす */
  .fantasia-ccz-features {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .fantasia-ccz-features__item + .fantasia-ccz-features__item {
    border-left: none;
  }

  .fantasia-ccz-features__item:nth-child(even) {
    border-left: 1px solid #bfb7b1;
  }

  .fantasia-ccz-features__item:nth-child(n + 3) {
    padding-top: clamp(18px, 3.2vw, 26px);
    border-top: 1px solid #bfb7b1;
  }

  .fantasia-ccz-features__text {
    width: min(88%, 332px);
  }

  /* 循環図は横並びのまま。円の比率だけ 13.79% → 15% に上げてラベルを収める
     （768px では円 105px。切り替え前後で 110→120px と段差が出ないよう調整） */
  .fantasia-ccz-flow__item {
    width: 15%;
  }

  .fantasia-ccz-flow__item + .fantasia-ccz-flow__item::before {
    width: 16%;
    height: auto;
    aspect-ratio: 44 / 43;
    margin-right: 12.85%;
  }

}

@media (max-width: 760px) {
  /* 循環図の前後の文は、字面は左揃えのままブロックごと中央へ（ccz.css と同じ） */
  .fantasia-greeting-project > :nth-child(4),
  .fantasia-greeting-project > :nth-child(6) {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  /* 循環図は縦積み。矢印は下向きへ回す。
     横並びはラベル「誰かに届く」が円に収まる 1050px 以上でしか成立しない
     （900px では円 86px に対しラベル 95px で溢れる） */
  .fantasia-ccz-flow {
    width: min(44%, 170px);
    flex-direction: column;
    gap: clamp(42px, 11vw, 54px);
  }

  .fantasia-ccz-flow__item {
    width: 100%;
  }

  /* 縦積みでは円が 147〜170px と大きいため、ラベルもそれに見合う大きさへ */
  .fantasia-ccz-flow__label {
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .fantasia-ccz-flow__item + .fantasia-ccz-flow__item::before {
    top: auto;
    right: auto;
    bottom: 100%;
    left: 50%;
    width: clamp(18px, 6.1vw, 27px);
    height: clamp(17px, 5.8vw, 26px);
    margin-right: 0;
    margin-bottom: clamp(10px, 2.7vw, 14px);
    transform: translateX(-50%) rotate(90deg);
  }
}

@media (max-width: 520px) {
  /* 4 カラムは 1 列へ */
  .fantasia-ccz-features {
    grid-template-columns: 1fr;
  }

  .fantasia-ccz-features__item:nth-child(even) {
    border-left: none;
  }

  .fantasia-ccz-features__item + .fantasia-ccz-features__item {
    padding-top: clamp(18px, 3.2vw, 26px);
    border-top: 1px solid #bfb7b1;
  }

  /* 1 列では各項目が単独なので、見出しの 2 行分の高さ確保は不要 */
  .fantasia-ccz-features__title {
    min-height: 0;
  }
}
