@charset "UTF-8";
/*
Theme Name: HVRL
Description: Original WordPress Theme for HVRL
Theme URI: http://hvrl.ics.keio.ac.jp
Author: Tomoya Matsubara
Author URI: http://hvrl.ics.keio.ac.jp
Text Domain: hvrl
Version: 2.2.1
Tags: keio, hvrl
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/* Font size */
#header-container {
  display: grid;
  grid-template-columns: 20px 20px 60px 1fr 1fr 60px 20px 20px;
  position: fixed;
  left: 0;
  right: 0;
  height: 80px;
  transition-duration: 0.2s;
  z-index: 10;
}
#header-container header {
  grid-column: 4/5;
  justify-self: start;
  align-self: center;
}
#header-container header figure {
  margin: 0;
}
#header-container header figure .logo {
  width: 190px;
}
#header-container header figure .logo .logo-char {
  fill: #af3333;
}
#header-container .hamburger-button {
  display: none;
}
#header-container nav {
  grid-column: -5/-4;
  justify-self: end;
  align-self: center;
  font-weight: bold;
}
#header-container nav ul {
  display: grid;
  grid-auto-flow: column;
  margin: 0;
  padding: 0;
  list-style-type: none;
  column-gap: 40px;
  font-size: 0.8em;
  text-align: center;
}
#header-container nav ul .sub-menu {
  display: none;
  position: absolute;
  margin: 0;
  padding: 0;
  animation: moveSubmenu 0.5s forwards;
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
  left: calc((200px - 100%) / -2);
  background-color: rgba(0, 0, 0, 0.67);
}
#header-container nav ul .sub-menu li {
  width: 180px;
  line-height: 50px;
  font-size: 0.8rem;
}
#header-container nav ul li {
  width: 81px;
  position: relative;
}
#header-container nav ul li:hover .sub-menu {
  display: block;
}
#header-container nav a {
  color: white;
  text-decoration: none;
}
#header-container nav a:hover {
  text-decoration: none;
  color: #33c6ff;
}
#header-container.header-change {
  background-color: #af3333;
}
#header-container.header-change .logo-char {
  fill: black !important;
}
#header-container.header-change .eye {
  fill: #fff;
}
#header-container.header-change nav ul .sub-menu {
  animation: moveSubmenu-changed 0.5s forwards;
}
#header-container.header-change nav ul li:hover .sub-menu {
  background-color: #af3333;
}

.hvrl-logo-v * {
  transform-origin: 704.75px 244.9px;
  animation: blink 4s linear infinite;
}

.hvrl-logo-v .eye {
  transform-origin: 704.75px 92.35px;
  animation: blink 4s linear infinite;
}

@keyframes blink {
  0% {
    transform: scaleX(1);
  }
  2% {
    transform: scaleX(0);
  }
  4% {
    transform: scaleX(1);
  }
  6% {
    transform: scaleX(0);
  }
  8% {
    transform: scaleX(1);
  }
  60% {
    transform: scaleX(1);
  }
  62% {
    transform: scaleX(0);
  }
  64% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}
.humburger-button {
  display: none;
}

