@charset "utf-8";

/* ======================
component
========================= */

/* button */
.d-btn {
  position: absolute;
  top: 50%;
  right: 25%;
  transform: translateY(-50%);
}
.d-btn::before, .d-btn::after {
  content: "";
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}
.d-btn::before {
  width: 12px;
  height: 1px;
}
.d-btn::after {
  width: 1px;
  height: 12px;
}

#pageTop {
  height: 90px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
#pageTop div {
  position: absolute;
  z-index: 3;
  bottom: 0;
  display: inline-block;
}
#pageTop p {
  display: inline-block;
  font-size: 13px;
  text-align: center;
  line-height: 1.2;
  transition-duration: 0.5s;
  cursor: pointer;
}
#pageTop p::after {
  content: "";
  display: block;
  width: 14px;
  height: 47px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  transform: skewY(135deg) translateX(-50%);
  margin: 6px auto 0 auto;
  transition: 0.3s;
}
#pageTop p:hover::after {
  height: 57px;
}

#header .button_group,
#footer .button_group {
  display: flex;
  gap: 12px;
}
#header .button_group .button,
#footer .button_group .button {
  width: 182px;
  color: #1759A9;
  background-color: #fff;
  font-size: 18px;
  text-align: center;
  border: 1px solid #1759A9;
  border-radius: 8px;
  padding-block: 16px;
  transition: 0.25s;
}
#header .button_group .button:hover,
#footer .button_group .button:hover {
  color: #fff;
  background-color: #1759A9;
}

.icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* page-header */
.page-header {
  font-family: "Noto Sans CJK JP Black";
  font-weight: bold;
  background-color: #F2F5FA;
}
.page-header .container {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1684px;
  padding: 64px 20px;
  margin-left: auto;
}
@media screen and (max-width: 600px) {
  .page-header .container {
    gap: 28px;
  }
}
.page-header .jp {
  color: #1759A9;
  font-size: 47px;
}
@media screen and (max-width: 600px) {
  .page-header .jp {
    font-size: 37px;
  }
}
.page-header .sp {
  font-size: 19px;
}
@media screen and (max-width: 600px) {
  .page-header .sp {
    font-size: 16px;
  }
}

/* breadcrumb */
.breadcrumb {
  max-width: 1684px;
  padding: 16px 20px;
  margin-left: auto;
  margin-bottom: 56px;
}
.breadcrumb ul {
  display: flex;
  font-size: 14px;
}
.breadcrumb ul li {
  white-space: nowrap;
}
.breadcrumb ul li::after {
  content: ">";
  margin-inline: 10px;
}
.breadcrumb ul li:last-child {
  text-overflow: ellipsis;
  overflow: hidden;
}
.breadcrumb ul li:last-child::after {
  display: none;
}
.breadcrumb ul a:hover {
  text-decoration: underline;
}
.breadcrumb .space {
    display: inline-block;
    width: 1em;
}

/* category-tag */
.category-tag {
  width: 84px;
  font-size: 13px;
  color: #123365;
  background-color: #fff;
  text-align: center;
  border: 1px solid #123365;
  border-radius: 50px;
  padding: 4px 1px;
  letter-spacing: -0.05em;
}
.category-tag.update,
.category-tag.tips {
  font-size: 10px;
  padding: 8px 1px;
}

.category-tag2 {
  display: inline-block;
  max-width: 159px;
  font-size: 12px;
  color: #fff;
  background-color: #1759A9;
  text-align: center;
  border-radius: 50px;
  padding: 2px 1em;
  letter-spacing: -0.05em;
}
.category-tag2 .space {
    display: inline-block;
    width: 1.25em;
}

