/* ==========================================================================
   BASE & RESET
   ========================================================================== */
small, .small {
    font-size: 85% !important;
    font-weight: 400 !important;
}

body {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  color: #696969;
  margin: 0;
  padding: 0;
  font-size: .93rem;
font-family: "Zen Old Mincho", serif;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "Hiragino Mincho ProN", "YuMincho", serif;
font-family: "游ゴシック体", "Yu Gothic", "游ゴシック", "YuGothic", "Helvetica Neue", sans-serif;
font-family: "Noto Sans JP", sans-serif;
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Meiryo", sans-serif;
  font-weight: 500;
  line-height: 1.8rem;
  letter-spacing: 0.1rem;
  word-wrap: break-word !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -5;
  width: 100%;
  height: 100vh;
  background-image: url(/baseimg/subtitback8.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#top_spa {
  padding-top: 60px;
}

a {
  color: #bf0000;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

a:hover {
  color: #a50000;
  text-decoration: none;
}


/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */

.container {
  padding-right: 0;
  padding-left: 0;
}

.row {
  margin-right: 0;
  margin-left: 0;
}

.col-md-auto,
.col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
.col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
.col-lg, .col-lg-auto,
.col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6,
.col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12,
.col-xl, .col-xl-auto {
  padding-right: 10px;
  padding-left: 10px;
}

.both {
  clear: both;
}

.overflow-xsc {
  overflow-x: auto;
  overflow-y: hidden;
  flex-wrap: nowrap;
}

.row.borders div {
  border: 1px solid grey;
}

.p0m0 {
  padding: 0;
  margin: 0;
}

.mb-100 {
  margin-bottom: 100px;
}

.mt-10 {
  margin-top: 100px;
}

.wid100 {
  width: 100%;
}

.pl-4, .px-4 {
  padding-left: 1rem !important;
}

.pr-4, .px-4 {
  padding-right: 1rem !important;
}

.lgleft {
  text-align: left !important;
}

.centercenter {
  vertical-align: middle;
  text-align: center;
}

.f-inherit {
  color: inherit;
}

.bg-none {
  background-color: transparent;
  color: red;
}

.bgnone {
  background-color: rgba(255, 255, 255, 0) !important;
}


/* --------------------------------------------------------------------------
   Height utilities
   -------------------------------------------------------------------------- */

.hi100vh {
  height: 100vh;
}

.hi70vh {
  height: 70vh;
}

.hi50vh {
  height: 65vh;
  max-height: 530px;
  min-height: 480px;
}

.hi30vh {
  height: 30vh;
}

.divrs {
  width: 100%;
  display: block;
  position: relative;
}

.divrs:before {
  display: block;
  content: "";
}

.hi310:before { padding-top: 310%; }
.hi200:before { padding-top: 200%; }
.hi150:before { padding-top: 150%; }
.hi100:before { padding-top: 100%; }
.hi75:before  { padding-top: 75%;  }
.hi60:before  { padding-top: 61%;  }
.hi60da:before{ padding-top: 60%;  }
.hi55:before  { padding-top: 53%;  }
.hi50:before  { padding-top: 50%;  }
.hi40:before  { padding-top: 45%;  }
.hi30:before  { padding-top: 30%;  }
.hi25:before  { padding-top: 25%;  }
.hi10:before  { padding-top: 10%;  }
.hi0:after    { padding-top: 0%;   }

/* Pseudo-element height helpers */
.h30:after,
.h50:after,
.h70:after,
.h100:after {
  display: block;
  content: "";
}
.h30:after  { padding-top: 30%;  }
.h50:after  { padding-top: 50%;  }
.h70:after  { padding-top: 70%;  }
.h100:after { padding-top: 100%; }


/* --------------------------------------------------------------------------
   Background utilities
   -------------------------------------------------------------------------- */

.bgfff {
  background-color: #fff;
  color: #262626;
}



.bg000 {
  background-color: #000;
  color: #fff;
}

.bgdark {
  background-color: #41403e !important;
  color: #fff;
}

.bgdark2 {
  background-color: rgba(0, 0, 0, 0.4) !important;
  color: #fff;
}

.bgdark3 {
  background-color: rgba(0, 0, 0, 0.6) !important;
  color: #fff;
}

.bglight {
  background-color: rgba(255, 255, 255, 0.8) !important;
  color: #262626;
}

.bglight2 {
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: #262626;
}

.bgora {
  background-color: #f4eaeb !important;
  color: #000;
}

.bgora .eng {
  color: #B91A28;
}

.bggra .backbg-overlay::before,
.bggra.parallax::before,
.centering_item.bggra,
.parall_center.bggra {
  background: linear-gradient(135deg, rgba(52, 124, 247, 0.6) 0, rgba(246, 41, 12, 0.6) 99%, rgba(231, 56, 39, 0.6) 100%);
}

.bgdark .backbg-overlay::before,
.bgdark.parallax::before,
.centering_item.bgdark,
.parall_center.bgdark,
.full-fluid.bgdark {
  background-color: rgba(0, 0, 0, 0.6);
}

.bglight .backbg-overlay::before,
.bglight.parallax::before,
.centering_item.bglight,
.parall_center.bglight,
.full-fluid.bglight {
  background-color: rgba(255, 255, 255, 0.7);
}

.bgoraora {
  background-color: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  overflow: hidden;
}

.ora {
  color: #f19601 !important;
}

.bgdark, .bggra {
  color: #fff;
}

.backphototit {
  color: #fff;
  text-shadow:
    2px 2px 5px rgba(0, 0, 0, 0.4),
    2px -2px 5px rgba(0, 0, 0, 0.4),
    -2px 2px 5px rgba(0, 0, 0, 0.4),
    -2px -2px 5px rgba(0, 0, 0, 0.4),
    2px 0 5px rgba(0, 0, 0, 0.4),
    0 2px 5px rgba(0, 0, 0, 0.4),
    -2px 0 5px rgba(0, 0, 0, 0.4),
    0 -2px 5px rgba(0, 0, 0, 0.4);
}


/* --------------------------------------------------------------------------
   Background overlay
   -------------------------------------------------------------------------- */

.backbg-overlay {
  position: absolute;
  z-index: -3;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-background-size: cover;
}

.backbg-overlay::after {
  position: absolute;
  z-index: -2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-background-size: cover;
}

.backbg-overlay::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  background-color: transparent;
  background-position: top left;
  background-repeat: repeat;
}

.backbg-fix:after,
.backbg-fix {
  background-attachment: fixed;
}

.backbg-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-background-size: cover;
}

.backbg-cover.cover {
  background-attachment: fixed;
}


/* --------------------------------------------------------------------------
   Parallax / full-width sections
   -------------------------------------------------------------------------- */

.bg, .parallax {
  position: relative;
  overflow: hidden;
  text-align: center;
  align-items: center;
  justify-content: center;
  display: flex;
}

