/**
* Template Name: MyCaseLabo - Custom CSS
* Based on Knight Template
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --base-color: #fff;
  --point-color: #3fad9e;
  --text-color: #333;
  --border-color: #e0e0e0;
}

body {
  font-family: "Jost", "SF Pro JP", "SF Pro Text", "SF Pro Icons", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  background: var(--base-color);
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--point-color);
}

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

.text-primary {
  color: var(--point-color) !important;
}

.btn-primary, .btn.btn-primary {
  background-color: var(--point-color);
  border-color: var(--point-color);
}

.btn-primary:hover {
  background-color: #3a8379;
  border-color: #3a8379;
}

.bg-primary {
  background-color: var(--point-color) !important;
}

.nav-link.active,
.nav-link:hover {
  color: var(--point-color) !important;
}

.btn-get-started {
  background: var(--point-color);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-get-started:hover {
  background: #3a8379;
  color: white;
}

.icon-box {
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.title-icon {
  color: var(--point-color);
  font-size: 2rem;
}

.balloon-top {
  background: var(--point-color);
  color: white;
  padding: 20px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 30px;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid var(--point-color);
  margin: 0 auto;
}

.triangle-wrapper {
  text-align: center;
  margin: 30px 0;
}

.section-caption {
  color: var(--point-color);
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.list-group-item {
  border-left: 3px solid var(--point-color);
  transition: all 0.3s;
}

.list-group-item:hover {
  background-color: #f8f9fa;
  cursor: pointer;
}

.caption-mark {
  font-size: 0.6em;
  vertical-align: super;
}

.caption {
  font-size: 0.7rem;
  line-height: 1.4;
  color: #666;
}

.banner:hover {
  opacity: 0.8;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: var(--point-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  display: none;
  transition: all 0.3s;
  align-items: center;
  justify-content: center;
  z-index: 996;
  visibility: hidden;
  opacity: 0;
}

.back-to-top:hover {
  background: #3a8379;
  color: white;
}

.back-to-top.active {
  display: flex;
  visibility: visible;
  opacity: 1;
}

.back-to-top i {
  font-size: 28px;
  line-height: 0;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
  
  .hero-container h1 {
    font-size: 2rem;
  }
  
  .hero-container h2 {
    font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  height: 70px;
  transition: all 0.5s;
  z-index: 997;
  background: var(--base-color);
  box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.1);
}

#header .logo h1 {
  font-size: 11px;
  margin: 3px 0 0 10px;
  line-height: 1.2;
  font-weight: 600;
  display: inline-block;
  width: 10rem;
  vertical-align: middle;
  color: var(--point-color);
}

#header .logo h1 a, #header .logo h1 a:hover {
  color: var(--text-color);
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 5px 0 0 0;
  max-height: 36px;
}

.scrolled-offset {
  margin-top: 90px;
}

@media (max-width: 992px) {
  #header {
    height: 50px;
  }
  #header .logo img {
    padding: 0;
    margin: 0;
    max-height: 28px;
  }
  .scrolled-offset {
    margin-top: 90px;
  }
}

@media (max-width: 768px) {
  #header .logo img {
    position: relative;
    top: 3px;
    max-height: 24px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 25px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0px;
  color: var(--text-color);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: var(--point-color);
}

/* ボタンの安定性を確保するための追加スタイル */
.navbar .nav-link.contact-button {
  background: var(--point-color);
  color: white !important;
  padding: 8px 20px;
  border-radius: 20px;
  margin-left: 20px;
  display: inline-block !important;
  position: relative !important;
  transform: none !important;
  transition: background-color 0.3s ease !important;
  text-decoration: none !important;
}

.navbar .nav-link.contact-button:hover {
  background: #3a8379 !important;
  transform: none !important;
  position: relative !important;
  color: white !important;
  text-decoration: none !important;
}