@keyframes moveSubmenu {
  from {
    padding-top: 0px;
  }
  to {
    padding-top: 10px;
  }
}
@keyframes moveSubmenu-changed {
  from {
    padding-top: 0px;
  }
  to {
    padding-top: 30px;
  }
}
/* Smaller than 1024px */
@media screen and (max-width: 1024px) {
  #header-container header {
    grid-column: 3/4;
  }
  #header-container nav {
    grid-column: -4/-3;
  }
  #header-container nav ul {
    column-gap: 30px;
  }
}
@media screen and (max-width: 900px) {
  #header-container nav ul {
    column-gap: 15px;
  }
}
@media screen and (max-width: 834px) {
  #header-container header {
    grid-column: 2/3;
    margin: 15px;
  }
  #header-container nav.hamburger-open {
    background-color: #333;
    height: 100vh;
    grid-column: 1/-1;
    overflow-y: scroll;
    width: 100vw;
    position: fixed;
    top: 0;
    bottom: 0;
  }
  #header-container nav.hamburger-open .menu-header-container {
    transition: 0.5s;
    padding: 50px;
    display: block;
  }
  #header-container nav .menu-header-container {
    transition: 0.3s;
    display: none;
  }
  #header-container nav ul {
    grid-auto-flow: row;
  }
  #header-container nav ul li {
    width: 100%;
  }
  #header-container nav ul .sub-menu {
    display: block;
    background: none;
    position: relative;
    left: auto;
    animation: none;
  }
  #header-container nav ul .sub-menu li {
    width: 100%;
  }
  #header-container nav #menu-header > li {
    font-size: 1.56em;
    padding-bottom: 30px;
    padding-top: 30px;
  }
  #header-container nav #menu-header > li:not(:last-of-type) {
    border-bottom: 1px solid #575757;
  }
  #header-container nav #menu-header > li > a {
    color: #ff7777;
  }
  #header-container nav #menu-header > li > a:hover {
    text-decoration: none;
    color: #33c6ff;
  }
  #header-container.header-change nav ul .sub-menu {
    animation: none;
  }
  #header-container.header-change nav ul li:hover .sub-menu {
    background: 0;
  }
  #header-container .hamburger-button {
    display: block;
    border: 0;
    z-index: 999;
    width: 48px;
    height: 48px;
    padding: 0;
    text-align: inherit;
    background-color: transparent;
    grid-column: -4/-3;
    align-self: center;
    justify-self: right;
  }
  #header-container .hamburger-button .hamburger-line {
    display: block;
    position: relative;
    width: 100%;
    height: 4px;
    background-color: #d6d5d5;
    transition: 0.2s;
  }
  #header-container .hamburger-button .hamburger-line::before, #header-container .hamburger-button .hamburger-line::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #d6d5d5;
    transition: 0.5s;
  }
  #header-container .hamburger-button .hamburger-line::before {
    transform: translateY(-16px);
  }
  #header-container .hamburger-button .hamburger-line::after {
    transform: translateY(16px);
  }
  body.hamburger-open {
    overflow-y: hidden;
  }
  body.hamburger-open .hamburger-button .hamburger-line {
    background-color: transparent !important;
  }
  body.hamburger-open .hamburger-button .hamburger-line::before {
    transform: rotate(45deg) !important;
  }
  body.hamburger-open .hamburger-button .hamburger-line::after {
    transform: rotate(-45deg) !important;
  }
}
@media screen and (max-width: 480px) {
  #header-container header {
    grid-column: 1/2;
  }
  #header-container .hamburger-button {
    grid-column: -3/-2;
  }
}
footer section.collaboration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 80px 1fr;
  column-gap: 100px;
}
footer section.collaboration h2 {
  grid-column: 1/-1;
  grid-row: 1/2;
  justify-self: center;
  align-self: center;
}
footer section.collaboration section h2,
footer section.collaboration section h3 {
  text-align: center;
}
footer section.collaboration section.universities {
  grid-column: 1/2;
  grid-row: 2/3;
}
footer section.collaboration section.universities ul {
  padding: 0;
  list-style-type: none;
}
footer section.collaboration section.universities ul li {
  position: relative;
  padding: 0.5em 1em 0.5em 2.3em;
  margin-bottom: 5px;
  color: #81c2fa;
  border-bottom: 1px solid rgba(129, 194, 250, 0.5);
  line-height: 2em;
}
footer section.collaboration section.universities ul li::before, footer section.collaboration section.universities ul li::after {
  content: "";
  position: absolute;
  transform: rotate(45deg);
}
footer section.collaboration section.universities ul li::before {
  top: 0.7em;
  left: 0.2em;
  border: 2px solid rgba(129, 194, 250, 0.5);
  width: 12px;
  height: 12px;
}
footer section.collaboration section.universities ul li::after {
  top: 0.9em;
  left: 0.7em;
  width: 14px;
  height: 14px;
  background: rgba(129, 194, 250, 0.3);
  transform: rotate(60deg);
}
footer section.collaboration section.companies {
  grid-column: -2/-1;
  grid-row: 2/3;
}
footer section.collaboration section.companies ul {
  padding: 0;
  list-style-type: none;
}
footer section.collaboration section.companies ul li {
  position: relative;
  padding: 0.5em 1em 0.5em 2.3em;
  margin-bottom: 5px;
  color: #de81fa;
  border-bottom: 1px solid rgba(222, 129, 250, 0.5);
  line-height: 2em;
}
footer section.collaboration section.companies ul li::before, footer section.collaboration section.companies ul li::after {
  content: "";
  position: absolute;
  transform: rotate(45deg);
  border-radius: 50%;
}
footer section.collaboration section.companies ul li::before {
  top: 0.7em;
  left: 0.2em;
  background: rgba(222, 129, 250, 0.5);
  width: 17px;
  height: 17px;
}
footer section.collaboration section.companies ul li::after {
  top: 0.9em;
  left: 0.7em;
  width: 14px;
  height: 14px;
  background: rgba(222, 129, 250, 0.3);
  transform: rotate(60deg);
}
footer #copyright {
  margin: 8px auto;
  margin-top: 30px;
  text-align: center;
  font-size: 0.8em;
}

