
* {
    font-family: 'Noto Sans JP', sans-serif;
}
body {
    background-color: #ffffff;
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}
.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 900;
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "MS PMincho", serif;
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-top: 5px;
}

.navbar-brand .logo {
  height: 60px; /* ロゴ画像の高さ（調整可） */
  margin-right: 10px; /* テキストとの間隔 */
  vertical-align: middle; /* テキストと揃える */
  margin-top: -5px;
}

/* ブランドロゴ */
.navbar-brand:hover {
    color: #3498db;
}

/* ナビゲーション */
.custom-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-bottom: 0;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* ホバーエフェクト - 下線 */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ハンバーガーメニュー */
.custom-toggler {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: #2c3e50;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .custom-nav {
        position: relative;
    }
    
    .custom-toggler {
        display: flex;
        z-index: 2;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -150%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        transition: right 0.5s ease;
        align-items: center;
        padding-left: 1rem ;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    .nav-links a {
        font-size: 1rem;
    }
    /* ハンバーガーメニューアニメーション */
    .custom-toggler.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .custom-toggler.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .custom-toggler.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}


.hero-section {
    background-image: url("../img/bg_top.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 16rem;
    height: 500px;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .hero-section {
        height: 450px;
    }
}


.hero-text {
    font-size: 1.5rem;
    line-height: 1.75;
    font-weight: bold;
}

.mission-section {
    padding: 5rem 0;
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #787878;
    margin-bottom: 2rem;
    letter-spacing: -1px;
    white-space: nowrap;
}

.char {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
}

  
.mission-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}
  
.mission-subtitle:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #000;
    margin-right: 10px;
}
  
.mission-philosophy {
    font-size: 1.4rem;
    line-height: 2;
    font-weight: 500;
    margin-bottom: 2rem;
}
  
.mission-detail {
    font-size: 0.75rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
@media (max-width: 768px) {
    .mission-detail {
    font-size: 1rem;
    }   
}

.business-item {
    margin-bottom: 3rem;
}
/* @media (max-width: 768px) {
} */
       
.business-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px;
    border-bottom: 1px solid #000;
}      
    
.business-item-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 1rem;
}
.business-item-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .business-item-description {
        margin-top: 1.5rem;
    }
}

.business-item-subtitle {
    background-color: #ececec;
    font-size: 3rem;
    font-family: "Noto Serif JP", serif;
    color: #333;
    margin-bottom: 1rem;
    margin-left: -150px;
    width: 600px;
    padding-right: 20px;
    padding-bottom: 20px;
    text-align: end;
}
.business-item-subtitle span {
    font-size: 1.2rem;
    padding-right: 1rem;
    font-family: "Noto Sans JP", sans-serif;
}
@media (max-width: 992px) {
    .business-item-subtitle {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-left: -90px;
        width: 400px;
        padding-right: 20px;
        padding-bottom: 5px;
    }
    .business-item-subtitle span {
        font-size: 1rem;
        padding-right: 11px;
    }
}
@media (max-width: 768px) {
    .business-item-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        margin-left: -120px;
        width: 370px;
        padding-right: 20px;
        padding-bottom: 5px;
    }
    .business-item-subtitle span {
        font-size: 0.8rem;
        padding-right: 8px;
    }
}
.js-fade-in-left,
.js-fade-in-right {
    opacity: 0;
    visibility: hidden; /* 初期状態を完全に非表示に */
  }

.business-item-video {
    width: 100%;
    height: 800px;
    object-fit: cover; /* Cover the container, potentially cropping */
    margin-bottom: 1rem;
    max-height: 100%; /* Ensure the video doesn't exceed its container's height */
}
@media (max-width: 768px) {

.business-item-video {
    height: 600px;
}
}

.business-badge {
    background-color: #ffde00;
    color: #333;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 30px;
    display: inline-block;
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.service-title {
    font-family: 'Brush Script MT', cursive;
    font-size: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.image-container {
    position: relative;
    margin-bottom: 1rem;
}
        
.about-section {
    padding: 5rem 0;
    background-color: #fff;
}
.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.section-subtitle:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #000;
    margin-right: 10px;
}

.about-table {
    width: 100%;
    border-collapse: collapse;
}

.about-row {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #e0e0e0;
}

.about-cell {
    padding: 1.2rem 0.5rem;
    line-height: 1.6;
}

.about-header {
    width: 120px;
    min-width: 120px;
    font-weight: 500;
}

.about-officer {
    display: flex;
    margin-bottom: 0.5rem;
}

.officer-title {
    width: 120px;
    min-width: 120px;
}

@media (max-width: 768px) {
    .about-row {
        flex-direction: column;
    }
    
    .about-header {
        padding-bottom: 0;
    }
    
    .about-officer {
        flex-direction: column;
    }
    
    .officer-title {
        width: auto;
        min-width: auto;
        font-size: 10px;
    }
}
/* Common styles for all sections */
.careers-section, .contact-section {
    padding: 5rem 0;
    background-color: #fff;
}

.careers-subtitle, .contact-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.careers-subtitle:before, .contact-subtitle:before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    background-color: #000;
    margin-right: 10px;
}

/* Careers section specific styles */
.careers-text {
    margin-bottom: 3rem;
}

.careers-lead {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.careers-description {
    font-size: 1rem;
    line-height: 1.8;
}

.careers-link {
    border-bottom: 1px solid #2c2c2c;
    padding-top: 1.5rem;
    width: 50%;
    margin-left: auto;
}



.arrow-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.arrow-link:hover {
    color: #666;
}

.link-text {
    font-weight: 500;
}

.arrow {
    font-size: 1.2rem;
}

/* Contact section specific styles */
.contact-buttons {
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.btn-mail {
    max-width: 450px;
    width: 100%;
    padding: 1.5rem 1rem !important; /* 上下のパディングを増やして高さアップ */
    font-size: 1.3rem !important;
    border: 1px solid #333;
    border-radius: 0 !important;
    display: flex; /* フレックスボックスを使用 */
    justify-content: center; /* 水平方向に中央揃え */
    align-items: center; /* 垂直方向に中央揃え */
    text-align: center; /* テキスト自体も中央揃え */
}

.external-links {
    margin-top: 3rem;
}

.btn-external {
    width: 100%;
    padding: 1rem;
    text-align: center;
    border-radius: 0 !important;
    font-size: 0.9rem;
}

.btn-warning {
    background-color: #ffff00;
    border-color: #ffff00;
    color: #333;
}

@media (max-width: 768px) {
    .btn-external {
        font-size: 0.8rem;
        padding: 0.8rem;
    }
}
.footer {
    background-color: #f8f8f8;
    padding: 5rem 0 0;
    margin-top: 3rem;
}

.footer-logo {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.footer-address {
    font-style: normal;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: row;
    margin-bottom: 2rem;
}

.footer-link {
    color: #333;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-nav-link {
    color: #333;
    text-decoration: none;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
}

.footer-nav-link:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    justify-content: flex-start;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-icon {
    width: 40px;
    height: 40px;
    opacity: 0.7;
}
.footer-links a + a {
    margin-left: 1rem;
}


@media (max-width: 768px) {
    .footer-logo {
        font-size: 2rem;
    }
    
    .footer-nav {
        margin-top: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    .footer-links {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}