 /* Reset and base styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #000;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Header */
header {
    background-color: #000;
    color: white;
    padding: 15px 50px 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 60px;
}
@media screen and (max-width: 1200px) {
    header {
        padding: 15px;
    }    
    .logo img {
        height: 30px;
    }
    
}
/* Navigation */
.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    position: relative;
    padding: 10px 0;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    line-height: 10px;
}

.ja-text {
    font-size: 10px;
    display: block;
    margin-bottom: 3px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 9990;
    margin-right: 10px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 70%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    padding: 20px 30px;
    transition: right 0.5s ease;
    z-index: 100;
}

.mobile-menu a {
    color: white;
    margin: 15px 0;
    font-size: 18px;
    text-transform: uppercase;
}

.mobile-menu.active {
    right: 0;
    top: 60px;
}

@media screen and (max-width: 768px) {
    .mobile-menu br{
        display: none;
    }    
}


/* Main visual */
.main-visual {
    width: 100%;
    overflow: hidden;
}

/* Sections */
.section {
    text-align: center;
    max-width: 1200px;
    margin: 0px auto;
    padding: 50px 20px;
}
.section2{
    padding: 0 20px 50px 20px;
}


.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

/* From the bottom section */
.from-bottom {
    background: url(../img/top/bg.jpg) no-repeat center top #000;
    color: white;
    text-align: center;
    background-size: 100%;
}
.from-bottom .section{
    display: flex;
    width: 100%;
    align-items: center;
    gap:100px;
}
.from-bottom-image,
.from-bottom-text{
    width: 50%;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .from-bottom .section{
        display: block;
    }
    .from-bottom-image,
    .from-bottom-text{
        width: 90%;
        text-align: center;
        margin: 0 auto;
    }
    
}
.from-bottom h2 {
    font-size: 28px;
    margin-bottom: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.from-bottom p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

/* Service grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 16px;
    margin: 10px 0;
}

/* News section */
.news {
    padding: 40px 20px;
    background-color: #fff;
}

.news-title {
    font-size: 24px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.news-item {
    display: flex;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.news-date {
    min-width: 100px;
    font-size: 14px;
    color: #666;
    padding-right: 5em;
}

.news-content {
    flex-grow: 1;
    text-align: left;
}

.youtube iframe{
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    margin:0;
}

/* Footer */
footer {
    background-color: #fff;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 60px;
    background-color: #000;
    padding: 30px 0;
    text-align: center;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.social-icon {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .social-links {
        display: grid;
        gap: 50px;
        grid-template-columns: 1fr 1fr;
    }
    
}

.facebook {
    background-color: #3b5998;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.line {
    background-color: #00b900;
}
.contact-info {
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: #000;
    align-items: center;
}

.map {
    grid-column: 1;
}

.map img {
    width: 100%;
    border-radius: 5px;
}

.contact-details {
    grid-column: 2;
    text-align: left;
    padding: 50px;
}

.contact-details h3 {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: bold;
    text-align: center;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 14px;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 15px;
}

.copyright {
    text-align: right;
    font-size: 12px;
    margin-top: 30px;
    margin-right: 20px;
}

/* Responsive styles */
@media screen and (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .map, .contact-details {
        grid-column: 1;
    }
    
    .copyright {
        text-align: center;
        margin-right: 0;
    }
}

/* Responsive styles */
@media screen and (max-width: 1200px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .map, .contact-details {
        grid-column: 1;
    }
}

@media screen and (max-width: 768px) {
    .section {
        width: 90%;
        margin: 0px auto;
        padding: 50px 1em;
    }
    .section2{
        width: 90% !important;     
    }
    
}

.title{
    position: relative;
    line-height: 0;
}
.title h1{
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-size: 48px;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
    letter-spacing: 5px;
}

@media screen and (max-width: 768px) {
    .title h1{
        font-size: 24px;
        bottom: 10px;
        left: 10px;
    
    }
    
}

/*********************************************
myr
**********************************************/


.gallery-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.gallery-row h3{
    margin-bottom: 20px;
    border-radius: 0;
    content: "a";
    border-left: 5px solid #fff;
    padding-left: 15px;
}
.gallery-image-left {
    margin-right: auto;
    overflow: hidden;
}

.gallery-image-right {
    margin-left: auto;
    overflow: hidden;
}

.gallery-image-left img,
.gallery-image-right img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-image-left img:hover,
.gallery-image-right img:hover {
    transform: scale(1.03);
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .gallery-row {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .gallery-image-left,
    .gallery-image-right {
        width: 90%;
        margin: 0 auto;
    }
    
    .vertical-line {
        display: none;
    }
}

.inner{
    text-align: left;
}
.inner .inner{
    padding: 50px;
}
.font-w{
    color: #fff;
}

.w-h2{
    border-bottom: 5px solid #fff;
    padding: 10px 0;
    margin-bottom: 40px;
}
.b-h2{
    border-bottom: 5px solid #000;
    padding: 10px 0;
    margin-bottom: 40px;
}


.myr-img{
    width: 200px;
}
.w600{
    max-width: 800px;
    margin: 0 auto;
}

.pb-0{
    padding-bottom: 0 !important;
}

.bg-w{
    background-color: #fff;
}
.inner2{
    padding: 10px 20px;
}
.w-h3{
    border-left: 5px solid #fff;
    padding: 0;
    margin: 30px 0;
    padding-left: 15px;
}
.b-h3{
    border-left: 5px solid #000;
    padding: 0;
    margin: 30px 0;
    padding-left: 15px;
}
.mb-3{
    margin-bottom: 10px;
}
.mb-5{
    margin-bottom: 30px;
}
.pl-3{
    padding-left: 2em;
}

.name{
    font-size: 36px;
    margin-bottom: 30px;
}
.name small{
    font-size: 15px;
}

.staff{
    width: 100%;
}
.staff th,
.staff td{
    text-align: left;
    padding: 10px;
}

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

.spbr{
    display: none;
}
/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .spbr{
        display: inline;
    }
}
