@charset "UTF-8";

/*
 * KDDI アジャイル開発センター / 日経ビジネス Special
 * このCSS・HTML・画像はすべて同階層に置いてください。
 * PC: 768px以上 / SP: 768px未満。画像選択はHTMLのpictureで行います。
 * 共通ヘッダー・フッターにはリセットを適用しません。
 */
:root {
  --kag-color-navy: #10106a;
  --kag-color-cyan: #01c0f0;
  --kag-color-speaker: #08759d;
  --kag-color-text: #111;
  --kag-color-white: #fff;
  --kag-color-decoration: #edeff6;
  --kag-content-width: 800px;
  --kag-section-border: 10px;
  --kag-section-radius: 50px;
  --kag-section-padding: 50px;
  --kag-font: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  color: inherit;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt" 1;
}

/* Scoped reset: テンプレートの共通要素には影響させない */
.kag-page,
.kag-page *,
.kag-page *::before,
.kag-page *::after {
  box-sizing: border-box;
}

.kag-page {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--kag-color-text);
  background: var(--kag-color-white);
  font-family: var(--kag-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.875;
  text-align: left;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.kag-page h1,
.kag-page h2,
.kag-page p,
.kag-page figure {
  margin: 0;
  padding: 0;
}

.kag-page img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

.kag-page picture {
  display: block;
}

/* Main visual: 親幅1000px時800px。本文のmax-widthとは独立して拡縮 */
.kag-hero {
  position: relative;
  isolation: isolate;
  padding: 38px 0 50px;
}

.kag-hero::before,
.kag-hero::after {
  position: absolute;
  z-index: -1;
  display: block;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.kag-hero::before {
  background-image: url("hero-left.svg");
  width: 52.42%;
  aspect-ratio: 524.2 / 454.29;
  top: -144px;
  left: -32%;
  z-index: 0;
}

.kag-hero::after {
  background-image: url("hero-right.svg");
  width: 52.01%;
  aspect-ratio: 520.1 / 464.94;
  top: 16.8vw;
  right: -32%;
}

.kag-hero__visual {
  width: 80%;
  margin-inline: auto;
}

.kag-hero__visual img {
  width: 100%;
}

.kag-hero__copy {
  width: min(var(--kag-content-width), calc(100% - 48px));
  margin: 42px auto 0;
  text-align: center;
}

.kag-hero__eyebrow {
  font-size: clamp(19px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .01em;
}

.kag-page .kag-hero__title {
  margin-top: 12px;
  color: var(--kag-color-navy);
  font-size: clamp(32px, 4.8vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .035em;
}

.kag-hero__title>span {
  display: block;
}

.kag-page .kag-hero__lead {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
  margin-top: 18px;
}

.kag-sp-break {
  display: none;
}

/* 800pxは囲み枠の外寸。左右10px線＋50px余白で本文画像は680px */
.kag-article {
  position: relative;
  padding-bottom: 100px;
}

.kag-section {
  position: relative;
  width: min(var(--kag-content-width), calc(100% - 48px));
  margin-inline: auto;
}

.kag-section+.kag-section {
  margin-top: 50px;
}

.kag-section__inner {
  position: relative;
  z-index: 1;
  padding: 54px var(--kag-section-padding) 56px;
  border: var(--kag-section-border) solid var(--kag-color-navy);
  border-radius: var(--kag-section-radius);
  background: transparent;
}

.kag-page .kag-section__heading {
  margin: 0 0 54px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--kag-color-navy);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
  text-align: center;
}

.kag-prose {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.875;
  line-break: strict;
}

.kag-prose p+p {
  margin-top: 28px;
}

.kag-question {
  font-weight: 700;
}

.kag-prose .kag-question:not(:first-child) {
  margin-top: 36px;
}

.kag-speaker {
  color: var(--kag-color-navy);
  font-weight: 700;
}

.kag-speaker--kag {
  color: var(--kag-color-speaker);
}

.kag-page .kag-portrait {
  margin: 52px 0 36px;
}

.kag-portrait img {
  width: 100%;
  aspect-ratio: 1360 / 820;
}

/* 本文に追従する左右のSVG。線と本文の後ろに重ねてページ端でトリミング */
.kag-section::before,
.kag-section::after {
  position: absolute;
  z-index: 0;
  display: block;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.kag-section::before {
  width: 452px;
  aspect-ratio: 452.14 / 514.64;
  background-image: url("bg-left.svg");
}

.kag-section::after {
  width: 520px;
  aspect-ratio: 520.1 / 464.94;
  right: -310px;
  background-image: url("bg-right.svg");
}

.kag-section--one::before {
  top: 30%;
  left: -420px;
}

.kag-section--one::after {
  bottom: -160px;
}

.kag-section--two::before {
  top: 62%;
  left: -420px;
}

.kag-section--two::after {
  display: none;
}

.kag-section--three::before {
  top: 62%;
  left: -420px;
}

.kag-section--three::after {
  top: 100px;
}

/* 写真下部のグラデーションは支給画像に含まれるので重ね描きしない */
.kag-closing,
.kag-closing img {
  width: 100%;
}

.kag-closing img {
  aspect-ratio: 2000 / 942;
}

.kag-company {
  padding: 68px 8px 80px;
  text-align: center;
}

.kag-company__logo {
  width: 240px;
  margin-inline: auto;
}

.kag-page .kag-company__name {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-top: 16px;
}

/* SP: 768px未満。本文はデザイン見本で省略された部分も全文掲載 */
@media (max-width: 767px) {
  .kag-hero {
    padding: 20px 0 38px;
  }

  .kag-hero::before {
    display: none;
  }

  .kag-hero::after {
    width: 44%;
    top: 38vw;
  }

  .kag-hero__visual {
    width: 100%;
  }

  .kag-hero__copy {
    width: calc(100% - 40px);
    margin-top: 16px;
  }

  .kag-hero__eyebrow {
    font-size: clamp(16px, 4.18vw, 20px);
    line-height: 1.4;
    letter-spacing: 0;
  }

  .kag-page .kag-hero__title {
    margin-top: 12px;
    font-size: clamp(22px, 6.2vw, 36px);
    line-height: 1.3;
    letter-spacing: .01em;
  }

  .kag-page .kag-hero__lead {
    margin-top: 14px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    text-align: left;
  }

  .kag-pc-break {
    display: none;
  }

  .kag-sp-break {
    display: block;
  }

  .kag-article {
    padding-bottom: 40px;
  }

  .kag-section {
    width: 100%;
  }

  .kag-section+.kag-section {
    margin-top: 0;
  }

  .kag-section__inner {
    padding: 34px 16px 40px;
    border: 0;
    border-top: var(--kag-section-border) solid var(--kag-color-navy);
    border-radius: 0;
  }

  .kag-section:last-child .kag-section__inner {
    border-bottom: var(--kag-section-border) solid var(--kag-color-navy);
  }

  .kag-page .kag-section__heading {
    margin-bottom: 32px;
    font-size: clamp(22px, 5.6vw, 30px);
    line-height: 1.4;
    letter-spacing: .03em;
  }

  .kag-prose {
    line-height: 1.9;
  }

  .kag-prose p+p,
  .kag-prose .kag-question:not(:first-child) {
    margin-top: 30px;
  }

  .kag-page .kag-portrait {
    margin-top: 40px;
    margin-bottom: 36px;
  }

  .kag-portrait img {
    aspect-ratio: 780 / 670;
  }

  /* AI注記のご希望に合わせ、SPにも控えめに装飾を配置 */
  .kag-section::before {
    width: 250px;
    left: -180px;
    opacity: .65;
  }

  .kag-section::after {
    width: 280px;
    right: -222px;
    opacity: .65;
  }

  .kag-section--one::after {
    bottom: 10%;
  }

  .kag-section--three::after {
    top: 10%;
  }

  .kag-closing img {
    aspect-ratio: 860 / 428;
  }

  .kag-company {
    padding: 48px 20px 80px;
  }

  .kag-company__logo {
    width: 240px;
  }

  .kag-page .kag-company__name {
    margin-top: 16px;
    font-size: 18px;
  }
}


/* ------------------------------ *
	SNSボタン
 * ------------------------------ */
div.snsWrap {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 2px solid #e5e5e5;
}

.social_buttons {
  list-style-type: none;
  text-align: left;
  margin: 0;
  padding: 0;
  *zoom: 1;
  display: inline-block;
}

.social_buttons:before,
.social_buttons:after {
  content: "";
  display: table;
  clear: both;
}

.social_buttons li {
  float: left;
  margin-left: 0;
  margin-right: 10px;
  font-size: 12px;
}

.social_buttons li:last-child {
  margin-right: 0;
}

.social_buttons li .fb_iframe_widget>span {
  vertical-align: baseline;
}