.navbar .nav-link.contact-button:active,
.navbar .nav-link.contact-button:focus,
.navbar .nav-link.contact-button:visited {
  background: #3a8379 !important;
  transform: none !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  position: relative !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  margin-left: 20px !important;
  padding: 8px 20px !important;
  display: inline-block !important;
  color: white !important;
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: var(--point-color);
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: var(--text-color);
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--text-color) !important;
}

.navbar-mobile a.nav-link.contact-button {
  margin: .8rem 1rem;
  padding: 8px 15px 6px;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: var(--point-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  position: relative;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(69, 155, 144, 0.1));
  min-height: 100vh;
  align-items: center;
  overflow: hidden;
}

#hero h1 {
  margin: 0 0 6px 0;
  font-size: 1.3rem;
  font-weight: bold;
}

#hero h2 {
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: bold;
}

#hero p.lead {
  color: var(--base-color);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-container h1 {
  color: var(--base-color);
  font-size: 2.5rem;
  font-weight: bold;
}

.hero-container h2 {
  color: var(--base-color);
  font-size: 2rem;
}

.catch {
  background: var(--base-color);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

#hero .hero-container {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 15px;
}

#hero .container {
  z-index: 1;
}

#hero .container.position-adjust {
  margin-top: -150px;
}

#hero .catch {
  font-size: 2.1rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
  padding: .5rem 1rem .3rem 1.9rem;
  line-height: 1;
  display: inline-block;
  border: 3px solid var(--point-color);
  border-radius: 5rem;
  background: var(--point-color);
}

#hero .hero-logo img {
  width: 22rem;
  max-width: 90%;
}

#backgroundVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transition: opacity 0.5s ease-in-out;
}

/* プリロード用の非表示動画要素（パフォーマンス向上のため） */
.video-preload {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#hero .btn-get-started {
  font-weight: bold;
  font-size: 1.5rem;
  display: inline-block;
  padding: 6px 30px;
  border-radius: 10rem;
  margin: 10px;
  color: white;
  background: var(--point-color);
  border: 3px solid var(--point-color);
}

#hero .btn-get-started:hover {
  transition: 0.5s;
  background: var(--base-color);
  border: 3px solid var(--point-color);
  color: var(--point-color);
}

#hero .btn-get-started i {
  font-size: 30px;
  top: 4px;
  position: relative;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero .catch {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    padding: .5rem 1rem .3rem 1.9rem;
    line-height: 1;
    display: inline-block;
    border: 3px solid var(--point-color);
    border-radius: 5rem;
  }
  #hero h1 {
    font-size: 16px;
    margin-bottom: 6px;
  }
  #hero h2 {
    font-size: 20px;
    line-height: 22px;
  }
  #hero p.lead {
    font-size: .9rem;
    margin: 0;
  }
  #hero .hero-logo img {
    width: 12rem;
    max-width: 80%;
    margin: 0;
  }
  #hero .mycaselabo-img {
    width: 12rem;
    max-width: 80%;
  }
  #hero .btn-get-started {
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-block;
    padding: 6px 30px;
    border-radius: 10rem;
    margin: 10px;
    color: white;
    background: var(--point-color);
  }
  #hero .btn-get-started i {
    font-size: 24px;
    top: 3px;
    position: relative;
  }
}

@media (max-width: 479px) {
  #hero .hero-logo img {
    width: 10rem;
  }
  #hero .mycaselabo-img {
    width: 10rem;
  }
}

/*--------------------------------------------------------------
# Balloon & Triangle
--------------------------------------------------------------*/
.balloon-top {
  position: relative;
  display: inline-block;
  margin: 1.5em 0;
  padding: 10px 30px;
  min-width: 120px;
  max-width: 100%;
  background: var(--point-color);
  border-radius: 50rem;
}

.balloon-top p {
  font-size: 16px;
  padding: 0;
  margin: 2px 0 0 0;
  color: var(--base-color);
  line-height: 1.3;
}

