@charset "utf-8";

/* ―――――――――――――――――――― common ―――――――――――――――――――― */

body {
  background: #fff;
  color: #333333;
  font-family: Roboto, '游ゴシック', 'Yu Gothic', '游ゴシック体', 'YuGothic', 'ヒラギノ角ゴ Pro W3',
    'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1;
}

a {
  color: #474747;
  transition: color 0.3s;
}

.w100 {
  width: 100%;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.text-right {
  text-align: right;
}

@keyframes flash {
  0% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

@media screen and (min-width: 769px) {
  a:hover {
    color: #cf0724;
  }
}

img {
  max-width: 100%;
}

th,
td {
  font-weight: 400;
  text-align: left;
  vertical-align: top;
}

.sp {
  display: none;
}

#wrapper {
  min-width: 320px;
  padding: 0;
}

/* ―――――――――――――――――――― header ―――――――――――――――――――― */

header {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
  width: 100%;
}

#g-header {
  background-size: contain;
  height: 70px;
  margin: 0 auto;
  max-width: 1160px;
  width: 90%;
}

#g-header h1 {
  float: left;
}

#g-header h1 img {
  height: 45px;
  padding: 0;
  margin: 10px 0 0;
}

#g-navi {
  float: right;
  padding: 25px 0 0 0;
  line-height: 1.5;
}

#g-navi ul {
  overflow: hidden;
}

#g-navi li {
  float: left;
}

#g-navi li:nth-child(n + 2) {
  padding: 0 0 0 25px;
}

#g-navi a {
  color: #474747;
  font-weight: 700;
  text-decoration: none;
}

@media screen and (min-width: 769px) {
  #g-navi a:hover {
    color: #cf0724;
  }
}

/* ―――――――――――――――――――― content header ―――――――――――――――――――― */

#c-header {
  background: none center center no-repeat;
  background-size: cover !important;
  color: #fff;
  padding: 70px 0;
}

#c-header h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  margin: 0 auto;
  max-width: 1160px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  width: 90%;
}

/* ―――――――――――――――――――― path ―――――――――――――――――――― */

.path {
  width: 1160px;
  max-width: calc(100dvw - 100px);
  margin: 0 auto;
  margin-top: 12px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 150%;
  color: #222;
  font-weight: 400
}

@media screen and (max-width: 1366px) {
  .path {
      max-width:calc(100dvw - 3.6603221083dvw*2)
  }
}

@media screen and (max-width: 1023px) {
  .path {
      max-width:calc(100dvw - 6.6666666667dvw*2)
  }
}

@media screen and (max-width: 1023px) {
  .path {
      display:none
  }
}

.path a {
  font-size: 12px;
  line-height: 150%;
  color: #285ae1;
  font-weight: 500;
  text-decoration: none;
  transition: opacity .3s ease-in-out
}

@media(prefers-reduced-motion: reduce) {
  .path a {
      transition: none
  }
}

.path a:hover,.path a:focus {
  opacity: .6
}

.path a::after {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  vertical-align: bottom;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20role%3D%22img%22%20style%3D%22--icon-primary-color%3A%23222222%22%20aria-hidden%3D%22true%22%20data-testid%3D%22breadcrumb-arrow-icon-1%22%3E%3Cpath%20fill%3D%22var(--icon-primary-color%2C%20%230058A2)%22%20d%3D%22M9%205.024c.256%200%20.512.096.708.292l6%206c.392.392.392%201.024%200%201.416l-6%206a1.004%201.004%200%200%201-1.416%200%201.004%201.004%200%200%201%200-1.416l5.292-5.292L8.292%206.732a1.004%201.004%200%200%201%200-1.416c.196-.196.452-.292.708-.292Z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: ""
}

/* ―――――――――――――――――――― content ―――――――――――――――――――― */

#main {
  margin: 0 auto;
  max-width: 1160px;
  overflow: hidden;
  position: relative;
  width: 90%;
}

/* ―――――――――――――――――――― content 2column―――――――――――――――――――― */

#left {
  left: 0;
  position: absolute;
  top: 0;
  width: 21%;
}

#left ul {
  list-style: none;
}

#left li {
  background: #fff;
  border-bottom: 1px solid #d7d7d7;
  line-height: 1.2;
}

#left a {
  border-left: 2px solid #cf0725;
  color: #4f4f4f;
  display: block;
  padding: 25px 15px;
  position: relative;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

#left a::after {
  border: 2px solid #a7a7a7;
  border-width: 2px 2px 0 0;
  content: '';
  display: block;
  height: 4px;
  margin: -2px 0 0;
  right: 5%;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  transition: border-color 0.3s;
  width: 4px;
}