@media screen and (max-width: 640px) {
  footer section.collaboration {
    display: block;
  }
  footer section.collaboration h2 {
    text-align: center;
    margin-bottom: 50px;
  }
  footer section.collaboration section.universities {
    margin-bottom: 50px;
  }
  footer section.collaboration section.companies {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 480px) {
  footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.home .background-container {
  z-index: -1;
  position: absolute;
  width: 100%;
}
.home .background {
  background-image: url("./images/background.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  width: 1440px;
  height: 700px;
  max-width: 100%;
}
.home .background::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6901960784);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.home main {
  position: relative;
}
.home .introduction {
  height: 600px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.home .introduction .wp-block-group__inner-container {
  display: grid;
}
.home .introduction .wp-block-group__inner-container p {
  font-size: 1.25em;
}
.home .news ul {
  padding: 0.5em 1em 0.5em 2.9em;
  position: relative;
}
.home .news ul.follow-button {
  padding: 0;
}
.home .news ul.news-content li {
  line-height: 2em;
  list-style-type: none;
  padding-bottom: 35px;
}
.home .news ul.news-content li::before {
  content: "\f559";
  font-family: "Font Awesome 5 Free";
  position: absolute;
  font-weight: bold;
  left: 1em;
  font-size: 1.25em;
  color: skyblue;
}
.home .tab-label-wrapper.save .tab-label {
  border: none;
  border-bottom: 3px solid #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_0]:checked ~ .tab-label[for$=_0] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_1]:checked ~ .tab-label[for$=_1] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_2]:checked ~ .tab-label[for$=_2] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_3]:checked ~ .tab-label[for$=_3] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_4]:checked ~ .tab-label[for$=_4] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_5]:checked ~ .tab-label[for$=_5] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_6]:checked ~ .tab-label[for$=_6] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_7]:checked ~ .tab-label[for$=_7] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_8]:checked ~ .tab-label[for$=_8] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper input.save[id$=_9]:checked ~ .tab-label[for$=_9] {
  background-color: #37beb0;
  color: white;
}
.home .tab-label-wrapper .tab-label {
  background-color: inherit;
}
.home .tab_container {
  padding-bottom: 1em;
  margin: 50px auto;
}
.home .tab_container .tab_item {
  width: 25%;
  padding: 15px 0;
  border-bottom: 3px solid #37beb0;
  text-align: center;
  color: #37beb0;
  display: block;
  float: left;
  text-align: center;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}
.home .tab_container .tab_item:hover {
  opacity: 0.75;
}
.home .tab_container input[name=tab_item] {
  display: none;
}
.home .tab_container input:checked + .tab_item {
  background-color: #37beb0;
  color: #fff;
}
.home .tab_container .tab_content {
  display: none;
  padding: 1em 1em 0;
  clear: both;
  overflow: hidden;
}
.home .tab_container #tab1:checked ~ #tab1_content,
.home .tab_container #tab2:checked ~ #tab2_content,
.home .tab_container #tab3:checked ~ #tab3_content,
.home .tab_container #tab4:checked ~ #tab4_content {
  animation: fadeInNews 1s linear;
  display: block;
}

@keyframes fadeInNews {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media screen and (max-width: 500px) {
  .home .introduction {
    margin-top: -80px;
    margin-bottom: 80px;
  }
}
/* Smaller than 480px (smartphones) */
@media screen and (max-width: 480px) {
  .home .main-background {
    left: -20px;
    right: -20px;
  }
  .home .introduction .wp-block-group__inner-container p {
    font-size: 1em;
  }
}
.research {
  margin-top: 50px;
  margin-bottom: 50px;
  padding: 30px 50px;
  box-shadow: 0 2px 4px rgb(0, 0, 0);
}
.research:nth-of-type(odd) {
  background-color: #605151;
}
.research:nth-of-type(even) {
  background-color: #515660;
}

@media screen and (max-width: 834px) {
  .research {
    padding-left: 25px;
    padding-right: 25px;
  }
}
@media screen and (max-width: 640px) {
  .research {
    padding: 20px 30px;
  }
  .research h2 {
    font-size: 1.25em;
  }
  .research p {
    font-size: 0.8em;
  }
}
h2.text-line {
  display: flex;
  align-items: center;
}
h2.text-line::before, h2.text-line::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #f1f1f8;
}
h2.text-line::before {
  margin-right: 15px;
}
h2.text-line::after {
  margin-left: 15px;
}

ul.member {
  padding: 0;
  margin: 50px 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, 300px);
  column-gap: 50px;
  row-gap: 50px;
  justify-content: center;
}
ul.member li {
  list-style-type: none;
}
ul.member > li {
  width: 300px;
  height: 270px;
  text-align: center;
}
ul.member > li ul {
  padding: 0;
}
ul.member > li ul li:not(:nth-of-type(1)) {
  font-size: 0.8em;
}
ul.member > li ul li:first-of-type {
  font-weight: bold;
}
ul.member img {
  width: 160px !important;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  background-color: wheat;
  pointer-events: none;
}
ul.member.doctor img {
  background-color: #b3d7f5;
}
ul.member.master img {
  background-color: #b3f5da;
}
ul.member.bachelor img {
  background-color: #d2b3f5;
}

.wp-block-table {
  margin: 80px;
  padding: 5px;
}
.wp-block-table.thesis table {
  width: 100%;
}
.wp-block-table.thesis table th {
  text-align: left;
}
.wp-block-table.thesis table thead {
  color: #303030;
}
.wp-block-table.thesis.doctor thead {
  background-color: #b3d7f5;
}
.wp-block-table.thesis.master thead {
  background-color: #b3f5da;
}
.wp-block-table.thesis.bachelor thead {
  background-color: #d2b3f5;
}
.wp-block-table table {
  width: auto;
  max-width: 100%;
  margin: auto;
  box-shadow: 0 2px 4px black;
}
.wp-block-table table th {
  text-align: center;
  font-size: 1.25em;
  border: 0;
}
.wp-block-table table td {
  border: 0;
}
.wp-block-table table thead {
  border: 0;
  background-color: #37beb0;
}
.wp-block-table table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.123);
}
.wp-block-table table tbody tr:nth-of-type(even) {
  background-color: rgba(0, 0, 0, 0.336);
}
.wp-block-table table tbody tr td {
  padding-left: 40px;
  padding-right: 40px;
}