.balloon-top p strong {
  font-size: 20px;
  line-height: 1.2;
}

.balloon-top p small {
  font-size: 14px;
  font-weight: 300;
}

.balloon-top:before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-bottom: 15px solid var(--point-color);
}

.top-image-position {
  position: relative;
  top: -48px;
}

.triangle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 30px solid transparent;
  border-left: 30px solid transparent;
  border-top: 20px solid var(--point-color);
  border-bottom: 0;
}

@media (max-width: 768px) {
  .balloon-top {
    padding: 10px 20px;
  }
  .balloon-top p {
    font-size: 15px;
    line-height: 1.4;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: whitesmoke;
}

.section-title {
  text-align: center;
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 27px;
  font-weight: 400;
  margin-bottom: 15px;
  padding: 0 55px;
  color: var(--point-color);
  letter-spacing: 2px;
  display: inline-block;
}

.section-title h2:before, .section-title h2:after {
  content: '';
  position: absolute;
  top: 45%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #aaa;
}

.section-title h2:before {
  left:0;
}
.section-title h2:after {
  right: 0;
}

.section-title p {
  margin-bottom: 0;
  color: #aeaeae;
}

.section-title .section-caption {
  font-size: 0.65rem;
  color: #999;
  letter-spacing: 5px;
  margin-bottom: 6px;
  display: block;
  font-weight: 300;
}

@media screen and (max-width: 768px) {
  .section-title {
    padding-bottom: 20px;
  }
  .section-title h2 {
    font-size: 20px;
  }
  
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
section#services {
  background: var(--base-color);
}

.services h2 {
  display: flex;
  color: var(--text-color);
  font-size: 18px;
  text-align: center;
}

.services h2 img.logo {
  height: 20px;
  margin-right: 3px;
  position: relative;
  top: -2px;
}

.services h2::before,
.services h2::after {
  content: '';
  height: 1px;
  background-color: #666;
  flex-grow: 1;
  margin: 9px 20px;
}

.services p {
  color: var(--base-color);
}

.services .icon-box {
  border: 3px solid var(--border-color);
  border-radius: 1rem;
  background: var(--base-color);
}

.services .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-color);
}

.services .icon-box i {
  font-size: 5rem;
  float: left;
  color: var(--point-color);
}

.services .icon-box p {
  font-size: 15px;
  color: var(--text-color);
}

.services .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  max-width: 2200px;
  min-height: 840px;
}

@media (max-width: 768px) {
  .services .image {
    min-height: 20rem;
    background-size: 170%;
    margin: 0 -12px;
  }
  #demerit img {
    max-width: 40%;
  }
}

/*--------------------------------------------------------------
# News
--------------------------------------------------------------*/
section#news {
  background: #f5f5f5;
  color: #333;
}

.news ul li {
  font-size: 14px;
}

.news ul li[data-bs-toggle="modal"]  {
  cursor: pointer;
}

.news ul li[data-bs-toggle="modal"]:hover {
  background: #fafafa!important;
  border-left: var(--point-color) 3px solid;
}

.news ul li span {
  font-size: 12px;
  color: var(--point-color);
}

@media (max-width: 768px) {
  .news ul li span {
    display: block;
  }
}

/*--------------------------------------------------------------
# News Modal
--------------------------------------------------------------*/
.modal-content {
  color: #333;
}

.modal-content .modal-title {
  font-size: 1.1rem;
}

.modal-content .modal-body {
  font-size: 0.9rem;
}

.modal-content .modal-body p {
  margin-bottom: 0;
}

.modal-content .modal-body img {
  margin: 1rem 0rem;
}