#left .active a {
  background: #cf0725;
  color: #fff;
  font-weight: 700;
}

#left .active a::after {
  border-color: #fff;
}

@media screen and (min-width: 769px) {
  #left a:hover {
    background: #cf0725;
    color: #fff;
  }

  #left a:hover::after {
    border-color: #fff;
  }
}

#left .child {
  border: 0;
}

#left .child li {
  border-bottom: 1px solid #d7d7d7;
}

#left .child a {
  border-left: 0;
  color: #838383;
  font-size: 14px;
  padding: 20px 10px 20px 30px;
}

#left .child a::before {
  border: 1px solid #a7a7a7;
  border-width: 1px 1px 0 0;
  content: '';
  display: block;
  height: 4px;
  left: 15px;
  margin: -2px 0 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg) translateY(-2px);
  width: 4px;
}

#left .child a::after {
  display: none;
}

#left .child .active a {
  background: #e3e3e3;
  color: #474747;
}

@media screen and (min-width: 769px) {
  #left .child a:hover {
    background: #e3e3e3;
    color: #474747;
  }

  #left .child a:hover::after {
    border-color: #a7a7a7;
  }
}

#right {
  float: right;
  width: 76.2%;
}

#right #c-title {
  background: #fff;
  overflow: hidden;
}

#right #c-title h1 {
  border: 2px solid #cf0725;
  color: #fff;
  font-size: 26px;
  line-height: 1.5;
  padding: 35px 0 35px 40px;
  position: relative;
  z-index: 1;
}

#right #c-title h1::before {
  background: #cf0725;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  left: -10%;
  top: 0;
  transform: skewX(-33.5deg);
  width: 80%;
  z-index: -1;
}

#right #c-body {
  background: #fff;
  margin: 20px 0 0;
  overflow: hidden;
}

#right #c-body h2 {
  border-bottom: 2px solid #eaeaea;
  border-top: 4px solid #cf0725;
  color: #000;
  font-size: 24px;
  line-height: 1.5;
  padding: 40px 5%;
  position: relative;
}

/* ―――――――――――――――――――― footer sitemap ―――――――――――――――――――― */

#sitemap {
  margin: 0 auto;
  max-width: 1160px;
  width: 90%;
}

#sitemap .row {
  margin-bottom: 50px;
  overflow: hidden;
}

#sitemap .cell {
  border-top: 3px solid #0a3e86;
  float: left;
  width: 18%;
}

#sitemap .row > div:nth-child(n + 2) {
  margin-left: 2.5%;
}

#sitemap h2 {
  font-size: 15px;
  font-weight: 700;
  padding: 20px 0;
}

#sitemap ul {
  list-style: none;
}

#sitemap li {
  font-size: 14px;
  line-height: 1.5;
  padding: 0 0 0 15px;
  position: relative;
}

#sitemap li::before {
  border: 1px solid #838383;
  border-width: 1px 1px 0 0;
  content: '';
  display: block;
  height: 6px;
  left: 0;
  position: absolute;
  top: 7px;
  transform: rotate(45deg);
  width: 6px;
}

#sitemap li:nth-child(n + 2) {
  margin: 5px 0 0;
}

#sitemap a {
  color: #838383;
}

#sitemap a[target='_blank'] {
  background: url(../img/popup.png) right center no-repeat;
  background-size: 9px auto;
  padding: 0 15px 0 0;
}

/* ―――――――――――――――――――― footer pagetop ―――――――――――――――――――― */

#pagetop {
  margin: 0 auto;
  max-width: 1160px;
  padding: 220px 0 40px;
  position: relative;
  text-align: center;
  width: 90%;
}

#pagetop-btn a {
  color: #838383;
  display: block;
  font-size: 13px;
  margin: 0 auto;
  text-decoration: none;
  width: 100px;
}

@media screen and (min-width: 769px) {
  #pagetop-btn a:hover {
    color: #cf0724;
  }
}

#pagetop-btn a::before {
  box-sizing: border-box;
  border: 4px solid #838383;
  border-width: 4px 4px 0 0;
  content: '';
  display: block;
  height: 30px;
  margin: 0 auto;
  transform: rotate(-45deg);
  transition: 0.3s;
  width: 30px;
}

@media screen and (min-width: 769px) {
  #pagetop-btn a:hover::before {
    border-color: #cf0724;
  }
}

#login-btn {
  margin: -130px 0 0;
  position: absolute;
  right: 0;
  top: 50%;
  text-align: right;
}

