@charset "utf-8";
/* ===================================================================

 file name  :reset.css
 style info :リセットCSS v3

=================================================================== */
/* reset ---*/
* {
  outline: none;
  box-sizing: border-box;
}
*::before,
*::after {
  box-sizing: inherit;
}
html {
  /* overflow-y: scroll; */
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: unset;
  /* rem用基準を10px */
  font-size: 62.5%;
}
@media only screen and (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
figure {
  margin: 0;
  padding: 0;
}
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th {
  text-align: left;
}
q:before,
q:after {
  content: '';
}
object,
embed {
  vertical-align: top;
}
hr,
legend {
  display: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
img,
abbr,
acronym,
fieldset {
  border: 0;
}
img {
  vertical-align: bottom;
}
li {
  list-style-type: none;
}
sup {
  font-size: 62.5%;
  vertical-align: text-top;
}

/* ---------------------------------------------------------------------------
default
--------------------------------------------------------------------------- */
/* body */
body {
  position: relative;
  background: #fff;
  color: #000;
  font-family: YakuHanJP, 'Noto Sans JP', sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  line-height: 1.6;
}

/* link */
a {
  color: inherit;
  text-decoration: none;
}

.u-img-w100 {
  width: 100%;
}
.u-mb1 {
  margin-bottom: 1em;
}
.u-cl-e50012 {
  color: #e50012;
}
.u-fz136 {
  font-size: 136%;
  line-height: 1.1;
}
@media screen and (min-width: 768px) {
  .u-fz160--pc {
    font-size: 160%;
    line-height: 1;
  }
}
.u-disp-inline-block {
  display: inline-block;
}
.u-hover-uline--hide {
  background: linear-gradient(currentColor, currentColor) no-repeat right 100% / 0 1px;
  transition: background-size ease 0.4s;
}
@media (any-hover: hover) {
  .u-hover-uline--hide:hover {
    background-size: 100% 1px;
    background-position: left 100%;
  }
  .u-hover-opacity {
    transition: opacity ease 0.4s;
  }
  .u-hover-opacity:hover {
    opacity: 0.7;
  }
}

/* ---------------------------------------------------------------------------
	囲み要素
--------------------------------------------------------------------------- */
.l-inner {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1030px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 374px) {
  .l-inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ---------------------------------------------------------------------------
		#wrapper
			全体
--------------------------------------------------------------------------- */
.l-wrap {
  /* overflow: hidden; */
  min-width: 320px;
  font-size: 1.3rem;
}
.l-wrap img {
  max-width: 100%;
  height: auto;
}
@media screen and (min-width: 768px) {
  .l-wrap {
    font-size: 1.6rem;
  }
}

/*
.gnav
---------------------------*/
.gnav-wrap {
  margin-bottom: 20px;
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}
.gnav__parent {
  display: flex;
  flex-basis: auto;
  justify-content: center;
  padding: 0.5em;
  background: #00418f;
}
.gnav__parent + .gnav__parent {
  margin-top: 2px;
}
.gnav__item {
  position: relative;
  padding: 0.3em 0.5em;
}
.gnav__item::before {
  content: '';
  height: calc(100% - 0.6em);
  width: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  top: 0.3em;
}
.gnav__item:last-child::after {
  content: '';
  height: calc(100% - 0.6em);
  width: 1px;
  background: #fff;
  position: absolute;
  right: 0;
  top: 0.3em;
}
.gnav__item a {
  display: block;
  padding: 0.5em;
  color: #fff;
  border-radius: 0.3em;
  text-align: center;
  font-size: 92%;
  line-height: 1.3;
  font-weight: 900;
}
.gnav__item--ad-library a {
  display: flex;
  align-items: center;
  height: 100%;
  border: 1px solid #fff;
  font-size: 76%;
  line-height: 1;
}
.gnav__item--ad-library a::before {
  content: '';
  width: 1em;
  aspect-ratio: 1 / 1;
  margin-right: 0.3em;
  mask-image: url(../img/ico_book.svg);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  background-color: #fff;
  transition: background ease 0.4s;
}
@media screen and (min-width: 768px) {
  .gnav-wrap {
    margin-bottom: 40px;
    background: #00418f;
  }
  .gnav {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .gnav__parent {
    padding: 0;
  }
  .gnav__parent + .gnav__parent {
    margin-top: 0;
  }
  .gnav__item {
    padding: 0.8em 0.8em;
  }
  .gnav__item::before,
  .gnav__item:last-child::after {
    height: calc(100% - 1.6em);
    top: 0.8em;
  }
  .gnav__parent:first-of-type .gnav__item:last-child::after {
    content: none;
  }
  .gnav__item a {
    font-size: min(1.8vw, 113%);
  }
  .gnav__item--ad-library a {
    font-size: 92%;
  }
}
@media screen and (min-width: 768px) and (max-width: 820px) {
  .gnav__item {
    padding-left: 0.5em;
    padding-right: 0.5em;
  }
}
@media (any-hover: hover) {
  .gnav__item a {
    transition: background ease 0.4s, color ease 0.4s;
  }
  .gnav__item a:hover {
    background: #fff;
    color: #00418f;
  }
  .gnav__item--ad-library a:hover::before {
    background-color: #00418f;
  }
}