@media screen and (max-width: 1024px) {
  .wp-block-table {
    margin: 80px auto;
  }
  .wp-block-table table tbody tr td {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wp-block-table.thesis table tbody tr td {
    padding-left: 20px;
    padding-right: 20px;
  }
  .wp-block-table.thesis table tbody tr td:first-of-type {
    width: 125px;
  }
}
h2.year {
  cursor: pointer;
  transition: color 1s;
  position: relative;
  padding: 10px 0 10px 25px;
  width: 97%;
}
h2.year:hover {
  text-decoration: none;
  color: #33c6ff;
}
h2.year:hover::before {
  border-bottom: solid 15px #33c6ff;
}
h2.year:hover::after {
  border-bottom: solid 4px #33c6ff;
}
h2.year::before {
  content: "";
  left: 0;
  position: absolute;
  bottom: -1px;
  border-left: solid 15px transparent;
  border-bottom: solid 15px #f8c678;
  transition: 1s;
}
h2.year::after {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 10px;
  width: 100%;
  border-bottom: solid 4px #f8c678;
  transition: 1s;
}

ul.paper {
  display: none;
  list-style-type: none;
  padding: 0;
  margin: auto;
}
ul.paper:first-of-type {
  display: block;
}
ul.paper > li {
  background-color: #2d2c2d;
  padding: 30px;
  display: block;
  max-width: 100%;
  width: 1000px;
  margin: 50px auto;
  text-align: center;
  position: relative;
  border-radius: 50px 10px;
}
ul.paper > li::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #a72426;
  z-index: -1;
  border-radius: 10px;
  box-shadow: 0 2px 4px black;
}
ul.paper > li > a {
  font-weight: bold;
  font-size: 1.25em;
  text-decoration: none;
  display: block;
  margin: 40px 0;
}
ul.paper > li > strong {
  font-weight: bold;
  font-size: 1.25em;
  text-decoration: none;
  display: block;
  margin: 40px 0;
}
ul.paper ul {
  list-style-type: none;
  padding: 0;
}
ul.paper ul li:nth-of-type(2) {
  word-break: break-all;
}
ul.paper ul li:nth-of-type(3) {
  word-break: break-all;
}

