/* Media Query */
.hide {
  display: none !important; }

@media screen and (max-width: 599px) {
  .hide-s {
    display: none !important; } }
@media screen and (max-width: 799px) {
  .hide-m {
    display: none !important; } }
@media screen and (max-width: 999px) {
  .hide-l {
    display: none !important; } }
@media screen and (min-width: 800px) {
  .hide-xl {
    display: none !important; } }
/* flex */
.flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; }

.flex-center {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center; }

.header-text .flex-center {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end; }

.between {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between; }

.l-2 {
  width: 49%; }

.l-3 {
  width: 32%; }

.flex .l-3 {
  margin-left: calc(7% / 2); }
  .flex .l-3:nth-child(3n+1) {
    margin-left: 0; }

.l-3x2 {
  width: 66.666%; }

.l-4 {
  width: 23.5%; }

.flex .l-4 {
  margin-left: calc(6% / 3); }
  .flex .l-4:nth-child(4n+1) {
    margin-left: 0; }

.l-4x3 {
  width: 74%; }

.l-5 {
  width: 18%; }

.l-5x4 {
  width: 80%; }

.flex-center .l-2, .flex-center .l-3, .flex-center .l-4, .flex-center .l-5 {
  margin-right: 0.5em; }

.fit {
  display: flex;
  flex-direction: column; }

.arch .fit {
  margin-bottom: 4em; }

