﻿/*

TemplateMo 590 topic listing - Modern IT Theme

https://templatemo.com/tm-590-topic-listing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color: #ffffff;
  --primary-color: #374151;
  --secondary-color: #6b7280;
  --section-bg-color: #ffffff;
  --custom-btn-bg-color: #374151;
  --custom-btn-bg-hover-color: #1f2937;
  --dark-color: #111827;
  --p-color: #6b7280;
  --border-color: #e5e7eb;
  --link-hover-color: #374151;
  --accent-purple: #6b7280;
  --accent-blue: #9ca3af;
  --light-gray: #f9fafb;
  --light-blue: #f3f4f6;

  --body-font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --title-font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  --h1-font-size: 58px;
  --h2-font-size: 46px;
  --h3-font-size: 32px;
  --h4-font-size: 28px;
  --h5-font-size: 24px;
  --h6-font-size: 22px;
  --p-font-size: 20px;
  --menu-font-size: 14px;
  --btn-font-size: 16px;
  --copyright-font-size: 16px;

  --border-radius-large: 100px;
  --border-radius-medium: 20px;
  --border-radius-small: 10px;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
}

body {
  background-color: #ffffff;
  font-family: var(--body-font-family);
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: #111827;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--title-font-family);
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-hover-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
  font-size: 18px;
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 50px;
  padding-bottom: 50px;
}

.section-bg {
  background-color: #ffffff;
}

.section-overlay {
  background: rgba(55, 65, 81, 0.15);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.section-overlay+.container {
  position: relative;
}

.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid #ecf3f2;
  margin-bottom: 40px;
  justify-content: center;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-medium);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-link:first-child {
  margin-right: 20px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}

.custom-mainlogo {
  height: 60px;
  object-fit: cover;
  padding-right: 80px;
}


/*---------------------------------------
  CUSTOM ICON COLOR               
-----------------------------------------*/
.custom-icon {
  color: var(--secondary-color);
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: linear-gradient(135deg, #1f2937, #111827);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: linear-gradient(135deg, #1f2937, #374151);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: #374151;
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding-top: 150px;
  padding-bottom: 80px;
}

.site-header .container {
  height: 100%;
}

.breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}

.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}

.site-header .custom-icon:hover {
  color: var(--secondary-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(55, 65, 81, 0.1);
  border-bottom: 1px solid #e2e8f0;
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
  z-index: 9;
  backdrop-filter: blur(10px);
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
}

.navbar-brand span {
  font-family: var(--title-font-family);
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: #4a5568;
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: #374151;
}

.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, .175);
  border: 0;
  display: inherit;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}

.navbar .dropdown-menu::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}

.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-bg-color);
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}

.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}

.navbar-toggler {
  cursor: pointer;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(55, 65, 81, 0.25);
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
  padding-bottom: 100px;
  min-height: 600px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(55, 65, 81, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.5;
  z-index: 0;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-challenges {
  text-align: left;
}

.hero-challenges li {
  transition: transform 0.3s ease, color 0.3s ease;
}

.hero-challenges li:hover {
  transform: translateX(8px);
  color: #374151 !important;
}

.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}

.hero-section .input-group-text {
  background-color: transparent;
  border: 0;
}

.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}

.hero-section button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}


/*---------------------------------------
  TOPICS              
-----------------------------------------*/
.featured-section {
  background: #ffffff;
  padding-bottom: 80px;
  padding-top: 60px;
}

.featured-section .row {
  position: relative;
  margin-bottom: 0;
}

.featured-visual {
  position: relative;
  display: inline-block;
  width: 100%;
}

.featured-badge {
  font-size: 14px;
  letter-spacing: 0.5px;
}

.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid rgba(55, 65, 81, 0.1);
  background: white;
  box-shadow: 0 4px 6px rgba(55, 65, 81, 0.1);
}

.custom-block:hover {
  background-color: white;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(55, 65, 81, 0.2);
}

.custom-block>a {
  width: 100%;
}

.custom-block-mainimage {
  display: block;
  width: 100%;
  object-fit: cover;
  margin-top: 20px;
}

.custom-block-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.custom-block .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}