/* post-link */
.entry-footer .post-link {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.entry-footer .post-link > * {
    display: flex;
    align-items: center;
}
.entry-footer .post-link .nav-prev,
.entry-footer .post-link .nav-next {
    position: relative;
    display: flex;
    align-items: center;
}
.entry-footer .post-link .nav-prev {
    transform: translateX(-160px);
}
.entry-footer .post-link .nav-next {
    transform: translateX(160px);
}
.entry-footer .post-link .nav-prev > *,
.entry-footer .post-link .nav-next > * {
    display: inline-block;
    position: relative;
    width: 15px;
    height: 15px;
}
.entry-footer .post-link .nav-prev > *::before,
.entry-footer .post-link .nav-next > *::before {
    content: "";
    display: inline-block;
    position: absolute;
    inset: 0;
    margin: auto;
    inline-size: 10px;
    block-size: 10px;
    border-top: 1px solid #175AA9;
    border-left: 1px solid #175AA9;
}
.entry-footer .post-link .nav-prev > *::before {
    transform: rotate(-45deg) scaleX(1);
}
.entry-footer .post-link .nav-next > *::before {
    transform: rotate(45deg) scaleX(-1);
}
.entry-footer .post-link > * a:hover {
    opacity: 0.5;
}
.entry-footer .post-link > * span {
    opacity: 0.5;
}

@media screen and (max-width: 768px) {
    .entry-footer .post-link .nav-prev {
        transform: translateX(-120px);
    }
    .entry-footer .post-link .nav-next {
        transform: translateX(120px);
    }
}

/* tab-list */
#TabInfo {
  padding-inline: 10px;
}
#TabInfo .tab-menu {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
}
#TabInfo .tab-menu li {
  max-width: 175px;
  width: 100%;
  flex: 1.7142857143;
}
#TabInfo .tab-menu li a {
  display: block;
  text-align: center;
  font-size: 18px;
  color: #123365;
  background-color: #E7EAEF;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  letter-spacing: -0.05em;
  transition: 0.25s;
}
@media screen and (max-width: 600px) {
  #TabInfo .tab-menu li {
    max-width: 100%;
    width: auto;
    flex: inherit;
  }
  #TabInfo .tab-menu li a {
    font-size: 12px;
    padding: 0.25rem 0.5rem;
  }
  #TabInfo .tab-menu li:first-child {
    max-width: 100%;
    width: auto;
    flex: inherit;
  }
}
#TabInfo .tab-menu li a.active, #TabInfo .tab-menu li a:hover {
  color: #fff;
  background-color: #1759A9;
}
#TabInfo .tab-menu li:first-child {
  max-width: 125px;
  flex: 1;
}
#TabInfo .tab-menu .tab-title.selected a {
  color: #fff;
  background-color: #1759A9;
}

#TabInfo .tab-content .info-list .infoItem {
  padding-block: 4px;
  border-bottom: 1px solid #DDD;
}
#TabInfo .tab-content .info-list .infoItem:first-child {
  border-top: 1px solid #DDD;
} 

#newInfo .tab-menu .infoItem::after,
#newInfo .info-list .infoItem::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: calc(50% - 50vw);  /* ビューポート右端まで */
  height: 1px;
  background: #ddd;
  pointer-events: none;
}

#TabInfo .tab-content .info-list .infoLink {
  display: flex;
  align-items: center;
  gap: 8px 16px;
  padding: 20px;
  margin-inline: -10px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}
#TabInfo .tab-content .info-list .infoLink::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: #1759A9;
  border-radius: 100%;
  transform: translate(-50%, -50%);
  visibility: hidden;
}
#TabInfo .tab-content .info-list .infoLink:hover {
  background-color: #F2F5FA;
}
#TabInfo .tab-content .info-list .infoLink:hover::before {
  visibility: visible;
}
#TabInfo .tab-content .info-list .infoLink .time, #TabInfo .tab-content .info-list .infoLink .title {
  color: #444;
}
#TabInfo .tab-content .info-list .infoLink .time {
  font-weight: lighter;
}

@media screen and (max-width: 768px) {
  #TabInfo .tab-content .info-list .infoLink {
    flex-wrap: wrap;
  }
  #TabInfo .tab-content .info-list .infoLink .article-title {
    width: 100%;
  }
  #TabInfo .tab-menu li {
    max-width: 100%;
    flex: 1.4;
  }
  #TabInfo .tab-menu li:first-child {
    max-width: 100%;
    flex: 1;
  }
}
@media screen and (max-width: 600px) {
  #TabInfo .tab-content .info-list .infoLink .time, #TabInfo .tab-content .info-list .infoLink .title {
    font-size: 14px;
  }
  #TabInfo .tab-content .info-list .infoLink {
    padding: 10px;
  }
}