#publications_api_front figure.wp-block-table {
  margin: 0 20px;
}
#publications_api_front figure.wp-block-table table {
  width: 100%;
}

@media screen and (max-width: 640px) {
  ul.paper ul {
    font-size: 0.8em;
  }
  #publications_api_front figure.wp-block-table {
    margin: 0 20px;
    font-size: 0.8em;
  }
}
#loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: black;
  z-index: 2147483647;
}
#loading svg {
  opacity: 0.8;
  width: 100px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading-ring {
  transform-origin: 50% 50%;
  animation: loading-ring 1.5s infinite linear;
}

.loading-eye {
  transform-origin: 50% 50%;
  animation: loading-blink 5s infinite linear;
}

@keyframes loading-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes loading-blink {
  0% {
    transform: scaleX(1);
  }
  2% {
    transform: scaleX(0);
  }
  4% {
    transform: scaleX(1);
  }
  6% {
    transform: scaleX(0);
  }
  8% {
    transform: scaleX(1);
  }
  60% {
    transform: scaleX(1);
  }
  62% {
    transform: scaleX(0);
  }
  64% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}
body > main#error {
  grid-column: 1/-1;
  background-color: #3d2c2c;
}
body > main#error h2,
body > main#error p {
  text-align: center;
}

/*
Theme Name: HVRL
Description: Original WordPress Theme for HVRL
Theme URI: http://hvrl.ics.keio.ac.jp
Author: Tomoya Matsubara
Author URI: http://hvrl.ics.keio.ac.jp
Text Domain: hvrl
Version: 2.2.1
Tags: keio, hvrl
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
#image-popup {
  background-color: rgba(0, 0, 0, 0.7);
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 10000;
  display: none;
}
#image-popup > div {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#image-popup > div > img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80%;
}

html {
  font-family: "Open Sans", sans-serif;
}

body {
  margin: 0;
  background-color: #312424;
  color: #f1f1f8;
  display: grid;
  grid-template-columns: 20px 20px 60px 1fr 60px 20px 20px;
  grid-template-rows: [head] 80px [main] auto [aside] auto [foot] auto;
  row-gap: 50px;
  overflow-x: hidden;
  /* column 1, 2, -2 and -1 are paddings */
}
body > * {
  grid-column: 4/-4;
}