.parallax:before {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.parlx-children {
  position: absolute;
  width: 100%;
  height: 100%;
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  -webkit-background-size: cover;
}

.overlayt {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.full-fluid {
  position: relative;
  padding: 70px 30px;
  width: 100%;
  background-color: transparent;
  z-index: 1;
}

.centering_item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  padding: 20px;
}

.parall_center {
  position: relative;
  padding: 5%;
  margin: 12%;
  z-index: 2;
  max-width: 95%;
}

.parall_desp {
  position: relative;
}


/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */



h2, .h2 { font-size: 2.3rem; }
h4, .h4 { font-size: 1.75rem; }
h5, .h5 { font-size: 1.5rem; }
h6, .h6 { font-size: 1.2rem; }

h5.mt-3 {
  position: relative;
  margin-bottom: 40px !important;
  padding-bottom: 10px !important;
}

h5.mt-3::after {
  content: "";
  width: 60px;
  height: 3px;
  display: inline-block;
  background-color: #1066c8;
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
}

h5.mt-3.hole {
  margin-bottom: 20px !important;
  padding-bottom: 5px !important;
  margin-top: 0.2rem !important;
}

.title {
  position: relative;
  font-size: 2.5rem;
}

.sub_title,
.parall_title {
  font-size: 1.2rem;
}

.subsubtit {
  color: #dbeaff;
  margin-bottom: 25px;
}

/* Section heading decoration */
.s3 {
  color: #00469b;
  display: flex;
  align-items: center;
  margin-bottom: 50px;
  font-size: 2.3rem;
}

.s3:before,
.s3:after {
  content: "";
  flex-grow: 1;
  height: 10px;
  display: block;
}

.s3:before {
  margin-right: 0.4em;
  background: linear-gradient(90deg, #00469b, transparent);
}

.s3:after {
  margin-left: 0.4em;
  background: linear-gradient(-90deg, #00469b, transparent);
}

.bgora .s3:before {
  background: linear-gradient(90deg, #fff, transparent);
}

.bgora .s3:after {
  background: linear-gradient(-90deg, #fff, transparent);
}

.form-control,
.input-group-text {
  font-size: 0.85rem;
  line-height: 1rem;
}


/* ==========================================================================
   BUTTONS & LINKS
   ========================================================================== */

.btn,
.page-link {
  margin-top: 5px;
  margin-bottom: 5px;
  font-weight: bold;
}

.btn-primary {
  background-color: #1066c8;
}

.btn-primary:hover {
  background-color: #1066c8;
  border-color: #1066c8;
}

.btn-warning {
  background-color: #bf0000;
  border-color: #bf0000;
  color: #fff;
  font-weight: bold;
}

.btn-warning:hover {
  background-color: #a50000;
  border-color: #a50000;
  color: #fff;
}

.page-link {
  border: 1px solid #ffe6e6;
  color: #bf0000;
}

.page-link:hover {
  border: 1px solid #ffe6e6;
  background-color: #ffe6e6;
  color: #a50000;
}

.page-item.active .page-link {
  background-color: #8ac1ff;
  border-color: #8ac1ff;
}

.box-link,
.box-cc {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  overflow: hidden;
  -webkit-touch-callout: none;
}

.box-linkbd {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-sizing: border-box;
  border: 3px solid rgba(25, 181, 254, 1);
}

.box-linkbd:hover {
  border: 3px solid rgba(25, 181, 254, 0);
}

.box-linkbdato {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-sizing: border-box;
  border: 3px solid rgba(25, 181, 254, 0);
}

.box-linkbdato:hover {
  border: 3px solid rgba(25, 181, 254, 1);
}

.dropdown-item {
  white-space: normal;
  width: 100%;
  color: rgba(0, 0, 0, 0.8);
  padding: 0.5rem;
  line-height: 20px;
}

a.dropdown-item:hover {
  color: #bf0000;
}

.dropdown-menu {
  min-width: 15rem;
  color: #212529;
  background-color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
}

a.nav-link {
  color: rgba(0, 0, 0, 0.8);
}

a.nav-link:hover {
  color: #bf0000;
}

.nav-link {
  font-size: 1rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.nav-pills .nav-item {
  margin-top: 2px;
}

.nav-tabs .nav-link {
  padding: 0.6rem 1rem;
}

.badge {
  padding: 8px;
  font-weight: normal;
}

.pagination {
  overflow-x: auto;
}

.menulink {
  padding: 3px 10px;
  margin: 1px 3px;
  display: inline-block;
}

.swiper-slide span {
  border: 1px solid #ab0707;
  padding: 3px 10px;
  background-color: #bf0000;
  color: #fff;
  font-weight: bold;
}

.swiper-slide span.red {
  color: #fff;
  background-color: #bf0000;
}

.swiper-slide a:hover,
a.menulink:hover {
  color: #fff;
  background-color: #bf0000;
}

.swiper-containermenu .swiper-slide a,
a.menulink {
  color: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 3px 10px;
}

.icon-color {
  background: #bf0000;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #fff;
  line-height: 60px;
  vertical-align: middle;
}


/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */

.fixed-top {
  z-index: 950;
  transition: 0.5s;
}

.navbar-toggler {
  border: none;
}

.navbar-brand.navbar-toggler {
  padding: 0.7rem 0.5rem 0 1.25rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.dropdown-item:hover,
.dropdown-item:hover:active {
  color: rgba(255, 255, 255, 1);
  background-color: transparent;
}

/* Hamburger menu icon */
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all 0.4s;
  box-sizing: border-box;
}

.menu-trigger:focus {
  outline: 0 auto -webkit-focus-ring-color;
}

.menu-trigger {
  position: relative;
  width: 20px;
  height: 18px;
}

.menu-trigger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #262626;
  border-radius: 2px;
}

.bg-dark .menu-trigger span,
.navbar-dark .menu-trigger span {
  background-color: #fff;
}

.menu-trigger span:nth-of-type(1) { top: 0; }
.menu-trigger span:nth-of-type(2) { top: 8px; }
.menu-trigger span:nth-of-type(3) { bottom: 0; }

.menu-trigger:not(.collapsed) span:nth-of-type(1) {
  transform: translateY(8px) rotate(-315deg);
}

.menu-trigger:not(.collapsed) span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger:not(.collapsed) span:nth-of-type(3) {
  transform: translateY(-8px) rotate(315deg);
}

/* Collapsible sidebar menu */
.Sma.navbar-dark .dropdown-item {
  color: rgba(255, 255, 255, 0.5);
}

.Sma.navbar-dark .dropdown-item:hover {
  color: rgba(255, 255, 255, 1);
}

.Sma .nav-link {
  padding: 0.75rem 0.5rem;
  margin-left: 0;
  margin-right: 0;
}

.Sma .dropdown-item {
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
}

.Sma .navbar-collapse {
  max-height: 80vh;
  overflow: auto;
  margin-left: -15px;
  margin-right: -15px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 15px;
  padding-right: 15px;
}

.Sma .container {
  max-width: 100%;
}

.Sma .nav-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.Sma .dropdown-menu {
  background-color: transparent;
  border: none;
  padding: 0;
}

.Sma .dropdown-menu > .dropdown-item {
  background-color: transparent;
  border: none;
}

#submenu {
  background-color: #fff !important;
  padding: 5px 0;
  position: relative;
  z-index: 972;
  padding-top: 30px;
}

.breadcrumbbase {
  z-index: 971;
  position: relative;
  margin-top: -100px;
}

.collapasedayo {
  /* desktop only, see media query */
}

.namespace {
  padding-top: 100px;
  margin-top: -100px;
}

#section61 {
  margin-top: 30px;
  padding-bottom: 30px;
}


/* ==========================================================================
   CARDS & CARDLINK
   ========================================================================== */

.card {
  position: relative;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.card.cardlink {
  padding: 10px;
  min-width: 150px;
}

.card-title,
.card-text {
  z-index: 1;
}

/* Cardlink overlay system */
.cardlink [class*="box-link"] {
  z-index: 5;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.cardlink [class*="box-link"]:after {
  position: absolute;
  speak: none;
  content: "";
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.cardlink [class*="box-cc"] {
  width: 70%;
  display: block;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 10px;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  color: rgba(255, 255, 255, 1);
  border: 5px solid rgba(255, 255, 255, 1);
  opacity: 0;
}

.cardlink [class^="card-body"] {
  display: block;
  height: 100%;
}

.cardlink:hover *:after {
  opacity: 1;
}

.cardlink:hover .box-cc {
  z-index: 1;
  opacity: 1;
}

.cardlink:hover .box-link .box-cc {
  opacity: 0;
  display: none;
}

.cardlink .bgno-link {
  overflow: hidden;
}

/* Card color contexts */
.cardlink.bglight2 a,
.cardlink.bglight a,
.cardlink.bgfff a,
.cardlink.bgora a {
  color: #262626;
}

.cardlink.bgdark2 a,
.cardlink.bgdark a,
.cardlink.bg000 a {
  color: #fff;
}

.cardlink a .card-titlelink {
  color: #029ce2;
}

.cardlink a:hover .card-titlelink {
  color: rgba(255, 255, 255, 1);
}

/* Card hover effects */
.cardup {
  -webkit-transform: translateY(0%);
  transform: translateY(0%);
  -webkit-font-smoothing: antialiased;
}

.cardup:hover {
  -webkit-transform: translateY(-5%);
  transform: translateY(-5%);
  -webkit-font-smoothing: antialiased;
  -webkit-filter: blur(0.000001px);
}

/* Overlay: background fill from top */
.card-bodybg {
  z-index: 1;
  position: relative;
}

.cardlink .card-bodybg:before {
  z-index: -1;
  width: 100%;
  height: 0;
  position: absolute;
  speak: none;
  content: "";
  right: 0;
  top: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  background-color: rgba(0, 0, 0, 0.5);
}

.cardlink:hover .card-bodybg:before {
  height: 100%;
}

.cardlink:hover .card-bodybg {
  color: rgba(255, 255, 255, 1);
}

/* Overlay: background fill from bottom */
.card-bodybgup {
  z-index: 1;
  position: relative;
}

.cardlink .card-bodybgup:before {
  z-index: -1;
  width: 100%;
  height: 0;
  position: absolute;
  speak: none;
  content: "";
  right: 0;
  bottom: 0;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  background-color: rgba(0, 0, 0, 0.5);
}

.cardlink:hover .card-bodybgup:before {
  height: 100%;
}

.cardlink:hover .card-bodybgup {
  color: rgba(255, 255, 255, 1);
}

/* Overlay: scale X */
.card-bodybgx {
  z-index: 1;
  position: relative;
  height: 100%;
}

.cardlink .card-bodybgx:before {
  z-index: -1;
  width: 100%;
  height: 100%;
  position: absolute;
  speak: none;
  content: "";
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: scale(0.5, 1);
  transform: scale(0.5, 1);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
}

.cardlink:hover .card-bodybgx:before {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  opacity: 1;
}

.cardlink:hover .card-bodybgx {
  color: rgba(255, 255, 255, 1);
}

/* Overlay: top line */
.card-bodyline {
  z-index: 1;
  position: relative;
  height: 100%;
}

.cardlink .card-bodyline:before {
  z-index: -1;
  width: 0;
  height: 10px;
  position: absolute;
  speak: none;
  content: "";
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 1;
}

.cardlink:hover .card-bodyline:before {
  width: 100%;
}

/* Overlay: slide up */
.card-bodyup {
  z-index: 3;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  background-color: rgba(255, 255, 255, 0.1);
}

.cardlink:hover .card-bodyup {
  -webkit-transform: translateY(-25px);
  transform: translateY(-25px);
}

/* Overlay: flash */
.cardlink .card-bodyflash {
  -webkit-transition: all 1.3s;
  transition: all 1.3s;
  background-color: rgba(0, 0, 0, 0);
}

.cardlink:hover .card-bodyflash {
  -webkit-animation: flash 1s;
  animation: flash 1s;
}

/* Overlay: gray */
.cardlink .card-bodygray {
  position: relative;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  background-color: rgba(0, 0, 0, 0);
}

.cardlink:hover .card-bodygray {
  animation: flash 0.3s;
  background-color: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 1);
}
/* Overlay: link types */
.cardlink .box-linkbg:after {
  width: 100%;
  height: 100%;
  right: 0;
  top: 0;
}

.cardlink .box-linkbg .box-cc {
  -webkit-transform: translate(-50%, -50%) scale3d(0.5, 0.5, 1);
  transform: translate(-50%, -50%) scale3d(0.5, 0.5, 1);
}

.cardlink:hover .box-linkbg .box-cc {
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

.cardlink .box-linkbgdown:after {
  width: 100%;
  height: 0;
  right: 0;
  top: 0;
  opacity: 1;
}

.cardlink .box-linkbgdown .box-cc {
  -webkit-transform: translate(-50%, 150%);
  transform: translate(-50%, 150%);
}

.cardlink:hover .box-linkbgdown:after {
  height: 100%;
}

.cardlink:hover .box-linkbgdown .box-cc {
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.cardlink .box-linkbghado:after {
  width: 0;
  height: 0;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.cardlink .box-linkbghado .box-cc {
  -webkit-transform: translate(-50%, -50%) scale3d(1.4, 1.4, 1);
  transform: translate(-50%, -50%) scale3d(1.4, 1.4, 1);
}

.cardlink:hover .box-linkbghado:after {
  width: 800px;
  height: 800px;
}

.cardlink:hover .box-linkbghado .box-cc {
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}

/* Center expand overlay */
.p_center:after,
.p_center:before {
  width: 100%;
  height: 0;
  position: absolute;
  speak: none;
  content: "";
  bottom: 50%;
  left: 0;
  -webkit-transition: all 0.7s ease;
  transition: all 0.7s ease;
  background: rgba(0, 0, 0, 0.7);
  z-index: -3;
}

.p_center:before {
  bottom: 50%;
}

.p_center:after {
  top: 50%;
}

.p_center.inver:after,
.p_center.inver:before {
  background: rgba(255, 255, 255, 0.8);
}

.cardlink:hover .p_center:after,
.cardlink:hover .p_center:before {
  height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.cardlink:hover .p_center.inver:after,
.cardlink:hover .p_center.inver:before {
  background: rgba(0, 0, 0, 0.6);
}

/* Card title animations */
.card-title_b2 span {
  display: block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
}

.cardlink:hover .card-title_b2 span {
  -webkit-transform: translate(0, -40px);
  transform: translate(0, -40px);
  opacity: 0;
}

.card-title_b2:before {
  content: attr(data-text);
  right: 0;
  left: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: absolute;
  -webkit-transform: translate(0, 40%);
  transform: translate(0, 40%);
  opacity: 0;
}

.cardlink:hover .card-title_b2:before {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
}

.card-title_b3 span {
  display: block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
}

.cardlink:hover .card-title_b3 span {
  -webkit-transform: translate(40%, 0);
  transform: translate(40%, 0);
  opacity: 0;
}

.card-title_b3:before {
  content: attr(data-text);
  position: absolute;
  right: 0;
  left: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  -webkit-transform: translate(-20%, 0);
  transform: translate(-20%, 0);
  opacity: 0;
}

.cardlink:hover .card-title_b3:before {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
}


/* ==========================================================================
   IMAGE BOXES (popimg / resposnojs / img-box)
   ========================================================================== */

.popimg {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
}

.popimg.inver {
  background: #000;
}

.popimg.yohaku {
  margin: 15px;
}

.popimg .resposnojs {
  height: 100% !important;
}

.popimg:after,
.popimg:before {
  z-index: 2;
  background: rgba(255, 255, 255, 0.4);
}

.popimg.inver:after,
.popimg.inver:before {
  background: rgba(0, 0, 0, 0.3);
}

.cardlink:hover .popimg::after,
.cardlink:hover .popimg::before {
  background: rgba(255, 255, 255, 0.6);
}

.cardlink:hover .popimg.inver:after,
.cardlink:hover .popimg.inver:before {
  background: rgba(0, 0, 0, 0.5);
}

/* Image opacity effects */
.popimg.op img       { opacity: 0.7; }
.popimg.inver.op img { opacity: 0.9; }

.cardlink:hover .popimg.op img       { opacity: 0.1; }
.cardlink:hover .popimg.inver.op img { opacity: 0.5; }

.popimg.opa img       { opacity: 0.1; }
.popimg.inver.opa img { opacity: 0.5; }

.cardlink:hover .popimg.opa img       { opacity: 0.7; }
.cardlink:hover .popimg.inver.opa img { opacity: 0.9; }

/* Responsive no-JS image */
.resposnojs:after,
.img-box:after {
  z-index: 1;
  height: 100%;
  width: 100%;
  position: absolute;
  speak: none;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 1;
}

.resposnojs {
  overflow: hidden;
  width: 100%;
}

.resposnojs img {
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  max-width: 200%;
  position: absolute;
  top: -40%;
  right: -40%;
  bottom: -40%;
  left: -40%;
  margin: auto;
}

.resposnojs img.img150 {
  min-width: 100%;
  min-height: 100%;
  max-width: 200%;
}

/* Img-box */
.img-box {
  display: block;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  font-family: 'object-fit: cover; object-position: 50% 50%;';
}

.hi100vh .img-box img {
  height: calc(100vh);
}

.img-box img.left-bottom  { object-position: 0% 100%;   font-family: 'object-fit: cover; object-position: 0% 100%;';   }
.img-box img.right-bottom { object-position: 100% 100%;  font-family: 'object-fit: cover; object-position: 100% 100%;'; }
.img-box img.left-top     { object-position: 0% 0%;     font-family: 'object-fit: cover; object-position: 0% 0%;';     }
.img-box img.right-top    { object-position: 100% 0%;   font-family: 'object-fit: cover; object-position: 100% 0%;';   }

/* popimgtxt overlay text */
.popimgtxt .popimgtit,
.popimgtxt .popimgdesp,
.popimg img,
.popimgtxt::after,
.popimgtxt::before {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
}

.popimgtxt {
  z-index: 4;
  width: 100%;
  height: 100%;
  display: table;
  overflow: hidden;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  font-weight: normal;
  padding-left: 12%;
  padding-right: 12%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-word;
}

.popimgtxtcell {
  width: 100%;
  display: table-cell;
  vertical-align: middle;
}

.popimg .popimgtit {
  width: 100%;
  height: 50px;
  display: table;
}

.popimgtit div {
  display: table-cell;
  vertical-align: middle;
}

.popimg .popimgdesp {
  letter-spacing: 1px;
  font-size: 95%;
  font-weight: normal;
  opacity: 0;
}

.cardlink:hover .popimg .popimgdesp {
  opacity: 1;
}

/* Text shadows on popimgtxt */
.popimg .popimgtxt {
  color: #000;
  text-shadow:
    rgba(255, 255, 255, 0.5) 2px 0,
    rgba(255, 255, 255, 0.5) -2px 0,
    rgba(255, 255, 255, 0.5) 0 -2px,
    rgba(255, 255, 255, 0.5) 0 2px,
    rgba(255, 255, 255, 0.5) 2px 2px,
    rgba(255, 255, 255, 0.5) -2px 2px,
    rgba(255, 255, 255, 0.5) 2px -2px,
    rgba(255, 255, 255, 0.5) -2px -2px;
}

.popimg .popimgtxt::before,
.popimg .popimgtxt::after {
  border: 0 solid #000;
}

.cardlink:hover .popimg .popimgtxt {
  color: #000;
}

.popimg.inver .popimgtxt {
  color: #fff;
  text-shadow:
    2px 2px 0 rgba(0, 0, 0, 0.4),
    2px -2px 0 rgba(0, 0, 0, 0.4),
    -2px 2px 0 rgba(0, 0, 0, 0.4),
    -2px -2px 0 rgba(0, 0, 0, 0.4),
    2px 0 0 rgba(0, 0, 0, 0.4),
    0 2px 0 rgba(0, 0, 0, 0.4),
    -2px 0 0 rgba(0, 0, 0, 0.4),
    0 -2px 0 rgba(0, 0, 0, 0.4);
}

.popimg.inver .popimgtxt::before,
.popimg.inver .popimgtxt::after {
  border: 0 solid #fff;
}

.cardlink:hover .popimg.inver .popimgtxt {
  color: #fff;
}

/* Thumb icons */
.thumbicon_t {
  z-index: 4;
  position: absolute;
  top: 0;
  right: 0;
}

.thumbicon_b {
  z-index: 4;
  position: absolute;
  bottom: 0;
  right: 0;
}

i.thumbicon {
  font-size: 85%;
  text-shadow: none;
  padding: 10px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background: rgba(25, 181, 254, 0.4);
  color: #fff;
}

.cardlink:hover i.thumbicon {
  background: rgba(25, 181, 254, 1);
}

.cardlink:hover i.thumbicon_radius {
  border-radius: 25px;
}

.cardlink i.thumbicon_spin {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  border-radius: 25px;
}

.cardlink:hover i.thumbicon_spin {
  -webkit-transform: rotate(360deg);
  transform: rotate(360deg);
}

.cardlink i.thumbicon_spin2 {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  -webkit-transform: rotateX(0deg);
  transform: rotateX(0deg);
}

.cardlink:hover i.thumbicon_spin2 {
  -webkit-transform: rotateX(360deg);
  transform: rotateX(360deg);
  border-radius: 25px;
}

.cardlink .thumbicon_t i.thumbicon_border {
  margin-top: 10px;
  margin-right: 10px;
  padding: 10px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  border-radius: 25px;
  background: rgba(25, 181, 254, 1);
  color: rgba(255, 255, 255, 1);
  border: 2px solid rgba(25, 181, 254, 0);
}

.cardlink:hover .thumbicon_t i.thumbicon_border {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  background: rgba(255, 255, 255, 1);
  color: rgba(25, 181, 254, 1);
  border: 2px solid rgba(25, 181, 254, 1);
}


/* ==========================================================================
   IMAGE TRANSITIONS
   ========================================================================== */

[class^="trans_"] {
  -webkit-transition: all 11.35s ease-in-out;
  transition: all 11.35s ease-in-out;
}

.trans_zoom        { -webkit-transform: scale(1);            transform: scale(1);            }
.trans_zoomin      { -webkit-transform: scale(1);            transform: scale(1);            }
.trans_top         { -webkit-transform: translate3d(0, 30px, 0);  transform: translate3d(0, 30px, 0);  }
.trans_bottom      { -webkit-transform: translate3d(0, -30px, 0); transform: translate3d(0, -30px, 0); }
.trans_left        { -webkit-transform: translate3d(30px, 0, 0);  transform: translate3d(30px, 0, 0);  }
.trans_right       { -webkit-transform: translate3d(-30px, 0, 0); transform: translate3d(-30px, 0, 0); }

.cardlink:hover .trans_zoom    { -webkit-transform: scale(1.2);   transform: scale(1.2);   }
.cardlink:hover .trans_zoomin  { -webkit-transform: scale(0.85);  transform: scale(0.85);  }
.cardlink:hover .trans_top     { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.cardlink:hover .trans_bottom  { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.cardlink:hover .trans_left    { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
.cardlink:hover .trans_right   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }

.trans_naname {
  max-width: none;
  width: calc(100% + 10px);
  margin: -10px 0 0 70px;
  -webkit-transform: translate3d(30px, 30px, 0);
  transform: translate3d(30px, 30px, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cardlink:hover .trans_naname {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.trans_nanamesita {
  max-width: none;
  width: calc(100% + 60px);
  -webkit-transform: translate3d(-30px, 0, 0) scale(1.12);
  transform: translate3d(-30px, 0, 0) scale(1.12);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.cardlink:hover .trans_nanamesita {
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}

.trans_blur {
  -webkit-transform: translate3d(-30px, 0, 0);
  transform: translate3d(-30px, 0, 0);
}

.cardlink:hover .trans_blur     { -webkit-filter: blur(5px);         filter: blur(5px);         }
.cardlink:hover .trans_gray     { -webkit-filter: grayscale(100%);   filter: grayscale(100%);   }

.cardlink:hover .trans_brightness,
.cardlink:hover .trans_saturate,
.cardlink:hover .trans_sepia,
.cardlink:hover .trans_contrast,
.cardlink:hover .trans_huerotate {
  transition: filter 0.4s cubic-bezier(0, 2.5, 0.2, 2.5);
  -webkit-transition: filter 0.4s cubic-bezier(0, 2.5, 0.2, 2.5);
}

.cardlink:hover .trans_brightness { -webkit-filter: brightness(150%);  filter: brightness(150%);  }
.cardlink:hover .trans_saturate   { -webkit-filter: saturate(200%);    filter: saturate(200%);    }
.cardlink:hover .trans_sepia      { -webkit-filter: sepia(100%);       filter: sepia(100%);       }
.cardlink:hover .trans_contrast   { -webkit-filter: contrast(150%);    filter: contrast(150%);    }
.cardlink:hover .trans_huerotate  { -webkit-filter: hue-rotate(90deg); filter: hue-rotate(90deg); }

.trans_rotate { -webkit-transform: scale(1); transform: scale(1); }

.cardlink:hover .trans_rotate {
  -webkit-transform: rotate(20deg) scale(1.5);
  transform: rotate(20deg) scale(1.5);
}


/* ==========================================================================
   SHADOWS
   ========================================================================== */

.shadow     { box-shadow: 0 0 7px rgba(0, 0, 0, 0.4); }
.shadow_all { box-shadow: 0 0 7px rgba(0, 0, 0, 0.4); }
.shadow_in  { box-shadow: 0 0 7px rgba(0, 0, 0, 0.4) inset; }

.shadow_zen {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.4);
}

.shadow_zen:hover { box-shadow: 0 0 7px rgba(0, 0, 0, 0); }

.shadow_ato {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0);
}

.shadow_ato:hover { box-shadow: 0 0 7px rgba(0, 0, 0, 0.4); }

.shadow_inzen {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.4) inset;
}

.shadow_inzen:hover { box-shadow: 0 0 7px rgba(0, 0, 0, 0) inset; }

.shadow_inato {
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-shadow: 0 0 7px rgba(0, 0, 0, 0) inset;
}

.shadow_inato:hover { box-shadow: 0 0 7px rgba(0, 0, 0, 0.4) inset; }

.shadow_ef:after,
.shadow_efato:after,
.shadow_efzen:after {
  z-index: -1;
  position: absolute;
  speak: none;
  content: "";
  top: 0;
  bottom: 0;
  left: 5px;
  right: 5px;
  -webkit-transition: all 0.35s ease-in-out;
  transition: all 0.35s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  border-radius: 50px / 10px;
}

.shadow_efato:after,
.shadow_efzen:hover:after {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0);
}

.shadow_efato:hover::after {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}


/* ==========================================================================
   CARDPACK (Semantic UI-style cards)
   ========================================================================== */

.cardpack .card {
  font-size: 1em;
  overflow: hidden;
  padding: 0;
  border: none;
  border-radius: 0.28571429rem;
  box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
}

.cardpack .card-block {
  font-size: 1em;
  position: relative;
  margin: 0;
  padding: 1em;
  border: none;
  border-top: 1px solid rgba(34, 36, 38, 0.1);
  box-shadow: none;
}

.cardpack .card-title {
  font-size: 1.28571429em;
  font-weight: 700;
  line-height: 1.4em;
}

.cardpack .card-text {
  clear: both;
  margin-top: 0.5em;
  color: rgba(0, 0, 0, 0.68);
}

.cardpack .card-footer {
  font-size: 1em;
  position: static;
  max-width: 100%;
  padding: 0.75em 1em;
  color: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  background: #fff;
}

.cardpack .card-inverse .btn {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.cardpack .profile {
  z-index: 3;
  position: absolute;
  top: -18px;
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid #fff;
  border-radius: 50%;
}

.cardpack .profile-avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.cardpack .profile-inline {
  position: relative;
  top: 0;
  display: inline-block;
}

.cardpack .profile-inline ~ .card-title {
  display: inline-block;
  margin-left: 4px;
  vertical-align: top;
}

.cardpack .text-bold { font-weight: 700; }

.cardpack .meta {
  font-size: 1em;
  color: rgba(0, 0, 0, 0.4);
}

.cardpack .meta a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.4);
}

.cardpack .meta a:hover {
  color: rgba(0, 0, 0, 0.87);
}


/* ==========================================================================
   RIBBONS
   ========================================================================== */

.cardpack .ribbon {
  z-index: 2;
  width: 160px;
  height: 32px;
      font-size: .85rem;
  text-align: center;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 3px rgba(136, 136, 136, 0.25);
  background: #4dbe3b;
  transform: rotate(45deg);
  position: absolute;
  right: -55px;
  top: 10px;
  padding-top: 7px;
}

/* Ribbon: bookmark */
.ribbon14 {
  z-index: 2;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 10px;
  margin: 0;
  padding: 5px 0;
  width: 28px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  background: #EA4335;
}

.ribbon14:after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  height: 0;
  width: 0;
  border-left: 14px solid #EA4335;
  border-right: 14px solid #EA4335;
  border-bottom: 7px solid transparent;
}

/* Ribbon 1: diagonal cross */
.top-cross-ribbon {
  z-index: 2;
  background: #EA4335;
  padding: 3px 50px;
  color: #fff;
  position: absolute;
  top: 0;
  right: -55px;
  transform: rotate(45deg);
  border: 1px dashed #fff;
  box-shadow: 0 0 0 3px #EA4335;
  margin: 5px;
}

/* Ribbon 2: arrow */
.arrow-ribbon {
  z-index: 2;
  background: #EA4335;
  color: #fff;
  padding: 5px 15px;
  position: absolute;
  top: 10px;
  right: -1px;
}

/* Ribbon 3: pill-left */
.bottom-ribbon {
  z-index: 2;
  background: #EA4335;
  color: #fff;
  padding: 5px 20px;
  position: absolute;
  top: 10px;
  right: -1px;
  border-radius: 20px 0 0 20px;
}

/* Ribbon 4: half-circle corner */
.half-circle-ribbon {
  z-index: 2;
  background: #EA4335;
  color: #fff;
  height: 60px;
  width: 60px;
  text-align: right;
  padding-top: 7px;
  padding-right: 7px;
  position: absolute;
  top: -1px;
  right: -1px;
  border-radius: 0 0 0 100%;
  border: 1px dashed #fff;
  box-shadow: 0 0 0 3px #EA4335;
  line-height: 14px;
}

/* Ribbon 5: shadow tab */
.cross-shadow-ribbon {
  z-index: 2;
  position: absolute;
  background: #EA4335;
  top: -10px;
  padding: 5px 8px;
  margin-left: 15px;
  color: #fff;
  border-radius: 0 0 2px 2px;
}

.cross-shadow-ribbon:before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 0;
  height: 0;
  border-bottom: 10px solid #A42F25;
  border-left: 10px solid transparent;
}

/* Ribbon 6: cover corner */
.cover-ribbon {
  z-index: 2;
  height: 115px;
  width: 115px;
  position: absolute;
  right: -8px;
  top: -8px;
  overflow: hidden;
}

.cover-ribbon .cover-ribbon-inside {
  z-index: 2;
  background: #EA4335;
  color: #fff;
  transform: rotate(45deg);
  position: absolute;
  right: -35px;
  top: 15px;
  padding: 10px;
  min-width: 127px;
  text-align: center;
}

.cover-ribbon .cover-ribbon-inside:before {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 10px solid #992C23;
  position: absolute;
  left: 0;
  right: 0;
  content: "";
  top: 35px;
  transform: rotate(-45deg);
}

.cover-ribbon .cover-ribbon-inside:after {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-left: 10px solid #992C23;
  border-bottom: 7px solid transparent;
  position: absolute;
  left: 95%;
  top: 34px;
  content: "";
  transform: rotate(-45deg);
}

/* Ribbon 12: full-width flag */
.ribbon12 {
  z-index: 2;
  display: inline-block;
  position: absolute;
  top: 10px;
  box-sizing: border-box;
  padding: 7px 10px;
  margin: 0 0 0 -10px;
  width: calc(100% + 10px);
  color: #fff;
  background: #EA4335;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
}

.ribbon12:before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  border-bottom: 5px solid transparent;
  border-right: 10px solid #6081b7;
}


/* ==========================================================================
   COMPONENTS: Intro boxes, info blocks
   ========================================================================== */

.han {
  background: #c6e0ff !important;
  border-radius: 10px;
  padding: 15px;
}

.single-intro-text {
  padding: 45px 40px 40px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin: 15px 0;
  background: #c6e0ff;
  z-index: 2;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.single-intro-text.bg-light {
  background: #fafafa !important;
}

.single-intro-text i {
  position: absolute;
  left: -10px;
  top: 20px;
  font-size: 55px;
  color: #fff;
  -webkit-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}

.single-intro-text .count-number {
  position: absolute;
  right: -55px;
  bottom: -55px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #bf0000;
  color: #c6e0ff;
  display: block;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  padding: 25px 30px;
}

.p30 {
  padding: 30px;
}

.p_center {
  position: relative;
}

.split-view {
  margin: 0 auto;
  padding: 10px;
  width: 100%;
  display: flex;
}

.one .split  { width: 100%; margin: 0 5px; }
.two .split  { width: 50%;  margin: 0 5px; }

.split:first-child { margin-left: 0; }
.split:last-child  { margin-right: 0; }

.logbox {
  border: solid 0 #fff;
  width: 100%;
  height: 450px;
  padding: 10px 5px;
  overflow: auto;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 6;
}

.tel {
  height: 85px;
  font-size: 20px;
}

i.fa {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer i.fa {
  display: inline-block;
  width: 20px;
  text-align: center;
  font-size: 1.2em;
}


/* ==========================================================================
   TABLES
   ========================================================================== */

.table .thead-light th {
  background-color: #f8f9fa;
}

.tdth_pad td,
.tdth_pad th {
  padding-top: 7px;
  padding-bottom: 7px;
}

th { }

th.dark {
  color: #fff;
  background-color: #343a40;
}

th.light {
  color: #495057;
  background-color: #e9ecef;
}

/* Responsive definition-list tables */
.dltable-sm .dltable_right,
.dltable-md .dltable_right,
.dltable .dltable_right {
  display: none;
}

.topmidasi {
  padding: 30px;
  line-height: 60px;
}


/* ==========================================================================
   SWIPER
   ========================================================================== */

[class^="swiper-container"] {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.swiper-navisoto {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.swiper-navisoto .swiper-container380 {
  width: calc(100% - 80px);
  box-sizing: content-box;
  margin-left: 40px;
}

.swiper-navisoto .swiper-button-prev { left: 5px; }
.swiper-navisoto .swiper-button-next { right: 5px; }

.swiper-navisoto .swiper-pagination {
  width: 100%;
}

.swiper-navisoto .swiper-pagination > span {
  margin: 10px 5px;
}

.swiper-button-next.swiper-button-disabled,
.swiper-button-prev.swiper-button-disabled {
  opacity: 0;
  cursor: auto;
  pointer-events: none;
}

.swiper-button-next,
.swiper-button-prev {
  background-image: none;
}

.swiper-containermenu {
  width: calc(100% - 80px);
  box-sizing: content-box;
  margin-left: 40px;
}

.swiper-containermenu .swiper-wrapper {
  width: 80%;
}

.swiper-containermenu .swiper-slide {
  text-align: center;
  font-size: 14px;
  width: auto;
  height: 40px;
  background-color: transparent !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-container {
  position: relative;
  width: 100%;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
}

.swiper-container .swiper-slide {
  background-size: cover;
  background-position: center;
}

.gallery-top555 {
  height: 80%;
  width: 100%;
}

.gallery-thumbs555 {
  height: 20%;
  box-sizing: border-box;
  padding: 10px 0;
}

.gallery-thumbs555 .swiper-slide {
  height: 100%;
  opacity: 0.4;
}

.gallery-thumbs555 .swiper-slide-thumb-active {
  opacity: 1;
}

.fc {
  height: 150px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* ==========================================================================
   LOADING & PAGE UTILITIES
   ========================================================================== */

#loading {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: -10000;
  width: 100%;
  height: 100%;
  background: #fff;
}

#loadimg {
  position: relative;
  top: 50%;
  text-align: center;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  margin-top: -70px;
}

#gotop {
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  color: #fff !important;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 5px 15px;
  z-index: 970;
  text-decoration: none;
}

#gotop:hover {
  padding: 5px 15px 20px;
  background: rgba(0, 0, 0, 0.8);
}

#gotop > i {
  margin: 0;
  padding: 0;
  position: relative;
  display: block;
}

.modal {
  z-index: 1100;
}


/* ==========================================================================
   Q&A / ACCORDION
   ========================================================================== */

.q {
  text-align: left;
}

.qmark {
  background-color: red;
  color: #fff;
  float: left;
  padding: 4px 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.amark {
  background-color: blue;
  color: #fff;
  float: left;
  padding: 4px 10px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.hiddeninput div.panel-default {
  position: relative;
  margin-bottom: 1px;
  width: 100%;
  overflow: hidden;
}

.hiddeninput input {
  width: 100%;
  height: 60px;
  position: absolute;
  right: 0;
  top: 0;
  border: 1px dotted green !important;
  line-height: 3;
  opacity: 0;
  display: block;
  z-index: 50 !important;
  cursor: pointer;
}

.hiddeninput label,
.hiddeninput .labeldayo,
.nocursor {
  position: relative;
  background: #CEECF5;
  border: 0 dotted green !important;
  display: block;
  padding: 0.9em 1.5em 0.5em 0.8em;
  overflow: hidden;
  font-weight: bold;
  margin: 0 0 5px;
}

.hiddeninput .panel .panel-body {
  height: 0;
  max-height: 0;
  overflow: hidden;
  padding: 0;
  -webkit-transition: max-height 1.5s;
  transition: max-height 1.5s;
  text-align: left;
}

.hiddeninput .blue .panel-body {
  background: #3498db;
}

.hiddeninput .panel.checked .panel-body {
  height: auto;
  max-height: 2000px;
  padding-bottom: 5px;
}

.hiddeninput .panel-body p {
  margin: 1em;
}

.hiddeninput label::after,
.hiddeninput .labeldayo::after {
  position: absolute;
  right: 0;
  top: 0;
  width: 3em;
  height: 3em;
  padding-bottom: 5px;
  line-height: 3;
  text-align: center;
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
  font-weight: normal !important;
}

.yajirusi label::after,
.yajirusi .labeldayo::after {
  content: "\25BC";
}

.plus label::after,
.plus .labeldayo::after {
  content: "\2795";
  font-size: 90%;
}

.yajirusi .panel.checked label::after,
.yajirusi .panel.checked .labeldayo::after {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.plus .panel.checked label::after,
.plus .panel.checked .labeldayo::after {
  -webkit-transform: rotate(315deg);
  transform: rotate(315deg);
  margin-right: 1px;
}


/* ==========================================================================
   VIDEO EMBED
   ========================================================================== */

.movie-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

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


/* ==========================================================================
   FANCYBOX
   ========================================================================== */

.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp {
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  vertical-align: top;
}

.fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8020;
}

.fancybox-skin {
  position: relative;
  background: #f9f9f9;
  color: #444;
  text-shadow: none;
  border-radius: 4px;
}

.fancybox-opened {
  z-index: 8030;
}

.fancybox-opened .fancybox-skin {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer,
.fancybox-inner {
  position: relative;
}

.fancybox-inner {
  overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
  -webkit-overflow-scrolling: touch;
}

.fancybox-error {
  color: #444;
  font: 14px / 20px "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 15px;
  white-space: nowrap;
}

.fancybox-image,
.fancybox-iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.fancybox-image {
  max-width: 100%;
  max-height: 100%;
}

#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -22px;
  margin-left: -22px;
  background-position: 0 -108px;
  opacity: 0.8;
  cursor: pointer;
  z-index: 8060;
}

#fancybox-loading div {
  width: 44px;
  height: 44px;
  background: url('/baseimg/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 8040;
  background: url("/baseimg/closec.png") no-repeat scroll 0 0 transparent;
}

.fancybox-nav {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  background: transparent url('/baseimg/blank.gif');
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  z-index: 8040;
}

.fancybox-prev { left: 0; }
.fancybox-next { right: 0; }

.fancybox-nav span {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 34px;
  margin-top: -18px;
  cursor: pointer;
  z-index: 8040;
  visibility: hidden;
}

.fancybox-prev span {
  left: 10px;
  background: url("/baseimg/leftc.png") no-repeat scroll center center #009ee3;
  width: 25px;
  height: 25px;
}

.fancybox-next span {
  right: 10px;
  background: url("/baseimg/rightc.png") no-repeat scroll center center #009ee3;
  width: 25px;
  height: 25px;
}

.fancybox-nav:hover span {
  visibility: visible;
}

.fancybox-tmp {
  position: absolute;
  top: -99999px;
  left: -99999px;
  visibility: hidden;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}

.fancybox-lock {
  overflow: hidden !important;
  width: auto;
}

.fancybox-lock body {
  overflow: hidden !important;
}

.fancybox-lock-test {
  overflow-y: hidden !important;
}

.fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
  z-index: 8010;
  background: url('/baseimg/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
  position: fixed;
  bottom: 0;
  right: 0;
}

.fancybox-lock .fancybox-overlay {
  overflow: auto;
  overflow-y: scroll;
}

.fancybox-title {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  font: normal 12px / 18px "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-shadow: none;
  z-index: 8050;
  padding: 5px 8px;
}

.fancybox-title div.child {
  position: relative;
  margin-right: 25px;
  margin-left: 10px;
  text-align: center;
  opacity: 1;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.fancybox-title div.child div {
  display: inline-block;
  padding: 4px 15px;
  color: #fff;
  background-color: #009ee3;
  border-radius: 15px;
}

.fancybox-opened .fancybox-title {
  visibility: visible;
}

.fancybox-title h3 {
  font-size: 15px;
  margin: 0;
}

.fancybox-title-outside-wrap {
  position: relative;
  margin-top: 10px;
  color: #fff;
}

.fancybox-title-inside-wrap {
  padding-top: 10px;
}

.fancybox-title-over-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
}

#fancybox-thumbs {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 8050;
}

#fancybox-thumbs.bottom { bottom: 2px; }
#fancybox-thumbs.top    { top: 2px; }

#fancybox-thumbs ul {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

#fancybox-thumbs ul li {
  float: left;
  padding: 1px;
  opacity: 0.5;
}

#fancybox-thumbs ul li.active {
  opacity: 1;
  padding: 0;
  border: 3px solid #fff;
}

#fancybox-thumbs ul li:hover { opacity: 1; }

#fancybox-thumbs ul li a {
  display: block;
  position: relative;
  overflow: hidden;
  border: 1px solid #222;
  background: #111;
  outline: none;
}

#fancybox-thumbs ul li img {
  display: block;
  position: relative;
  border: 0;
  padding: 0;
  max-width: none;
}


/* ==========================================================================
   SITEMAP
   ========================================================================== */

.sitemap li {
  margin-top: 15px;
}


/* ==========================================================================
   BACKGROUND IMAGE REFERENCES
   ========================================================================== */

.fullbefore6.backimg {
  background-size: 100% auto;
}


/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@-webkit-keyframes flash {
  0%   { opacity: 0.4; }
  100% { opacity: 1;   }
}

@keyframes flash {
  0%   { opacity: 0.4; }
  100% { opacity: 1;   }
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

/* --- Extra small (<576px) --- */
@media (max-width: 575.98px) {

  .topmidasi {
    padding: 5px;
    line-height: 45px;
    letter-spacing: 0.1em;
  }

  .pl-4, .px-4 { padding-left: 0.4rem !important; }
  .pr-4, .px-4 { padding-right: 0.4rem !important; }

  .block50sm,
  .blocksm {
    display: block !important;
  }

  .blocksm,
  .blocksm li {
    display: block;
    width: 100%;
  }

  .block50sm {
    border-top: 1px solid grey;
    border-left: 1px solid grey;
  }

  .block50sm li {
    width: 50%;
    padding: 5px;
    margin: 0 !important;
    border-right: 1px solid grey;
    border-bottom: 1px solid grey;
    border-collapse: collapse;
    display: inline-block !important;
  }

  .block50sm .nav-item {
    text-align: center;
  }

  .dltable-md th {
    width: 100% !important;
  }

  .first {
    margin-left: 1px;
  }

  /* dltable-sm responsive */
  .dltable-sm              { display: block; }
  .dltable-sm thead        { display: none; }
  .dltable-sm tbody        { display: block; }
  .dltable-sm tbody tr     { display: block; margin-bottom: 1.5em; }

  .dltable-sm tbody th,
  .dltable-sm tbody td     { display: list-item; border: none; }

  .dltable-sm tbody th .dltable_right { float: right; display: block; }
  .dltable-sm tbody th {
    margin-bottom: 5px;
    list-style-type: none;
    color: #fff;
    background-color: #343a40;
  }

  .dltable-sm.light tbody th {
    color: #495057;
    background-color: #e9ecef;
  }

  .dltable-sm tbody td {
    position: relative;
    list-style-type: none;
    margin: 5px 10px 5px 15px;
    padding: 5px;
  }

  .dltable-sm.dotted tbody td { border-bottom: 1px dotted gray; }

  .dltable-sm.nth tbody td {
    position: relative;
    list-style-type: none;
    padding-left: 50px;
  }

  .dltable-sm.nth tbody td:before {
    position: absolute;
    left: 0;
    top: 5px;
  }

  .dltable-sm.nth tbody td:nth-of-type(1):before { content: " "; }
  .dltable-sm.nth tbody td:nth-of-type(2):before { content: " "; }
  .dltable-sm.nth tbody td:nth-of-type(3):before { content: " "; }

  #gotop {
    text-align: center;
    left: 50%;
    right: 50%;
    bottom: 0;
    width: 40px;
    margin: 0 auto;
    padding: 5px 7px;
    margin-left: -20px;
    border: 0 dotted #000;
  }

  #gotop i {
    font-size: 21px !important;
  }

  #gotop:hover {
    padding: 5px 7px 15px;
    background: rgba(0, 0, 0, 0.8);
  }
}

/* --- Small (<768px) --- */
@media (max-width: 767.98px) {

  .navbar-expand-md #navbarResponsive,
  .navbar-expand-md .navbar-collapse {
    max-height: 80vh;
    overflow: auto;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-expand-md .container {
    max-width: 100%;
  }

  .full-fluid {
    padding: 70px 15px;
  }

  .pl-4, .px-4 { padding-left: 0.4rem !important; }
  .pr-4, .px-4 { padding-right: 0.4rem !important; }

  .block50md,
  .blockmd {
    display: block !important;
  }

  .blockmd,
  .blockmd li {
    display: block;
    width: 100%;
  }

  .block50md {
    border-top: 1px solid grey;
    border-left: 1px solid grey;
  }

  .block50md li {
    width: 50%;
    padding: 5px;
    margin: 0 !important;
    border-right: 1px solid grey;
    border-bottom: 1px solid grey;
    display: inline-block !important;
  }

  .block50md .nav-item {
    text-align: center;
  }

  .hi50vh {
    height: 50vh;
    max-height: 300px;
    min-height: 250px;
  }

  .fullbefore6.backimg {
    background-size: auto 100%;
  }

  .dmd_max_none {
    display: none;
  }

  .table th,
  .table td {
    padding: 0.5rem;
  }

  /* dltable-md responsive */
  .dltable-md              { display: block; }
  .dltable-md thead        { display: none; }
  .dltable-md tbody        { display: block; }
  .dltable-md > tbody > tr { display: block; margin-bottom: 1.5em; }

  .dltable-md > tbody > tr > th,
  .dltable-md > tbody > tr > td { display: list-item; border: none; }

  .dltable-md tbody th .dltable_right { float: right; display: block; }

  .dltable-md > tbody > tr > th {
    margin-bottom: 5px;
    list-style-type: none;
    max-width: 100%;
    color: #495057;
    background-color: #e9ecef;
  }

  .dltable-md > tbody > tr > td {
    position: relative;
    list-style-type: none;
    margin: 5px 10px 5px 15px;
    padding: 5px;
  }

  .dltable-md.dotted > tbody > tr > td { border-bottom: 1px dotted gray; }

  .dltable-md.nth tbody td {
    position: relative;
    list-style-type: none;
    padding-left: 50px;
  }

  .dltable-md.nth tbody td:before {
    position: absolute;
    left: 0;
    top: 5px;
  }

  .dltable-md.nth tbody td:nth-of-type(1):before { content: " "; }
  .dltable-md.nth tbody td:nth-of-type(2):before { content: " "; }
  .dltable-md.nth tbody td:nth-of-type(3):before { content: " "; }
}

/* --- Medium (<992px) --- */
@media (max-width: 991.98px) {

  h1      { font-size: 2em; }
  h2, .h2 { font-size: 2rem; }
  h4, .h4 { font-size: 1.5rem; }
  h5, .h5 { font-size: 1.25rem; }
  h6      { font-size: 1.15em; }

  .hi50vh {
    height: 50vh;
    max-height: 300px;
    min-height: 250px;
  }

  .fixed-top {
    z-index: 980;
  }

  .lgleft {
    text-align: left !important;
  }

  .ainologo {
    max-width: 200px !important;
  }

  .justify-content-between {
  background-color: #fff !important;
    top: 0;
    position: absolute;
    width: 100%;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .navbar-collapse {
    margin-top: 67px;
  background-color: #fff !important;
    color: #262626;
  }

  .navbar-expand-lg .navbar-collapse {
    max-height: 80vh;
    overflow: auto;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-expand-lg .container {
    max-width: 100%;
  }

  .lgin {
    display: none;
  }

  /* dltable responsive */
  .dltable              { display: block; }
  .dltable thead        { display: none; }
  .dltable tbody        { display: block; }
  .dltable tbody tr     { display: block; margin-bottom: 1.5em; }

  .dltable tbody th,
  .dltable tbody td     { display: list-item; border: none; }

  .dltable tbody th .dltable_right { float: right; display: block; }

  .dltable tbody th {
    margin-bottom: 5px;
    list-style-type: none;
    color: #fff;
    background-color: #343a40;
  }

  .dltable.light tbody th {
    color: #495057;
    background-color: #e9ecef;
  }

  .dltable tbody td {
    position: relative;
    list-style-type: none;
    margin: 5px 10px 5px 15px;
    padding: 5px;
  }

  .dltable.dotted tbody td { border-bottom: 1px dotted gray; }

  .dltable.nth tbody td {
    position: relative;
    list-style-type: none;
    padding-left: 50px;
  }

  .dltable.nth tbody td:before {
    position: absolute;
    left: 0;
    top: 5px;
  }

  .dltable.nth tbody td:nth-of-type(1):before { content: " "; }
  .dltable.nth tbody td:nth-of-type(2):before { content: " "; }
  .dltable.nth tbody td:nth-of-type(3):before { content: " "; }
}

/* --- Large (<1200px) --- */
@media (max-width: 1199.98px) {

  .navbar-expand-xl .navbar-collapse {
    max-height: 80vh;
    overflow: auto;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .navbar-expand-xl .container {
    max-width: 100%;
  }
}

/* --- Desktop (竕･768px) --- */
@media (min-width: 768px) {
  .table th,
  .table td {
    padding: 0.5rem;
  }

  .dmd_min_none {
    display: none;
  }
}

/* --- Desktop (竕･992px) --- */
@media (min-width: 992px) {
  table {
    display: table !important;
    table-layout: fixed;
    width: 100%;
  }

  h2, .h2   { font-size: 2.3rem; }
  h4, .h4   { font-size: 1.75rem; }
  h5.card-title, .h5 { font-size: 1.3rem; }

  .mt-10 {
    margin-top: 120px;
  }

  #section61 {
    margin-top: 100px;
  }

  .ainologo {
    padding-left: 10px;
  }

  .collapasedayo {
    position: absolute;
    z-index: 5;
    top: 23px;
    right: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
  }
}

/* --- Retina / HiDPI --- */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min--moz-device-pixel-ratio: 1.5),
       only screen and (min-device-pixel-ratio: 1.5) {
  #fancybox-loading,
  .fancybox-close,
  .fancybox-prev span,
  .fancybox-next span {
    background-image: url('/baseimg/fancybox_sprite@2x.png');
    background-size: 44px 152px;
  }

  #fancybox-loading div {
    background-image: url('/baseimg/fancybox_loading@2x.gif');
    background-size: 24px 24px;
  }
}

/* --- IE11 fallback --- */
@media all and (-ms-high-contrast: none) {
  *::-ms-backdrop, .divrs:before { /* IE11 height override placeholder */ }
}


/* ==========================================================================
   PROJECT PAGE STYLES / integrated former secondary custom styles
   Kept at the end to preserve the previous cascade order after base custom.css.
   ========================================================================== */

/* ============================================================
   seminar list/detail common CSS
   moved from hold_seminar.php / hold_seminart.php
   ============================================================ */
.seminar-list-wrap,
    .seminar-detail-wrap {
        color: #333;
    }

    .seminar-heading {
        text-align: center;
    }

    .seminar-subtitle {
        color: #bd1a2d;
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 15px;
        letter-spacing: .08em;
        font-weight: 700;
    }

    .seminar-heading h2 {
        font-size: 30px;
        line-height: 1.55;
        font-weight: 800;
        margin: 0 0 10px;
    }

    .seminar-lead {
        color: #555;

        line-height: 1.9;
    }

    .seminar-items {
        padding-top: 10px;
    }

    .seminar-card {
        position: relative;
        background: #fff;
        border: 1px solid #d61e32;
        margin-bottom: 32px;
        overflow: hidden;
        opacity: 1;
        transform: translateY(0);
        transition: opacity .35s ease, transform .35s ease, max-height .45s ease, margin .35s ease, border-color .2s ease, box-shadow .2s ease;
    }

    .seminar-card:hover {
        box-shadow: 0 16px 36px rgba(0, 0, 0, .07);
    }

    .seminar-card-link {
        display: grid;
        grid-template-columns: 200px 1fr;
        gap: 30px;
        color: #333;
        text-decoration: none;
    }

    .seminar-card-link:hover {
        color: #333;
        text-decoration: none;
    }

    .seminar-image img {
        width: 200px;
        height: 130px;
        object-fit: cover;
        display: block;
    }

    .seminar-body {
        padding: 38px 34px 34px 0;
    }

    .seminar-body h3 {
        font-size: 22px;
        line-height: 1.55;
        font-weight: 800;
        margin: 0 0 16px;
    }

    .seminar-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 75x;
        margin-bottom: 28px;
    }

    .seminar-tag {
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        color: #333;
        border: 1px solid #333;
        background: #fff;
        padding: 3px 12px;
        font-size: .75rem;
        line-height: 1.4;
        font-weight: 700;
    }

    .seminar-tag.tag-main {
        color: #fff;
        border-color: #bd1a2d;
        background: #bd1a2d;
    }

    .seminar-detail-tags {
        margin: 18px 0 28px;
        gap: 6px;
    }

    .seminar-meta {
        margin: 0;
    }

    .seminar-meta div {
        display: grid;
        grid-template-columns: 170px 1fr;
        gap: 16px;
        margin-bottom: 12px;
    }

    .seminar-meta div:last-child {
        margin-bottom: 0;
    }

    .seminar-meta dt,
    .seminar-meta dd {
        margin: 0;

        line-height: 1.75;
    }

    .seminar-meta dt {
        color: #333;
        font-weight: 800;
        white-space: normal;
        min-width: 0;
    }

    .seminar-meta dt i {
        width: 23px;
        margin-right: 7px;
        color: #555;
        text-align: center;
    }

    .seminar-empty {
        display: none;
        background: #fff;
        border: 1px solid #e5e5e5;
        padding: 44px 24px;
        text-align: center;
        color: #666;
    }

    .seminar-empty.is-show {
        display: block;
    }

    .seminar-empty i {
        color: #bd1a2d;
        font-size: 34px;
        margin-bottom: 12px;
    }

    .seminar-empty p {
        margin: 0;
        font-size: 15px;
        font-weight: 700;
    }

    .seminar-detail-main-image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .seminar-detail h2 {
        color: #bd1a2d;
        font-size: 31px;
        line-height: 1.55;
        font-weight: 800;
        margin: 0 0 28px;
        padding-bottom: 22px;
        border-bottom: 4px solid #bd1a2d;
    }

    .seminar-detail-meta {
        margin: 0 0 34px;
    }

    .seminar-detail-meta div {
        display: grid;
        grid-template-columns: 190px 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .seminar-detail-meta dt,
    .seminar-detail-meta dd {
        margin: 0;
        font-size: 16px;
        line-height: 1.8;
    }

    .seminar-detail-meta dt {
        color: #bd1a2d;
        font-weight: 800;
        white-space: normal;
        min-width: 0;
    }

    .seminar-detail-meta dt i {
        width: 24px;
        margin-right: 8px;
    }

    .seminar-detail-meta dd {
        font-weight: 700;
    }

    .seminar-detail-text {
        margin: 0 0 42px;
    }

    .seminar-detail-text p {
        font-size: 15px;
        line-height: 2.15;
        margin: 0;
    }

    .seminar-detail-info {
        margin-bottom: 26px;
    }

    .seminar-detail-info div {
        display: grid;
        grid-template-columns: 190px 1fr;
        gap: 24px;
        margin-bottom: 20px;
    }

    .seminar-detail-info dt,
    .seminar-detail-info dd {
        margin: 0;
        font-size: 15px;
        line-height: 1.9;
    }

    .seminar-detail-info dt {
        font-weight: 800;
        white-space: nowrap;
        min-width: 0;
    }

    .seminar-flyer-link {
        margin: 26px 0 46px;
    }

    .seminar-flyer-link a {
        display: inline-block;
        color: #bd1a2d;
        text-decoration: underline;
        font-size: 15px;
        font-weight: 700;
        margin: 0 18px 10px 0;
    }

    .seminar-flyer-link i {
        font-size: 24px;
        margin-right: 8px;
        vertical-align: middle;
    }

    .seminar-apply-button a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 86px;
        background: #bd1a2d;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 800;
        transition: opacity .2s ease;
    }

    .seminar-apply-button a:hover {
        color: #fff;
        opacity: .88;
    }

    .seminar-detail-nav-wrap {
        background: #f7f7f7;
        padding: 70px 0;
        margin-top: 40px;
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .seminar-detail-nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 28px;
        width: 100%;
        max-width: 1140px;
        margin: 0 auto;
        padding: 0 24px;
    }
    .seminar-detail-nav i {
 font-size:1.5rem
    }
    .seminar-nav-prev a,
    .seminar-nav-prev span,
    .seminar-nav-next a,
    .seminar-nav-next span {
        color: #bd1a2d;
        text-decoration: none;
     }

    .seminar-nav-prev span,
    .seminar-nav-next span {
        color: #bbb;
    }

    .seminar-nav-back a {
        color: #bd1a2d;
        font-size: 17px;
        font-weight: 800;
        text-decoration: underline;
    }

    .seminar-nav-prev {
        text-align: left;
    }

    .seminar-nav-next {
        text-align: right;
    }

    .seminar-nav-prev a,
    .seminar-nav-next a {
        display: inline-flex;
        align-items: center;
        gap: 22px;
        text-align: left;
    }

    .seminar-nav-prev a div,
    .seminar-nav-next a div {
        color: #333;

        line-height: 1.6;
    }

    .seminar-nav-prev p,
    .seminar-nav-prev small,
    .seminar-nav-prev strong,
    .seminar-nav-next p,
    .seminar-nav-next small,
    .seminar-nav-next strong {
        display: block;
        margin: 0;
    }

    .seminar-nav-prev strong,
    .seminar-nav-next strong {
        font-size: 16px;
        font-weight: 800;
    }

    @media (max-width: 991.98px) {
        .seminar-card-link {
            grid-template-columns: 180px 1fr;
            gap: 24px;
        }

        .seminar-image img {
            width: 180px;
            height: 120px;
        }

        .seminar-body {
            padding: 30px 26px 28px 0;
        }

        .seminar-body h3 {
            font-size: 20px;
        }
    }

    @media (max-width: 767.98px) {

        .seminar-heading h2,
        .seminar-detail h2 {
            font-size: 25px;
        }

        .seminar-card {
            border-width: 2px;
        }

        .seminar-card-link {
            grid-template-columns: 1fr;
            gap: 0;
        }

        .seminar-image {
            padding: 18px 18px 0;
        }

        .seminar-image img {
            width: 100%;
            height: auto;
            max-height: none;
            object-fit: contain;
        }

        .seminar-body {
            padding: 24px 22px 26px;
        }

        .seminar-body h3 {
            font-size: 19px;
        }

        .seminar-meta div,
        .seminar-detail-meta div,
        .seminar-detail-info div {
            grid-template-columns: 1fr;
            gap: 4px;
        }

        .seminar-detail-nav {
            grid-template-columns: 60px 1fr 60px;
            gap: 16px;
        }

        .seminar-nav-prev a div,
        .seminar-nav-next a div {
            display: none;
        }

    }

    @media (max-width: 575.98px) {
        .seminar-heading {
            text-align: left;
        }

        .seminar-detail-wrap {
            padding-top: 2rem !important;
        }

        .seminar-body h3 {
            font-size: 18px;
        }

        .seminar-tag {
            font-size: .75rem;
        }

        .seminar-apply-button a {
            min-height: 70px;
        }
    }

/* ============================================================
   home inspector / skill master card list common CSS
   moved from homelist.php / skilllist.php
   Safari layout stabilization: keep visual order, remove percent-height dependency.
   ============================================================ */
/* ===== Home Inspector List Design v2 ===== */
.hi-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 8px 0 30px;
}

.hi-card {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: stretch;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 18px rgba(0,0,0,0.09);
    overflow: hidden;
    min-height: 0;
    transition: box-shadow .2s ease, transform .2s ease;
}

.hi-card:hover {
    box-shadow: 0 8px 26px rgba(0,0,0,0.13);
    transform: translateY(-1px);
}

/* 写真：Safariで height:100% が解決できず崩れる対策として絶対配置で全面表示 */
.hi-photo {
    position: relative;
    align-self: stretch;
    width: 240px;
    min-width: 240px;
    min-height: 260px;
    background: #fff;
    overflow: hidden;
}

.hi-photo img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover !important;
    object-position: top center !important;
    display: block;
}

.hi-info {
    padding: 26px 32px 24px;
    min-width: 0;
}

.hi-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 8px;
    min-width: 0;
}

