/*====================
  Basic Settings
====================*/
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

/*====================
  Header
====================*/
.header {
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-size: 1.5rem;
    margin: 0;
}

.header-nav a {
    text-decoration: none;
    color: #555;
    margin-left: 20px;
}

/*====================
  Main Visual
====================*/

.main-visual {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.main-visual iframe {
    position: absolute; 
    top:0;
    bottom:0;
    right:0;
    left:0;
    margin:auto;

    width: 1280px;
    height: 100%;
    z-index: 1; 
}

.main-visual-content {
    position: relative; 
    z-index: 2; 
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; 
    height: 100%; 
}



/*====================
  Services
====================*/
.service {
    padding: 80px 0;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
}

.service-item {
    flex: 0 1 auto; /* flex-grow: 0、flex-shrink: 1、flex-basis: auto */
    text-align: center;
}


.service-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s;
}

.service-link:hover {
    opacity: 0.8;
}

.service-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
    width: auto;
}

.service-link span {
    font-size: 1.2rem;
    font-weight: bold;
}


/* ====================
    Company Profile
==================== */
.company-profile-section {
    max-width: 960px;
    margin: 60px auto;
    padding: 40px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
}

body {
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, sans-serif;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333333;
    background-color: #f8f8f8;
}

.company-profile-section h1 {
    text-align: center;
    font-size: 1.6em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
}
.company-profile-section h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: #cccccc;
    margin: 15px auto 0;
}

.company-profile-section h2 {
    font-size: 1.5em;
    font-weight: 600;
    color: #444444;
    margin-top: 50px;
    margin-bottom: 20px;
    border-left: 4px solid #aaaaaa;
    padding-left: 15px;
}

.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.company-profile-table th,
.company-profile-table td {
    padding: 18px 20px;
    border: 1px solid #eeeeee;
    text-align: left;
    vertical-align: top;
}

.company-profile-table th {
    background-color: #f4f4f4;
    width: 30%;
    font-weight: 500;
    color: #666666;
}

.company-profile-table a {
    color: #444444;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.company-profile-table a:hover {
    color: #000000;
}

@media (max-width: 768px) {
    .company-profile-section {
        margin: 30px 15px;
        padding: 25px;
    }
    .company-profile-section h1 {
        font-size: 2em;
    }
    .company-profile-section h2 {
        font-size: 1.4em;
    }
    .company-profile-table th,
    .company-profile-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .company-profile-table th {
        border-bottom: none;
    }
}



/*====================
  Footer
====================*/
.footer {
    padding: 20px 0;
    text-align: center;
    background-color: #333;
    color: #fff;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 5px 0 0;
}