.custom-block-overlay {
  height: 100%;
  min-height: 350px;
  padding: 0;
}

.custom-block-overlay>a {
  height: 100%;
}

.custom-block-overlay .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  margin-top: 0;
}

.custom-block-overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
}

.custom-block-overlay-text h5,
.custom-block-overlay-text p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.social-share {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 20px 35px;
}

.social-share .bi-bookmark {
  color: var(--white-color);
  font-size: var(--h5-font-size);
}

.social-share .bi-bookmark:hover {
  color: var(--secondary-color);
}

.bg-design {
  background-color: #00B0FF;
}

.bg-graphic {
  background-color: #00BFA6;
}

.bg-advertising {
  background-color: #F50057;
}

.bg-finance {
  background-color: #536DFE;
}

.bg-music {
  background-color: #F9A826;
}

.bg-education {
  background-color: #00BFA6;
}


/*---------------------------------------
  TOPICS               
-----------------------------------------*/
.topics-detail-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.topics-detail-block-image {
  display: block;
  border-radius: var(--border-radius-medium);

  width: 100%;
  height: auto; /* ?�ス?�ク?�比?�保?�た??*/
  object-fit: cover; /* ?�像??��?�取?�を?�ぐ */
}

blockquote {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-family: var(--title-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-align: center;
  margin: 30px;
  padding: 40px;
}

.topics-listing-page .site-header {
  padding-bottom: 65px;
}

.custom-block-topics-listing-info {
  margin: 30px 20px 20px 30px;
}

.custom-block-topics-listing {
  height: inherit;
}

.custom-block-topics-listing .custom-block-image {
  width: 300px;
}


/*---------------------------------------
  PAGINATION              
-----------------------------------------*/
.pagination {
  margin-top: 40px;
}

.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}

.active>.page-link,
.page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}


/*---------------------------------------
  TIMELINE              
-----------------------------------------*/
.timeline-section {
  background: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}

.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 4px;
  height: 79%;
  background-color: #e5e7eb;
  position: absolute;
  left: 50px;
  top: 0;
  overflow: hidden;
}

.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background: #9ca3af;
  width: 100%;
}

.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 20px 120px;
}

@media screen and (min-width: 769px) {
  .timeline-container .vertical-scrollable-timeline li {
    padding: 50px 0px 50px 120px;
  }
  .timeline-container .vertical-scrollable-timeline .list-progress {
    height: 88%;
  }
}

.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li p {
  line-height: 40px;
}

.timeline-section-f .vertical-scrollable-timeline li p {
  line-height: 20px;
}

.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #1f2937, #111827);
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background: linear-gradient(135deg, #1f2937, #111827);
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}

.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}

.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}

.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: var(--primary-color);
}


/*---------------------------------------
  TIMELINE flow      
-----------------------------------------*/
.timeline-section-f {
  background-image: url('../images/flow.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}


/*---------------------------------------
  FAQs              
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER               
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
}


/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: #374151;
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: #111827;
  border-color: transparent;
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background-color: #111827;
  border-bottom: 10px solid #374151;
  position: relative;
}

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 200px 200px;
  border-color: transparent transparent var(--secondary-color) transparent;
  pointer-events: none;
}

.site-footer-title {
  color: var(--primary-color);
}

.site-footer .dropdown-menu {
  padding: 0;
}

.site-footer .dropdown-item {
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  padding: 4px 18px;
}

.site-footer .dropdown-item:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.site-footer .dropdown-menu li:first-child .dropdown-item {
  padding-top: 10px;
}

.site-footer .dropdown-menu li:last-child .dropdown-item {
  padding-bottom: 12px;
}

.site-footer .dropdown-toggle {
  background-color: var(--secondary-color);
  border-color: var(--white-color);
}

.site-footer .dropdown-toggle:hover {
  background-color: var(--primary-color);
  border-color: transparent;
}

.site-footer-links {
  padding-left: 0;
}

.site-footer-link-item {
  display: block;
  list-style: none;
  line-height: normal;
}

.site-footer-link {
  color: var(--secondary-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-medium);
  line-height: normal;
}

.copyright-text {
  font-size: var(--copyright-font-size);
  color: #ffffff;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .section-padding {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .navbar {
    background-color: var(--secondary-color);
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    left: 10px;
    opacity: 1;
    pointer-events: auto;
    max-width: 155px;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

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

  .nav-tabs .nav-link:first-child {
    margin-right: 5px;
  }

  .nav-tabs .nav-link {
    font-size: var(--copyright-font-size);
    padding: 10px;
  }

  .featured-section {
    border-radius: 0 0 80px 80px;
    padding-bottom: 50px;
  }

  .custom-block-topics-listing .custom-block-image {
    width: auto;
  }

  .custom-block-topics-listing>.d-flex,
  .custom-block-topics-listing-info,
  .custom-block-topics-listing a {
    flex-direction: column;
  }

  .timeline-container .vertical-scrollable-timeline li {
    padding-left: 135px;
  }

  .subscribe-form-wrap {
    padding-top: 30px;
    padding-bottom: 0;
  }

}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .timeline-container p {
    font-size: 16px;
  }

  .timeline-section-f p {
    font-size: 14px;
  }

  .custom-block-overlay {
    height: 100%;
    min-height: 450px;
    padding: 0;
  }

  .container {
    padding-right: 20px;
  }

  .site-footer::after {
    border-style: none;
  }




  .video-container {
    max-width: 90%;
    /* Control the maximum size */
  }

}

