:root {
  --award: #d9b300;
}

.page_content .img_visual {}

br.sp {
  display: none;
}

.award_btn {
  /* margin: 0 auto; */
  /* display: block; */
  display: inline-block;
  display: flex;
  align-items: center;
  background: linear-gradient(0deg, rgb(218 182 57) 0%, rgb(240 220 143) 100%);
  width: max-content;
  padding: 8px 60px 8px 35px;
  margin-top: 20px;
  text-shadow: 0 0 10px #8a732694;
}

.page_content .page_block h4 {
  margin-bottom: 20px;
  padding-left: 65px;
  background: rgb(231, 225, 181);
  background: linear-gradient(175deg, rgba(231, 225, 181, 0.2) 0%, rgba(237, 205, 109, 0.2) 100%);
  border-left: 5px solid var(--award);
  position: relative;
  overflow: hidden;
}

.page_content .page_block h4::before {
  content: "";
  background: url(../../ja/award2026/images/ic_cw.webp);
  background-size: contain;
  width: 40px;
  height: 40px;
  position: absolute;
  left: 15px;
  background-repeat: no-repeat;
}

.page_content .page_block h4::after {
  content: "";
  background: url(../../ja/award2026/images/ic_cw.webp);
  background-size: contain;
  width: 100px;
  height: 100px;
  position: absolute;
  top: 0;
  right: 15px;
  opacity: 0.5;
  background-repeat: no-repeat;
}

