  @charset "utf-8";
  /* 変数定義（デザインシステム） */
  :root {
    --yh-navy: #112240;
    --yh-yellow: #F8E133;
    --yh-soft-yellow: #EABF4B;
    --yh-profile-bg: #F1E2B0;
    --yh-books-bg: #e8daaa;
    --yh-black: #000000;
  }

  .p-message_main {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--yh-black);
    overflow-x: hidden;
  }

  /* ===== トップセクション (Title & Nav) ===== */
  .p-message_top_section {
    background-color: var(--yh-navy);
    padding: 60px 24px 0;
  }

  .p-message_title {
    color: var(--yh-yellow);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
  }

  .p-message_nav {
    padding: 64px 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .p-message_nav_item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    color: var(--yh-navy);
    transition: background-color 0.3s ease;
  }

  .p-message_nav_item.bg-white {
    background-color: #fff;
  }

  .p-message_nav_item.bg-white:hover {
    background-color: var(--yh-yellow)
  }

  .p-message_nav_item.bg-yellow {
    background-color: var(--yh-yellow);
  }

  .p-message_nav_arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 10px;
    transition: transform 0.3s ease;
    position: relative;
    transition: background-color 0.3s ease;
  }

  .p-message_nav_arrow::after {
    content: "";
    left: 3px;
    width: 10px;
    height: 10px;
    border-top: 2px solid #000000;
    border-right: 2px solid #000000;
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%) rotate(45deg);
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    transition: border-color 0.5s ease;
  }

  .p-message_nav_item.is-current .p-message_nav_arrow {
    display: none;
  }

  .p-message_nav_arrow.bg-yellow {
    background-color: var(--yh-yellow);
  }

  .p-message_nav_arrow.bg-white {
    background-color: #fff;
  }

  .p-message_nav_item:hover .p-message_nav_arrow.bg-yellow {
    background-color: var(--yh-navy);
  }

  .p-message_nav_item:hover .p-message_nav_arrow::after {
    border-top-color: var(--yh-yellow);
    border-right-color: var(--yh-yellow);
  }

  @media (max-width: 1023px) {
    .p-message_title {
      font-size: 30px;
    }

    .p-message_nav {
      grid-template-columns: repeat(2, 1fr);
      row-gap: 24px;
      column-gap: 21px;
      padding: 40px 0;
    }

    .p-message_nav_item {
      padding: 12px;
      font-size: 14px;
      line-height: 1.8;
      ;
    }

    .p-message_nav_item:last-child {
      grid-column: span 2;
      width: 50%;
      margin: 0 auto;
    }

    .p-message_top_section {
      padding: 32px 20px 0;
    }

  }

  /* ===== ヒーローセクション ===== */
  /*
  .p-message_hero {
    background-color: var(--yh-soft-yellow);
    padding: 56px 0 88px;
    position: relative;
  }

  .p-message_inner {
    margin: 0 auto;
    max-width: 1200px;
  }

  .p-message_hero_flex {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 100%;
  }

  .p-message_hero_text {
    width: 48%;
  }

  .p-message_hero_image {
    width: 48%;
    max-width: 722px;
  }

  .p-message_hero_text h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 2.4;
    margin-bottom: 16px;
  }

  .p-message_hero_text p {
    font-size: 20px;
    font-weight: 700;
    opacity: 0.9;
    line-height: 1.6;
  }

  .p-message_hero_image img {
    width: 100%;
    border-radius: 0 20px 20px 0;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .p-message_hero {
      margin-bottom: 0;
      padding: 54px 20px 40px;
    }

    .p-message_hero_flex {
      flex-direction: column-reverse;
      gap: 40px;
    }

    .p-message_hero_image {
      position: static;
      width: 106%;
      margin-left: -20px;
    }

    .p-message_hero_text {
      width: 100%;
    }

    .p-message_hero_text h2 {
      font-size: 24px;
      line-height: 1.8;
    }
  }
  */

  /* ===== 本文セクション ===== */
  .p-message_body {
    background-color: var(--yh-soft-yellow);
    padding: 0 24px 64px;
  }

  .p-message_body_inner {
    max-width: 1000px;
    margin: 0 auto;
  }

  .p-message_body h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 32px;
  }

  .p-message_text_block p {
    font-size: 20px;
    line-height: 2;
    font-weight: 500;
  }

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

  .p-message_section_gap {
    margin-top: 88px;
  }

  .p-message_catchphrase {
    font-size: 28px !important;
    font-weight: 900 !important;
    font-style: italic;
    margin-top: 64px !important;
  }

  @media (max-width: 768px) {
    .p-message_body {
      padding: 0 20px 56px;
    }

    .p-message_body_inner {
      max-width: 100%;
    }

    .p-message_body h3 {
      font-size: 20px;
      line-height: 1.36;
      margin-bottom: 16px;
    }

    .p-message_section_gap {
      margin-top: 40px;
    }

    .p-message_text_block p {
      font-size: 16px;
      line-height: 1.6;
    }
  }

  /* ===== プロフィール ===== */
  .p-message_profile {
    margin-top: 88px;
    position: relative;
    background-color: var(--yh-profile-bg);
    border-radius: 20px;
    padding: 56px;
  }

  .p-message_profile_bg {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
  }

  .p-message_profile_content {
    position: relative;
    z-index: 10;
  }

  .p-message_profile_en {
    font-size: 9px;
    font-weight: 900;
    opacity: 0.4;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .p-message_profile_ja {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
  }

  .p-message_profile_content h4 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
  }

  .p-message_profile_text p {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
  }

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

  .p-message_profile_gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
  }

  .p-message_gallery_item {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.5);
  }

  .p-message_gallery_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .p-message_profile {
      margin-top: 40px;
      padding: 24px 16px 16px 16px;
      border-radius: 10px;
    }

    .p-message_profile_ja {
      font-size: 14px;
      margin-bottom: 16px;
    }

    .p-message_profile_content h4 {
      font-size: 24px;
      line-height: 1.8;
      margin-bottom: 16px;
    }

    .p-message_profile_bg {
      border-radius: 10px;
    }

    .p-message_profile_gallery {
      grid-template-columns: repeat(2, 1fr);
      gap: 7px;
      margin-top: 16px;
    }
  }

  /* ===== 書籍セクション ===== */
  .p-message_books {
    background-color: var(--yh-books-bg);
    padding: 48px 24px 110px;
    border-top: 1px solid rgba(26, 45, 76, 0.05);
  }

  .p-message_books_inner {
    max-width: 1000px;
    margin: 0 auto;
  }

  .p-message_books h2 {
    font-size: 40px;
    font-weight: 900;
    margin: 0 auto 64px;
    line-height: 1.3;
    max-width: 1200px;
  }

  .p-message_books_flex {
    display: flex;
    align-items: flex-start;
    gap: 64px;
  }

  .p-message_books_image {
    width: 226px;
    flex-shrink: 0;
  }

  .p-message_books_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .p-message_books_text {
    flex: 1;
  }

  .p-message_books_text h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .p-message_books_text h3 span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    opacity: 0.8;
    margin-top: 8px;
  }

  .p-message_books_author {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 24px;
    margin-right: auto;
    line-height: 1.6;
  }

  .p-message_books_desc {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
  }

  .p-message_books_btn {
    display: inline-flex;
    align-items: center;
    gap: 19px;
    background-color: var(--yh-navy);
    padding: 6px 18px 6px 12px;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: opacity 0.3s ease;
    line-height: 1.4;
    min-width: 196px;
    position: relative;
    justify-content: center;
    text-align: center;
    border: 4px solid transparent;
  }

  a.p-message_books_btn {
    color: #fff;
  }

  .p-message_books_btn:hover {
    background-color: transparent;
    border: 4px solid var(--yh-navy);
    color: var(--yh-navy);
  }

  .p-message_books_btn svg path {
    transition: fill 0.3s ease;
  }

  .p-message_books_btn:hover svg path {
    fill: var(--yh-navy);
  }

  .p-message_books_btn span {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
  }

  @media (max-width: 768px) {
    .p-message_books_flex {
      flex-direction: column;
      gap: 32px;
      align-items: center;
    }

    .p-message_books h2 {
      font-size: 30px;
      margin-bottom: 32px;
    }

    .p-message_books_text h3 {
      font-size: 20px;
      line-height: 1.4;
      margin-bottom: 32px;
    }

    .p-message_books {
      padding: 32px 20px 56px;
    }

    .p-message_books .p-message_books_text {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .p-message_books_desc {
      margin-bottom: 32px;
    }
  }

  #company_message footer {
    background-color: var(--yh-books-bg);
  }