@media screen and (min-width: 769px) {
  #login-btn a:hover {
    opacity: 1;
    animation: flash 0.5s;
    text-align: right;
  }
}

/* ―――――――――――――――――――― footer g-footer ―――――――――――――――――――― */

#g-footer {
  background: #ededed;
  padding: 35px 0 28px;
  text-align: center;
}

#g-footer nav {
  display: block;
  margin: 0 auto;
  max-width: 1160px;
  text-align: center;
  width: 90%;
}

#g-footer ul {
  display: inline-block;
  font-size: 0;
  overflow: hidden;
}

#g-footer li {
  display: inline-block;
  font-size: 14px;
  line-height: 1.2;
  margin: 6px 0;
}

#g-footer li:nth-child(n + 2) {
  border-left: 1px solid #474747;
  margin-left: 10px;
  padding-left: 10px;
}

#g-footer a[target='_blank'] {
  background: url(../img/popup-b.png) right center no-repeat;
  background-size: 9px auto;
  padding: 0 15px 0 0;
}

#copyright {
  color: #838383;
  font-size: 12px;
  margin: 23px 0 0;
}

.center-image,
.center-image > figure {
  display: flex;
  align-items: center;
  margin: auto;
}

/* ―――――――――――――――――――― mobile layout ―――――――――――――――――――― */