.modal-content .modal-body a {
  color: var(--point-color);
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/

.features .title-box {
  display: flex;
  margin: 5px 0;
}

.features h3 {
  color: var(--point-color);
  font-size: 22px;
  margin-top: 12px;
  position: relative;
  font-weight: bold;
  display: block;
}

.features .title-icon {
  display: inline-block;
  position: absolute;
  left: -.3rem;
}

.features .title-icon i {
  font-size: 2rem;
  vertical-align: middle;
  background: #cbe5e4;
  color: #fff;
  border-radius: 10rem;
  width: 3rem;
  height: 3rem;
  text-align: center;
  line-height: 3rem;
}

.features-section {
    padding: 80px 0;
    background: white;
}

.feature-block {
    margin-bottom: 80px;
    padding: 0 15px;
}

.feature-block:last-child {
    margin-bottom: 0;
}

.feature-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.feature-content {
    padding: 0 20px;
}

.feature-badge {
    display: inline-block;
    background: var(--point-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.feature-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--point-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.feature-description {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1rem;
}

.feature-list {
    background: var(--light-bg);
    padding-left: 12px;
    border-left: 2px solid var(--point-color);
}

.feature-list ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.feature-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--point-color);
    font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .features-section {
        padding: 60px 0;
    }
    
    .feature-block {
        margin-bottom: 60px;
        padding: 0 10px;
    }
    
    .feature-image {
        height: 220px;
        margin-bottom: 20px;
    }
    
    .feature-content {
        padding: 0 10px;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-list {
        padding: 20px;
    }

  .features h3 i {
    left:-1.5rem;
    margin-right: -2.3rem;
  }
}

/*--------------------------------------------------------------
# How to Use
--------------------------------------------------------------*/
.how-to-use {
  background: #f5f5f5;
  color: #333;
}

.step-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  padding: 20px;
}

.step-box:hover {
  transform: translateY(-3px);
}

.step-number {
  background: var(--point-color);
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 15px;
  display: inline-block;
  margin-bottom: 15px;
}

.step-box h5 {
  color: var(--point-color);
  font-weight: bold;
  margin-bottom: 10px;
}

/*--------------------------------------------------------------
# Case Material Type
--------------------------------------------------------------*/
.case-material-type {
  padding: 40px 0;
  background: #f5f5f5;
}

.case-material-type span.img-comment {
  font-size: 11px;
  color: #888;
  position: absolute;
}

.case-material-type img.case-material-img {
  background: transparent;
}

.case-material-type .nav-tabs {
  border: 0;
}

.case-material-type .nav-link {
  border: 0;
  padding: 20px;
  color: #151515;
  transition: 0.3s;
  border-radius: 1rem;
  border: 3px solid #fff;
  background: #f3f3f3;
}

.case-material-type .nav-link h4 {
  font-size: 17px;
  font-weight: bold;
  transition: 0.3s;
  margin-bottom: 6px;
}

.case-material-type .nav-link:hover h4 {
  color: #333;
}

.case-material-type .nav-link li {
  font-size: 1rem;
  line-height: 1.3;
}

.case-material-type .nav-link p {
  font-size: 12px;
  margin-bottom: 0;
}

.case-material-type .nav-link.active {
  background: #f6f6f6;
  color:#333;
  border: 3px solid var(--point-color);
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.2) !important;
}

.case-material-type .nav-link.active h4 {
  color: #111;
}

.case-material-type .tab-pane.active {
  -webkit-animation: slide-down 0.5s ease-out;
  animation: slide-down 0.5s ease-out;
}