.hi-titlebox {
    min-width: 0;
    order: 1;
}

.hi-reg {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f1f1f1;
    color: #444;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 7px 15px;
    border-radius: 999px;
    margin: 0 0 0 auto;
    flex: 0 0 auto;
    order: 2;
    white-space: nowrap;
}

.hi-reg i {
    color: #9a9a9a;
    font-size: .85rem;
}

.hi-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.45;
    color: #111;
    letter-spacing: .08em;
    margin: 0 0 3px;
    overflow-wrap: anywhere;
}

.hi-birth {
    color: #6f7782;
    letter-spacing: .14em;
    margin-bottom: 0;
}

.hi-divider {
    border: 0;
    border-top: 1px solid #ececec;
    margin: 0 0 14px;
}

.hi-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hi-detail-row {
    display: grid;
    grid-template-columns: 22px 150px minmax(0, 1fr);
    column-gap: 12px;
    align-items: start;
    line-height: 1.55;
    min-width: 0;
}

.hi-detail-icon {
    color: #aaa;
    text-align: center;
    padding-top: 2px;
    font-size: 15px;
}

.hi-detail-label {
    color: #8c8c8c;
    font-weight: 700;
    letter-spacing: .14em;
    padding-top: 1px;
    white-space: nowrap;
}

.hi-detail-value {
    color: #111;
    font-size: 15px;
    letter-spacing: .14em;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hi-cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.hi-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .08em;
}

