/*==== 65 Sky SKYPCE タイアップ =========================================*/

/*==== ページ全体 ==========================================================*/
html {
  overflow-x: hidden;
}
body {
  margin: 0 auto;
  padding: 0;
  font-family: "メイリオ", "Hiragino Kaku Gothic ProN", "游ゴシック", sans-serif;
  width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  font-size: 20px;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  border: none;
  margin: 0;
  padding: 0;
  line-height: 0;
  vertical-align: bottom;
  max-width: 100%;
}

.social_buttons {
  margin: 8px auto 0;
  max-width: 1000px;
}

a {
  text-decoration: none;
  border: none;
}

a:hover {
  text-decoration: underline;
}

#ContentsArea a {
  color: #0F1ED2;
}
#ContentsArea a:hover {
  color: #0F1ED2;
}

h1 {
  margin: 0;
  padding: 0;
  line-height: 0;
}

h2 {
  margin: 35px 0 0 0;
}

h2.h2_kv {
  margin: 0 0 15px 0;
  font-weight: bold;
  font-size: 25px;
  line-height: 1.3;
  width: 100%;
}
h2 {
  display: flex;
  align-items: center;
  min-height: 1.7em;
  padding: 0.5em 1.5em;
  background: #0148a0;
  border-radius: 1000px;
  border: 2px solid #fff;
  color: #fff;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
}
h2.h2_test {
  text-align: center;
  display: flex;
  grid-template-columns: repeat(17, 1.7em);
  grid-template-rows: 1.7em;
  background: none;
  color: #000;
  border: none;
  box-shadow: none;
  flex-wrap: wrap;
  padding-left: 0;
  font-size: 2rem;
  display: none;
}
h2.h2_test span {
  border: 1px solid #000000;
  aspect-ratio: 1/1;
  display: flex;
  width: 1.8em;
  height: 1.8em;
  background: #fff;
  margin: 0px 0 10px -1px;
  align-items: center;
  justify-content: center;
}
h2.ttl_con {
  color: #fff;
  font-weight: bold;
  font-size: 17px !important;
  padding: 8px 0 8px 15px;
  margin-top: 20px;
  font-family: YuGothic, "Yu Gothic", serif;
  background-size: 70%;
  background-position: center right;
  background-repeat: no-repeat;
  margin-bottom: 15px;
  border-radius: 4px;
}

p {
  margin: 0;
  padding: 0 0 20px;
}

.link a {
  display: block;
  border-bottom: 1px dotted #DCF2FD;
  padding: 8px 0;
}

.cl {
  clear: both;
}

/*==== メインエリア ==========================================================*/
#MainArea {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #333;
}

#ContentsArea {
  margin: 0;
  padding: 0;
  text-align: left;
  width: 100%;
  background: #f2faff;
}

/*==== KV：背景画像＋前面テキスト（aspect-ratioで#MainImgAreaに背景） ===========*/
#MainImgArea.kv_bg_text {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 1920/863;
}

#MainImgArea.kv_bg_text::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(kv_bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: kv_bg_fade 1.2s ease-out forwards;
  z-index: 0;
}
.kv_bg_text .kv_text_wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 3.1725%;
}

.kv_bg_text h1 {
  text-align: center;
  opacity: 0;
  transform: scale(1.05);
  animation: kv_zoom_in 1s ease-out 0.6s forwards;
  width: 42.7825%;
}

.kv_bg_text h1 img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* KV・見出し・画像で統一するズーム表示（scale 1.05→1） */
@keyframes kv_bg_fade {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes kv_zoom_in {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* acc_eyecatch：スクロールで表示（KVと同じズーム感 1.2s） */
.acc_eyecatch {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.acc_eyecatch.is_visible {
  opacity: 1;
  transform: scale(1);
}

/* ph_block：人物写真ブロック */
.ph_block {
  margin-bottom: 2em;
  container-type: inline-size;
  container-name: ph;
  display: flex;
  align-items: flex-end;
}
.ph_block img {
  display: block;
  width: 50%;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
}
.ph_block .person_name {
  display: flex;
  margin-top: 0;
  font-size: clamp(10px, 5.5cqw, 16px);
  line-height: 1.7;
  line-height: 1.4;
  color: #000;
  text-shadow: 0 0 2px #fff, 0 0 4px #fff;
  padding: 1em 2em 1em;
  width: 60%;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  margin: 0 0 0 -2em;
  transform: translateY(1em);
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
}
.ph_block .person_name .dilb {
  display: inline-block;
}
.ph_block .person_name strong {
  color: #000;
  font-size: 130%;
}

@media screen and (max-width: 600px) {
  .ph_block {
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 2em;
  }
  .ph_block img {
    width: 100%;
  }
  .ph_block .person_name {
    width: 100%;
    margin: 0;
    transform: translate(1em,-1em);
    box-sizing: border-box;
  }
}

/* 本文の最後に決めカット */
.img_fin {
  text-align: center;
  margin: 30px 0 !important;
  padding: 0 !important;
}
.img_fin img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.section_lead {
  position: relative;
}

.lead_txt {
  margin: 0 auto 20px;
  padding: 1rem 1rem;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.8;
  background: rgba(255,255,255,0.7);
  border-radius: 3px;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
}

/* section・secInner */
.section {
  width: 100%;
  padding: 50px 0 30px;
}
.secInner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}
.section.whitearea2 {
  padding: 30px 0;
}
.section.whitearea2 .secInner {
  margin-top: 0;
  margin-bottom: 0;
}

.accST {
  padding: 25px 0 0;
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}

.named {
  font-weight: bold;
  color: #0F1ED2;
}

/* 図版 */
.figure {
  margin: 30px auto;
  max-width: 1000px;
  border-radius: 3px;
  box-shadow: 2px 2px 5px -2px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  background: #fff;
}


.figure .figttl {
  padding: 10px 15px!important;
  font-size: 95%;
  font-weight: bold;
  background-color: #0148a0;
  color: #fff;
}

.figure .figcap {
  padding: 20px 20px!important;
  font-size: 85%;
  background-color: #f1f1f1;
  color: #333;
}

.figure p {
  margin: 0 !important;
  padding: 0 !important;
}

.figure .figure_img {
  padding: 2rem 0;
}
.figure img {
  display: block;
  width: 90%;
  max-width: 800px;
  margin: auto;
}

.accS {
  padding: 0 5px;
  margin: 0 auto;
  font-size: 18px;
}

.pb30 {
  padding-bottom: 30px;
}

/*==== レスポンシブ（1000px / 640px）=========================================*/
@media screen and (max-width: 1000px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  #MainImgArea.kv_bg_text {
    min-width: 1000px;
    transform: translateX(-50%);
    left: 50%;
  }
  .secInner {
    padding: 0 15px;
  }
  .accST {
    padding: 20px 0 0;
    font-size: 16px;
  }
}

@media screen and (max-width: 640px) {
  body {
    line-height: 1.65;
  }
  h2 {
    letter-spacing: 0;
  }
  h2.h2_kv .h2_label {
    font-size: 20px;
  }
  #MainImgArea.kv_bg_text {
    width: 200%;
    min-width: 0;
  }
  .secInner {
    padding: 0 10px;
  }
  .accST {
    padding: 15px 0 0;
    font-size: 15px;
  }
  .accS {
    padding: 0 10px;
    font-size: 15px;
  }
  h2.ttl_con {
    font-size: 4vw;
    padding: 10px 15px;
  }
  .figure {
    margin: 20px 10px;
  }
}
