@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Nanum+Gothic:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css?family=Cormorant+Garamond:400,500,600");
@import url("https://fonts.googleapis.com/css?family=Libre+Baskerville");
/*----------------------------------------------------------------
1. Common
----------------------------------------------------------------*/
html {
  font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游ゴシック", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 100%;
  font-weight: 400;
}

body {
  margin: 0;
  padding: 0;
  color: #484848;
}

a {
  color: #484848;
}
a:hover {
  color: #7797a5;
  transition: all 0.3s ease;
}
a:hover img {
  border: 0;
  opacity: 0.8;
}
a img {
  border: 0;
  transition: all 0.3s ease;
}

/*----------------------------------------------------------------
2. Header
----------------------------------------------------------------*/
header {
  position: fixed;
  left: 0;
  top: 0;
  height: 80px;
  width: 100%;
  z-index: 10000;
}
header h1 {
  margin: 0;
  display: none;
  padding: 0;
  overflow: hidden;
  width: 150px;
  height: 60px;
  background-image: url(../images/logo-bk.png);
  background-repeat: no-repeat;
  background-position: center 70%;
  background-size: contain;
  text-indent: -10000px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
header h1 a {
  display: block;
  height: 100%;
}
header label {
  display: none;
}
header input#menu-trigger-switch {
  display: none;
}
header nav {
  display: block;
  max-width: 1100px;
  padding: 0;
  text-align: center;
  font-size: 16px;
  margin: 0 auto;
  height: 100%;
}
header nav ul {
  display: flex;
  justify-content: end;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style-type: none;
  height: 100%;
}
header nav ul li {
  text-align: center;
  padding: 0 0.5rem;
}
header nav ul li a {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 1px;
  display: block;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 0 10px;
  box-sizing: border-box;
}
header nav ul li a:first-letter {
  font-size: 120%;
}

.black-text-menu header nav ul li a {
  color: #333;
}
.black-text-menu header nav ul li a:hover {
  color: #aaa;
}

header ul li a {
  color: white;
}
header ul li a:hover {
  color: #484848;
}

.sub header h1 {
  display: none;
}

/*----------------------------------------------------------------
3. Aside
----------------------------------------------------------------*/
.home aside section#visual {
  background-image: url(../images/kv-nt2.jpg);
}

aside section#visual {
  margin-bottom: 0;
  background-size: cover;
  background-repeat: no-repeat;
  display: block;
  height: 70vh;
  position: relative;
  background-color: #ddf8ff;
  background-position: center top;
  background-image: none;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
aside section#visual::after {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  content: "";
  background: rgb(255, 255, 255);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
}
aside section#visual .container {
  position: absolute;
  bottom: -120px;
  right: 60px;
  transform: translateY(-50%) translateX(-50%);
  width: auto;
  text-align: center;
  z-index: 100;
  transform: scale(0.8);
}
aside section#visual .container .logo {
  display: block;
  background-image: url(../images/logo-bk.png);
  background-repeat: no-repeat;
  background-position: center 30%;
  width: 300px;
  height: 135px;
  margin: 0 0 0 auto;
}
aside section#visual .container p {
  white-space: nowrap;
  color: black;
  letter-spacing: 1px;
  font-family: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", Roboto, "游ゴシック", YuGothic, "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, "メイリオ", Meiryo, sans-serif;
  font-size: 1.3rem;
}
aside section#visual.category {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left bottom;
  display: block;
  margin-bottom: 60px;
  position: relative;
  height: 100px;
}
aside section#visual.category .intro {
  display: none;
}

/*----------------------------------------------------------------
4. Side Navigation
----------------------------------------------------------------*/
/*----------------------------------------------------------------
5. Main Contents
----------------------------------------------------------------*/
main {
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 40px;
  padding: 0 20px;
}
main .title {
  font-size: 29px;
  font-weight: bolder;
  margin-bottom: 1.5em;
  display: block;
  text-align: center;
}

/* Tile layout */
.tile {
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tile li {
  flex-basis: 32%;
  margin: 0;
  padding: 0;
  margin-right: 2%;
  border: 1px solid #bbb;
  box-sizing: border-box;
  min-height: 90px;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}
.tile li:nth-child(3n) {
  margin-right: 0;
}
.tile li:nth-child(3n+1) {
  clear: both;
}
.tile li b {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 100%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
}

.table {
  margin: 0 auto;
  margin-left: 10px;
  margin-right: 10px;
  width: 80%;
}
.table .row {
  overflow: hidden;
  padding: 1.4rem;
  padding-left: 45%;
  border-bottom: 0.99px solid #bbb;
  position: relative;
}
.table .row u {
  position: absolute;
  text-decoration: none;
  text-align: right;
  line-height: 140%;
  top: 50%;
  left: 0;
  width: 40%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}

/* Contact */
#contact main section article strong {
  font-family: "Cormorant Garamond", serif;
}