/*
===== Customization ===========================*/

#company_message .p-message_hero_text p {
  font-weight: 500;
  opacity: 1;
}

#company_message .p-message_profile_bg {
  background: #F1E2B0;
}

#company_message .p-message_books h2 {
  font-weight: 700;
}

#company_message .p-message_gallery_item img {
  border-radius: 10px;
}

#company_message .p-message_books_text h3 span {
  display: inline;
  font-weight: 500;
}

@media (max-width: 768px) {
  #company_message .p-message_hero_text p {
    font-size: 14px;
    font-weight: 500;
    opacity: 1;
    line-height: 1.6;
  }

  #company_message .p-message_gallery_item img {
    border-radius: 6px;
  }
}

/* p-message_hero
--------------------*/
#company_message .p-message_hero {
	padding: 0 0 88px;
}

#company_message .p-message_hero .wrap {
	position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
	margin: 56px 0 0;
	padding-left: calc(50%);
}

#company_message .p-message_hero .wrap h2 {
  font-size: clamp(12px, calc((36 / 1440) * 100vw), 48px);
  font-weight: 700;
	line-height: 2.4;
  white-space: nowrap;
}

#company_message .p-message_hero .wrap p {
  margin: 16px 0 0;
	font-size: 20px;
  font-weight: 500;
	line-height: 2;
}

#company_message .p-message_hero .wrap figure {
	position: absolute;
	top: 0;
	right: 50%;
	width: 50vw;
	border-radius: 0 20px 20px 0;
	overflow: hidden;
}

@media (max-width: 960px) {
	#company_message .p-message_hero .wrap {
    display: block;
		padding: 0 32px;
	}

	#company_message .p-message_hero .wrap figure {
		position: static;
		width: 84%;
		margin: 0 0 40px -32px;
	}

  #company_message .p-message_hero .wrap h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  #company_message .p-message_hero {
    padding: 0 0 40px;
  }

	#company_message .p-message_hero .wrap {
		padding: 0 calc((20 / 375) * 100%);
	}


	#company_message .p-message_hero .wrap figure {
		width: calc(100% + (calc((20 / 335) * 100%)));
		margin: 0 0 40px calc((20 / 335) * -100%);
	}

  #company_message .p-message_hero .wrap h2 {
    font-size: 24px;
    line-height: 1.8;
  }

  #company_message .p-message_hero .wrap p {
    font-size: 14px;
    line-height: 1.6;
  }
}