.page_content .heading {
  text-align: center;
  font-weight: 900;
  font-size: 180%;
  color: #000;
  line-height: 1.3;
  background: linear-gradient(210deg, #d6ae2a, #f1dd90, #d6ae2a);
  padding: 1rem;
}

.page_content .heading .font_bold_mini{font-size: 80%;line-height: 1.5;display: block;}

.page_content .product_name {
  margin-bottom: 0;
}

.page_content .list .product_name {

}

.page_content .heading .sub_txt {
  font-size: 1rem;
  display: block;
  font-weight: normal;
  margin-top: 5px;
}

.page_content .font_big {
  font-size: 185%;
  display: block;
}
br.sp{
  display: none;
}

.page_content .font_littlebig {
  font-size: 2.5rem;
  display: block;
  margin: .7rem 0 1rem;
}

.page_content .font_small {
  font-size: 50%;
}

.page_content .list_winner h5 {
  padding-bottom: 0.5em;
}

.page_content .list_winner h5::before,
.page_content .list_winner h5::after {
  background: var(--award);
  background: rgb(199, 176, 0);
  background: linear-gradient(175deg, rgba(199, 176, 0, 1) 0%, rgba(255, 222, 123, 1) 100%);
}

.page_content .list_winner h5::after {
  display: none;
}

.list_winner figure {
  /* margin-bottom: 15px; */
  text-align: center;
}

.list_winner figure img {
  max-width: 1000px;
}

.product_name {
  padding-top: 0.25em;
  font-weight: 700;
  font-size: 155%;
  color: var(--award);
}

.list_winner .list .product_name {
  font-size: 125%;
}

.product_detail {
  /* margin-top: 1em; */
}

.product_detail dt {
  font-weight: 700;
  border-bottom: 1px dotted #dedede;
  padding-bottom: 0.25em;
  margin-bottom: 0.5em;
}

.product_detail dd {}

.list_winner .list {
  /* display: grid; */
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.list_winner.category .list li {
  margin-bottom: 20px;
}

.award .list_winner {
  margin-bottom: 30px;
}

.txt_small {
  font-size: .8em;
  font-weight: normal;
}



@media screen and (max-width: 840px) {
  .list_winner .list {
    grid-template-columns: 1fr;
  }
}


@media screen and (max-width: 540px) {}

@media screen and (max-width: 500px) {
  br.sp {
    display: block;
  }

  .page_content .img_visual {
    height: 180px;
  }

  .page_content .img_visual img {
    object-fit: cover;
    height: 100%;
    object-position: center;
  }

  br.sp{
  display: none;
}
  .page_content .font_littlebig{
    font-size:1.8rem;
    margin:.2rem 0 .5rem;
  }

}

@media screen and (max-width: 480px) {
  .page_content p {
    margin-bottom: 0;
  }

  .page_content .heading {
    font-size: 150%;
  }

  .en .page_content .heading{
    font-size:110%;
  }
  .page_content .font_big {
    font-size: 170%;
  }
}

@media screen and (max-width: 400px) {

  .page_content .img_visual {
    height: 140px;
  }
}

/* =========================================================
   2026 CEATEC AWARD ページ（/ja/award/）用
   ========================================================= */

/* このページのみの調整 */
.under-content p {
  line-height: 1.9;
}
/* 冒頭：テキスト左・トロフィー画像右 */
.award_intro {
  display: flex;
  align-items: center;
  gap: 40px;
}
.award_intro_text {
  flex: 6;
}
.award_intro_img {
  flex: 4;
  margin: 0;
}
.award_intro_img img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 850px) {
  .award_intro {
    flex-direction: column;
    gap: 10px;
  }
  .award_intro_img {
    flex: none;
    width: 100%;
    max-width: 560px;
  }
}

/* 表彰の種類：賞グループごとの余白 */
.award_type {
  margin-bottom: 56px;
}

/* 優秀賞・各賞は見出し上の罫線なし（大臣賞のみ罫線あり） */
.award_type--noline .under-h4 {
  border-top: none;
  padding-top: 0;
}

/* 賞マーク（AWARD特設ページの素材を流用）＋説明文 */
.award_item {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}
.award_item p {
  flex: 1;
  margin: 0;
}
.award_mark {
  position: relative;
  flex: 0 0 150px;
  height: 139px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
}
/* 基本テンプレの h5 装飾（左上の青四角 ::before）は賞マークでは不要なため無効化 */
.under-content h5.award_mark::before {
  content: none;
}
.award_mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.award_mark span {
  position: relative;
}
/* 大臣賞：金グラデ文字
   グラデ＋background-clip: text は文字を直接持つ span 側に付ける。
   h5 側に付けると positioned な子（.award_mark span）のテキストが
   WebKit でクリップマスクに含まれず、iPhone/iPad で賞名が消える
   （最新 Chrome は動くため PC 確認だけでは見逃す） */
.award_mark--minister {
  font-size: 28px;
  line-height: 1.355;
}
.award_mark--minister span {
  background: linear-gradient(93.12deg, #af956b 1.26%, #f8be2a 55.77%, #cf9543 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 大臣賞：PCは3カラム横並び、タブレット以下でカラム落ち */
.award_item_row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 32px;
}
.award_item_row .award_item {
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: 0;
}
.award_item_row .award_item p {
  flex: none;
}
.award_item_row .award_mark {
  flex: 0 0 auto;
  width: 200px;
  height: 186px;
}
/* 各賞：「賞」を文字落ちさせたぶん月桂樹は一回り小さく */
.award_item_row--category .award_mark {
  width: 170px;
  height: 157px;
}
/* タブレット：2カラム */
@media screen and (max-width: 1024px) {
  .award_item_row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
/* スマホ：1カラム */
@media screen and (max-width: 767px) {
  .award_item_row {
    grid-template-columns: 1fr;
  }
}
/* 優秀賞：月桂樹は小さめ・文字は大きめ */
.award_mark--excellence,
.award_item_row .award_mark--excellence {
  flex: 0 0 auto;
  width: 180px;
  height: 166px;
  font-size: 28px;
  color: #a5761e;
}
/* 各賞：カタカナが多いため文字詰め */
.award_mark--category {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.05em;
  color: #885113;
}

/* STG基本テンプレの汎用h5スタイル（.under-content h5 { font-size・padding-left 等 }、詳細度0,2,1）に
   賞マークの文字組みが上書きされるため、詳細度を上げて本来のデザイン値を再指定する */
.under-content .award_type h5.award_mark {
  margin: 0;
  padding: 0; /* 汎用h5の padding-left で中央からズレるのを防止 */
}
.under-content .award_type h5.award_mark--minister {
  font-size: 28px;
  line-height: 1.355;
}
.under-content .award_type h5.award_mark--excellence {
  font-size: 28px;
}
.under-content .award_type h5.award_mark--category {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.05em;
}

/* 英語ページ：ラベルが日本語より長いため月桂樹内に収まるサイズへ調整 */
.en .under-content .award_type h5.award_mark--minister {
  font-size: 20px;
  line-height: 1.3;
}
/* Digital Agency賞のみ「Digital Agency」の行が長く20pxでは折り返すため据え置き */
.en .under-content .award_type h5.award_mark--minister.award_mark--long {
  font-size: 18px;
}
.en .under-content .award_type h5.award_mark--excellence {
  font-size: 22px;
  line-height: 1.25;
}
.en .under-content .award_type h5.award_mark--category {
  letter-spacing: -0.02em;
}
@media screen and (max-width: 767px) {
  .award_item {
    flex-direction: column;
    gap: 16px;
  }
  .award_item p {
    flex: none;
  }
}

/* 特設ページ導線（バナー内にCTAラベルを統合した1リンク） */
.award_special {
  margin: 64px 0 0;
}
.award_banner {
  margin-top: 0;
  border: 1px solid #b99606;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 30px 30px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 155%;
  text-decoration: none;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: rgba(0, 0, 0, 0.65);
}
.award_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(/ja/application/guide/ad/images/ad_award/fv-slider.webp);
  background-size: cover;
  background-position: center;
}
.award_banner:hover {
  opacity: 0.7;
}
.award_banner img {
  max-width: 180px;
  max-height: 100px;
}
/* 1行目：ロゴ＋ページ名（2行目のCTAと分離） */
.award_banner_row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
/* バナー内CTA（ボタン風ラベル。リンクはバナー全体で1つ）
   濃い写真背景上で紺の共通.btnは沈むため、カルーセル矢印と同じ
   ブランドブルー（タイトル帯グラデの明側 #3a7bd5）を使用 */
.award_banner_cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  /* 少しだけ透過させて背景写真と馴染ませる */
  background: rgba(58, 123, 213, 0.85);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 8px;
  text-shadow: none;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.award_banner_cta .material-icons-round {
  font-size: 16px;
}
@media screen and (max-width: 600px) {
  .award_banner {
    padding: 20px;
    gap: 12px;
  }
  .award_banner_row {
    flex-direction: column;
    gap: 10px;
  }
}
/* ノミネート案件：グレー一色の仮置きブロック */
.nominate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.nominate-card {
  background: #d3d7de;
  height: 240px;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .nominate-grid {
    grid-template-columns: 1fr;
  }
}

/* 過去受賞事例（事例は ceatec experience から。装飾はサイト共通トンマナ準拠） */
.award_experience {
  padding: 0;
}
/* リード文は中央寄せ */
.award_experience_lead {
  text-align: center;
  margin: 0 0 10px;
}
/* リード文の下に置くロゴ行（見出しではないため p タグ）。小さめ・左寄せ */
.award_experience_title {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  white-space: nowrap;
  color: #0c1a49;
  font-size: 24px;
  justify-content: center;
  margin-top: 30px;
}
.award_experience_title img {
  width: 280px;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
@media screen and (max-width: 767px) {
  .award_experience_title {
    white-space: normal;
    flex-wrap: wrap;
    font-size: 16px;
  }
  .award_experience_title img {
    width: 180px;
  }
}
/* 過去受賞事例カルーセル（スクロールスナップ + 前後ボタン。JS: award-carousel.js） */
.testimonial-carousel {
  position: relative;
  margin-top: 10px;
}
.testimonial-grid {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 4px 4px 16px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.testimonial-grid::-webkit-scrollbar {
  display: none;
}
.testimonial-carousel_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  /* ページタイトル帯グラデの明るい側のブランドブルー */
  background: #3a7bd5;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: filter 0.2s ease;
}
.testimonial-carousel_btn:hover {
  filter: brightness(1.1);
}
.testimonial-carousel_btn--prev {
  left: -14px;
}
.testimonial-carousel_btn--next {
  right: -14px;
}
.testimonial-carousel_btn .material-icons-round {
  font-size: 26px;
}
.testimonial-card {
  flex: 0 0 calc((100% - 40px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* タブレット：2枚表示、スマホ：1枚+チラ見せ */
@media screen and (max-width: 1024px) {
  .testimonial-card {
    flex-basis: calc((100% - 20px) / 2);
  }
}
@media screen and (max-width: 640px) {
  .testimonial-card {
    flex-basis: 86%;
  }
}
.testimonial-card > a {
  display: flex;
  flex-direction: column;
  flex: 1;
  color: inherit;
  text-decoration: none;
}
.testimonial-photo {
  margin: 0;
}
.testimonial-photo img {
  display: block;
  width: 100%;
  height: auto;
  /* 事例画像は全て1200×630（OGP比率）。固定高でのトリミングをやめ、
     比率固定で全体を見せる。規格外画像が来た場合のみcoverで揃える */
  aspect-ratio: 1200 / 630;
  object-fit: cover;
}
.testimonial-body {
  background: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}
.testimonial-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.award-year,
.award-category {
  font-size: 13px;
  font-weight: 700;
  color: #005bac;
}
.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.company-name {
  font-weight: bold;
  font-size: 17px;
  color: #333;
  margin: 0;
}
.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0;
}