#header-container {
  grid-row: head;
  grid-column: 1/-1;
}

main {
  grid-row: main;
  position: relative;
  padding-bottom: 80px;
}

.main-background {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -100px;
  right: -100px;
  background-color: #3d2c2c;
  z-index: -2;
}

/* Sidemenu */
aside {
  grid-row: aside;
  display: grid;
  row-gap: 30px;
}

footer {
  grid-row: foot;
  grid-column: 1/-1;
  justify-self: center;
  align-self: center;
  font-family: "Open Sans", sans-serif;
  color: #fff;
}

/* Post categories (may not be used) */
.post-categories {
  display: grid;
  grid-auto-flow: column;
  column-gap: 10px;
  justify-content: start;
  padding: 0;
  list-style-type: none;
}

.post-categories a {
  padding: 3px 10px;
  border-radius: 10px;
  background-color: #1b5e92;
  color: #fff;
  font-size: 0.8em;
}

figure {
  margin-left: 0;
  margin-right: 0;
}

article figure:first-child {
  margin-top: 0;
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
}

iframe {
  width: 100%;
}

li {
  line-height: 2em;
}

.wp-block-image figcaption {
  color: #f1f1f8;
  font-size: 0.8em;
  text-align: center;
}

/* Headers */
h1 {
  font-size: 2.44em;
  text-align: center;
  margin: 60px auto;
}

h2 {
  font-size: 1.95em;
}

h3 {
  font-size: 1.56em;
}

h4 {
  font-size: 1.25em;
}

h5 {
  font-size: 1em;
}

h6 {
  font-size: 0.8em;
}

/* Paragraph */
p {
  font-size: 1em;
  line-height: 2;
}

/* Link */
a {
  color: #dba200;
  transition: color 1s;
  position: relative;
}
a:hover {
  text-decoration: none;
  color: #33c6ff;
}
a:hover::after {
  width: 100%;
}
a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #31aae2;
  transition: 0.3s;
  transform: translateX(-50%);
}

.sp-br,
.md-br {
  display: none;
}

/* Post time */
time {
  display: block;
  text-align: right;
  color: #444;
}

/* Link to the next/previous articles (may not be used) */
.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  margin-top: 50px;
  padding: 40px 0;
  border-top: solid 1px #ddd;
  border-bottom: solid 1px #ddd;
  font-size: 0.8em;
}

.post-navigation .nav-previous {
  grid-column: 1;
}

.post-navigation .nav-next {
  grid-column: 2;
}

.post-navigation .nav-previous a::before {
  content: "\f137";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: #444;
}

.post-navigation .nav-next a::after {
  content: "\f138";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  color: #444;
}

.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: grid;
  grid-auto-flow: column;
  column-gap: 10px;
  align-items: center;
  justify-content: start;
}

.post-navigation .nav-next a {
  text-align: right;
  justify-content: end;
}

/* Postlist（for Google Chrome） */
.postlist a {
  display: block;
}

.postlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  --imgh: 56vw;
}

.postlist article {
  border: solid 1px #ddd;
  box-shadow: 0 3px 5px #ddd;
}

.postlist figure {
  margin: 0;
}

.postlist h2 {
  margin: 0;
  padding: 10px;
  font-size: 1em;
}

.postlist article:first-of-type {
  grid-column: 1/-1;
}

.postlist article:first-of-type h2 {
  padding: 15px 10px;
  font-size: 1.95em;
}