@-webkit-keyframes slide-down {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slide-down {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*--------------------------------------------------------------
# Spec
--------------------------------------------------------------*/
.spec {
  padding: 0;
}

.spec .content {
  color: #333;
  padding: 40px 100px 0 100px;
  display: inline-block;
}

.spec .content h4 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 5px;
}

.spec .content p {
  font-size: 15px;
  color: #959595;
}

.spec .content .section-title {
  text-align: center;
  padding-bottom: 0px;
}

.spec .spec-table {
  padding: 0 100px 60px 100px;
}

.spec .spec-table table {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.spec .spec-table th {
  background: var(--point-color);
  color: white;
  font-weight: bold;
  border: none;
  padding: 15px;
}

.spec .spec-table td {
  padding: 15px;
  border: 1px solid var(--border-color);
}

@media (max-width: 1024px) {
  .spec .content, .spec .spec-table {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 992px) {
  .spec .content {
    padding-top: 30px;
  }
  .spec .spec-table {
    padding-bottom: 30px;
  }
}

/*--------------------------------------------------------------
# Location Examples
--------------------------------------------------------------*/
/* 設置場所例カードの高さ統一 */
.location-wrap {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  background: white;
  display: flex;
  flex-direction: column;
}

.location-wrap:hover {
  transform: translateY(-5px);
}

.location-image {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.location-info {
  padding: 20px;
  flex: 1;
  min-height: 280px; /* 最小高さを設定 */
}

.location-info h4 {
  color: var(--point-color);
  font-weight: bold;
  margin-bottom: 10px;
  min-height: 50px; /* タイトル部分の最小高さ */
  line-height: 1.3;
}

.location-features {
  margin-bottom: 10px;
  min-height: 32px; /* バッジ部分の最小高さ */
}

.location-features .badge {
  font-size: 0.75rem;
  padding: 4px 8px;
}

.location-info p {
  margin-bottom: 15px;
  line-height: 1.5;
  font-size: 14px;
}

.usage-scenarios {
  background: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  margin-top: auto;
  min-height: 50px; /* 活用例部分の最小高さ */
}

.usage-scenarios small {
  line-height: 1.4;
  font-size: 12px;
}

/* ターゲット層カードの高さ統一 */
.target-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  min-height: 200px; /* 最小高さを設定 */
}

.target-box:hover {
  transform: translateY(-3px);
}

.target-icon {
  font-size: 3rem;
  color: var(--point-color);
}

.target-box h5 {
  color: var(--point-color);
  font-weight: bold;
  margin-bottom: 15px;
  min-height: 25px;
}

.target-box p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .location-info {
    min-height: auto;
    padding: 15px;
  }
  
  .target-box {
    min-height: auto;
  }
  
  .location-image {
    height: 150px;
  }
}

.location-wrap {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  background: white;
}

.location-wrap:hover {
  transform: translateY(-5px);
}

.location-info {
  padding: 20px;
}

.location-info h4 {
  color: var(--point-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.location-features .badge {
  font-size: 0.75rem;
}

.usage-scenarios {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
}

#location-filters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

#location-filters li {
  background: #f8f9fa;
  color: var(--text-color);
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

#location-filters li:hover,
#location-filters li.filter-active {
  background: var(--point-color);
  color: white;
  border-color: var(--point-color);
}

.target-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.target-box:hover {
  transform: translateY(-3px);
}

.target-icon {
  font-size: 3rem;
  color: var(--point-color);
}

.target-box h5 {
  color: var(--point-color);
  font-weight: bold;
}

/*--------------------------------------------------------------
# Partnership
--------------------------------------------------------------*/
.partnership-box {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.partnership-box:hover {
  transform: translateY(-5px);
}

.partnership-icon {
  font-size: 3rem;
  color: var(--point-color);
}

.partnership-box h4 {
  color: var(--point-color);
  font-weight: bold;
}

.exhibition-info .alert {
  border: 2px solid var(--point-color);
  background: rgba(69, 155, 144, 0.1);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact .info > div {
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.contact .info > div:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--point-color);
  margin-top: 5px;
}

.contact .info p {
  padding: 0 0 0 68px;
  margin-bottom: 0;
  font-size: 15px;
  color: #484848;
}

.contact .info i {
  font-size: 20px;
  color: var(--point-color);
  float: left;
  width: 44px;
  height: 44px;
  border: 2px solid var(--point-color);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
}

.contact .info .address, .contact .info .email, .contact .info .phone, .contact .info .cs {
  margin-top: 20px;
}

.contact .info .email:hover i, .contact .info .address:hover i, .contact .info .phone:hover i, .contact .info .cs:hover i {
  background: var(--point-color);
  color: #282828;
}

.contact .php-email-form, .contact .tel-inq {
  width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  color: #333;
}

.contact .tel-inq p {
  margin: 0;
}

.contact .tel-inq p span.tel-num {
  color: var(--point-color);
  font-size: 24px;
  font-weight: bold;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input, .contact .php-email-form select, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border: 2px solid var(--border-color);
  transition: border-color 0.3s;
}

.contact .php-email-form input:focus, .contact .php-email-form select:focus, .contact .php-email-form textarea:focus {
  border-color: var(--point-color);
  box-shadow: 0 0 0 0.2rem rgba(69, 155, 144, 0.25);
}

.contact .php-email-form input, .contact .php-email-form select {
  height: 44px;
}

.contact .php-email-form input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.contact .php-email-form label {
  font-size: 14px;
  color: #151515;
}

.contact .php-email-form .scroll {
  font-size: 13px;
  color: #151515;
  border: solid 1px #d2d2d2;
  background: #f7f7f7;
  padding: 15px;
  height: 130px;
  overflow: auto;
  line-height: 1.47em;
  display: block;
  text-align: left;
  max-height: 200px;
  border-radius: 8px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type="submit"] {
  background: var(--point-color);
  border: 0;
  padding: 10px 24px;
  color: white;
  font-weight: bold;
  transition: 0.4s;
  border-radius: 10rem;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #3a8379;
  color: white;
}

.contact .php-email-form button#submit-btn:disabled {
  background-color: #eee;
  color: #aaa;
  cursor: not-allowed;
  transition: all 0.3s ease-in-out;
}

.contact .php-email-form button#submit-btn:disabled::after {
  content:"送信には同意チェックが必要です";
  display: block;
  font-size: 10px;
  font-weight: 100;
  margin: 2px;
  line-height: 1;
}

/* 完了時には after コンテンツを非表示にする */
.contact .php-email-form button#submit-btn.completed::after {
  content: "";
  display: none;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: url("../img/footer-bg.jpg") center center no-repeat;
  color: #fff;
  font-size: 14px;
  position: relative;
}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 0;
}

