/* Global Settings */
:root {
  --main-color: #4169e1;
  --main-bg-color: #ffffff;
  --main-text-color: #000000;
  --header-bg-color: #000000;
  --footer-text-color: #ffffff;
  --footer-bg-color: #000000;
  --menu-link-color: var(--main-text-color, #333);
  --menu-link-hover-color: var(--link-hover-color, #1e40af);
  --menu-link-hover-bg: var(--link-hover-bg, rgba(65, 105, 225, 0.1));
  --primary-color: #4169e1;
  --primary-dark: #3a5ecc;
  --text-color: #333;
  --bg-color: #f8f9fa;
  --accent-color: #4A90E2; /* 青色に変更 */
  --quote-bg-color: rgba(74, 144, 226, 0.1); /* 薄い青色 */
}

html {
  scroll-behavior: smooth;
}

/* baseline */
* {
  box-sizing: border-box;
}

body {
  font-feature-settings: "palt" 1;
  text-size-adjust: 100%;
  background-color: var(--main-bg-color);
  font-family: sans-serif;
  line-height: 1.6;
  color: var(--main-text-color);
  margin: 0;
}

/* Layer 2 */

header {
  width: 100%;
  height: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-logo {
  width: 100%;
  color: var(--main-bg-color);
  margin: auto;
  display: flex;
  align-items: center;
  padding: 0.5rem;
}

.site-logo img {
  width: clamp(12rem, 45vw, 25rem);
  height: auto;
  margin: 0;
  min-height: 50px;
  object-fit: contain;
}

.site-logo a {
  text-decoration: none;
  display: block;
  transition: ease-out 0.3s ease;
}

.site-logo a:hover {
  opacity: 0.8;
  color: var(--main-bg-color);
  background-color: var(--main-bg-color);
  text-decoration: none;
}

main {
  width: 90%;
  height: auto;
  margin: auto;
}

aside {
  width: 100%;
}

footer {
  width: 100%;
  text-align: center;
  padding: 1rem;
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
  font-size: 0.9rem;
  line-height: 1.4;
}

footer a {
  text-decoration: none;
  color: #999;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--main-bg-color);
}

/* Layer 3 */

article section {
  width: 100%;
  margin-inline: auto;
}

/* Layer 4 */

h1, h2, h3, h4 {
  font-weight: bold;
  color: var(--main-text-color);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(1.25rem, 2vw, 2.5rem);
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.headline {
  position: absolute;
  top: 0.3rem;
  left: 0.3rem;
  background: rgba(245,136,0, .9);
  padding: 0.3rem;
  z-index: 1;
  width: 65%;
  height: auto;
  min-height: 4rem;
}

@media (max-width: 600px) {
  .relative {
    display: flex;
    flex-direction: column-reverse;
  }

  .headline {
    position: static;
    width: 100%;
  }
}

h2 {
  width: 100%;
  font-size: clamp(1.25rem, 2vw, 2rem);
  padding-bottom: 0.5rem;
}

h3 {
  width: 100%;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  border-bottom: solid 3px black;
  padding-bottom: 0.5rem;
}

h4 {
  width: 100%;
  font-size: clamp(0.875rem, 1.2vw, 1.2rem);
  font-weight: 600;
  border: solid 0.1rem var(--main-bg-color);
  padding: 0.5rem;
  border-radius: 0.5rem;
}


search {
  width: 100%;
  text-align: right;
  margin: 0.5rem;
}

nav {
  width: 100%;
  margin: auto;
}

/* site-menu */

.site-menu {
  width: 100%;
  border-bottom: 1px solid #000;
  text-align: right;
  padding: 0.5rem 0;
}

.site-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-menu li {
  display: inline-block;
  margin-right: 1rem;
}

.site-menu a {
  color: var(--menu-link-color);
  text-decoration: none;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: bold;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  transition: color 0.2s ease, background-color 0.2s ease;
  position: relative;
}

.site-menu a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--menu-link-hover-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.site-menu a:hover {
  color: var(--menu-link-hover-color);
  background-color: var(--menu-link-hover-bg);
}

.site-menu a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media (prefers-reduced-motion: reduce) {
  .site-menu a, .site-menu a::after {
    transition: none;
  }
}

.sub_navigation {
  margin: 0rem auto;
  color: var(--main-text-color);
  text-align: center;
  background-color: #f5f5f5;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.breadcrumbs {
  width: 100%;
}

.breadcrumbs ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: inline-block;
  margin-right: 0.5rem;
}

.breadcrumbs li::after {
  content: '>';
  padding: 0 0.2rem;
}

.breadcrumbs li:last-child::after {
  display: none;
}

p {
  width: 100%;
  margin-inline: auto;
}

figure {
  padding: 0;
  margin-top: 3rem;
  margin-bottom: 3rem;
  margin-left: 0;
  margin-right: 0;
}

figcaption {
  font-weight: bold;
  text-align: center;
}

dl {
  padding: 1rem;
  margin: 0;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

dt {
  background-color: #ffffff;
  border-left: solid 4px #007bff;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  font-weight: 600;
  color: #333;
}

dd {
  margin: 0 0 1rem 1rem;
  padding: 0.75rem;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

ul {
  margin: 0.5rem;
  padding: 0.5rem;
}

li {
  margin-inline: 0.3rem;
}

ol.asterisk {
  counter-reset: number;
  list-style: none;
}

ol.asterisk li:before {
  counter-increment: number;
  content: "※"counter(number)" ";
}

q, blockquote {
  font-style: italic;
  color: var(--text-color);
  background-color: var(--quote-bg-color);
  border-left: 3px solid var(--accent-color);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  transition: all 0.3s ease;
  display: inline-block;
}

q::before, q::after, blockquote::before {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 0;
  position: absolute;
  color: var(--accent-color);
  opacity: 0.5;
}

q::before {
  content: open-quote;
  left: 0.5rem;
  top: 1rem;
}

q::after {
  content: close-quote;
  right: 0.5rem;
  bottom: 0;
}

blockquote::before {
  content: open-quote;
  left: 0.5rem;
  top: 0.5rem;
}

q:hover, blockquote:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

q {
  quotes: """ """ "'" "'";
}



cite {
  text-align: right;
  font-style: italic;
}


hr {
  width: 100%;
}

/* inline */

code {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-family: monospace;
  font-weight: bold;
  padding: 2px 4px;
}


mark {
  background-image: linear-gradient(to bottom, transparent 10%, #ccff33 10%, #ccff33 90%, transparent 90%);
  padding: 0.1em;
}


caption {
  font-weight: bold;
  text-align: center;
}

pre {
  font-family: monospace;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-all;
  padding: 1rem;
  background-color: #1e1e1e;
  color: #33ff33;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1rem 0;
  box-shadow: inset 0 0 0.5rem rgba(0, 0, 0, 0.1);
  border: 1px solid #333;
}

samp {
  font-family: monospace;
  color: #00ff00;
}

iframe {
  width: 100%;
  border-style: none;
  border: 0rem;
  margin: 0rem;
}

:root {
  --link-color: #4169e1;
  --link-hover-color: #1e40af;
  --link-hover-bg: rgba(65, 105, 225, 0.1);
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  padding: 0.1em 0.2em;
  border-radius: 3px;
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--link-hover-color);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

a:hover {
  color: var(--link-hover-color);
  background-color: var(--link-hover-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

a:focus {
  outline: 2px solid var(--link-color);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  a, a::after {
    transition: none;
  }
}


.annotation li {
  list-style:none;
}
.annotation li:before {
  content:"※"
}



.sub_menu {
  text-align: right;
}

.sub_menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sub_menu li {
  margin: 0;
  display: inline-block;
  border-right: 0.2rem solid #ddd;
  line-height: 1.5;
}

.sub_menu li:last-child {
  border-right: none;
}

.sub_menu li a {
  display: block;
  padding: 0.2rem 0.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s, color 0.3s;
}

.sub_menu li a:hover {
  background: var(--main-bg-color);
  color: var(--main-bg-color);
}

.customer {
  --customer-bg: var(--main-bg-color, #fff);
  --customer-hover-bg: #f0f0f0;
  --customer-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  list-style: none;
  margin: 0;
}

.customer li {
  flex: 0 1 calc(25% - 1rem);
  min-width: 200px;
}

.customer a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1rem;
  background: var(--customer-bg);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--customer-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.customer a:hover,
.customer a:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .customer a {
    transition: none;
  }
}

.logo {
  width: auto;
  max-width: 11rem;
  height: 7rem;
  min-height: 5rem;
}

.contact {
  background-color: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem auto;
  text-align: center;
  max-width: 800px;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact p {
  line-height: 1.6;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(65, 105, 225, 0.2);
}

.button:hover {
  color: #ffff00;
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(65, 105, 225, 0.3);
}

.button span {
  margin-right: 0.5rem;
}

@media (max-width: 600px) {
  .contact {
    padding: 1.5rem;
  }

  .button {
    font-size: 1rem;
    padding: 0.6rem 1.2rem;
  }
}


.list-center {
  display: flex;
  align-items: center;
  flex-direction: column;
}


/* Format Settings */

/* Color */
.red    {color:#dc143c;}
.blue   {color:#0000ff;}
.white  {color:#ffffff;}

/* width */
.heroimage {
  width: 100%;
  height: auto;
  aspect-ratio: 1600 / 989;
}

.width100percent {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}

.width65percent {
  width: 65%;
  height: auto;
  margin: auto;
}

/* Font Weight */
.bold {
  font-weight: bold;
}

/* Text align */
.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

/* video */
.video {
  position: relative;
  height: 0;
  padding: 0.3rem 0 56.25%;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.symbol {
  max-width: 6rem;
  width: 8vw;
  min-width: 4rem;
  height: auto;
}

.solid {
  border: 0.1rem solid;
}

.t-format1 {
  margin: 3rem 0;
  width: 100%;
  border-collapse: collapse;
}

.t-format1 th,
.t-format1 td {
  padding: 1rem;
  border: 0.1rem solid var(--main-bg-color);
  text-align: left;
  vertical-align: middle;
}

.t-format1 th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.t-format2 {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background-color: #fff;
  font-size: 0.9rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

.t-format2 caption {
  padding: 1rem;
  font-weight: bold;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.t-format2 th,
.t-format2 td {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
}

.t-format2 th:last-child,
.t-format2 td:last-child {
  border-right: none;
}

.t-format2 thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.t-format2 tbody th {
  font-weight: 600;
  background-color: #f8f9fa;
}

.t-format2 tbody tr:last-child td,
.t-format2 tbody tr:last-child th {
  border-bottom: none;
}

.t-format2 td[rowspan] {
  border-left: 1px solid #dee2e6;
}


.in-progress {
  background-color: #f8d7da;
  font-weight: bold;
  color: #721c24;
}

.available {
  background-color: #d4edda;
  font-weight: bold;
  color: #155724;
}

.table-container {
  overflow-x: auto;
  margin: 2rem auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.t-format2 {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background-color: #fff;
  font-size: 0.9rem;
}

.t-format2 caption {
  padding: 1rem;
  font-weight: bold;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.t-format2 th,
.t-format2 td {
  padding: 0.75rem;
  border-bottom: 1px solid #dee2e6;
}

.t-format2 thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #dee2e6;
}

.t-format2 tbody th {
  font-weight: 600;
  background-color: #f8f9fa;
}

.t-format2 tbody tr:last-child td,
.t-format2 tbody tr:last-child th {
  border-bottom: none;
}

.status {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status.ended {
  background-color: #e9ecef;
  color: #495057;
}

.status.in-progress {
  background-color: #fff3cd;
  color: #856404;
}

.status.reserved {
  background-color: #d1ecf1;
  color: #0c5460;
}

@media (max-width: 768px) {
  .t-format2 {
    font-size: 0.8rem;
  }
  
  .t-format2 th,
  .t-format2 td {
    padding: 0.5rem;
  }
}
.t-format3 {
  width: 100%;
  max-width: 800px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.5rem auto;
  border: 1px solid var(--table-border-color, #ddd);
}

.t-format3 th,
.t-format3 td {
  font-size: clamp(0.875rem, 2vw, 1rem);
  padding: 0.75rem;
  border-bottom: 1px solid var(--table-border-color, #ddd);
  text-align: center;
  vertical-align: middle;
}

.t-format3 th {
  background-color: var(--table-header-bg, rgba(255, 215, 0, 0.3));
  font-weight: 600;
  color: var(--table-header-color, #333);
}

.t-format3 tr:last-child td {
  border-bottom: none;
}

.t-format3 tr:nth-child(even) {
  background-color: var(--table-even-row-bg, #fafafa);
}

.t-format3 tr:hover {
  background-color: var(--table-hover-bg, #f0f0f0);
}

@media (max-width: 600px) {
  .t-format3 {
    font-size: 0.875rem;
  }

  .t-format3 th,
  .t-format3 td {
    padding: 0.5rem;
  }
}

.num td {
  text-align: right;
}

.t-format4 {
  width: auto;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
.t-format4 th {
  text-align: center;
  padding: 0.1rem;
  border: 0.1rem solid;
}

.t-format4 td {
  padding: 0.1rem;
  border: 0.1rem solid;
}

.table-container {
  overflow-x: auto;
  margin: 2rem auto;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.t-format5 {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  background-color: #fff;
  font-size: 0.9rem;
}

.t-format5 caption {
  padding: 1rem;
  font-weight: bold;
  background-color: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.t-format5 th,
.t-format5 td {
  padding: 0.75rem;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.t-format5 thead th {
  background-color: #f8f9fa;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-top: 1px solid #dee2e6;
}

.t-format5 tbody th {
  font-weight: 600;
  background-color: #f8f9fa;
}

.t-format5 tbody tr:last-child td,
.t-format5 tbody tr:last-child th {
  border-bottom: none;
}

.status {
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status.ended {
  background-color: #e9ecef;
  color: #495057;
}

.status.in-progress {
  background-color: #fff3cd;
  color: #856404;
}

.status.reserved {
  background-color: #d1ecf1;
  color: #0c5460;
}

@media (max-width: 768px) {
  .t-format2 {
    font-size: 0.8rem;
  }
  
  .t-format2 th,
  .t-format2 td {
    padding: 0.5rem;
  }
}

/*
 Block Layout Settings
 This settings are for base layout of this site which consists block-a to block-f.
 block-a: web site logo;
 block-b: company contact information;
 site-menu: menu navigation;
 block-d: side pane navigation;
 block-e: content;
 block-f: footer;
*/

/* block-a */




/* container */

.container2 {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 1vw;
  justify-content: center;
}

.item {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 6;
  row-gap: 0.5rem;
  padding: 0.5vw;
  box-sizing: border-box;
}

.item img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* share */

.share {
  padding: 0.2rem;
  margin: 0 auto;
  text-align: right;
}

.share ul {
  list-style: none;
  padding: 0;
}

.share li {
  display: inline;
  margin: 0.1rem;
}

.sns_icon {
  width: 3rem;
  height: auto;
}

.social {
  margin: 0rem;
  padding: 1rem;
  text-align: center;
  background: #34495e;
}

.social h2 {
  padding: 0.5rem;
  font-weight: bold;
}

.social ul {
  list-style: none;
  padding-inline-start: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.social li {
  margin: 0.5rem;
}

.navigation-timing {
  padding: 1rem;
  background-color: var(--main-bg-color);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}