/**
* YUI 3.5.0 - reset.css (http://developer.yahoo.com/yui/3/cssreset/)
* http://cssreset.com
* Copyright 2012 Yahoo! Inc. All rights reserved.
* http://yuilibrary.com/license/
*/
/*
TODO will need to remove settings on HTML since we can't namespace it.
TODO with the prefix, should I group by selector or property for weight savings?
*/
html {
  color: #4c4c4c;
  background: #fff;
  font-family: "M PLUS 1", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  font-size: 100%;
}

/*
TODO remove settings on BODY since we can't namespace it.
*/
/*
TODO test putting a class on HEAD.
- Fails on FF.
*/
main,
article,
section {
  display: block;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: 0;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.cf:after {
  clear: both;
  content: "";
  display: block;
}

/*
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
*/
address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
  font-style: normal;
  font-weight: normal;
}

ol,
ul {
  list-style: none;
}

caption,
th {
  text-align: left;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}

q:before,
q:after {
  content: "";
}

abbr,
acronym {
  border: 0;
  font-variant: normal;
}

/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}

sub {
  vertical-align: text-bottom;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

/*to enable resizing for IE*/
input,
textarea,
select {
  *font-size: 100%;
}

/*because legend doesn't inherit in IE */
legend {
  color: #000;
}

/* YUI CSS Detection Stamp */
#yui3-css-stamp.cssreset {
  display: none;
}

/* ------------------------------
 common - width: all
------------------------------ */
html,
body {
  min-width: 1080px;
}

