/* --- CSS Variables --- */
:root {
  --primary-bg-color: #e60012;
  --heading-text-color: #063F98;
  --body-text-color: #222;
  --reverse-color: #fff;
  --bg-color: #F0F0F0;
  --index-color: #063F98;
}

/* --- レイアウト --- */
* {
  box-sizing: border-box;
}
body {
  overflow-y: auto;
  margin: 0;
  padding: 0;
  color: var(--body-text-color);
}
#contents {
 padding-top: 72px;
}
main {
  font-size: 16px;
  line-height: 1.6;
}
figure {
  margin: 0;
}
.-pc {display:block;}
.-sp {display:none;}
.-lazy-content {
	opacity: 0;
	transform: translateY(50px);
	transition: opacity 0.5s 0.3s linear, transform 1s;
}
.-lazy-done {
	opacity: 1;
	transform: translateY(0);
}
.l-container {
  width: 100%;
  max-width: 1032px;
  margin: 0 auto;
  padding: 35px 16px;
}
main .l-container img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .-pc {
    display:none;
  }
  .-sp {
    display:block;
  }
  .l-container {
    padding: 12px 24px;
  }
  #contents {
  padding-top: 55px;
  }
  main {
    font-size: 14px;
  }
}

/* --- ヘッダー --- */
#header {
  position: fixed;
  z-index: 2;
  width: 100%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  background-color: var(--reverse-color);
  padding: 11px 10px;
}
#header .l-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1440px;
  padding: 0;
}
#header .l-container img {
  margin-bottom: 8px;
}
#header .l-container .c-button--primary {
  width: 300px;
  height: 50px;
  color: var(--reverse-color);
  font-size: 18px;
  margin: 0;
}
#header .l-container .c-button--primary::before {
  top: -24px;
  width: 15px;
}
#header .l-container .c-button--primary::after {
  top: 19px;
  right: 25px;
  width: 8px;
  height: 8px;
}
#header .l-container .c-button--primary:hover::after {
  right: 15px;
}

@media (max-width: 768px) {
  #header {
    justify-content: space-between;
    padding: 10px;
  }
  #header .l-header__logo {
    width: 100px;
  }
  #header .l-header__logo img {
    width: 100%;
    height: auto;
  }
  #header .l-container .c-button--primary {
    width: 220px;
    height: 35px;
    font-size: 14px;
    font-weight: normal;
    padding: 10px 0;
  }
  #header .l-container .c-button--primary::after {
    top: 13px;
    right: 13px;
    width: 6px;
    height: 6px;
  }
  #header .l-container .c-button--primary:hover::after {
    right: 13px;
  }
}

@media (max-width: 374px) {
  #header .l-container .c-button--primary {
    width: 220px;
  }
}

/* --- フッター --- */
#footer {
  font-size: 76%;
}
#footer .footer_main .footer_logo {
  margin: 0 auto 25px;
}

@media (max-width: 768px) {
  #footer table td a {
    display: block;
    font-size: 100%;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 0;
    vertical-align: middle;
  }
  #footer .f_logo_area {
    display: flex;
    justify-content: center;
    margin: 0 auto 8px;
  }
  #footer .f_logo_area .pit_logo {
    width: 95px;
    float: left;
    margin-right: 11px;
  }
  #footer .f_logo_area .proto_logo {
    width: 194px;
    float: left;
  }
}