.hi-cert-badge.ok {
    background: #e8f5e9;
    color: #16843a;
    border: 1px solid #bfe5c5;
}

.hi-cert-badge.ng {
    background: #fafafa;
    color: #aaa;
    border: 1px solid #dedede;
}

.hi-cert-badge.ok i { color: #24a148; }
.hi-cert-badge.ng i { color: #c9c9c9; }

.hi-raw-body {
    margin-top: 14px;
    color: #333;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* 旧本文内に表・画像が残る場合の横崩れ対策 */
.hi-raw-body table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

.hi-raw-body th,
.hi-raw-body td {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.hi-raw-body img {
    max-width: 100%;
    height: auto;
}

.hi-empty {
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    color: #666;
    text-align: center;
}

@media (max-width: 767.98px) {
    .hi-grid {
        gap: 24px;
        padding-top: 4px;
    }

    .hi-card {
        display: block !important;
        min-height: 0;
        border-radius: 7px;
    }

    .hi-photo {
        width: 100%;
        min-width: 0;
        height: 390px;
        min-height: 390px;
        background: #fff;
    }

    .hi-photo img {
        height: 100% !important;
        min-height: 0;
    }

    .hi-info {
        padding: 22px 20px 24px;
    }

    .hi-head {
        display: block;
        margin-bottom: 8px;
    }

    .hi-reg {
        margin: 0 0 12px;
        white-space: normal;
    }

    .hi-titlebox {
        display: block;
    }

    .hi-name {
        font-size: 23px;
        line-height: 1.35;
    }

    .hi-birth {
        margin-bottom: 0;
    }

    .hi-divider {
        margin-bottom: 12px;
    }

    .hi-details {
        gap: 8px;
    }

    .hi-detail-row {
        display: grid;
        grid-template-columns: 22px minmax(0, 1fr);
        column-gap: 9px;
        row-gap: 2px;
        padding: 5px 0 0;
        line-height: 1.5;
    }

    .hi-detail-icon {
        display: block;
        grid-column: 1;
        grid-row: 1;
        padding-top: 1px;
    }

    .hi-detail-label {
        display: block;
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 1px;
    }

    .hi-detail-value {
        display: block;
        grid-column: 2;
        grid-row: 2;
        line-height: 1.55;
    }

    .hi-cert-badges {
        margin-top: 10px;
        padding-top: 10px;
        gap: 7px;
    }
}

@media (max-width: 480px) {
    .hi-photo {
        height: 390px;
        min-height: 390px;
    }
}

/* skilllist.php: name-only header alignment */
.hi-head-name-only {
    justify-content: flex-start;
}

/* Safari等でtable扱いの一覧が横にはみ出す場合の局所調整 */
.member-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.member-table,
.member-modal-table {
    max-width: 100%;
}

.member-table th,
.member-table td,
.member-modal-table th,
.member-modal-table td {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* ============================================================
   reservation/contact form common CSS
   moved from form/reservation*.php
   ============================================================ */
.contact-form-wrap table th.thwid {
    background: #fff !important;
    color: #555 !important;
    font-weight: normal;
}

@media (min-width: 768px) {
    .contact-form-wrap table.custom-table {
        table-layout: fixed;
    }

    .contact-form-wrap col.form-th-col {
        width: 25%;
    }
}



.contact-form-wrap .seminar-body h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}

.contact-form-wrap .seminar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.contact-form-wrap .seminar-tag.tag-main {
    color: #fff;
    border: 1px solid #bd1a2d;
    background: #bd1a2d;
    padding: 2px 10px;
    font-size: .75rem;
    font-weight: 700;
}

.contact-form-wrap .seminar-meta div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 10px;
    margin-bottom: 8px;
}

.contact-form-wrap .seminar-meta dt {
    font-weight: 700;

    color: #333;
}

.contact-form-wrap .seminar-meta dd {
    margin: 0;

}

.contact-form-wrap .seminar-meta dt i {
    width: 20px;
    margin-right: 5px;
    color: #555;
}

.contact-form-wrap.t-builder .seminar-meta div,
.contact-form-wrap .seminar-meta.t-builder div {
    gap: 6px;
    margin-bottom: 6px;
}


/* ============================================================
   TOP PAGE STYLES (index.php)
   ============================================================ */
/* ===== TOP PAGE STYLES ===== */

/* --- Hero --- */
.top-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
}

.top-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.top-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
}

.top-hero-text {
    position: absolute;
    right: 8%;
    top: 50%;
    transform: translateY(-55%);
    text-align: left;
}

.top-hero-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 500;
    color: #fff;
    line-height: 1.45;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1), 2px -2px 5px rgba(0, 0, 0, 0.1), -2px 2px 5px rgba(0, 0, 0, 0.1), -2px -2px 5px rgba(0, 0, 0, 0.1), 2px 0 5px rgba(0, 0, 0, 0.1), 0 2px 5px rgba(0, 0, 0, 0.1), -2px 0 5px rgba(0, 0, 0, 0.1), 0 -2px 5px rgba(0, 0, 0, 0.1);

}