table {
  margin-bottom: 20px;
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0
}

table th,
table td {
  position: relative;
  padding: .5em
}

table th {
  background-color: #f5f6f7
}

table tr:nth-of-type(2n+1) {
  background-color: #f0f8ff
}

table:not(.has-border-color) :where(th, td) {
  border: 1px solid #eee
}

th:has(.s-circle),
th:has(.d-circle),
th:has(.triangle),
th:has(.cross),
th:has(.b-question),
th:has(.b-check),
td:has(.s-circle),
td:has(.d-circle),
td:has(.triangle),
td:has(.cross),
td:has(.b-question),
td:has(.b-check) {
  height: 60px;
  min-width: 80px
}



table.price th {
  width: 30%
}

table.faq tr.que th {
  color: red;
  padding: 10px;
  background: inherit;
  text-align: center
}

table.faq tr.que td {
  padding: 10px
}

table.faq tr.ans th {
  color: #00f;
  padding: 10px;
  background: inherit;
  text-align: center
}

table.faq tr.ans td {
  padding: 10px
}

table.company th {
  width: 30%
}

/*横�?行目??��?�及?�ヘ?��??�ル*/
.wp-block-table table tr:first-child td:first-child,
.wp-block-table table tr:first-child td,
.wp-block-table table tr:first-child th,
table tr:first-child td:first-child,
table tr:first-child td,
table tr:first-child th {
  background: linear-gradient(135deg, #1f2937, #111827);
  color: #ffffff;
  font-weight: bold;
}


.waku {
  position: relative;
  display: block;
  margin: 10px 0;
  padding: 20px;
  background: none;
  border: 1px solid #d4d4d4;
  border-left: 5px double #d4d4d4;
  border-right: 5px double #d4d4d4;
  border-radius: 15px;
}


.post h3+.waku {
  margin: -10px 0 10px;
}

.waku-noborder {
  position: relative;
  display: block;
  margin: 0;
  padding: 10px 14px;
  background: none;
}



.post h3+.waku {
  margin: -10px 0 10px;
}

.wp-block-group {
  box-sizing: border-box
}

/* ?�字??�� */
.txt-shadow {
  text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff, 1px 0 0 #fff, -1px 0 0 #fff, 0 1px 0 #fff, 0 -1px 0 #fff, 3px 2px 3px rgba(0, 0, 0, 0.25);
}

.glyphicon-phone:before {
  content: "\e145";
}


/* ?�字???�レ?�ジ */
.text-orange {
  color: #ef4000;
}


.xlarge-glyphicon {
  font-size: 220%;
  margin: 0 0 12px;
}


.container-f {
  margin: 0 auto;
  padding: 10px;
  background-color: #fff;
}

.header-f {
  text-align: left;
  margin-bottom: 20px;
}

.header-f a {
  color: #374151;
  text-decoration: none;
}

.service-f {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

.service-item-f {
  flex: 1 1 calc(50% - 20px);
  display: flex;
  align-items: flex-start;
  text-align: center;
}

.service-item-f img {
  width: 40px;
  height: 40px;
}

.service-item-f p {
  margin: 0;
  color: #333;
  font-size: 14px;
  text-align: left;
}

.service-item-f strong {
  font-size: 16px;
  color: #333;
  display: block;
  margin-bottom: 5px;
}

.icon-holder-f {
  font-size: 2em;
  color: #374151;
}

.custom-block-f {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 10px;
  transition: all 0.3s ease;
  height: 100%;
}


.tax-display {
  padding: 10px;
  text-align: center;
  /* img?�中�?��?�に */
}



.image-link {
  display: block;
  /* a?�グ?�ブ??��??��素に */
  text-align: center;
  /* img?�中�?��?�に */
}

.image-link img {
  display: inline-block;
  /* img?�イ?�ラ?�ン?�ロ?�ク要素??*/
  max-width: 100%;
  /* img??��?�親要素?�合?�せ??*/
  height: auto;
  /* img??��?�を?�動調整 */
}


/*--------------------
  Video section
----------------------*/
.video-section {
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
}

#videoContainer {
  text-align: center;
  margin-top: 10px;
  position: relative;
  /* Ensure it positions children absolutely */
}

.video-container {
  position: relative;
  display: inline-block;
  width: 100%;
  /* Ensure the container takes up full width */
  max-width: 50%;
  /* Control the maximum size */
  margin: 0 auto;
  /* Center the container */
}

.video-container video {
  width: 100%;
  /* Ensure the video fits the container */
  height: auto;
  /* Maintain aspect ratio */
  max-width: 100%;
  /* Ensure video does not exceed container size */
}

.video-container video::-webkit-media-controls {
  display: none !important;
  /* For WebKit-based browsers like Chrome and Safari */
}

.video-container video::-moz-media-controls {
  display: none !important;
  /* For Firefox */
}

.video-container video::-ms-media-controls {
  display: none !important;
  /* For Internet Explorer */
}

.video-container video::-webkit-media-controls-play-button {
  display: none !important;
}

#playButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  font-size: 200px;
  color: #6b7280;
  z-index: 10;
  display: block;
  /* Initially visible */
}