#footer .footer-top .footer-logo img {
  height: 40px;
}

#footer .footer-top h3 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  position: relative;
  font-family: "Poppins", sans-serif;
  padding: 30px 0 0 0;
  margin-bottom: 0;
}

#footer .footer-top p {
  font-size: 15;
  font-style: italic;
  margin: 30px 0 0 0;
  padding: 0;
}

#footer .footer-top .social-links {
  margin-top: 30px;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--point-color);
  border: 2px solid var(--point-color);
  color: #111;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: transparent;
  border: 2px solid var(--point-color);
  color: var(--point-color);
  text-decoration: none;
  transform: translateY(-3px);
}

#footer .footer-bottom {
  border-top: 1px solid #222222;
  z-index: 2;
  position: relative;
  padding-top: 40px;
  padding-bottom: 40px;
}

#footer .privacy-policy {
  font-size: 12px;
}

#footer .privacy-policy a {
  color: var(--point-color);
  text-decoration: none;
}

#footer .privacy-policy a:hover {
  text-decoration: underline;
}

#footer .copyright , #footer .credits{
  font-size: 12px;
}

#footer .credits a {
  color: var(--point-color);
  text-decoration: none;
}

#footer .credits a:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# reCAPTCHA
--------------------------------------------------------------*/
.grecaptcha-badge { 
  visibility: hidden;
}

.recaptcha-box {
  background-color: #fafafa;
  border: 1px solid #f1f1f1;
  display: inline-block;
  padding: 5px 20px;
  font-size: .8rem;
  color: #666;
  line-height: 1.6;
  border-radius: .2rem;
}

.recaptcha-box a {
  color: var(--point-color);
  text-decoration: underline;
}