/* tab-list (archive) */
#TabInfo.typeArchive .tab-menu {
  justify-content: center;
}

/* tab-list(front-page) */
#TabInfo.typeFront {
  margin-bottom: 48px;
}
#TabInfo.typeFront .tab-content {
  display: none;
}
#TabInfo.typeFront .tab-content.show {
  display: block;
}

@media screen and (max-width: 768px) {
  #TabInfo.typeFront {
    padding-right: 0;
  }
  #TabInfo.typeFront .tab-menu {
    width: 100%;
    justify-content: center;
  }
  #TabInfo.typeFront .info-list {
    margin: 0;
    position: relative;  
  }
  #TabInfo.typeFront .info-list::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: 1px;
    background: #ddd;
    pointer-events: none;
  }
  #TabInfo.typeFront .info-list .infoItem {
    position: relative;
    z-index: 0;
    border: none;
  }
  #TabInfo.typeFront .info-list .infoItem::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 100vw;                 /* 画面幅ちょうど */
    transform: translateX(-50%);
    height: 1px;
    background: #ddd;
    pointer-events: none;
  }
}

#main {
  margin-bottom: 126px;
}

/* ======================
layout
========================= */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.overflow {
  margin-inline: calc(50% - 50vw);
}
.overflow-right {
  margin-right: calc(50% - 50vw);
}
.overflow-left {
  margin-left: calc(50% - 50vw);
}

/* header */
#header {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 20px 16px;
  position: relative;
  z-index: 1000;
}
#header .logo {
  max-width: 206px;
}
#header .logo img {
  width: 100%;
}
#header .linksBlock {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3.75vw;
}
#header .linksBlock #navMenu ul {
  display: flex;
  gap: 2.5vw;
}
#header .linksBlock #navMenu ul li {
  font-size: 17px;
  position: relative;
}
#header .linksBlock #navMenu ul li::before {
  content: "";
  width: 10px;
  height: 10px;
  display: inline-block;
  background-color: #1759A9;
  border-radius: 100%;
  position: absolute;
  left: 50%;
  bottom: calc(0% - 12px);
  transform: translateX(-50%);
  visibility: hidden;
}
#header .linksBlock #navMenu ul li:hover::before {
  visibility: visible;
}
@media screen and (max-width: 1024px) {
  #header {
    position: fixed;
    top: 0;
    left: 0;
    padding: 20px 16px;
  }
  #header .linksBlock {
    gap: 36px;
  }
}
@media screen and (max-width: 600px) {
  #header .logo {
    max-width: 166px;
  }
}

@media screen and (max-width: 1024px) {
  #header .button_group .button {
    width: 98px;
    line-height: 1.4;
    border-radius: 16px;
  }
}
@media screen and (max-width: 600px) {
  #header .button_group {
    gap: 6px;
  }
  #header .button_group .button {
    width: 78px;
    font-size: 14px;
    padding-block: 10px;
  }
}