.top-hero-desc {
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    padding: 18px 22px;
    width: 480px;
    margin-left: auto;
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.85;
    text-align: left;
}

.top-hero-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: opacity 0.2s;
    text-decoration: underline;

}

.top-hero-more:hover {
    opacity: 0.75;
    color: #fff;
    text-decoration: none;
}

.top-hero-more i {
    font-size: 0.75rem;
}

/* Scroll indicator */
.top-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.top-scroll-line {
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.7);
    animation: scrollLine 1.6s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 1;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    100% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* --- Seminar section --- */
.top-seminar {
    padding: 64px 0 72px;
    background: #fff;
}

.top-seminar-label {
    text-align: center;
    font-size: 0.78rem;
    color: #888;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.top-seminar-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

.top-seminar-en {
    text-align: center;
    font-size: 1.5rem;
    color: #B91A28;
    letter-spacing: 0.03em;
    margin-bottom: 48px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
}

/* 2-col seminar grid */
.top-sem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
}

.top-sem-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 2px solid #B91A28;
    margin-bottom: 20px;
}

.top-sem-col-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
}

.top-sem-col-more {
    font-size: 0.75rem;
    color: #B91A28;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    transition: opacity 0.2s;
}

.top-sem-col-more:hover {
    opacity: 0.7;
    color: #B91A28;
    text-decoration: none;
}