.gothic01 {
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.en01 {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.ajtxt {
  text-align: justify;
  text-justify: inter-ideograph;
}

a:hover {
  opacity: 0.6;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

* {
  letter-spacing: 0.05em;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 1080px;
  padding: 0 40px;
  z-index: 100000000;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
header.scrolled {
  background-color: #fff;
}
header .wrapper {
  height: 160px;
  margin: 0 auto;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
header .wrapper .logo {
  width: 187px;
  display: block;
}
header .wrapper .logo h1 img {
  width: 100%;
  display: block;
}
header .wrapper .gnav {
  width: calc(100% - 187px);
}
header .wrapper .gnav ul {
  font-size: 0;
  letter-spacing: 0;
  text-align: right;
}
header .wrapper .gnav ul li {
  display: inline-block;
  border-right: 1px solid #a0a1a1;
  padding: 5px 0;
  position: relative;
}
header .wrapper .gnav ul li::before {
  content: "";
  display: none;
  width: 133px;
  height: 13px;
  background-image: url(../images/icon_active_menu.png);
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  position: absolute;
  right: -40px;
  bottom: -30px;
  left: -40px;
  margin: 0 auto;
}
header .wrapper .gnav ul li:last-child {
  border-right: none;
}
header .wrapper .gnav ul li a {
  display: block;
  text-decoration: none;
  font-size: 16px;
  line-height: 100%;
  font-weight: bold;
  color: #135480;
  padding: 0 35px;
  letter-spacing: 2px;
}
header .fixedmenu {
  width: 87px;
  position: absolute;
  top: 140px;
  right: 0;
}
header .fixedmenu li + li {
  margin-top: 20px;
}
header .fixedmenu li a {
  width: 100%;
  display: block;
}
header .fixedmenu li a img {
  width: 100%;
  display: block;
}
header .ham {
  display: none;
}
header .spmenu {
  display: none;
}

main {
  background-image: url(../images/bg_main.jpg);
  background-size: 100% 2000px;
  background-repeat: no-repeat;
  background-position: top 0 center;
  padding-bottom: 150px;
}
main section {
  position: relative;
}
main section .idpoint {
  width: 1px;
  height: 1px;
  content: "";
  display: block;
  position: absolute;
  top: -159px;
  left: 0;
}
main section.ttl_section .wrapper {
  padding-top: 250px;
}
main section.ttl_section .wrapper h2 {
  width: 280px;
  margin: 0 auto;
}
main section.ttl_section .wrapper h2 img {
  width: 100%;
  display: block;
  margin: 0 auto;
}
main section.ttl_section .wrapper .t01 {
  text-align: center;
  font-size: 43px;
  font-weight: 900;
  margin-top: 80px;
}
main section.ttl_section .wrapper .photo {
  max-width: 100%;
  display: block;
  margin: 98px auto 0;
}
footer {
  border-bottom: 30px solid #135480;
  padding-bottom: 25px;
}
footer .wrapper .infobox {
  background-color: #d7d8d8;
  position: relative;
}
footer .wrapper .infobox .box {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background-image: url(../images/bg_info.jpg);
  background-size: auto 100%;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.2;
}
footer .wrapper .infobox ul {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
footer .wrapper .infobox ul li {
  width: 50%;
  height: 414px;
  padding-top: 90px;
  border-right: 2px solid #fff;
}
footer .wrapper .infobox ul li + li {
  border: none;
  border-left: 2px solid #fff;
}
footer .wrapper .infobox ul li .icon {
  display: block;
  height: 61px;
  margin: 0 auto;
}
footer .wrapper .infobox ul li .tel {
  width: 411px;
  display: block;
  margin: 25px auto 0;
}
footer .wrapper .infobox ul li .tel img {
  width: 100%;
  display: block;
}
footer .wrapper .infobox ul li .office {
  width: 179px;
  display: block;
  margin: 25px auto 0;
}
footer .wrapper .infobox ul li .t01 {
  text-align: center;
  color: #135480;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 270%;
  margin-top: 30px;
}
footer .wrapper .infobox ul li .t02 {
  width: 340px;
  color: #135480;
  font-size: 14px;
  line-height: 270%;
  margin: 30px auto 0;
  padding-left: 30px;
  text-align: left;
}
footer .wrapper .infobox ul li .t02 span {
  font-weight: bold;
  letter-spacing: 3px;
  display: block;
}
footer .wrapper .gmap {
  width: 100% !important;
  height: 250px !important;
  display: block !important;
}
footer .wrapper .bottombox {
  width: 1000px;
  margin: 0 auto;
  padding-top: 40px;
}
footer .wrapper .bottombox .logo {
  width: 187px;
  display: block;
  margin: 0 auto;
}
footer .wrapper .bottombox .logo img {
  width: 100%;
  display: block;
}
footer .wrapper .bottombox .t03 {
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  color: #135480;
  margin-top: 20px;
}
footer .wrapper .bottombox .t03 a {
  color: #135480;
}
footer .wrapper .bottombox .menulist {
  width: 1000px;
  margin: 30px auto 0;
  border-top: 1px solid #135480;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 30px 20px 0;
}
footer .wrapper .bottombox .menulist .menu dl dt a {
  text-decoration: none;
  font-size: 12px;
  color: #135480;
  font-weight: bold;
}
footer .wrapper .bottombox .menulist .menu dl dd ul li {
  padding-left: 15px;
  position: relative;
}
footer .wrapper .bottombox .menulist .menu dl dd ul li::before {
  content: "";
  display: block;
  width: 5px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 15px;
  left: 0;
}
footer .wrapper .bottombox .menulist .menu dl dd ul li a {
  text-decoration: none;
  font-size: 12px;
  color: #000;
}
footer .wrapper .privacy {
  text-align: center;
  margin-top: 30px;
}
footer .wrapper .privacy a {
  text-decoration: none;
  color: #000;
  font-size: 9px;
}

/* ------------------------------
 common - width: < $width-1
------------------------------ */
@media screen and (max-width: 860px) {
  html,
  body {
    min-width: 375px;
  }
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  * {
    letter-spacing: 1px;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 375px;
    padding: 0 15px;
    z-index: 100000000;
    -webkit-transition-duration: 0.5s;
    transition-duration: 0.5s;
  }
  header .wrapper {
    height: 60px;
    margin: 0 auto;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  header .wrapper .logo {
    width: 90px;
    display: block;
  }
  header .wrapper .logo h1 img {
    width: 100%;
    display: block;
  }
  header .wrapper .gnav {
    display: none;
  }
  header .fixedmenu {
    display: none;
  }
  header .ham {
    width: 26px;
    height: 26px;
    display: block;
    position: absolute;
    top: 17px;
    right: 15px;
  }
  header .spmenu {
    position: absolute;
    background-color: #ebebec;
    padding: 20px;
    top: 60px;
    right: 0;
    left: 0;
    z-index: 10000;
  }
  header .spmenu .spwrapper a {
    display: block;
    padding: 8px 5px;
    color: #135480;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid #bbb;
    font-weight: bold;
  }
  header .spmenu .close {
    width: 120px;
    height: 30px;
    margin: 20px auto 0;
    color: #000;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
  }
  main {
    background-image: url(../images/bg_main.jpg);
    background-size: 100% 500px;
    background-repeat: no-repeat;
    background-position: top 0 center;
    padding-bottom: 70px;
  }
  main section {
    position: relative;
  }
  main section .idpoint {
    width: 1px;
    height: 1px;
    content: "";
    display: block;
    position: absolute;
    top: -59px;
    left: 0;
  }
  main section.ttl_section .wrapper {
    padding-top: 50px;
  }
  main section.ttl_section .wrapper h2 {
    width: 140px;
    margin: 0 auto;
  }
  main section.ttl_section .wrapper h2 img {
    width: 100%;
    display: block;
    margin: 0 auto;
  }
  main section.ttl_section .wrapper .t01 {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    margin-top: 10px;
    padding: 0 20px;
  }
  main section.ttl_section .wrapper .photo {
    max-width: 100%;
    display: block;
    margin: 30px auto 0;
  }
  footer {
    border-bottom: 60px solid #135480;
    padding-bottom: 15px;
  }
  footer .wrapper .infobox {
    background-color: #d7d8d8;
    position: relative;
  }
  footer .wrapper .infobox .box {
    display: none;
  }
  footer .wrapper .infobox ul {
    width: 100%;
    display: block;
    z-index: 2;
  }
  footer .wrapper .infobox ul li {
    width: 100%;
    height: auto;
    padding: 30px 0;
    border: none;
  }
  footer .wrapper .infobox ul li + li {
    border: none;
    border-top: 2px solid #fff;
  }
  footer .wrapper .infobox ul li .icon {
    display: block;
    height: 35px;
    margin: 0 auto;
  }
  footer .wrapper .infobox ul li .tel {
    width: 247px;
    display: block;
    margin: 15px auto 0;
  }
  footer .wrapper .infobox ul li .tel img {
    width: 100%;
    display: block;
  }
  footer .wrapper .infobox ul li .office {
    width: 107px;
    display: block;
    margin: 10px auto 0;
  }
  footer .wrapper .infobox ul li .t01 {
    text-align: center;
    color: #135480;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 200%;
    margin-top: 20px;
  }
  footer .wrapper .infobox ul li .t02 {
    width: 300px;
    color: #135480;
    font-size: 13px;
    line-height: 200%;
    margin: 20px auto 0;
    padding-left: 20px;
    text-align: left;
    letter-spacing: 1px;
  }
  footer .wrapper .infobox ul li .t02 span {
    font-weight: bold;
    letter-spacing: 1px;
    display: block;
  }
  footer .wrapper .gmap {
    width: 100% !important;
    height: 200px !important;
    display: block !important;
  }
  footer .wrapper .bottombox {
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px 0;
  }
  footer .wrapper .bottombox .logo {
    width: 130px;
    display: block;
    margin: 0 auto;
  }
  footer .wrapper .bottombox .logo img {
    width: 100%;
    display: block;
  }
  footer .wrapper .bottombox .t03 {
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    color: #135480;
    margin-top: 20px;
    line-height: 200%;
    font-weight: bold;
  }
  footer .wrapper .bottombox .menulist {
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
    border-top: 1px solid #135480;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0 0 0;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  footer .wrapper .bottombox .menulist .menu {
    margin-top: 15px;
  }
  footer .wrapper .bottombox .menulist .menu dl dt a {
    text-decoration: none;
    font-size: 12px;
    color: #135480;
    font-weight: bold;
  }
  footer .wrapper .bottombox .menulist .menu dl dd ul li {
    padding-left: 10px;
    position: relative;
  }
  footer .wrapper .bottombox .menulist .menu dl dd ul li::before {
    content: "";
    display: block;
    width: 5px;
    height: 1px;
    background-color: #000;
    position: absolute;
    top: 15px;
    left: 0;
  }
  footer .wrapper .bottombox .menulist .menu dl dd ul li a {
    text-decoration: none;
    font-size: 10px;
    color: #000;
  }
  footer .wrapper .privacy {
    text-align: center;
    margin-top: 20px;
  }
  footer .wrapper .privacy a {
    text-decoration: none;
    color: #000;
    font-size: 9px;
  }
  footer .fixedmenu_sp {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 375px;
    z-index: 10000000;
    font-size: 0;
    letter-spacing: 0;
    text-align: center;
  }
  footer .fixedmenu_sp li {
    display: inline-block;
    vertical-align: top;
    width: 175px;
  }
  footer .fixedmenu_sp li + li {
    margin-left: 10px;
  }
  footer .fixedmenu_sp li.contact02 a {
    background-color: #608980;
  }
  footer .fixedmenu_sp li.contact02 a img {
    width: 20px;
    margin-top: 0;
  }
  footer .fixedmenu_sp li a {
    width: 100%;
    display: block;
    text-decoration: none;
    background-color: #4c8097;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 25px;
    padding: 10px 0;
    border-radius: 10px 10px 0 0;
    border: 3px solid #fff;
    border-bottom: none;
  }
  footer .fixedmenu_sp li a img {
    width: 27px;
    vertical-align: top;
    margin-right: 10px;
    margin-top: 2px;
  }
}

/* ページネーション */
.custom-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0;
}

.pagination-arrow {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.pagination-arrow.is-prev {
  transform: rotate(180deg);
}

.prev-link,
.next-link {
  display: flex;
  align-items: center;
}

.prev-link a,
.next-link a,
.prev-link .disabled,
.next-link .disabled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 50px;
  text-decoration: none;
  color: #333;
}

.prev-link .disabled,
.next-link .disabled {
  opacity: 0.4;
  pointer-events: none;
}

.number-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Oswald", sans-serif;
}

.number-links a,
.number-links span {
  text-decoration: none;
  color: #333;
}

.number-links .current {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0.5px solid #4c4c4c;
  width: 40px;
  height: 40px;
}

@media screen and (max-width: 768px) {
  .prev-link a,
  .next-link a,
  .prev-link .disabled,
  .next-link .disabled {
    font-size: 12px;
  }
  .number-links {
    gap: 24px;
  }
  .number-links .current {
    width: 28px;
    height: 28px;
  }
  .number-links a,
  .number-links span {
    font-size: 12px;
  }
}
