@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Serif+JP:wght@300&display=swap");

:root {
  --link-blue: #2997ff;
  --bs-gold: #d59649;
  --bs-red: #a7212f;
  --bs-navy: #253965;
}

body {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-family: "Noto Sans", sans-serif;
  font-family: "Noto Serif JP", serif;
  -webkit-overflow-scrolling: auto;
}

li {
  list-style: none;
}

a:not(#fb-share, #tw-share, #line-share) {
  text-decoration: none;
  color: var(--link-blue);
}

h4 {
  font-size: 24px;
}

/* Share */
#share {
  text-align: center;
  margin-top: 25px;
}
#share a {
  margin: 10px 10px;
}
#fb-share {
  color: #1877f2;
}
#tw-share {
  color: #1da1f2;
}
#line-share {
  color: #00c300;
}

/* container */
#container {
  margin: 100px 0;
}

#container h4 {
  margin: 15px auto;
  border-bottom: solid 3px var(--bs-gold);
  display: inline-block;
}
#container h5 {
  margin: 10px auto;
  font-size: 20px;
}

/* container table */
#container table {
  border: solid 1px white;
  margin: auto;
  border-collapse: collapse;
}
#container table th {
  padding: 10px;
}
#container table td {
  padding: 3px 10px;
}

#container table tr:nth-child(odd) {
  background-color: #f5f5f5;
}
@media screen and (min-width: 870px) {
  #container h4:not(.middle-content),
  #container h5 {
    margin-left: 5vw;
  }
  #container .content {
    width: 80vw;
    margin: auto;
  }
  .pair-left,
  .pair-right {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    margin-bottom: 50px;
  }
  .pair-left .left-content {
    width: 50vw;
    margin-left: 5vw;
  }
  .pair-right .right-content {
    width: 50vw;
    margin-left: 5vw;
  }
  .pair-left h4,
  .pair-right h4 {
    margin: 0;
  }

  /* container table */
  #container table {
    width: 50%;
  }
}
@media screen and (max-width: 870px) {
  #container h4:not(.middle-content),
  #container h5 {
    margin-left: 30px;
  }
  #container .content {
    width: 90vw;
    margin: auto;
  }
  .pair-left,
  .pair-right {
    margin-bottom: 50px;
  }
  .pair-left img,
  .pair-right img {
    width: 100%;
  }
  .pair-left .left-content,
  .pair-right .right-content {
    width: 90vw;
    margin: auto;
  }

  /* container table */
  #container table {
    width: 100%;
  }
}

@media screen and (min-width: 870px) and (max-width: 1270px) {
  .pair-left img:not(.Vertically-img),
  .pair-right img:not(.Vertically-img) {
    width: 35vw;
  }
  .pair-left .left-content {
    margin-right: 30px;
  }
  .radius-img {
    border-radius: 5%;
  }
}
@media screen and (min-width: 1270px) {
  /* 縦長の写真を調節 */
  .pair-left img:not(.Vertically-img),
  .pair-right img:not(.Vertically-img) {
    width: 35vw;
  }
  .Vertically-img {
    height: 600px;
  }
  .pair-left .left-content {
    margin-right: 6vw;
  }
  .radius-img {
    border-radius: 5%;
  }
}

/* contents */
.content #title {
  border-bottom: solid 2px var(--bs-red);
  display: inline-block;
}
.content #titleWrapper {
  text-align: center;
}
.content #date {
  margin: 10px auto;
  font-size: 20px;
}
@media screen and (min-width: 870px) {
  .content #date {
    margin: 15px auto;
  }
}

@media screen and (max-width: 870px) {
  .content #date {
    margin-left: 30px;
  }
}

/* centering class */
.middle {
  text-align: center;
}

/* bar */
#bar .search {
  margin-right: 40px;
}

#bar li {
  padding: 10px 2em;
  font-size: 18px;
  float: right;
}

#bar a {
  color: white;
}
#bar a:hover {
  border-bottom: solid 1px white;
}

#bar .lang {
  transition: all 0.3s;
  padding: 5px;
  font-weight: 400;
  border: solid 1px white;
}
#bar .lang:hover {
  background-color: white;
  color: var(--bs-navy);
}

#bar .access:hover {
  border-bottom: solid 1px white;
}

#bar h3 {
  margin: 0;
}
/* header */
#header {
  padding: 50px 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  background-color: white;
}

@media screen and (min-width: 1270px) {
  #header {
    padding: 40px 100%;
  }
}

#header h1,
#header i {
  position: absolute;
  transform: translateY(-50%) translateX(-50%);
  color: #000;
  -ms-user-select: none; /* IE 10+ */
  -moz-user-select: -moz-none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

@media screen and (min-width: 0px) and (max-width: 870px) {
  #header h1 {
    top: 20px;
  }
  #header i {
    top: 40px;
  }
}
@media screen and (min-width: 870px) and (max-width: 1270px) {
  #header h1 {
    top: 28px;
  }
  #header i {
    top: 48px;
  }
}
@media screen and (min-width: 1270px) {
  #header h1 {
    top: 18px;
  }
  #header i {
    top: 38px;
  }
}