#header #hamMenu #hamToggle {
  width: 40px;
  height: 16px;
  display: inline-block;
  position: relative;
  z-index: 1002;
}
#header #hamMenu #hamToggle span {
  display: inline-block;
  width: 100%;
  height: 1px;
  background-color: #175AA9;
  position: absolute;
  left: 0;
  transition: 0.4s ease;
}
#header #hamMenu #hamToggle span:nth-child(1) {
  top: 0;
}
#header #hamMenu #hamToggle span:nth-child(2) {
  top: 100%;
}
#header #hamMenu #hamToggle.active span {
  background-color: #000;
  height: 2px;
}
#header #hamMenu #hamToggle.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
#header #hamMenu #hamToggle.active span:nth-child(2) {
  top: 50%;
  transform: rotate(-45deg);
}
#header #hamMenu #hamBack {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  background-color: #EEEEEE;
  padding-top: 124.38px;
  visibility: hidden;
  opacity: 0;
  transition: .4s;
}
#header #hamMenu #hamBack .wrapper{
  display: flex; 
  align-items: center;
}
#header #hamMenu #hamBack .wrapper > * {
  width: calc(100% / 2);
}
#header #hamMenu #hamBack .logoArea {
  text-align: center;
}
#header #hamMenu #hamBack .logoArea .logo {
  max-width: 415px;
  margin: 0 auto;
}
#header #hamMenu #hamBack .linkArea .block01 {
    padding-bottom: 128px;
}
#header #hamMenu #hamBack .linkArea .block01 {
  max-width: 526px;
  margin: 0 auto;
}
#header #hamMenu #hamBack .linkArea .block01 li:not(.privacy) {
  margin-block: 16px;
}
#header #hamMenu #hamBack .linkArea .block01 li:not(.privacy) a {
  display: block;
  font-size: 18px;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  list-style-type: disc;
  transition: .25s;
}
#header #hamMenu #hamBack .linkArea .block01 li:not(.privacy) a::before {
  content: "";
  display: inline-block;
  background-color: #175AA9;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  margin-right: 16px;
}
#header #hamMenu #hamBack .linkArea .block01 li:not(.privacy) a:hover {
  background-color: #175AA9;
  color: #fff;
}
#header #hamMenu #hamBack .linkArea .block01 li:not(.privacy) a:hover::before {
  background-color: #fff;
}
#header #hamMenu #hamBack .linkArea .block01 .privacy {
  margin-top: 36px;
}

#header #hamMenu #hamBack .privacy {
  font-size: 17px;
  text-indent: 2em;
}
#header #hamMenu #hamBack .privacy::before {
  content: "・";
}
#header #hamMenu #hamBack .privacy a:hover {
    text-decoration: underline;
}

#header #hamMenu #hamBack .linkArea .block02 {
  padding-block: 24px;
  border-top: 1px dotted #333333;
  border-bottom: 1px dotted #333333;
}
#header #hamMenu #hamBack .linkArea .block02 ul {
  max-width: calc(512px + (16px * 2));
  display: flex;
  gap: 16px;
  margin: 0 auto;
}
#header #hamMenu #hamBack .linkArea .block02 li {
  width: calc(100% / 3);
  aspect-ratio: 8 / 7;
}
#header #hamMenu #hamBack .linkArea .block02 li a {
  height: 100%;
  display: block;
  font-size: 18px;
  color: #175AA9;
  background-color: #fff;
  border: 1px solid #175AA9;
  text-align: center;
  padding-block: 16px;
  border-radius: 12px;
  letter-spacing: -0.05em;
  transition: .25s;
}
#header #hamMenu #hamBack .linkArea .block02 li a img {
  width: 38px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(1906%) hue-rotate(205deg) brightness(90%) contrast(85%);
  margin-bottom: 16px;
}
#header #hamMenu #hamBack .linkArea .block02 li a:hover {
  color: #fff;
  background-color: #175A99;
}
#header #hamMenu #hamBack .linkArea .block02 li a:hover img {
  filter: brightness(0) saturate(100%) invert(98%) sepia(39%) saturate(2%) hue-rotate(133deg) brightness(110%) contrast(100%);
}

#header #hamMenu #hamBack .block03 {
  width: 50%;
  padding-block: 32px;
  margin-left: auto;
}
#header #hamMenu #hamBack.active {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  #header #hamMenu #hamBack .wrapper {
    flex-direction: column;
    gap: 40px;
    padding-inline: 40px;
  }
  #header #hamMenu #hamBack .wrapper > * {
    width: 100%; 
  }
  #header #hamMenu #hamBack .linkArea .block01 {
    margin: 0 auto;  
  }
  #header #hamMenu #hamBack .linkArea .block02 {
    border-top: none;
    border-bottom: none;
    padding-block: 0;
  }
  #header #hamMenu #hamBack .linkArea .block02 ul {
    margin: 0 auto;
  }
}
@media screen and (max-width: 600px) {
  #header #hamMenu #hamToggle {
    width: 30px;
    height: 12px;
  }
  #header .linksBlock {
    gap: 18px;  
  }
  #header #hamMenu #hamBack .wrapper {
    padding-inline: 20px;    
  }
  #header #hamMenu #hamBack .linkArea .block02 li a img {
    width: 28px;  
  }
  #header #hamMenu #hamBack .linkArea .block02 li a {
    font-size: 14px;  
  }
}