@media screen and (max-width: 768px) {
  /* ―――――――――――――――――――― common ―――――――――――――――――――― */

  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  .pc {
    display: none;
  }

  .sp {
    display: initial;
  }

  #wrapper {
    padding: 0;
  }

  /* ―――――――――――――――――――― header ―――――――――――――――――――― */
  header {
    padding: 0;
  }
  #g-header {
    background-position: right 67px center;
    background-size: 27px auto;
    height: 48px;
    position: relative;
    width: 100%;
  }

  #g-header h1 {
    margin: 0 0 0 5%;
  }

  #g-header h1 img {
    height: 30px;
    padding: 0;
    margin: 8px 0 0;
  }

  #g-navi {
    display: none;
    float: none;
    padding: 0;
    position: absolute;
    right: 0;
    top: 48px;
    width: 100%;
    z-index: 1;
  }

  #g-navi ul {
    background: #fff;
    border-top: 2px solid #ddd;
    height: 100vh;
    line-height: 1.5;
  }

  #g-navi li {
    border-bottom: 2px solid #ddd;
    display: block;
    float: none;
    font-size: 16px;
    margin: 0 auto;
    padding: 0;
    width: 90%;
  }

  #g-navi li:nth-child(n + 2) {
    padding: 0;
  }

  #g-navi a {
    display: block;
    padding: 27px 0;
    position: relative;
  }

  #g-navi a::before {
    background: #cf0724;
    border-radius: 9px;
    content: '';
    display: block;
    height: 18px;
    margin: -9px 0 0;
    position: absolute;
    right: 0;
    top: 50%;
    width: 18px;
  }

  #g-navi a::after {
    border: 1px solid #fff;
    border-width: 1px 1px 0 0;
    content: '';
    display: block;
    height: 4px;
    margin: -2px -2px 0 0;
    position: absolute;
    right: 9px;
    top: 50%;
    transform: rotate(45deg) scale(0.9);
    width: 4px;
  }

  #g-navi-btn {
    background: #ececec;
    cursor: pointer;
    height: 48px;
    position: absolute;
    right: 0;
    top: 0;
    width: 48px;
  }

  #g-navi-btn span {
    background: #474747;
    display: block;
    font-size: 0;
    height: 2px;
    left: 50%;
    margin: -1px 0 0 -12px;
    position: absolute;
    top: 50%;
    transition: margin 0.3s ease 0.3s, opacity 0.3s ease 0.3s, transform 0.3s ease;
    width: 24px;
  }

  #g-navi-btn span:nth-child(2) {
    margin: -7px 0 0 -12px;
  }

  #g-navi-btn span:nth-child(3) {
    margin: 5px 0 0 -12px;
  }

  #g-navi-btn.x span {
    transition: margin 0.3s ease, opacity 0.3s ease, transform 0.3s ease 0.3s;
  }

  #g-navi-btn.x span:first-child {
    opacity: 0;
  }

  #g-navi-btn.x span:nth-child(2) {
    margin: -1px 0 0 -12px;
    opacity: 1;
    transform: rotate(30deg);
  }

  #g-navi-btn.x span:nth-child(3) {
    margin: -1px 0 0 -12px;
    opacity: 1;
    transform: rotate(-30deg);
  }

  /* ―――――――――――――――――――― content header ―――――――――――――――――――― */

  #c-header {
    padding: 40px 0;
  }

  #c-header h2 {
    font-size: 20px;
  }

  /* ―――――――――――――――――――― path ―――――――――――――――――――― */

  .path {
    font-size: 12px;
    padding: 12px 0;
  }

  .path a::after {
    height: 5px;
    width: 5px;
  }


  /* ―――――――――――――――――――― content ―――――――――――――――――――― */

  #main {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  /* ―――――――――――――――――――― content 2column―――――――――――――――――――― */

  #left {
    width: 100%;
    position: inherit;
    order: 2;
    margin-bottom: 20px;
  }

  #left ul {
    background: #fff;
    border-top: 2px solid #d7d7d7;
    overflow: hidden;
  }

  #left li {
    background: #fff;
    border-bottom: 2px solid #d7d7d7;
    box-sizing: border-box;
    float: left;
    font-size: 14px;
    line-height: 15px;
    width: 50%;
  }

  #left li:nth-child(2n + 1) {
    border-right: 2px solid #d7d7d7;
  }

  #left a {
    border-left: 0;
    padding: 20px 15px 20px 10%;
  }

  #left .child li {
    border-bottom: 1px dotted #d7d7d7;
  }

  #left .child li:nth-child(2n + 1) {
    border-right: 1px dotted #d7d7d7;
  }

  #left .child li a {
    padding-left: 15%;
  }

  #left .child a::before {
    left: 8%;
  }

  #left .child + ul {
    margin-top: -1px;
    position: relative;
  }

  #right {
    width: 100%;
    position: inherit;
    order: 1;
  }

  #right #c-title {
    margin: 20px auto 0;
  }

  #right #c-title h1 {
    font-size: 18px;
    padding: 25px 0 25px 5%;
  }

  #right #c-title h1::before {
    width: 90%;
  }

  #right #c-body h2 {
    font-size: 17px;
    padding: 40px 5%;
  }

  /* ―――――――――――――――――――― footer sitemap ―――――――――――――――――――― */

  #sitemap {
    width: 100%;
  }

  #sitemap .row {
    margin-bottom: 0;
  }

  #sitemap .cell {
    border-width: 2px 0 0 0;
    float: none;
    width: 100%;
  }

  #sitemap .row > div:nth-child(n + 2) {
    margin-left: 0;
  }

  #sitemap h2 {
    background: #fff;
    font-size: 16px;
    padding: 25px 5%;
    position: relative;
  }

  #sitemap h2 span {
    background: #f5f5f5;
    border: 1px solid #cfd2db;
    border-radius: 2px;
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 36px;
    margin: -18px 0 0;
    position: absolute;
    right: 5%;
    top: 50%;
    width: 36px;
  }

  #sitemap h2 span::before,
  #sitemap h2 span::after {
    background: #9d9d9d;
    content: '';
    display: block;
    font-size: 0;
    left: 50%;
    position: absolute;
    top: 50%;
  }

  #sitemap h2 span::before {
    height: 2px;
    margin: -1px 0 0 -7px;
    width: 14px;
  }

  #sitemap h2 span::after {
    height: 14px;
    margin: -7px 0 0 -1px;
    transition: opacity 0.3s;
    width: 2px;
  }

  #sitemap .open h2 span::after {
    opacity: 0;
  }

  #sitemap ul {
    background: #f5f5f5;
    display: none;
    padding: 20px 5%;
  }

  #sitemap li:nth-child(n + 2) {
    margin-top: 10px;
  }

  #sitemap a {
    color: #474747;
  }

  .center-image,
  .center-image > figure {
    display: flex;
    align-items: center;
    margin: auto;
  }

  /* ―――――――――――――――――――― footer pagetop ―――――――――――――――――――― */

  #pagetop {
    background: #f4f4f4;
    margin: 0;
    padding: 50px 0;
    width: 100%;
  }

  #pagetop-btn a {
    font-size: 11px;
  }

  #login-btn {
    display: none;
    margin: 30px 0 0;
    position: static;
    right: auto;
    top: auto;
  }

  #login-btn img {
    height: auto;
    max-width: 327.5px;
    width: 100%;
  }

  /* ―――――――――――――――――――― footer g-footer ―――――――――――――――――――― */

  #g-footer {
    padding: 30px 0 35px;
  }

  #g-footer li {
    font-size: 12px;
  }

  #copyright {
    font-size: 11px;
  }
}