#contact main section article.intro p {
  text-align: center;
}

main section article.fieldlist {
  font-size: 14px;
}

main section article.fieldlist div.field {
  overflow: hidden;
  position: relative;
  padding-left: 240px;
  margin-bottom: 30px;
}

main section article.fieldlist.confirm div.field {
  border-bottom: 1px solid #ddd;
  margin-bottom: 0;
}

main section article.fieldlist div.field b {
  padding: 12px;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: normal;
  box-sizing: border-box;
}

main section article.fieldlist div.field.required b:after {
  content: "必須";
  color: #50a4be;
  margin-left: 20px;
  display: inline-block;
  font-size: smaller;
}

main section article.fieldlist div.field span {
  display: block;
  padding: 12px;
}

main section article.fieldlist div.field label {
  display: block;
}

main section article.fieldlist div.field .wide {
  width: 80%;
  display: block;
}

main section article.fieldlist div.field .middle {
  width: 50%;
  display: block;
}

main section article.fieldlist div.field input,
main section article.fieldlist div.field textarea {
  background-color: #efefef;
  border: 1px solid #ccc;
  padding: 12px;
  border-radius: 3px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

main section article.fieldlist div.field .inputed {
  background-color: white;
}

main section article div.buttons {
  padding: 20px 0;
  text-align: center;
}

main section article div.buttons form {
  display: inline-block;
}

main section article div.buttons input {
  display: inline-block;
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid #ddd;
  padding: 15px 40px;
  font-size: 14px;
  font-weight: bolder;
  color: #333;
}

main section article div.buttons input.back {
  background-color: white;
}

main section article div.error em {
  font-size: 11px;
  font-style: normal;
  color: #50a4be;
}

main section article.errors {
  font-size: 11px;
  font-style: normal;
  color: tomato;
  padding: 10px;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

main section article.errors em {
  font-style: normal;
}

main section article.errors p {
  margin: 0;
}

main section article.errors ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  text-align: center;
}

main section article.errors ul li {
  display: inline-block;
  padding-left: 20px;
  margin-left: 0;
  color: #333;
  background-image: url(../images/menu-close-bk.png);
  background-size: 10px;
  background-position: left center;
  background-repeat: no-repeat;
  margin-right: 10px;
}

main section article.notice {
  font-style: normal;
  padding: 10px;
  box-sizing: border-box;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

/*----------------------------------------------------------------
6. Footer
----------------------------------------------------------------*/
footer {
  padding: 40px 20px 0 20px;
}
footer section {
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  margin-bottom: 40px;
  overflow: hidden;
}
footer section .logo {
  display: block;
  background-image: url(../images/logo-bk.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 30%;
  width: 80px;
  height: 35px;
  margin: 0 0 0 auto;
  position: absolute;
  left: 130px;
  top: 42px;
}
footer section strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 20px;
}
footer section strong:first-letter {
  font-size: 22px;
}
footer section article {
  display: block;
  flex-basis: auto;
  line-height: 1.8em;
  position: relative;
  flex-grow: 0;
  flex-shrink: 0;
  margin-left: 100px;
  justify-content: space-between;
}
footer section article:first-child {
  margin-left: 0;
  flex-grow: 1;
  flex-shrink: 1;
}
footer section article ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 30px;
}
footer section article ul li {
  list-style-type: none;
  margin: 0;
  padding: 0;
  letter-spacing: 1px;
}
footer section article ul li a {
  text-decoration: none;
  display: inline-block;
}
footer section article ul.sns {
  display: block;
  margin-top: 20px;
}
footer section article ul.sns li {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  border-radius: 50%;
  padding: 12px;
}
footer section article ul.sns li.facebook {
  background-color: #484848;
}
footer section article ul.sns li.twitter {
  background-color: #484848;
}
footer section article ul.sns li.instagram {
  background-color: #484848;
}
footer section article ul.sns li img {
  display: block;
  width: 100%;
}
footer section article ul.sns li a {
  display: block;
  margin: 0;
  padding: 0;
}
footer section article ul.sns li a img {
  display: block;
  width: 22px;
}
footer .copyright {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  margin: 10px 0;
}

/*----------------------------------------------------------------
7. SMP
----------------------------------------------------------------*/
@media screen and (max-width: 736px) {
  body {
    font-size: 14px;
  }
  header {
    position: fixed;
    height: 65px;
    width: 100%;
    right: 0;
    top: 0;
  }
  header h1 {
    display: none;
    width: 95px;
    height: 40px;
    background-image: url(../images/logo-bk.png);
    background-size: contain;
    background-position: left top;
    background-repeat: no-repeat;
    text-indent: -100000px;
    overflow: hidden;
    position: absolute;
    left: 10px;
    top: 15px;
  }
  header h1 a {
    display: block;
    height: 100%;
  }
  .sub header h1 {
    visibility: visible;
    display: block;
    top: 10px;
    left: 10px;
    width: 135px;
    height: 55px;
    transform: none;
  }
  /* smartmenu */
  .menu-trigger,
.menu-trigger span {
    display: inline-block;
    transition: all 0.4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    position: absolute;
    width: 40px;
    height: 32px;
    background: none;
    border: none;
    -webkit-appearance: none;
            appearance: none;
    cursor: pointer;
    top: 15px;
    right: 15px;
    z-index: 100;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: black;
    border-radius: 4px;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 16px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  input#menu-trigger-switch:checked + label span:nth-of-type(1) {
    transform: translateY(15px) rotate(-45deg);
  }
  input#menu-trigger-switch:checked + label span:nth-of-type(2) {
    opacity: 0;
  }
  input#menu-trigger-switch:checked + label span:nth-of-type(3) {
    transform: translateY(-15px) rotate(45deg);
  }
  input#menu-trigger-switch:checked + label + nav {
    opacity: 1;
    visibility: visible;
  }
  input#menu-trigger-switch:checked + label + nav ul {
    right: 0;
  }
  header nav {
    visibility: hidden;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.4);
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    font-size: 20px;
    display: flex;
    justify-content: end;
  }
  header nav ul {
    transition: all 0.3s ease-in;
    position: absolute;
    top: 0;
    left: auto;
    right: -75%;
    bottom: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;
    display: inline-block;
    overflow: hidden;
    width: 75%;
    height: 100%;
    background-color: white;
    overflow: auto;
    padding-top: 80px;
  }
  header nav ul li {
    display: block;
    float: none;
    margin: 0;
    width: auto;
  }
  header nav ul li:last-child {
    margin-right: 0;
  }
  header nav ul li a {
    letter-spacing: 1px;
    display: block;
    color: #484848;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    box-sizing: border-box;
  }
  header nav ul li a:first-letter {
    font-size: 120%;
  }
  header nav ul li a:hover {
    color: #7797a5;
  }
  /* Visual */
  .home aside section#visual::before {
    content: "";
    padding-top: 65%;
    display: block;
  }
  aside section#visual {
    overflow: visible;
    height: auto;
    margin-bottom: 0;
  }
  aside section#visual::before {
    display: none;
  }
  aside section#visual::after {
    height: 30px;
  }
  aside section#visual.category {
    height: 100px;
    margin-bottom: 20px;
  }
  aside section#visual h1 {
    display: none;
  }
  aside section#visual .container {
    right: 10px;
    transform: scale(1);
    bottom: -90px;
  }
  aside section#visual .container .logo {
    background-position: center right;
    background-size: 90px;
    width: auto;
    height: 40px;
  }
  aside section#visual .container p {
    font-size: 10px;
    letter-spacing: 0;
    margin-top: 10px;
  }
  main {
    padding: 0 10px;
    margin-bottom: 70px;
  }
  main .title {
    font-size: 18px;
    font-family: sans-serif;
    font-weight: 600;
    letter-spacing: 0px;
    display: inline-block;
    padding: 0 6px;
    margin-bottom: 20px;
    line-height: 1.2em;
  }
  main .tile {
    width: auto;
    margin: 0;
    align-items: center;
    margin-bottom: 30px;
  }
  main .tile li {
    flex-basis: 100%;
    margin: 0;
    margin-bottom: 10px;
    min-height: auto;
    padding: 10px 0;
  }
  main .tile li b {
    position: static;
    display: block;
    padding: 5px 10px;
    box-sizing: border-box;
    top: auto;
    text-align: left;
    left: auto;
    transform: none;
  }
  main .table {
    width: auto;
    box-sizing: border-box;
  }
  main .table .row {
    font-size: 0.85rem;
    padding-left: 120px;
  }
  main .table .row u {
    width: 100px;
  }
  footer {
    padding: 20px 10px 0 10px;
    font-size: 12px;
  }
  footer section {
    margin-bottom: 20px;
    text-align: left;
    flex-direction: column;
    justify-content: start;
  }
  footer section:first-child strong {
    display: none;
  }
  footer section:first-child ul {
    display: flex;
    justify-content: space-around;
  }
  footer section:first-child ul li a {
    font-weight: bold;
  }
  footer section .logo {
    display: block;
    background-image: url(../images/logo-bk.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 30%;
    width: 50px;
    height: 24px;
    margin: 0 0 0 auto;
    position: absolute;
    left: 100px;
    top: 31px;
  }
  footer section article {
    margin-left: 0;
    margin-bottom: 30px;
  }
  footer section article nav ul {
    margin: 0;
    display: flex;
    justify-content: space-between;
  }
  footer section article nav ul li {
    flex-grow: 1;
  }
  footer section article nav ul li a {
    display: block;
    text-align: left;
  }
  footer section strong {
    letter-spacing: 0px;
    margin-bottom: 10px;
  }
}