/* --- 共通パーツ --- */
/* リード文 */
.c-lead {
  margin-bottom: 40px;
}
.c-lead b {
  color: var(--primary-bg-color);
}
.c-lead:last-child {
  margin-bottom: 0;
}
/* タイトル */
.c-text--h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--heading-text-color);
  background: url("https://img.goo-net.com/goopit/assets/img/static/com/published/icon_h2.png") no-repeat 0 5px;
  background-size: 24px;
  clip-path: inset(0 100% 0 0);
  transition: 1.4s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
  padding-left: 35px;
  margin-bottom: 10px;
}
.-lazy-done .c-text--h2 {
  clip-path: inset(0);
}
/* ボタン */
.c-content__cta {
  text-align:center;
  margin-top: 50px;
}
.c-content__cta p {
  text-align: center;
  margin-block: 16px;
}
.c-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: 0.3s ease;
}
.c-button--primary {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 514px;
  height: 74px;
  background: var(--primary-bg-color);
  color: var(--reverse-color) !important;
  font-size: 24px;
  border: none;
  margin: 0 auto;
  padding-left: 10px;
  transition: all .3s;
}
.c-button--primary::before {
  background-color: #fff;
  content: "";
  display: block;
  position: absolute;
  top: -36px;
  left: 0;
  width: 23px;
  height: 100%;
  opacity: 0;
  transition: cubic-bezier(0.32, 0, 0.67, 0);
}
.c-button--primary:hover {
  color: var(--reverse-color);
  text-decoration:none;
}
.c-button--primary:hover::before {
  animation: kiran 0.5s linear;
}
.c-button--primary::after {
  content: "";
	display: inline-block;
	position: absolute;
	top: 28px;
	right: 60px;
	width: 10px;
	height: 10px;
	border-top: 1px solid var(--reverse-color);
	border-right: 1px solid var(--reverse-color);
	margin-bottom: 1px;
	transform: rotate(45deg);
	transition: all .3s;
}
.c-button--primary:hover::after {
  right: 50px;
}
/* 画像 */
.c-figure {
  display: flex;
  flex-flow: column;
  align-items: center;
  gap: 30px;
  justify-content: center;
  margin-bottom: 40px;
}
.-lazy-done .c-figure {
  animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.c-figure:last-child {
  margin-bottom: 0;
}
.c-figure .c-figure__txt {
  font-size: 16px;
  text-align: center;
}
.c-figure__image img {
  width:100%;
  height:auto;
  display:block;
}
/* グリッド */
.c-grid .l-container {
  padding-top: 5px;
}
.c-grid .c-grid__inner {
  display: grid;
  gap: 0 20px;
}
.c-grid__text {
  padding-top: 40px;
}
.c-grid .c-grid__img {
  margin-bottom: 0;
}
.c-grid .c-grid__img img {
  width: 100%;
  height: auto;
  display: block;
}
.c-grid .c-grid__img--1  { grid-area: img1; }
.c-grid .c-grid__img--2  { grid-area: img2; }
.c-grid .c-grid__text--1 { grid-area: text1; margin-bottom: 30px; }
.c-grid .c-grid__text--2 { grid-area: text2; }

@media screen and (max-width: 768px) {
  /* リード文 */
  .c-lead {
    margin-bottom: 16px;
  }
  /* ボタン */
  .c-content__cta {
    margin-top: 16px;
  }
  section:last-child .c-content__cta {
    margin: 16px 0 12px;
  }
  .c-text--h2 {
    font-size: 18px;
    line-height: 1.4;
    text-indent: 1em;
    background: url("https://img.goo-net.com/goopit/assets/img/static/com/published/icon_h2.png") no-repeat 0 3px;
    background-size: 18px;
    padding-left: 5px;
  }
  .c-button {
    padding: 10px;
  }  
  .c-button--primary {
    width: 100%;
    height: 46px;
    font-size: 14px;
  }
  .c-button--primary::after {
    position: static;
    width: 7px;
    height: 7px;
    margin: 0 0 3px 5px;
  }
  /* 画像 */
  .c-figure {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 16px;
  }
  /* グリッド */
  .c-grid .c-grid__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img1"
      "text1"
      "img2"
      "text2";
    gap: 0 20px;
  }
  .c-grid__text {
    padding-top: 24px;
  }
  .c-grid .c-grid__text--1 {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  /* グリッド */
  .c-grid .c-grid__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "img1  img2"
      "text1 text1"
      "text2 text2";
    align-items: start;
  }
}

