@charset "utf-8";

/* スマホ（〜767px） */
@media (max-width: 767px) {
  /* スマホ専用スタイル */
}

/* タブレット（768px〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  /* タブレット専用スタイル */
}

/* PC（1025px〜） */
@media (min-width: 1025px) {
  /* PC専用スタイル */
}



.page_top { z-index: 10; }

.top_intro { margin-bottom: 40px; }

.support_before_bg { position: absolute; top: -10vw; left: -25%; width: 150%; height: 100%; z-index: -1; }
.support_before_bg_img { width: 100%;}
.support_before_wrap { position: relative; max-width: 1320px; margin: 0 auto; padding: 60px 20px 40px; text-align: center; }
.support_before_title { font-size: 24px; line-height: 1.7; font-weight: bold; color: #004680; letter-spacing: 0.1em;}
.support_before_text { line-height: 2; letter-spacing: 0.15em;}
.triangle_arrow { background: #004680; height: calc(tan(60deg) * 26px / 2); width: 30px; clip-path: polygon(0 0, 100% 0, 50% 100%); margin: 60px auto; }
@media (min-width: 1080px) {
  .support_before_innerwrap { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; margin-bottom: 20px;}
  .support_before_title { font-size: 28px; text-align: left;}
  .support_before_text { max-width: 880px; margin: 0 auto; text-align: left;}
  .reform_toplink{margin-bottom: 180px!important;}
}

.support_after_wrap { padding-bottom: 80px; background: linear-gradient(transparent 30%, #8DD3F6 30%);}
.support_after_title { font-size: 24px; line-height: 1.7; font-weight: bold; color: #004680; letter-spacing: 0.1em; text-align: center; margin-bottom: 20px; }
.support_after_title .marker { display: inline; background: #FDFD99;}
.support_after_img01 { margin-bottom: 20px;}
.support_after_img01 img { width: 100%; }
.support_after_text { margin-bottom: 20px; line-height: 1.7; letter-spacing: 0.1em;}
.support_after_img02 img { width: 100%; }
@media (min-width: 1080px) {
  .support_before_wrap { padding: 0 20px 40px; }
  .support_after_title {  font-size: 32px; }
  .support_after_img01 { max-width: 550px; margin: 0 auto; }
  .support_after_text { max-width: 1100px;}


}

/* メインコンテンツ TYPE01~03*/
.side_bg_square { padding: 30px 0 70px 0;}
.side_bg_square:last-child { padding-bottom: 40px; }
.side_bg_square .contents { position: relative; } 
.side_bg_square .contents::before { content: ''; position: absolute; top: 80px; left: -5vw; width: 100vw; height: calc(100% - 40px); background: #F5F5F5; z-index: -1; }

.content_img_wrap { position: relative; margin-bottom: 40px; }
.content_img { position: relative; width: 100%; aspect-ratio: 7 / 4; object-fit: cover; background: #666; z-index: 1; }
.content_illust { position: absolute; top: -140px; right: 0; width: 150px; height: 120px; z-index: 2; }

.content_text { display: flex; flex-direction: column; gap: 20px; }
.content_text_title { display: flex; gap: 20px; align-items: center; }
.content_text_number { font-size: 50px; line-height: 50px; margin-top: -10px; }
.content_text_number.inline_sp { display: none; }
.content_text_number::before { content: 'MERIT'; display: block; font-size: 0.29em; line-height: 1em; }
.content_text_title { position: relative; }
.content_text_title h2 { display: flex; flex-direction: column; gap: 8px; font-size: 26px; color: #FFF; }
.content_text_title h2 span { width: fit-content; background: #004680; }
.content_text_sentence { display: flex; flex-direction: column; gap: 20px; }
.content_text_sentence strong { display: inline; }

.reform_banner_wrap { position: relative; }
.reform_banner_bg { width: 100%; }
.reform_banner_text_wrap { position: absolute; top: 0; bottom: 0; right: 0; left: 0; display: flex; flex-direction: column; justify-content: space-between; width: calc(100% - 80px); height: calc(100% - 80px); margin: auto; padding: 20px; }
.reform_banner_text_wrap::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: #004680; opacity: 0.8; }
.reform_banner_text { position: relative; z-index: 1; }
.reform_banner_title { display: block; width: fit-content; margin: 0 auto 12px; }

@media (min-width: 1080px) {
  .top_intro { text-align: center; }

  .side_bg_square:last-child { padding-bottom: 120px; }
  .side_bg_square .contents { height: calc(min(27vw, 396px) + 60px); }
  .side_bg_square .contents::before { top: 40px; width: calc(100% + calc(max(5vw, calc(50vw - 660px)) + 80px)); height: calc(min(27vw, 396px) + 20px); }
  .side_bg_square:nth-child(2n+1) .contents::before { right: auto; left: -80px; border-radius: 0; border-top-left-radius: 30px; border-bottom-left-radius: 30px; }
  .side_bg_square:nth-child(2n) .contents::before { right: -80px; left: auto; border-radius: 0; border-top-right-radius: 30px; border-bottom-right-radius: 30px; }

  .content_img_wrap { position: absolute; top: 0; width: 60%; }
  .side_bg_square:nth-child(2n) .content_img_wrap { right: auto; left: 0; }
  .side_bg_square:nth-child(2n+1) .content_img_wrap { right: 0; left: auto; }
  .content_img_wrap::before { content: ''; position: absolute; bottom: -18px; display: block; width: 60%; height: 60%; background: #004680; }
  .side_bg_square:nth-child(2n) .content_img_wrap::before { right: auto; left: -24px; }
  .side_bg_square:nth-child(2n+1) .content_img_wrap::before { right: -24px; left: auto; }
  .content_img { aspect-ratio: 2 / 1; }
  .content_illust { top: auto; bottom: 0; right: -20px; width: 200px; height: 160px; }

  .content_text_wrap { position: relative; width: calc(40% - 40px); padding-top: 100px; z-index: 2; }
  .content_text_number.inline_sp { position: absolute; top: -0.5em; left: 8px; z-index: 2; }
  .side_bg_square:nth-child(2n) .content_text_wrap { margin-right: 0; margin-left: calc(60% + 60px); }
  .side_bg_square:nth-child(2n+1) .content_text_wrap { margin-right: calc(60% + 80px); margin-left: -20; }
  .content_text.smaller_than_img { height: calc(min(27vw, 396px) + 40px); }
  .content_text.just_one { padding-top: 40px; }
  .content_text_sentence .button_normal { margin: 0; } 

  .reform_banner_text_wrap { width: calc(100% - 280px); height: calc(100% - 160px); padding: 20px 70px; }
  .reform_banner_text_wrap::before { content: ''; position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: #004680; opacity: 0.8; }
}