/* color */
.blue {
  color: #5290D5; }

.bg-blue {
  background: #5290D5; }

/* font */
.bold {
  font-weight: bold; }

.txt-min {
  font-size: 0.85em; }

.txt-mid {
  font-size: 1.16em; }

.txt-big {
  font-size: 1.5em; }

.txt-r {
  text-align: right; }

.txt-block {
  display: inline-block; }

/* adjust */
.mar-tb-05em {
  margin: 0.5em 0; }

.mar-t-1em {
  margin-top: 1em; }

.mar-b-1em {
  margin-bottom: 1em; }

.mar-l-1em {
  margin-left: 1em; }

.mar-r-1em {
  margin-right: 1em; }

.mar-tb-1em {
  margin-top: 1em;
  margin-bottom: 1em; }

.mar-t-2em {
  margin-top: 2em; }

.mar-b-2em {
  margin-bottom: 2em; }

.mar-t-3em {
  margin-top: 3em; }

.mar-b-3em {
  margin-bottom: 3em; }

.mar-t-4em {
  margin-top: 4em; }

.mar-b-4em {
  margin-bottom: 4em; }

.mar-t-5em {
  margin-top: 5em; }

.mar-b-5em {
  margin-bottom: 5em; }

.pdd-1em {
  padding: 1em; }

.pdd-tb-2em {
  padding: 2em 0; }

.pdd-rl-05em {
  padding: 0 0.5em; }

.pdd-t-1em {
  padding-top: 1em; }

.pdd-b-1em {
  padding-bottom: 1em; }

.pdd-l-1em {
  padding-left: 1em; }

.pdd-r-1em {
  padding-right: 1em; }

.pdd-t-2em {
  padding-top: 2em; }

.pdd-b-2em {
  padding-bottom: 2em; }

.pdd-t-3em {
  padding-top: 3em; }

.pdd-b-3em {
  padding-bottom: 3em; }

.pdd-t-4em {
  padding-top: 4em; }

.pdd-b-4em {
  padding-bottom: 4em; }

.pdd-t-5em {
  padding-top: 5em; }

.pdd-b-5em {
  padding-bottom: 5em; }

/* common */
html {
  line-height: 1.4;
  position: relative;
  min-height: 100%; }

body {
  margin: 0;
  /* Margin bottom for footer height */
  padding-bottom: 60px; }

section {
  padding: 150px 0; }

.wrapper {
  overflow: hidden; }

img {
  width: 100%; }
  img:not(.no-kado) {
    border-radius: 15px; }

pre,
code {
  background: #f8f8f8;
  color: #333; }

pre {
  border-left: 2px solid #ccc;
  padding: 10px; }

code {
  display: inline-block;
  padding: 0 0.5em;
  line-height: 1.4em;
  border-radius: 3px; }

table {
  empty-cells: show;
  border: 1px solid #cbcbcb;
  width: 100%;
  font-size: 0.9em;
  margin-bottom: 1rem; }

thead {
  background-color: #e0e0e0;
  color: #000;
  text-align: left;
  vertical-align: bottom; }

tr {
  display: table-row;
  vertical-align: inherit;
  border-color: inherit; }

th,
td {
  padding: 0.5em 1em; }

h1.title {
  font-size: 2.3rem; }

blockquote {
  padding: 10px 20px;
  margin: 0 0 20px 20px;
  border-left: 5px solid #eee;
  font-style: italic; }

.bi {
  margin-right: .5rem !important; }

/* Paginator */
.paginator {
  margin-top: 20px;
  margin-bottom: 80px; }

/* Navbar */
.navbar-brand {
  max-width: 500px; }

img.nav-svg-icon {
  width: 1rem;
  height: 1rem;
  padding-bottom: 2px; }

.nav-link {
  color: #4D5156 !important;
  font-size: 1.15em;
  line-height: 1.2;
  text-align: center; }

.mini-logo {
  height: 22px;
  padding-bottom: 5px; }

/* Home - Header */
header.welcome {
  padding: 100px 0; }

/* Home - Page */
section.home-page:nth-child(even) {
  /* Alternate the background color */
  background: #FAFAFA; }

.page-cover-image {
  background-size: cover;
  background-position: center; }

.page-description {
  color: #b5b5b5;
  font-style: italic; }

/* VIDEO EMBED RESPONSIVE */
.video-embed {
  overflow: hidden;
  padding-bottom: 56.25%;
  /* 16:9 */
  position: relative;
  height: 0; }

.video-embed iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute; }

/* layout */
a:hover {
  opacity: 1 !important;
  -moz-opacity: 1 !important; }

.center {
  text-align: center; }

.container {
  max-width: 1000px;
  margin: 0 auto; }
  .container:has(.office) {
    max-width: 1200px; }

h1 {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 2em;
  background: #5290D5;
  color: #fff;
  padding: 1em;
  border-radius: 0 0 20px 20px; }
  h1 .txt-min {
    font-size: 0.6em;
    text-transform: uppercase; }

h2 {
  font-size: 1.7em;
  text-align: center;
  margin-bottom: 1.5em; }
  h2.title {
    margin-bottom: 0.3em; }

h3 {
  font-size: 1.4em;
  margin-bottom: 1em; }

.heading {
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 1em;
  font-weight: bold; }

.btn {
  background: #5290D5;
  color: #fff; }
  .btn:hover {
    color: #fff; }

.cmp-l {
  width: 17%; }

.cmp-r {
  width: 80%; }

.box-gray {
  background: #F7F4F2;
  padding: 1em;
  margin-top: auto;
  border-radius: 15px; }

.box-center {
  max-inline-size: max-content;
  margin-inline: auto; }

.index {
  padding-bottom: 5em; }

.intro {
  line-height: 1.9; }

.news .date {
  width: 6em; }
.news .flex {
  padding: 0.5em 0; }

.post-title {
  margin-bottom: 1.5em; }
  .post-title .date {
    text-align: center;
    font-weight: 500; }

.static {
  background: #F4F4F5;
  padding-bottom: 4em; }

.setubi {
  font-size: 14px; }

.map {
  position: relative;
  width: 100%;
  padding-top: 260px;
  overflow: hidden; }

.map iframe {
  position: absolute;
  top: -130px;
  left: 0;
  width: 100%;
  height: calc(100% + 130px + 130px);
  pointer-events: none; }

.m-2 {
  margin: 0 !important; }

.box-w {
  background: #fff;
  padding: 2em 1em;
  border-radius: 15px;
  margin-bottom: 3em; }
  .title-w + .box-w {
    border-radius: 0 15px 15px 15px; }
  .right + .box-w {
    border-radius: 15px 0 15px 15px; }

.box-y {
  background: #FADB87;
  padding: 2em 1em;
  border-radius: 15px;
  margin-bottom: 2em; }

.add1 {
  margin-right: 1em;
  width: 3.4em; }

.flex:has(.add1) {
  flex-wrap: nowrap; }

.setubi1 {
  display: block;
  background: #e8e8e8;
  padding: 0.3em;
  margin-bottom: 0.3em; }

.anchor {
  margin-bottom: 1.5em; }

.alink {
  background: #fff;
  font-size: 1.3em;
  padding: 1em;
  border-radius: 10px;
  color: #4D5156;
  font-weight: 500; }
  .alink:not(:last-child) {
    margin-right: 1em; }
  .alink:hover {
    color: #4D5156;
    text-decoration: none; }

.rcr1 {
  background: #fff;
  width: 16%;
  margin-right: 1em;
  padding: 0.4em; }

.rcr2 {
  width: 81%;
  padding: 0.4em 0; }

.box-l {
  border: 2px solid;
  padding: 1em;
  margin: 2em 0 5em;
  border-radius: 15px; }

.title-w {
  display: inline-block;
  background: #fff;
  font-size: 1.3em;
  padding: 1em 2.5em 0;
  border-radius: 15px 15px 0 0;
  font-weight: 500; }

.title-w-r {
  display: inline-block;
  background: #fff;
  font-size: 1.3em;
  padding: 1em 2.5em 0;
  border-radius: 15px 15px 0 0;
  font-weight: 500;
  text-align: right; }

.right {
  text-align: right; }

.oned1 {
  width: 21%;
  margin-right: 1em;
  padding: 0.3em 0; }

.oned2 {
  width: 76%;
  padding: 0.3em 0; }

/* Footer */
footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  font-size: 0.8em;
  background: #5290D5; }

/* responsive */
@media screen and (max-width: 999px) {
  html {
    font-size: calc(1rem + ((1vw - 0.75em) * 0.2315)); }

  main {
    height: auto; }

  .navbar-brand {
    max-width: 400px; } }
@media screen and (max-width: 900px) {
  .nav-link {
    font-size: 1em; } }
@media screen and (max-width: 799px) {
  html {
    font-size: calc(0.9375rem + ((1vw - 0.48em) * 0.1359)); }

  .content {
    width: 100%; }

  .navbar-brand {
    max-width: 350px; }

  .m-1 {
    width: 100%; }

  .m-2 {
    width: 48%;
    padding-bottom: 1em; }

  .flex .l-4 {
    margin-left: 0; }

  .flex .m-2:nth-child(even) {
    margin-left: 4%; }

  .m-3 {
    width: 31%; }

  .m-4 {
    width: 23.5%; }

  .m-4x3 {
    width: 74%; } }
@media screen and (min-width: 600px) {
  .show-s {
    display: none; } }
@media screen and (max-width: 599px) {
  .navbar-brand {
    max-width: 280px; }

  h1 {
    padding: 0.8em;
    margin-bottom: 1.8em;
    line-height: 1; }

  .alink {
    font-size: 1.2em;
    padding: 1em 0.8em; }
    .office .alink {
      font-size: 1.1em; }

  .box-w .between, .box-y .between {
    justify-content: center; }
    .box-w .between .m-2:first-child:has(img), .box-y .between .m-2:first-child:has(img) {
      width: 80%; }

  .mar-s {
    margin: 1.2em 0; }

  .rcr1 {
    width: 20%; }

  .rcr2 {
    width: 75%; }

  .oned1, .oned2 {
    width: 100%; }

  .oned1 {
    padding: 0; }

  .oned2 {
    padding: 0 0 1.2em; }

  .reverse-s {
    flex-direction: column-reverse; }

  .s-1 {
    width: 100% !important; }

  .s-2 {
    width: 48%; }

  .hide-s {
    display: none; }

  .show-s {
    display: block; } }