/* footer */
#footer {
  background-color: #EEEEEE;
}
#footer .container {
  max-width: 1700px;
  padding: 64px 0 0 20px;
  margin-left: auto;
}
#footer .menus {
  display: flex;
  gap: 10%;
  margin-bottom: 120px;
}
#footer .menus .block01 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
#footer .menus .block01 .logo img { width: 100%; }
#footer .menus .block01 .logo1 { max-width: 206px; }
#footer .menus .block01 .logo2 { max-width: 168px; }
#footer .menus .block02 ul {
  list-style-type: disc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 48px;
}
#footer .menus .block02 ul li {
  font-size: 15px;
  position: relative; 
}
#footer .menus .block02 ul .official a::after {
  content: "";
  display: inline-block;
  width: 19px;
  height: 15px;
  background-image: url("../image/share/link.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  margin-left: 10px;
}
#footer .menus .block02 ul li a { position: relative; }
#footer .menus .block02 ul li a::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #000;
  transform-origin: top left;
  transform: scale(0, 1);
  transition: 0.25s;
}
#footer .menus .block02 ul li a:hover::before { transform: scale(1, 1); }
#footer .menus .block02 ul .space { list-style-type: none; }
#footer .menus .block03 .button_group {
  margin-bottom: 24px;
}
#footer .block04 {
  display: none;
  justify-content: center;
  margin-bottom: 30px;
}
#footer .block04 .logo { 
  width: 178px; 
}

/*
#footer .menus .block03 .tel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  text-align: center;
  font-size: 45px;
  font-weight: bold;
  color: #1759A9;
}
#footer .menus .block03 .tel img {
  filter: brightness(0) saturate(100%) invert(20%) sepia(100%) saturate(1906%) hue-rotate(205deg) brightness(90%) contrast(85%);
  max-width: 36px;
  width: 100%;
}
*/

#footer .copyright {
  padding-block: 16px;
  border-top: 1px dotted #000;
  font-size: 10px;
  font-weight: 300;
  color: #444444;
}

@media screen and (max-width: 1024px) {
  #footer .container {
    max-width: 100%;
    padding: 64px calc(20px + 16px) 0;
    margin: 0;
  }
  #footer .menus {
    flex-direction: column;
    margin: 0;
  }
  #footer .menus .block01 {
    justify-content: center;
    margin-bottom: 20px;
  }
  #footer .menus .block02 {
    margin-bottom: 56px;
  }
  #footer .menus .block02 ul {
    padding-left: 1.5em;
  }
  #footer .menus .block02 ul li {
     font-size: 18px;   
  }
  #footer .menus .block03 {
    margin-bottom: 40px;
  }
  #footer .menus .block03 .button_group {
    justify-content: center;
    margin: 0;
  }
  #footer .block04 { 
    display: flex; 
  }
}

@media screen and (max-width: 600px) {
  #footer .menus .block02 ul li {
    font-size: 13px;
  }
  /*
    #footer .menus .block03 .tel {
    font-size: 35px; 
  }
 */
}
@media screen and (max-width: 480px) {
    #footer .container {
      padding: 64px 20px 0;
    }
    #footer .menus .block03 .button_group a {
        width: 142px;
        font-size: 16px;
    }
}

/* page */
.PageLayout .wrapper {
  max-width: 1320px;
  padding-inline: 20px;
  margin: 0 auto;
}

/* Slider */
.swiper-wrapper.auto { transition-timing-function: linear; }
.swiper.overflow { overflow: visible; }
.contents:has(.overflow) { overflow: hidden; margin-inline: calc(50% - 50vw); }
.contents:has(.overflow-right) { overflow: hidden; margin-right: calc(50% - 50vw); }
.contents:has(.overflow-left) { overflow: hidden;margin-left: calc(50% - 50vw); }