/* Seminar list items */
.top-sem-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.top-sem-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.top-sem-item:hover {
    color: inherit;
    text-decoration: none;
}

.top-sem-item:hover .top-sem-item-title {
    color: #B91A28;
}

.top-sem-arrow {
    flex: 0 0 14px;
    color: #B91A28;
    font-size: 0.85rem;
    margin-top: 7px;
}

.top-sem-item-meta {
    flex: 1;
}

.top-sem-item-date {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 3px;
}

.top-sem-item-date .place {
    margin-left: 12px;
}

.top-sem-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.15s;
}

.top-sem-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 4px 0 6px;
}

.top-sem-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    color: #333;
    border: 1px solid #333;
    background: #fff;
    padding: 2px 9px;
    font-size: .75rem;
    line-height: 1.35;
    font-weight: 700;
}

.top-sem-tag.tag-main {
    color: #fff;
    border-color: #bd1a2d;
    background: #bd1a2d;
}

.top-sem-empty {
    padding: 16px 0;
    color: #777;
    font-size: 0.92rem;
    border-bottom: 1px solid #f0f0f0;
}

/* --- Member section --- */
.top-member {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.top-member-bg {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.top-member-inner {
    position: relative;
    z-index: 1;
    padding: 64px 0 72px;
}

.top-member-card {
    background-color: #fff;
    backdrop-filter: blur(4px);
    padding: 40px 44px;
    position: relative;
}

.top-member-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #B91A28;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.top-member-card-rule {
    width: 40px;
    height: 2px;
    background: #B91A28;
    margin-bottom: 20px;
    border: none;
}

.top-member-card-desc {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.85;
    margin-bottom: 24px;
}

.top-member-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    transition: color 0.15s, padding-left 0.15s;
}

.top-member-link:last-child {
    border-bottom: none;
}

.top-member-link:hover {
    color: #B91A28;
    text-decoration: none;
    padding-left: 4px;
}

.top-member-link i {
    color: #B91A28;
    font-size: 0.78rem;
}

.top-member-map {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: -110px;
}

.top-member-map img {
    width: 100%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .top-sem-grid {
        grid-template-columns: 1fr;
        gap: 40px 0;
    }

    .top-member-card {
        max-width: 100%;
        padding: 32px 28px;
    }

    .top-member-map {
        padding-top: 24px;
    }
}

@media (max-width: 767px) {
    .top-hero-text {
        right: 0;
        left: 0;
        top: auto;
        bottom: 120px;
        transform: none;
        padding: 0 20px;
        text-align: left;
    }

    .top-hero-title {
        font-size: 1.6rem;
    }

    .top-hero-desc {
        max-width: 100%;
    }

    .top-hero-more {
        right: 20px;
        bottom: 70px;
    }

    .top-seminar {
        padding: 48px 0 56px;
    }

    .top-seminar-title {
        font-size: 1.5rem;
    }
}


.sumai .l_btn.l_nav::after {
    border-top: 2px solid #509265;
    border-right: 2px solid #509265;
}

.sumai .l_btn.l_nav::before {
    background: #509265;
}


.sumai .top-sem-arrow,
.sumai .l_btn.l_nav,
.sumai .top-sem-item:hover .top-sem-item-title,
.sumai .l_btn.l_nav:hover,
.sumai .l_btn.l_nav:focus {
    color: #509265;
}

.sumai .l_btn.l_nav:hover::after,
.sumai .l_btn.l_nav:focus::after {
    border-color: #509265;
}

.sumai .l_btn.l_nav:hover::before,
.sumai .l_btn.l_nav:focus::before {
    background: #509265;
}


hr.top-member-card-rule1 {
    /* デフォルトのスタイルをリセット */
    border: none;
    /* 全体のグレーの線（高さ1px） */
    border-bottom: 1px solid #cfcfcf;

    position: relative;
    overflow: visible;
    /* 赤い線をはみ出して表示させるために必要 */
    height: 1px;
    /* 全体の高さ */
    margin: 20px 0;
    /* 前後の余白（任意） */
}

hr.top-member-card-rule1::before {
    content: "";
    position: absolute;
    top: 0;
    /* グレーの線と同じ位置から開始 */
    left: 0;
    width: 45px;
    /* 指定の横幅 */
    height: 2px;
    /* 指定の高さ */
    background-color: #B91A28;
}

/* ============================================================
   INFORMATION PAGE (information.php)
   ============================================================ */
.information-page-wrap {
    color: #333;
}

.information-heading {
    position: relative;
    padding-left: 26px;
}

.information-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 72px;
    background: #bd1a2d;
}

.information-subtitle {
    color: #bd1a2d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 700;
}

.information-heading h2 {
    font-size: 30px;
    line-height: 1.55;
    font-weight: 800;
    margin: 0 0 12px;
}

.information-lead {

    line-height: 1.9;
}

.information-main-image {
    background: #fff;
    border: 1px solid #e7e7e7;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .045);
}

.information-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.information-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.information-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #bd1a2d;
    color: #bd1a2d;
    background: #fff;

    font-weight: 800;
    letter-spacing: .04em;
}

.information-section-title h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
}

.information-section-title h3 i {
    color: #bd1a2d;
    margin-right: 10px;
}

.information-card,
.achievement-card,
.qualification-card,
.activity-link-card {}


.qualification-card,
.activity-link-card {
    background: #fff;
    border: 1px solid #e7e7e7;
}

.information-card {
    padding: 34px 40px;
}

.information-intro-card p,
.information-card p {
    font-size: 15px;
    line-height: 2.1;
    margin: 0;
}

.information-block-title {
    color: #bd1a2d;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.information-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.information-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    font-size: 15px;
    line-height: 1.9;
}

.information-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .8em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #bd1a2d;
}

.information-side-image {
    background: #fff;
    border: 1px solid #e7e7e7;
    padding: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .045);
}

.information-side-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.qualification-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    color: #333;
    text-decoration: none;
    padding: 24px 16px;
    text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.qualification-card:hover {
    color: #bd1a2d;
    text-decoration: none;
    border-color: #bd1a2d;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .07);
}

.qualification-card i {
    color: #bd1a2d;
    font-size: 30px;
    margin-bottom: 16px;
}

.qualification-card span {

    line-height: 1.6;
    font-weight: 800;
}

.owner-activity-box {
    border-left: 3px solid #bd1a2d;
    padding: 6px 0 6px 22px;
}

.owner-activity-box i {
    color: #bd1a2d;
    font-size: 28px;
    margin-bottom: 14px;
}

.owner-activity-box h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}

.owner-activity-box p {
    color: #555;

    line-height: 1.9;
}

.activity-link-grid {
    display: grid;
    gap: 18px;
}

.activity-link-card {
    position: relative;
    display: grid;
    grid-template-columns: 76px 1fr 34px;
    align-items: center;
    gap: 22px;
    color: #333;
    text-decoration: none;
    padding: 28px 34px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

a.activity-link-card:hover {
    color: #333;
    text-decoration: none;
    border-color: #bd1a2d;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .07);
}

.activity-link-no {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bd1a2d;
    color: #bd1a2d;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.activity-link-body h4 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 8px;
}

.activity-link-body p {
    color: #555;

    line-height: 1.8;
    margin: 0;
}

.activity-link-body strong {
    color: #bd1a2d;
    font-size: 24px;
    margin-left: 6px;
}

.activity-link-card>i {
    color: #bd1a2d;
    font-size: 22px;
    transition: transform .2s ease;
}

.activity-link-card:hover>i {
    transform: translateX(4px);
}

.achievement-list {
    display: grid;
    gap: 24px;
}

.achievement-card {
    display: grid;
    grid-template-columns: 160px 1fr;
}

.achievement-year {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bd1a2d;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    padding: 24px;
    border-right: 1px solid #eee;
}

.achievement-body {
    padding: 30px 34px;
}

.achievement-body h4 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.7;
    margin: 0 0 16px;
}

.achievement-body p {
    color: #555;

    line-height: 2;
    margin: 0 0 10px;
}

.achievement-body p:last-child {
    margin-bottom: 0;
}

.achievement-body small {
    color: #777;
}