.postlist article:first-of-type img {
  height: var(--imgh);
}

.postlist article img {
  height: calc(var(--imgh) / 2);
  object-fit: cover;
}

/* Pagination */
.pagination {
  grid-column: 1/-1;
  grid-row: auto;
  margin-top: 40px;
}

.pagination .nav-links {
  display: grid;
  grid-auto-flow: column;
  column-gap: 25px;
  color: #888;
  font-family: "Open Sans", sans-serif;
  font-size: 1.25em;
}

.pagination .nav-links a {
  color: #1b5e92;
}

/* Categories & Archives */
.postlist h1 {
  grid-column: 1/-1;
  color: #1b5e92;
  font-size: 1.56em;
  font-weight: normal;
}

.category h1::before {
  content: "\f0c6";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  margin-right: 10px;
  opacity: 0.8;
}

.date h1::before {
  content: "\f186";
  font-family: "Font Awesome 5 Free";
  font-weight: bold;
  margin-right: 10px;
  opacity: 0.8;
}

/* Some decorations */
.alignleft {
  float: left;
  margin: 0 0 2em 2em;
}

.alignright {
  float: right;
  margin: 0 0 2em 2em;
}

.aligncenter {
  display: block;
  margin: 2em auto;
  clear: both;
}

article {
  display: flow-root;
}

article::after {
  content: "";
  display: block;
  clear: both;
}

.wp-block-categories.aligncenter,
.wp-block-latest-posts.aligncenter,
.wp-block-archives.aligncenter,
.wp-block-tag-cloud.aligncenter,
.wp-block-latest-comments.aligncenter,
.wp-block-rss.aligncenter {
  text-align: center;
}

article {
  box-sizing: border-box;
}

article *,
article *::before,
article *::after {
  box-sizing: inherit;
}

/* Color settings */
.has-pink-color {
  color: #ff7777;
}

.has-pink-background-color {
  background-color: #ff7777;
}

/* `.invisible` is used to hide information of previous years. 
    If you update information and make it visible again, pleasse remove `invisible` in the block editor.
*/
.invisible {
  display: none !important;
}

/* SNS buttons */
.follow-button {
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
.follow-button li {
  flex: 0 0 33%;
  text-align: center;
  list-style-type: none;
}
.follow-button li a {
  border-radius: 50%;
  position: relative;
  display: inline-block;
  width: 50px;
  height: 50px;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  transition: 0.5s;
}
.follow-button li a:hover {
  transform: translateY(-5px);
  opacity: 0.7;
}
.follow-button li a.twitter {
  background: #7dcdf7;
}
.follow-button li a.instagram {
  background: linear-gradient(135deg, #427eff 0%, #f13f79 70%) no-repeat;
  overflow: hidden;
}
.follow-button li a.instagram::before {
  content: "";
  position: absolute;
  top: 27px;
  left: -12px;
  width: 59px;
  height: 40px;
  background: radial-gradient(#ffdb2c 5%, rgba(255, 105, 34, 0.65) 55%, rgba(255, 88, 96, 0) 70%);
}
.follow-button li a.youtube {
  background-color: #f5515f;
  font-size: 26px;
}
.follow-button li a::after {
  content: none;
}
.follow-button li a i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.follow-button li a i.fa-instagram {
  font-size: 35px;
}

.google-map {
  border: 0;
  filter: invert(80%);
}

/* Smaller than 834px (tablets) */
@media screen and (max-width: 834px) {
  body > * {
    grid-column: 3/-3;
  }
  .main-background {
    left: -40px;
    right: -40px;
  }
  .md-br {
    display: block;
  }
}
/* Smaller than 480px (smartphones) */
@media screen and (max-width: 480px) {
  body > * {
    grid-column: 2/-2;
  }
  .main-background {
    left: -20px;
    right: -20px;
  }
  .sp-br {
    display: block;
  }
}/*# sourceMappingURL=style.css.map */