/* ?�ス??��?�プ?�タ?�レ?�ト?�け??��?�イ??*/
@media screen and (min-width: 481px) {
  .video-container {
    max-width: 60%;
    /* 幅は?�の50% */
    height: 42vh; /* ?�ュ?�ポ?�ト??0%??��?�に�?�� */
  }

  .video-container video {
    width: 100%;
    height: 100%; /* 実際??��?�を?�ン?�ナ?�合?�せ??*/
    object-fit: cover; /* ?�像?�コ?�テ?�に?�ィ?�ト?�せ??*/
  }
}

/* ?�マ?�向?�の?�タ?�ル */
@media screen and (max-width: 480px) {
  .video-container {
    max-width: 90%;
    height: auto; /* 高さ??��??*/
  }

  .video-container video {
    height: auto; /* ?�像??��?�も?�動 */
  }

  

.mg-t-10 {
  margin-top: 10px;
}
}


.c-form {
	max-width: 600px;
	margin: 0 auto;
}
.c-form__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin-bottom: 20px;
}
.c-form__label,
.c-form__input {
	padding: 10px;
}
.c-form__label {
	width: 90%;
}
.c-form__input {
	width: 90%;
	font-size: 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background-color: #ffffff;
	padding: 12px 16px;
	transition: all 0.3s ease;
}