#header #title {
  left: 180px;
  font-weight: 400;
}
#header #title-ja {
  left: 100px;
  font-weight: 400;
}

@media screen and (min-width: 1270px) {
  #header #title {
    top: 16px;
  }
}
@media screen and (min-width: 0px) and (max-width: 870px) {
  #header #title {
    left: 150px;
  }
  #header #title-ja {
    left: 80px;
  }
}

#header #lang {
  position: fixed;
  right: 100px;
  font-size: 21px;
  font-weight: 400;
  width: auto;
}

@media screen and (max-width: 870px) {
  #header #lang {
    display: none;
  }
}

@media screen and (min-width: 870px) and (max-width: 1270px) {
  #header #lang {
    top: 32px;
  }
}
@media screen and (min-width: 1270px) {
  #header #lang {
    top: 24px;
  }
}

#header .fa-map-marker-alt {
  position: fixed;
  right: 100px;
  font-size: 21px;
  width: auto;
}

@media screen and (max-width: 870px) {
  #header .fa-map-marker-alt {
    display: none;
  }
}

#header .fa-search {
  position: fixed;
  right: 60px;
  font-size: 21px;
  width: auto;
}

@media screen and (max-width: 870px) {
  #header .fa-search {
    display: none;
  }
}

/* footer */
.footer {
  padding: 20px 0;
  background-color: var(--bs-red);
  color: white;
  text-align: center;
}
.footer img {
  height: 70px;
}
#site {
  color: white;
  text-align: center;
  text-decoration: underline;
}
#site:hover {
  color: var(--link-blue);
}

/* humburger menu */
#wrapper nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  padding-top: 100px;
  background: var(--bs-navy);
  font-size: 16px;
  box-sizing: border-box;
  z-index: 2;
  overflow-y: scroll;

  /* scroll hidden */
  -ms-overflow-style: none; /* IE, Edge */
  scrollbar-width: none; /* Firefox */
}

/* scroll hidden */
body::-webkit-scrollbar {
  /* Chrome, Safari */
  display: none;
}
#wrapper nav::-webkit-scrollbar {
  display: none;
}

#wrapper nav li {
  margin: 10px auto;
}

#wrapper .btn-gnavi {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 24px;
  z-index: 3;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

@media screen and (min-width: 1270px) {
  #wrapper .btn-gnavi {
    top: 1vh;
  }
}

#wrapper .btn-gnavi span {
  position: absolute;
  width: 30px;
  height: 4px;
  background: black;
  border-radius: 10px;
  -webkit-transition: all 400ms;
  transition: all 400ms;
}

#wrapper .btn-gnavi span:nth-child(1) {
  top: 0;
}

#wrapper .btn-gnavi span:nth-child(2) {
  top: 10px;
}

#wrapper .btn-gnavi span:nth-child(3) {
  top: 20px;
}

#wrapper .btn-gnavi.open {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

#wrapper .btn-gnavi.open span {
  background: white;
}

#wrapper .btn-gnavi.open span:nth-child(1) {
  width: 24px;
  -webkit-transform: translate(-7px, 17px) rotate(45deg);
  transform: translate(-7px, 17px) rotate(45deg);
}

#wrapper .btn-gnavi.open span:nth-child(3) {
  width: 24px;
  -webkit-transform: translate(-7px, -17px) rotate(-45deg);
  transform: translate(-7px, -17px) rotate(-45deg);
}

/* search */
.search_container input[type="text"] {
  padding: 3px 5px;
  border: none;
  width: 150px;
  height: 2em;
  overflow: hidden;
}
.search_back {
  width: 230px;
  text-align: center;
  border-radius: 20px;
  background-color: white;
  display: inline-block;
}

@media screen and (min-width: 870px) {
  .search_back {
    padding: 3px 0px;
  }
}
@media screen and (max-width: 870px) {
  .search_back {
    padding: 10px 0px;
  }
}
.search_container input[type="text"]:focus {
  outline: 0;
}
.search_container input[type="submit"] {
  cursor: pointer;
  font-family: FontAwesome;
  width: 32px;
  font-size: 1.3em;
  border: none;
  background: none;
  color: #3879d9;
  outline: none;
  display: inline-block;
  vertical-align: middle;
}

#not-found {
  font-size: 20px;
  margin-left: 100px;
}
@media screen and (max-width: 870px) {
  #not-found {
    margin: 0;
    text-align: center;
  }
}

.result-box {
  position: relative;
  margin: auto;
  width: 80%;
  margin: 30px auto;
  padding: 0.5em 1em;
  border: solid 3px #95ccff;
  border-radius: 8px;
}
.result-box .box-title {
  position: absolute;
  display: inline-block;
  top: -13px;
  left: 10px;
  padding: 0 9px;
  line-height: 1;
  font-size: 19px;
  background: white;
  color: var(--link-blue);
  font-weight: bold;
}
.result-box p {
  margin: 0;
  padding: 0;
}

.box-title:hover {
  border-bottom: solid 2px var(--link-blue);
}