@media (max-width: 991.98px) {
    .qualification-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .information-side-image img {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    .information-card {
        padding: 28px 24px;
    }

    .activity-link-card {
        grid-template-columns: 58px 1fr;
        padding: 24px 22px;
    }

    .activity-link-card>i {
        display: none;
    }

    .achievement-card {
        grid-template-columns: 1fr;
    }

    .achievement-year {
        border-right: 0;
        padding: 18px 24px;
    }

    .achievement-year img {
        max-width: 200px;
    }

    .achievement-body {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .information-heading {
        padding-left: 18px;
    }

    .information-heading::before {
        width: 4px;
        height: 66px;
    }

    .information-heading h2 {
        font-size: 22px;
    }

    .information-section-title span {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .information-section-title h3 {
        font-size: 20px;
        line-height: 1.5;
    }

    .qualification-grid {
        grid-template-columns: 1fr;
    }

    .activity-link-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* ============================================================
   HOLD EXAM PAGE UNIQUE STYLES (hold_exam.php)
   ─ 共通セミナーCSSは custom.css 上部に定義済み
   ─ 以下はフィルター・カード装飾など試験ページ固有スタイル
   ============================================================ */
/* ----- セミナーフィルター（試験申し込みページ固有） ----- */
.seminar-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e2e2e2;
}

.seminar-filter-btn {
    appearance: none;
    border: 1px solid #cfcfcf;
    background: #fff;
    color: #333;
    min-width: 96px;
    padding: 9px 16px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.seminar-filter-btn:hover,
.seminar-filter-btn.is-active {
    color: #bd1a2d;
    border-color: #bd1a2d;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .045);
    transform: translateY(-1px);
}

/* ----- カードデコレーション・フィルター状態 ----- */
.seminar-card-deco {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-55%) rotate(100deg);
    font-size: 240px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.02);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.seminar-card-link {
    position: relative;
    z-index: 1;
}

.seminar-card.is-new {
    border-width: 4px;
}

.seminar-card.is-hidden {
    opacity: 0;
    transform: translateY(14px);
    max-height: 0 !important;
    margin-top: 0;
    margin-bottom: 0;
    border-width: 0;
    pointer-events: none;
}

.seminar-new-label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    background: #bd1a2d;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    padding: 9px 14px;
    letter-spacing: .03em;
}

@media (max-width: 767.98px) {
    .seminar-filter { justify-content: flex-start; }
    .seminar-filter-btn { min-width: auto; padding: 8px 13px; }
    .seminar-card.is-new { border-width: 2px; }
    .seminar-card-deco {
        top: auto;
        bottom: -50px;
        right: -30px;
        transform: rotate(-20deg);
        font-size: 170px;
    }
}

/* ============================================================
   BECOME MEMBER PAGE (become_member.php)
   ============================================================ */
.become-member-wrap {
    color: #333;
}

.become-heading {
    position: relative;
    padding-left: 26px;
}

.become-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 72px;
    background: #bd1a2d;
}

.become-subtitle {
    color: #bd1a2d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 700;
}

.become-heading h2 {
    font-size: 30px;
    line-height: 1.55;
    font-weight: 800;
    margin: 0 0 12px;
}

.become-lead {

    line-height: 1.9;
}

.become-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.become-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #bd1a2d;
    color: #bd1a2d;
    background: #fff;

    font-weight: 800;
    letter-spacing: .04em;
}

.become-section-title h3 {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
}

.become-section-title h3 i {
    color: #bd1a2d;
    margin-right: 10px;
}

.become-card {
    padding: 36px 0px;
}

.become-card-lead {
    margin: 0 0 24px;
    color: #555;
    font-size: 15px;
    line-height: 1.9;
}

.download-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.download-item {
    position: relative;
    display: block;
    height: 100%;
    color: #333;
    text-decoration: none;
    border: 1px solid #e3e3e3;
    background: #fff;
    padding: 28px 24px 24px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.download-item:hover {
    color: #333;
    text-decoration: none;
    border-color: #bd1a2d;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .07);
}

.download-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bd1a2d;
    color: #bd1a2d;
    background: #fff;
    font-size: 22px;
    margin-bottom: 20px;
}

.download-body h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
}

.download-body p {

    line-height: 1.8;
    color: #666;
    margin: 0;
}

.download-arrow {
    position: absolute;
    right: 18px;
    top: 18px;
    color: #bd1a2d;

}

.flow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: flow;
}

.flow-list li {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 22px;
    position: relative;
    padding: 0 0 28px;
    margin: 0 0 28px;
    border-bottom: 1px solid #eee;
}

.flow-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.flow-num {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bd1a2d;
    color: #bd1a2d;
    background: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: .05em;
}

.flow-body h4 {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 800;
    margin: 0 0 8px;
}

.flow-body p {
    color: #555;

    line-height: 1.9;
    margin: 0;
}

.flow-address {
    display: inline-block;
    margin-top: 8px;
    padding: 14px 18px;
    border-left: 3px solid #bd1a2d;
    background: #fafafa;
    color: #333;
}

@media (max-width: 991.98px) {
    .download-list {
        grid-template-columns: 1fr;
    }

    .become-card {
        padding: 30px 0px;
    }
}

@media (max-width: 575.98px) {
    .become-heading {
        padding-left: 18px;
    }

    .become-heading::before {
        width: 4px;
        height: 66px;
    }

    .become-heading h2 {
        font-size: 22px;
    }

    .become-section-title span {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .become-section-title h3 {
        font-size: 20px;
        line-height: 1.5;
    }

    .become-card {
        padding: 24px 0px;
    }

    .download-item {
        padding: 24px 20px;
    }

    .flow-list li {
        grid-template-columns: 1fr;
        gap: 12px;
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .flow-num {
        width: 54px;
        height: 54px;
    }

    .flow-body h4 {
        font-size: 17px;
    }
}

/* ============================================================
   MEMBERSHIP SYSTEM PAGE (membership_system.php)
   ============================================================ */
.membership-system-wrap {
    color: #333;
}

.membership-heading {
    position: relative;
    padding-left: 26px;
}

.membership-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 72px;
    background: #bd1a2d;
}

.membership-subtitle {
    color: #bd1a2d;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    letter-spacing: .08em;
    font-weight: 700;
}

.membership-heading h2 {
    font-size: 30px;
    line-height: 1.55;
    font-weight: 800;
    margin: 0 0 12px;
}

.membership-lead {

    line-height: 1.9;
}

.membership-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.membership-section-title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #bd1a2d;
    color: #bd1a2d;
    background: #fff;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
}

.membership-section-title h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 800;
}

.membership-section-title h3 i {
    color: #bd1a2d;
    margin-right: 10px;
}

.membership-card,
.membership-branch-card {}

.membership-card {
    padding: 34px 0px;
}

.membership-table {
    width: 100%;
}

.membership-row {
    display: grid;
    grid-template-columns: 210px 1fr;
    border-bottom: 1px solid #e8e8e8;
}

.membership-row:last-child {
    border-bottom: 0;
}

.membership-th,
.membership-td {
    padding: 18px 0;
    line-height: 1.9;
    font-size: 15px;
}

.membership-th {
    color: #bd1a2d;
    font-weight: 800;
}

.membership-th i {
    width: 22px;
    margin-right: 8px;
    text-align: center;
}

.membership-td {
    color: #333;
}

.membership-branch-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.membership-branch-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    min-height: 190px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.membership-branch-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .07);
}

.membership-area {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #bd1a2d;
    border-right: 1px solid #eee;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    padding: 20px;
}

.membership-branch-body {
    background: #fff;
    padding: 28px 30px;
}

.membership-branch-body h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e5e5e5;
}

.membership-branch-body p {
    position: relative;
    margin: 0 0 12px;
    padding-left: 28px;

    line-height: 1.8;
}

.membership-branch-body p:last-child {
    margin-bottom: 0;
}

.membership-branch-body p i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #bd1a2d;
    width: 18px;
    text-align: center;
}

.membership-fee-table {
    width: 100%;
    border: 0px solid #e8e8e8;
}

.membership-fee-head,
.membership-fee-row {
    display: grid;
    grid-template-columns: 180px 1fr 150px 150px;
}

.membership-fee-head {
    background: #555;
    color: #fff;
    font-weight: 800;
    border-bottom: 1px solid #e8e8e8;
}

.membership-fee-head div,
.membership-fee-row>div {
    padding: 18px 20px;
    border-right: 0px solid #e8e8e8;
    line-height: 1.8;

}

.membership-fee-head div:last-child,
.membership-fee-row>div:last-child {
    border-right: 0;
}

.membership-fee-row {
    border-bottom: 1px solid #e8e8e8;
}

.membership-fee-row:last-child {
    border-bottom: 0;
}

.membership-fee-type {
    color: #bd1a2d;
    font-weight: 800;
}

.membership-fee-type i {
    width: 22px;
    margin-right: 8px;
    text-align: center;
}

.membership-note {
    text-align: right;
    color: #666;
    line-height: 1.8;
}

.membership-note p {
    margin: 0;
}

@media (max-width: 991.98px) {
    .membership-card {
        padding: 28px 0px;
    }

    .membership-branch-list {
        grid-template-columns: 1fr;
    }

    .membership-fee-head,
    .membership-fee-row {
        grid-template-columns: 160px 1fr 130px 130px;
    }

    .membership-fee-head div,
    .membership-fee-row>div {
        padding: 16px 14px;
    }
}

@media (max-width: 767.98px) {
    .membership-row {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }

    .membership-th,
    .membership-td {
        padding: 0;
    }

    .membership-th {
        margin-bottom: 6px;
    }

    .membership-branch-card {
        grid-template-columns: 1fr;
    }

    .membership-area {
        justify-content: flex-start;
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding: 16px 22px;
    }

    .membership-branch-body {
        padding: 24px 22px;
    }

    .membership-fee-head {
        display: none;
    }

    .membership-fee-table {
        border: 0;
    }

    .membership-fee-row {
        display: block;
        border: 1px solid #e8e8e8;
        margin-bottom: 16px;
        padding: 18px 20px;
        background: #fff;
    }

    .membership-fee-row>div {
        border-right: 0;
        border-bottom: 1px solid #eee;
        padding: 12px 0;
    }

    .membership-fee-row>div:last-child {
        border-bottom: 0;
    }

    .membership-fee-row>div[data-label]::before {
        content: attr(data-label);
        display: block;
        color: #bd1a2d;
        font-weight: 800;
        margin-bottom: 3px;
    }

    .membership-note {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .membership-heading {
        padding-left: 18px;
    }

    .membership-heading::before {
        width: 4px;
        height: 66px;
    }

    .membership-heading h2 {
        font-size: 22px;
    }

    .membership-section-title span {
        width: 40px;
        height: 40px;
    }

    .membership-section-title h3 {
        font-size: 20px;
    }

    .membership-card {
        padding: 24px 0px;
    }
}

/* ============================================================
   MEMBER LIST PAGE (member_list.php)
   ============================================================ */
/* ===== 一覧テーブル ============================= */
.member-list-wrap {
    color: #333;
}

.member-area-panel {
    background: transparent;
}

.member-area-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 52px;
}

.member-area-btn {
    appearance: none;
    border: 0;
    border-bottom: 2px solid #d8d8d8;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 0 13px;
    color: #333;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.member-area-btn i {
    color: #666;
    font-size: 18px;
    transition: transform .2s, color .2s;
}

.member-area-btn:hover,
.member-area-btn.is-active {
    color: #bd1a2d;
    border-color: #bd1a2d;
}

.member-area-btn:hover i,
.member-area-btn.is-active i {
    color: #bd1a2d;
    transform: translateX(4px);
}

.member-map-box {
    text-align: center;
}

.member-map-box img {
    max-width: 430px;
    width: 100%;
    height: auto;
}

.member-tables {
    padding-top: 42px;
}

.member-area-section {
    margin-bottom: 64px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .35s, transform .35s, max-height .45s, margin .35s;
    overflow: hidden;
}

.member-area-section.is-hidden {
    opacity: 0;
    transform: translateY(14px);
    max-height: 0 !important;
    margin: 0;
    pointer-events: none;
}

.member-area-section h3 {
    position: relative;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 22px;
    padding-left: 18px;
}

.member-area-section h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25em;
    width: 4px;
    height: 1.2em;
    background: #555;
}

.member-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.member-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: transparent;
    table-layout: auto;
}

.member-table thead th {
    background: #555;
    color: #fff;

    font-weight: 700;
    text-align: left;
    padding: 16px 20px;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
}

.member-th-detail {
    width: 80px;
    text-align: center !important;
    white-space: nowrap;
}

.member-td-detail {
    width: 80px;
    text-align: center;
}

.member-table tbody td {
    background: #fff;
    color: #333;

    line-height: 1.8;
    padding: 16px 20px;
    border-bottom: 8px solid transparent;
    vertical-align: middle;
}

.member-table tbody tr:nth-child(odd) td {
    background: #f9f9f9;
}

.member-table tbody tr:nth-child(even) td {
    background: #fff;
}

.member-row {
    cursor: pointer;
    transition: filter .15s;
}

.member-row:hover td {
    filter: brightness(.96);
}

.member-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    appearance: none;
    background: #bd1a2d;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .1s;
}

.member-detail-btn:hover {
    background: #9e1525;
    transform: translateY(-1px);
}

.member-table th:nth-child(1),
.member-table td:nth-child(1) {
    width: 110px;
}

.member-table th:nth-child(2),
.member-table td:nth-child(2) {
    width: 110px;
}

/* ===== モーダル ================================= */
.member-modal-content {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}

.member-modal-header {
    background: #bd1a2d;
    color: #fff;
    padding: 20px 28px;
    border-bottom: none;
    align-items: center;
}

.member-modal-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.member-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .8);
    font-size: 20px;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    opacity: 1;
    transition: color .2s;
}

.member-modal-close:hover {
    color: #fff;
}

.member-modal-body {
    padding: 28px 32px;
    min-height: 120px;
}

.member-modal-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #666;

    padding: 24px 0;
}

.member-modal-spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    border: 3px solid #e0e0e0;
    border-top-color: #bd1a2d;
    border-radius: 50%;
    animation: modalSpin .7s linear infinite;
}

@keyframes modalSpin {
    to {
        transform: rotate(360deg);
    }
}

.member-modal-error {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #bd1a2d;

    padding: 24px 0;
}

.member-modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.member-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f3f3f3;
    color: #555;
    font-size: .85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

.member-modal-badge.is-type {
    background: #bd1a2d;
    color: #fff;
}

.member-modal-table {
    width: 100%;
    max-width: 100%;
    table-layout: auto;
    border-collapse: collapse;
}

.member-modal-table.mb-3 {
    margin-bottom: 20px;
}

.member-modal-table th,
.member-modal-table td {
    padding: 12px 16px;

    border-bottom: 1px solid #eee;
    vertical-align: top;
    line-height: 1.7;
}

