/* -----------------------------------------
   1. Reset & Global Styles
----------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  margin: 0;
  padding: 0;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: YakuHanJP, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "Hiragino Sans", "Meiryo", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  -webkit-text-size-adjust: 100%;
  margin:0;
  padding: 0;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

button,
a {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

/* -----------------------------------------
   2. Layout & Common Container
----------------------------------------- */
header,
footer,
.l-container {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

/* スマホ用コンテンツ枠（768px） */
.l-inner {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* -----------------------------------------
   3. Scroll Animation Effect (Fade In)
----------------------------------------- */
.js-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js-fade-in.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------
   4. Header
----------------------------------------- */
.l-header {
  width: 100%;
  max-width: 768px;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background-image: url('../images/bg_top.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  aspect-ratio: 768 / 264;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.l-header__inner {
  width: 100%;
  text-align: center;
  margin-top: 78px;
}

.l-header__logo {
  display: inline-block;
}

.l-header__logo img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* -----------------------------------------
   5. Hero Section
----------------------------------------- */
.p-hero {
  padding-top:60px;
  text-align: center; 
}

.p-hero__title {
  font-size: 30px;
  line-height: 1.5;
  margin-bottom: 50px;
}
.p-hero__title span {
  padding-top:30px;
  display: block;
}

.p-hero__text {
  font-size: 24px;
  line-height: 1.2; 
}
/* -----------------------------------------
   6. MC Section
----------------------------------------- */
  .l-inner,
  .p-mc,
  .p-guest,
  .p-text-block {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

.p-mc {
  width: 100%;
  margin-top: 93px;
  background-image: url('../images/bg_staff1.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto; 
  padding-top: 94px;
}

.p-mc__title-wrapper {
  width: 100%;
  max-width: 1116px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.p-mc__title-img {
  margin-left: auto;
  margin-right: auto;
}

/* 司会者カード群のラッパー */
.p-mc__content {
  width: 100%;
  margin-top: 40px;
}

/* 2列レイアウト（スマホ時左右余白0） */
.p-mc__grid {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  gap: 44px; 
  padding-left: 0;
  padding-right: 0;
}

.p-mc__card {
  flex: 1;
  text-align: center;
}

/* 写真エリア */
.p-mc__photo {
  margin-bottom: 30px; 
}

.p-mc__photo img {
  width: 100%;
  height: auto;
}

/* 名前エリア　*/
.p-mc__name {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.2;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  letter-spacing: 0.1em;
}

.p-mc__affiliation {
  font-size: 26px;
  font-weight: normal;
  display: block;
}

/* 経歴エリア */
.p-mc__bio {
  font-size: 22px;
  line-height: 1.4;
  text-align: left;
}

/* -----------------------------------------
   7. Guest Section (1人バージョン)
----------------------------------------- */
.p-guest {
  width: 100%;
  margin-top: 93px;
  background-image: url('../images/bg_staff2.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;
  padding-top: 94px;
}

.p-guest__title-wrapper {
  width: 100%;
  max-width: 1116px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.p-guest__title-img {
  margin-left: auto;
  margin-right: auto;
}

.p-guest__content {
  width: 100%;
  margin-top: 40px;
}

.p-guest__grid {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.p-guest__card {
  width: 100%;
  text-align: center;
}

/* 写真　*/
.p-guest__photo {
  max-width: 362px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
}

.p-guest__photo img {
  width: 100%;
  height: auto;
}

.p-guest__info {
  width: 100%;
}

.p-guest__name {
  font-size: 45px;
  font-weight: bold;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  line-height: 1.2;
}

.p-guest__affiliation {
  font-size: 30px;
  font-weight: normal;
  display: block;
}

/* 経歴エリア */
.p-guest__bio {
  font-size: 22px;
  line-height: 1.4;
  text-align: left; 
}
.p-guest--type1 {
  background-image: url('../images/bg_staff1.jpg'); 
}

.p-guest--type2 {
  background-image: url('../images/bg_staff3.jpg'); 
}

.p-guest--type3 {
  background-image: url('../images/bg_staff4.jpg'); 
}


.p-guest--2col .p-guest__grid {
  display: flex;
  justify-content: space-between;
  gap: 44px;
}

.p-guest--2col .p-guest__card {
  flex: 1;
  max-width: none;
}

.p-guest--2col .p-guest__photo {
  max-width: 100%; 
}

/* -----------------------------------------
   8. Centered Text Block (40px Normal)
----------------------------------------- */
.p-text-block {
  width: 100%;
  margin-top: 80px;
  text-align: center;
}

.p-text-block__text {
  font-size: 30px;
  font-weight: normal; 
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
}

/* -----------------------------------------
   9. Channels Section
----------------------------------------- */
.p-channels {
  width: 100%;
  margin-top: 90px;
}

.p-channels__group {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* 上段（2列） */
.p-channels__group--2col {
  gap: 40px;
  margin-bottom: 60px;
}

.p-channels__group--2col .p-channels__item {
  width: calc((100% - 40px) / 2);
}

/* 下段（3列） */
.p-channels__group--3col {
  gap: 30px;
}

.p-channels__group--3col .p-channels__item {
  width: calc((100% - 60px) / 3);
}

/* 各チャンネルアイテム */
.p-channels__item {
  display: block;
  text-align: center;
  transition: opacity 0.3s ease;
}

.p-channels__item:hover {
  opacity: 0.8; 
}

.p-channels__icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.p-channels__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* テキストエリア */
.p-channels__text {
  font-size: 22px;
  font-weight: bold;
  line-height: 1.3;
}
/* -----------------------------------------
   10. Entry Section
----------------------------------------- */
.p-entry {
  width: 100%;
}

.p-entry__item {
  width: 100%;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.p-entry__img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  
  .p-entry {
    margin-top: 0;
    padding-left: 0 !important; 
    padding-right: 0 !important;
  }

  .p-entry__item {
    max-width: 100%;
  }
  
}
/* -----------------------------------------
   11. Schedule Lead Text
----------------------------------------- */
.p-schedule-lead {
  width: 100%;
  margin-top: 80px;
  text-align: center;
}

.p-schedule-lead__text {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {
  .p-schedule-lead {
    margin-top: 30px; 
  }

  .p-schedule-lead__text {
    font-size: 22px;
  }
}
/* -----------------------------------------
   12. Schedule Section
----------------------------------------- */
.p-schedule {
  margin-top: 60px;
  width: 100%;
}

.p-schedule__header-inner {
  width: 100%;
  text-align: center;
}

.p-schedule__title-img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.p-schedule__note {
  margin-top: 10px;
  margin-bottom: 30px;
  font-size: 22px;
  line-height: 1.4;
  text-align: center;
}

/* 各スケジュールブロック */
.p-schedule__block {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100%;
}

.p-schedule__inner {
  width: 100%;
  text-align: center;
}

.p-schedule__img {
  width: 100%;
  height: auto;
  display: block;
}
/* -----------------------------------------
   13. Challenge Notes Section
----------------------------------------- */
.p-notes {
  width: 100%;
  margin-top: 80px;
}
.p-notes-block{
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  
}
/* 各ブロックの縦間隔 */
.p-notes__block {
  margin-bottom: 60px;
}

.p-notes__block:last-child {
  margin-bottom: 0;
}

/* タイトル画像：最大768pxで中央寄せ */
.p-notes__title-wrap {
  width: 100%;
  max-width: 768px;
  margin: 0 auto 30px;
  text-align: center;
}

.p-notes__title-img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストエリア */
.p-notes__list {
  list-style: none;
  padding: 0 20px;
  margin: 0;
}

.p-notes__item {
  font-size: 22px;
  font-weight: normal;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}

.p-notes__item:last-child {
  margin-bottom: 0;
}
.p-notes__item strong {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}
/* -----------------------------------------
   14. Footer
----------------------------------------- */
.l-footer {
  width: 100%;
  max-width: 768px;
  height: 598px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  background-image: url(../images/bg_footer.jpg?ref);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  display: flex;
  justify-content: center;
}

.l-footer__copyright {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  margin: 0;
  padding: 0 20px;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}
/* -----------------------------------------
   スマホ対応 (768px以下)
----------------------------------------- */
@media screen and (max-width: 768px) {
  .l-header {
    padding-top: 7.78%; /* 60px / 768px ≒ 10.15% で位置関係を維持 */
    padding-left: 20px;
    padding-right: 20px;
  }
  .l-header__inner{
    margin-top: 0;
  }
  .l-header__logo{
    width: 46%;
  }
  .p-guest__title-img{
    height: 24px;
  }
  .p-hero{
    padding-top: 0;
 }

  .p-hero__title,
  .p-mc__name,
  .p-guest__name {
    font-size: 22px;
  }
  .p-hero__text {
    font-size: 15px;
    line-height: 1.4;
  }
  .p-hero__title {
    margin-bottom: 30px;
  }
  
  .p-mc__name {
    min-height: 60px;
    letter-spacing :0;
  }

  .p-mc__affiliation,
  .p-guest__affiliation,
  .p-mc__bio,
  .p-guest__bio {
    font-size: 15px;
  }
   .p-channels__text{
    font-size: 15px;
    line-height: 1.4;
   }
   .p-channels__group--2col {
    gap:20px;
   }
  .p-text-block__text {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  .p-mc,
  .p-guest {
    background-size: 600px auto;
    background-position: center top;
    padding-top: 30px;
    padding-bottom: 20px;
    margin-top:2px;
  }
  .p-guest {
    padding-top: 50px;
  }
  .p-guest__content {
    margin-top: 30px;
  }
  .p-mc__info {
    width: 100%;
  }
  .p-mc__grid,
  .p-guest--2col .p-guest__grid {
    gap: 20px;
  }
  .p-guest:not(.p-guest--2col) .p-guest__card {
    width: 100%;
  }

  .p-guest:not(.p-guest--2col) .p-guest__photo {
    width: 100%;
    margin-bottom: 20px;
  }
  .p-guest:not(.p-guest--2col) .p-guest__photo {
    width: 48%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
  .p-guest:not(.p-guest--2col) .p-guest__info {
    width: 100%;
  }
  .p-text-block {
    margin-top: 20px;
  }

  .p-schedule {
    margin-top : 30px;
  }

  .p-schedule__note {
    font-size: 15px;
    padding: 0 20px;
    margin-bottom: 20px;
  }


  .p-schedule__block .l-inner {
    padding-left: 0;
    padding-right: 0;
  }

  
  .p-schedule__header {
    background-size: cover;
    background-position: center top;
  }

  .p-notes {
    margin-top: 50px;
  }

  .p-notes__block {
    margin-bottom: 40px;
  }

  .p-notes__title-wrap {
    margin-bottom: 20px;
  }

  .p-notes__item {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .p-channels {
    margin-top: 60px;
  }
.l-footer {
    height: auto;
    aspect-ratio: 768 / 598; 
  }
.l-footer__copyright {
    bottom: 20px;
    font-size: 12px;
  }
}