/* --- ヒーローセクション --- */
#hero-section {
  position: relative;
  margin-top: 0;
}
#hero-section .l-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 0 40px 16px;
}
#hero-section .c-text--h1,
#hero-section h2 {
  position: absolute;
  left: 5%;
  z-index: 1;
}
#hero-section.-lazy-done .c-text--h1,
#hero-section.-lazy-done h2 {
  animation: slideIn02 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
#hero-section .c-text--h1 {
  display: inline-block;
  top: 25%;
  font-size: 48px;
  font-weight: bold;
  background: var(--reverse-color);
  padding: 0 20px;
}
#hero-section .c-text--h1 b {
  color: var(--primary-bg-color);
}
#hero-section h2 {
  top: 36%;
}
#hero-section h2 span {
  display: inline;
  font-size: 32px;
  font-weight: bold;
  line-height: 1.8;
  background: var(--reverse-color);
  padding: 0 15px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
#hero-section .c-figure {
  float: right;
  max-width: 1093px;
}
#hero-section .p-hero__comments {
  clear: both;
  max-width: 1000px;
  border-radius: 5px;
  background: var(--bg-color);
  padding: 24px;
  margin: 0 auto;
}
#hero-section .p-hero__comments-ttl {
  font-weight: bold;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  #hero-section .l-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 24px;
  }
  #hero-section .c-text--h1,
  #hero-section h2 {
    position: static;
    padding: 0 24px;
  }
  #hero-section .c-text--h1 {
    font-size: 20px;
    margin: 15px 0 8px;
  }
  #hero-section h2 {
    margin-bottom: 16px;
  }
  #hero-section h2 span {
    font-size: 18px;
    line-height: 1.5;
    padding: 0;
  }
  #hero-section .c-figure {
    float: none;
    max-width: 100%;
  }
  #hero-section .p-hero__comments {
    max-width: 100%;
    padding: 16px;
    margin: 24px 24px 0;
  }
}

/* --- 目次 --- */
#index-section .p-index {
  display: flex;
  flex-flow: column;
  min-width: 568px;
  width: fit-content;
  border: 1px solid var(--index-color);
  margin: 0 auto;
}
#index-section .p-index__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  height: 48px;
  color: var(--reverse-color);
  font-size: 24px;
  background: var(--index-color);
  padding-top: 3px;
}
#index-section .p-index__ttl span {
  background: url("https://img.goo-net.com/goopit/assets/img/static/com/published/icon_index.png") no-repeat 0 1px;
  background-size: 32px;
  padding-left: 40px;
}
#index-section .p-index__contents {
  background: var(--reverse-color);
  padding: 34px;
}
#index-section .p-index__list {
  display: flex;
  flex-flow: column;
  gap: 16px;
}
#index-section .p-index__list a {
  color: var(--body-text-color);
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
}

@media (max-width: 768px) {
  #index-section .p-index {
    min-width: calc(100% - 48px);
    margin: 0 24px 12px;
  }
  #index-section .p-index__ttl {
    height: 40px;
    font-size: 18px;
    padding-top: 3px;
  }
  #index-section .p-index__ttl span {
    background: url("https://img.goo-net.com/goopit/assets/img/static/com/published/icon_index.png") no-repeat 0 1px;
    background-size: 24px;
    padding-left: 32px;
  }
  #index-section .p-index__contents {
    background: var(--reverse-color);
    padding: 24px;
  }
  #index-section .p-index__list {
    gap: 8px;
  }
  #index-section .p-index__list a {
    font-size: 16px;
  }
}

/* --- アニメーション --- */
/* ボタンホバーで光る */
@keyframes kiran {
  0% {
    transform: scale(2) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: scale(20) rotate(45deg);
    opacity: 0.6;
  }
  40% {
    transform: scale(30) rotate(45deg);
    opacity: 0.4;
  }
  80% {
    transform: scale(45) rotate(45deg);
    opacity: 0.2;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}

/* スライドイン */
@keyframes slideIn {
  0% {
    transform: translateY(180px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
  }
  40%,100% {
    opacity: 1;
  }
}
@keyframes slideIn02 {
  0% {
    transform: translateX(-180px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
  }
  40%, 100% {
    opacity: 1;
  }
}