.member-modal-table th {
    width: 130px;
    white-space: nowrap;
    color: #555;
    font-weight: 700;
    background: #fafafa;
    border-right: 3px solid #eee;
}

.member-modal-table th i {
    margin-right: 6px;
    color: #bd1a2d;
}

.member-modal-table tbody tr:last-child th,
.member-modal-table tbody tr:last-child td {
    border-bottom: none;
}

/* セクション共通 */
.member-modal-section {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.member-modal-section-title {
    font-weight: 800;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
}

.member-modal-section-title i {
    color: #bd1a2d;
    margin-right: 4px;
}

/* 対応工事グリッド */
.member-modal-reform-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.member-modal-reform-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 8px 14px;
    min-width: 140px;
}

.reform-label {
    color: #555;
    font-weight: 600;
}

.reform-mark {
    font-size: 15px;
    font-weight: 800;
    color: #aaa;
    margin-left: auto;
    min-width: 20px;
    text-align: center;
}

.reform-mark.is-on {
    color: #bd1a2d;
}

/* 建設業許可 注記 */
.member-modal-kyoka-note {
    font-size: 11px;
    font-weight: 400;
    color: #777;
    letter-spacing: .01em;
}

/* 建設業許可 業種グリッド */
.member-modal-kyoka-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.kyoka-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: .85rem;
}

.kyoka-label {
    color: #555;
    font-weight: 600;
}

.kyoka-val {
    font-weight: 800;
    min-width: 18px;
    text-align: center;
    color: #aaa;
}

.kyoka-val.is-1 {
    color: #2563eb;
}

.kyoka-val.is-2 {
    color: #bd1a2d;
}

/* SP：4列（〜575px は 3列） */
@media (max-width: 767.98px) {
    .member-modal-kyoka-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }

    .kyoka-item {
        padding: 5px 8px;
        font-size: 11px;
    }
}

@media (max-width: 575.98px) {
    .member-modal-kyoka-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .kyoka-item {
        padding: 5px 7px;
        font-size: 11px;
    }
}

.member-modal-footer {
    background: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 16px 28px;
    justify-content: flex-end;
}

.member-modal-btn-close {
    background: #555;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 22px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s;
}

.member-modal-btn-close:hover {
    background: #333;
}

/* ===== レスポンシブ ============================= */
@media (max-width: 991.98px) {
    .member-area-grid {
        gap: 20px 34px;
    }

    .member-map-box img {
        max-width: 360px;
    }
}

@media (max-width: 767.98px) {
    .member-tables {
        padding-top: 34px;
    }

    .member-area-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .member-area-btn {
        font-size: 15px;
        padding-bottom: 12px;
    }

    .member-map-box img {
        max-width: 300px;
    }

    .member-area-section {
        margin-bottom: 46px;
    }

    .member-area-section h3 {
        font-size: 20px;
    }

    .member-table,
    .member-table thead,
    .member-table tbody,
    .member-table tr,
    .member-table th,
    .member-table td {
        display: block;
        width: 100%;
    }

    .member-table thead {
        display: none;
    }

    .member-table tbody tr {
        background: #fff;
        border: 1px solid #e5e5e5;
        margin-bottom: 16px;
        padding: 16px 18px;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
    }

    .member-table tbody td {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        background: transparent !important;
        border-bottom: 1px solid #eee;
        padding: 10px 0;

        line-height: 1.7;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .member-table tbody td:last-child {
        border-bottom: 0;
    }

    .member-table tbody td::before {
        content: attr(data-label);
        color: #bd1a2d;
        font-weight: 800;
        white-space: nowrap;
        padding-top: 2px;
    }

    .member-td-detail {
        text-align: left;
    }

    .member-modal-body {
        padding: 20px 18px;
    }

    /* PC の nth-child 固定幅をスマホで上書き（詳細度を合わせて解除）*/
    .member-table td:nth-child(1),
    .member-table td:nth-child(2) {
        width: 100%;
    }

    /* モーダル：thは折り返しなし、tdは折り返しOK */
    .member-modal-table th {
        width: 100px;
        white-space: nowrap;
    }

    .member-modal-table td {
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 575.98px) {

    .member-table thead th,
    .member-table tbody td {
        padding: 12px 14px;
    }

    .member-modal-header {
        padding: 16px 18px;
    }

    .member-modal-title {
        font-size: 15px;
    }
}

/* ============================================================
   GLOBAL UTILITY & FOOTER STYLES (contents.php / htmlfooter)
   ─ 全ページ共通ユーティリティ、ナビゲーションボタン、
     フォームテーブル、QAボックスなど
   ============================================================ */
.bgfff {
  background: #ffffff;
}

.l_sec {
  padding: 22px 0 18px;
}

.l_link-nav {
  width: 100%;
}

.l_link-nbtns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 26px;
}

.l_link-nbtn {
  min-width: 0;
}

.l_btn.l_nav {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 28px 14px 0;
  color: #B91A28;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid #d8d8d8;
  box-sizing: border-box;
  transition: color 0.25s ease;
}

.bottom .l_btn.l_nav {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px 28px 14px 0;
  color: #B91A28;
  font-weight: 700;
  line-height: 18px;
  text-decoration: none;
  border-bottom: 1px solid #d8d8d8;
  box-sizing: border-box;
  transition: color 0.25s ease;
}

/* 初期の左側太線 */
.l_btn.l_nav::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 2px;
  background: #B91A28;
  transition: width 0.35s ease, background-color 0.25s ease;
}

/* 右矢印 */
.l_btn.l_nav::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-top: 2px solid #B91A28;
  border-right: 2px solid #B91A28;
  transform: rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.l_btn.l_nav:hover,
.l_btn.l_nav:focus {
  color: #B91A28;
  outline: none;
}

/* hover で左の太線が右へ伸びて全幅 */
.l_btn.l_nav:hover::before,
.l_btn.l_nav:focus::before {
  width: 100%;
  background: #B91A28;
}

/* hover で矢印を少し右へ */
.l_btn.l_nav:hover::after,
.l_btn.l_nav:focus::after {
  transform: translateX(4px) rotate(45deg);
  border-color: #B91A28;
}

/* リンクなし（現在地表示） */
.l_btn.l_nav.is-current {
  color: #509265;
  font-weight: 700;
  cursor: default;
}

.l_btn.l_nav.is-current::before {
  width: 100%;
  height: 1px;
  background: #509265;
}

.l_btn.l_nav.is-current::after {
  border-top: 2px solid #509265;
  border-right: 2px solid #509265;
  transform: rotate(45deg);
}

.l_btn.l_nav.is-current:hover {
  opacity: 1;
}

html {
  scroll-behavior: smooth;
}

/* タブレット */
@media (max-width: 900px) {
  .l_link-nbtns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 22px;
  }
}

/* スマホ */
@media (max-width: 600px) {
  .l_sec {
    padding: 18px 15px 14px;
  }
  .l_link-nbtns {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }
  .l_btn.l_nav {
    padding: 8px 28px 12px 0;
  }
}

.redcolor {
  color: #B91A28;
}

.underline,
.underline a {
  text-decoration: underline;
}

.lt2,
.lt3 {
  color: #B91A28;
  padding: 17px 0;
  border-bottom: 3px solid #B91A28;
}

.lt3 {
  padding: 15px 0;
  border-bottom: 1px solid #B91A28;
}

.lt4 {
  padding: 0 10px;
  margin: 25px 0 15px;
  border-left: 3px solid #B91A28;
}

.bggray {
  background-color: #fafafa;
}

.table .thead-light th {
  background-color: #555;
  color: #fff;
}

.table th,
.table td {
  padding: 10px;
}

.custom-table.table-borderless {
  border-top: 1px solid #dee2e6;
}

.custom-table.table-borderless td,
.custom-table.table-borderless th {
  border-bottom: 1px solid #dee2e6;
}

.bodydata {
  margin-bottom: 50px;
}

.thwid {
  width: 200px;
}

.boxlink {
  padding: 40px 60px;
}

@media (max-width: 991.98px) {
  .dltable-lg .thwid {
    width: 100%;
  }
  .boxlink {
    padding: 30px 50px;
  }
}

@media (max-width: 767.98px) {
  .dltable-md .thwid {
    width: 100%;
  }
  .boxlink {
    padding: 20px 40px;
  }
}

@media (max-width: 575.98px) {
  .boxlink {
    padding: 10px 30px;
  }
}

.href {
  text-align: center;
  font-size: 1.1rem;
  padding: 20px;
  border: 1px solid #B91A28;
  color: #B91A28;
  display: block;
}

.href:hover {
  background-color: #B91A28;
  color: #fff;
}

.pdflink {
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  padding-left: 24px;
  color: #B91A28;
  text-decoration: none;
}

.pdflink::before {
  content: "\f1c1";
  font-family: "FontAwesome";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #B91A28;
}

.pdflink:hover {
  opacity: 0.8;
}

.pdflink:hover::before {
  transform: translateY(-50%) scale(1.1);
}

.mcolor li::marker {
  color: #B91A28;
}

/* Q&A ボックス */
.qabox {
  margin: 0 0 2px;
}

.qabox .q,
.qabox .a {
  position: relative;
  padding: 18px 24px 18px 72px;
  font-size: 14.5px;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.qabox .q {
  background: #fff;
  color: #2a2a2a;
  font-weight: 500;
  border-bottom: 1px solid #ececec;
}

.qabox .a {
  color: #444;
  border-bottom: 1px solid #ececec;
}

.qabox .q::before,
.qabox .a::before {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  letter-spacing: 0;
}

.qabox .q::before {
  content: "Q";
  background: #509265;
  color: #fff;
}

.qabox .a::before {
  content: "A";
  background: #B91A28;
  color: #fff;
}

.qabox-list .qabox {
  border-left: 3px solid #e8e8e8;
  margin-bottom: 16px;
  transition: border-color .2s;
}

.qabox-list .qabox:hover {
  border-left-color: #509265;
}

footer a {
  color: #262626;
}

footer a:hover {
  color: #B91A28;
}

.bgdark1 {
  background-color: rgba(0, 0, 0, 0.3) !important;
  color: #fff;
}

.full-fluid.toptoptop {
  padding: 100px 30px;
}

h5.pt-4.mt-5 {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  text-shadow: 2px 2px 5px rgba(0,0,0,.1), 2px -2px 5px rgba(0,0,0,.1),
               -2px 2px 5px rgba(0,0,0,.1), -2px -2px 5px rgba(0,0,0,.1),
               2px 0 5px rgba(0,0,0,.1), 0 2px 5px rgba(0,0,0,.1),
               -2px 0 5px rgba(0,0,0,.1), 0 -2px 5px rgba(0,0,0,.1);
  font-size: 1.25rem;
  line-height: 2.6rem;
}

.toptoptop {
  overflow: hidden;
  line-height: 0;
}

.toptoptop * {
  line-height: 1.8rem;
}

.namespace1 {
  scroll-margin-top: 70px;
}

.phone,
.eng {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}


/* ============================================================
   SP layout adjustment 2026-05-15
   ============================================================ */

.fee-table-sp {
    display: none;
}

@media (max-width: 767.98px) {
    /* index.php: 日本地図をスマホ時だけ中央へ寄せる */
    .top-member-map {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .top-member-map img {
        display: block !important;
        width: min(92vw, 360px) !important;
        max-width: 100% !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
    }

    /* jyukan.php: PC用の余白は残し、スマホのみ細くなりすぎる余白を解除 */
    .jyukan-sp-row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    .jyukan-sp-row .pl-5,
    .jyukan-sp-row .px-5 {
        padding-left: .5rem !important;
        padding-right: .5rem !important;
    }

    .jyukan-role-box {
        flex-wrap: wrap !important;
        text-align: center !important;
    }

    .jyukan-role-text {
        display: block !important;
        width: 100% !important;
        margin-top: .5rem !important;
        line-height: 1.5 !important;
    }

    /* member_list.php: スマホカードの見出し幅を広げ、1文字改行を防止 */
    .member-table tbody td {
        grid-template-columns: 118px minmax(0, 1fr) !important;
        gap: 12px !important;
        word-break: normal !important;
        overflow-wrap: anywhere !important;
    }

    .member-table tbody td::before {
        white-space: nowrap !important;
        min-width: 118px !important;
    }

    /* membership_rules.php: PC表とスマホ表を切り替え */
    .fee-table-pc {
        display: none !important;
    }

    .fee-table-sp {
        display: block !important;
    }

    .membership-fee-sp-table th,
    .membership-fee-sp-table td {
        vertical-align: middle !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        padding: 10px 8px !important;
    }

    .membership-fee-sp-table .small {
        display: block;
        margin-top: 2px;
        white-space: nowrap;
    }

    /* form/reservation_s.php, reservation_t.php: 参加セミナー欄をスマホ幅へ最適化 */
    .contact-form-wrap .seminar-body {
        padding: 24px 0 26px !important;
    }

    .contact-form-wrap .seminar-meta div,
    .contact-form-wrap.t-builder .seminar-meta div,
    .contact-form-wrap .seminar-meta.t-builder div {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }

    .contact-form-wrap .seminar-meta dt {
        margin-bottom: 2px !important;
    }

    .contact-form-wrap .seminar-meta dd {
        padding-left: 15px !important;
        margin-bottom: 10px !important;
    }

    /* hold_seminar.php / hold_seminart.php: 一覧に戻るを中央へ */
    .seminar-nav-back {
        text-align: center !important;
        justify-self: center !important;
    }

    .seminar-nav-back a {
        display: inline-block !important;
    }
}

@media (max-width: 575.98px) {
    .member-table tbody td {
        grid-template-columns: 122px minmax(0, 1fr) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .member-table tbody td::before {
        min-width: 122px !important;
    }
}

/* ============================================================
   SEO h1 alignment
   h2からh1へ変更したページ見出しの見た目を既存レイアウトに合わせる
============================================================ */
h1.lt2 {
  font-size: 2.3rem;
  line-height: 1.2;
  font-weight: 500;
}

.seminar-detail h1 {
  color: #bd1a2d;
  font-size: 31px;
  line-height: 1.55;
  font-weight: 800;
  margin: 0 0 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(189, 26, 45, .18);
}

@media (max-width: 991.98px) {
  h1.lt2 {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  h1.lt2 {
    font-size: 2rem;
  }

  .seminar-detail h1 {
    font-size: 24px;
    line-height: 1.45;
    margin-bottom: 22px;
    padding-bottom: 18px;
  }
}