.c-form__input:focus {
	outline: none;
	border-color: #374151;
	background-color: #ffffff;
	box-shadow: 0 0 0 3px rgba(55, 65, 81, 0.1);
}
.c-form__input:focus-visible {
	outline: #6b7280 auto 1px;
}
.c-form__required {
	color: #fff;
	background-color: #6b7280;
	border-radius: 4px;
	padding: 5px 5px;
	margin: 0 0 0 18px;
}
textarea.c-form__input {
	height: 160px;
}
.c-form__submit {
	text-align: center;
}
.c-form__submit button {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
  background-color: #6b7280;
	border: solid 1px #6b7280;
	border-radius: 4px;
	padding: 5px 32px;
	transition: 0.4s;
	cursor: pointer;
}
.c-form__submit button:hover {
	color: #6b7280;
	background-color: transparent;
}

@media (min-width: 640px) {
	.c-form__item {
		flex-wrap: nowrap;
	}
	.c-form__label {
		width: 40%;
	}
	.c-form__input {
		width: 55%;
	}
}



.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease-in;
}

.modal-content {
  background: linear-gradient(135deg, #f5f5f5, #ffffff);
  margin: 15% auto;
  padding: 10px;
  border-radius: 15px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-align: center;
  position: relative;
  animation: zoomIn 0.5s ease-in;
}

.modal-image {
  padding-bottom: 10px;
  border-radius: 15px;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 50px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff4c4c;
}

h2 {
  margin-top: 0;
  color: #333;
}

p {
  color: #666;
  font-size: 16px;
  margin: 20px 0;
}

.modal_button {
  background: #ff6f61;
  color: white;
  border: none;
  padding: 12px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.modal_button:hover {
  background: #ff3b2f;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}




.explore-section {
  position: relative;
}

.promotion-banner {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 120px;
  width: 100%;
  padding: 20px;
  background-image: linear-gradient(15deg, #faecec 0%, #ff6f61 100%);
  color: white;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  animation: fadeInOut 4s ease-out forwards;
}

.promotion-banner h2 {
  margin: 0;
  font-weight: bold;
}

.promotion-banner p {
  font-size: 18px;
  margin: 10px 0 0;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(-20px); }
  20% { opacity: 1; transform: translateY(0); }
  80% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-20px); }
}

/* Modern animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Add smooth animations to elements */
.custom-block, .custom-block-overlay, h1, h2, h3 {
  animation: slideInUp 0.6s ease-out;
}

/* Modern gradient hover effects */
.nav-link:hover {
  background: rgba(55, 65, 81, 0.1);
  border-radius: var(--border-radius-large);
}

/* Modern effect for service items */
.service-item-f {
  transition: all 0.3s ease;
}

.service-item-f:hover {
  transform: translateY(-5px);
}
@media screen and (max-width: 480px) {  

.promotion-banner {
  height: 130px;
}



.promotion-banner h2 {
  font-size: 26px;
}


.promotion-banner p {
  font-size: 16px;
}

}






/* ============================================
   UTILITY CLASSES FOR CODE EFFICIENCY
   ============================================ */

/* Form Styles */
.form-container {
  background: #f3f4f6;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-label {
  color: #374151;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 14px;
}

.form-input {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  color: #374151;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #374151;
}

.form-submit {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: #ffffff;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  transform: translateY(-2px);
}

/* Section Title Styles */
.section-title {
  color: #0f172a;
  font-size: 36px;
  font-weight: 800;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #374151, #1f2937);
  margin: 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  color: #6b7280;
  font-size: 16px;
  margin-top: 16px;
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  border: none;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.3);
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(31, 41, 55, 0.4);
}

.btn-outline {
  border: 2px solid #374151;
  color: #374151;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  background: #ffffff;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: #374151;
  color: #ffffff;
}

/* Image Styles */
.img-shadow {
  box-shadow: 0 20px 60px rgba(31, 41, 55, 0.25);
  border-radius: 16px;
}

/* Text Utilities */
.text-dark { color: #111827; }
.text-primary { color: #374151; }
.text-secondary { color: #6b7280; }
.text-light { color: #f3f4f6; }

.font-weight-bold { font-weight: 700; }
.font-weight-semibold { font-weight: 600; }

/* Spline Watermark Hidden */
.spline-watermark {
  display: none !important;
}

/* ============================================
   MAP CONTAINER STYLES
   ============================================ */
.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 600px;
  width: 100%;
}

.map-container iframe {
  border: none;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .map-container {
    height: 400px;
  }
}
