@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    min-width: 320px; /* スマートフォン表示の最低横幅を設定 */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    z-index: 10;
}

header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

header .logo img {
    height: 80px;
}

header .logo span {
    color: #273345;
    font-size: 48px;
    font-weight: bold;
    margin-left: 20px;
    white-space: nowrap;
    line-height: 1;
}

header nav {
    display: block;
    flex-grow: 1;
}

header nav ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
}

header nav ul li {
    margin-left: 40px;
}

header nav ul li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #273345;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap;
}






.contact-link a {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-link a:hover {
    opacity: 0.8;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

.btn-icon img {
    width: auto;
    height: auto;
}

header .contact-link a {
    background-color: #445061;
    color: #fff;
}

header .contact-link .btn-icon {
    background-color: #356471;
}

header .contact-link .btn-icon img {
    width: 16px;
    height: 16px;
}

.hamburger-menu {
    display: none;
}

.main-visual {
    position: relative;
}

.main-visual img {
    width: 100%;
    vertical-align: bottom;
}

.main-visual .mv-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30%;
}

.main-visual .catch-copy {
    position: absolute;
    bottom: 80px;
    left: 60px;
    z-index: 1;
}

.main-visual .catch-copy p {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 25px;
    color: #273345;
    font-weight: bold;
    display: table;
    font-size: 32px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.main-visual .catch-copy .catch-copy-main {
    margin-bottom: 15px;
}

.main-visual .catch-copy .catch-copy-sub {

}

/* business-section, company-section common styles */
.business-section,
.company-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-header h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 28px;
    color: #213043;
    margin-bottom: 5px;
    position: relative;
    padding-top: 20px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 25px;
    height: 3px;
    background-color: #213043;
}

.section-header .subtitle {
    font-size: 12px;
    color: #213043;
    margin-bottom: 20px;
}

.business-section .section-header .subtitle {
    color: #666;
}

.section-image img {
    width: 100%;
}

.section-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #213043;
    margin-bottom: 20px;
}

.section-body .btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: #455062;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: opacity 0.3s ease;
    width: fit-content;
}

.section-body .btn:hover {
    opacity: 0.8;
}

.section-body .btn-icon {
    background-color: #356471;
}

.btn-icon img {
    width: 12px;
    height: 12px;
}

.company-section {
    background-image: url(/img/top/back-company.jpg);
    background-size: cover;
    background-position: center;
}

/* contact-section */
.contact-section {
    background-image: url(/img/top/back-cta.jpg);
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.contact-section .inner {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-section p {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.contact-section .text-ctrl{
    margin-bottom: 15px;
}

.contact-section .btn-ctrl{
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-section .btn-ctrl .btn{
    font-weight: bold;
    padding: 10px 0;
    width: 60%;
}

.contact-section .contact-link {
    display: flex;
    justify-content: center;
}

.contact-section .contact-link a {
    background-color: #fff;
    color: #445061;
}

.contact-section .contact-link .btn-icon {
    background-color: #356471;
}

/* footer */
footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 20px;
    text-align: center;
}

.copyright {
    font-size: 12px;
    color: #666;
}

/* sub-mv */
.sub-mv {
    background-image: url(/img/business/mv.jpg);
    background-size: cover;
    background-position: center;
    padding: 120px 40px;
    text-align: center;
}

.sub-mv .section-header {
    position: relative;
    height: 150px; /* h2とsubtitleを重ねるための高さを確保 */
}

.sub-mv .section-header h2,
.sub-mv .section-header .subtitle {
    color: #273345;
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -90%);
    width: 100%;
}

.sub-mv .section-header h2{
    font-size: 100px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    opacity: 0.1;
}

.sub-mv .section-header .subtitle {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    font-size: 48px;
    line-height: 1;
    letter-spacing: 0.16em;
    margin-bottom: 0;
}

/* breadcrumb */
.breadcrumb {
    padding: 15px 20px;
    font-size: 14px;
    background-color: #F5F5F5;
}

.breadcrumb a {
    color: #455062;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #666;
}

/* business-detail */
.business-detail {
    padding: 40px;
}

.business-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.business-item:nth-child(even) {
    flex-direction: row-reverse;
}

.business-item .item-image {
    width: 50%;
}

.business-item .item-image img {
    width: 100%;
}

.business-item .item-content {
    width: 50%;
}

.business-item .item-content h3 {
    font-size: 24px;
    color: #273345;
    margin-bottom: 20px;
    border-left: 5px solid #273345;
    padding-left: 15px;
}

.business-item .item-content p {
    line-height: 1.8;
}

/* company-detail */
.company-detail {
    padding: 20px 20px;
}

.company-list {
    display: grid;
    grid-template-columns: 240px 1fr;
}
.company-list dt {
    padding: 20px;
    font-weight: bold;
    border-bottom: 1px solid #223044;
}

.company-list dd {
    padding: 20px;
    border-bottom: 1px solid #223044;
}

.company-list dd ul {
    list-style: none;
}

/* map-section */
.map-section iframe {
    vertical-align: bottom;
}

/* ----------------------------------------
@media screen and (max-width: 1000px)
---------------------------------------- */
@media screen and (max-width: 1000px) {
    header {
        position: fixed;
        background-color: #fff;
        padding: 15px;
    }

    main {
        padding-top: 80px;
    }

    header .logo img {
        height: 50px;
    }

    header .logo span {
        font-size: 32px;
        margin-left: 10px;
    }

    header nav {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: all .6s;
        z-index: 99;
    }

    header nav.active {
        right: 0;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
        padding-top: 80px;
    }

    header nav ul li {
        margin-left: 0;
        margin-bottom: 30px;
    }

    header nav ul li a {
        font-size: 24px;
    }

    .contact-link a,
    .section-body .btn {
        padding: 10px 30px;
    }

    .hamburger-menu {
        display: block;
        width: 30px;
        height: 21px;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        z-index: 100;
    }

    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #273345;
        position: absolute;
        transition: all .3s;
    }

    .hamburger-menu span:nth-of-type(1) {
        top: 0;
    }

    .hamburger-menu span:nth-of-type(2) {
        top: 9px;
    }

    .hamburger-menu span:nth-of-type(3) {
        bottom: 0;
    }

    .hamburger-menu.active span:nth-of-type(1) {
        top: 9px;
        transform: rotate(45deg);
    }

    .hamburger-menu.active span:nth-of-type(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-of-type(3) {
        top: 9px;
        transform: rotate(-45deg);
    }

    .main-visual .mv-left {
        width: 50%;
    }

    .main-visual .catch-copy {
        bottom: 20px;
        left: 20px;
    }

    .main-visual .catch-copy p {
        font-size: 16px;
        padding: 5px 10px;
    }

    .business-section,
    .company-section {
        padding: 40px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-header .subtitle {
        font-size: 12px;
    }

    .section-body p {
        font-size: 14px;
    }

    .btn-ctrl {
        display: flex;
        justify-content: center;
    }

    .btn-ctrl .btn {
        width: 65%;
        display: flex;
        justify-content: center;

    }

    .contact-section {
        width: 100%;
    }

    .contact-section p {
        font-size: 14px;
    }
}

/* ----------------------------------------
@media screen and (min-width: 1001px)
---------------------------------------- */
@media screen and (min-width: 1001px) {
    .business-section,
    .company-section {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 80px 40px;
        align-items: center;
    }

    .business-section .section-header {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .business-section .section-image {
        grid-column: 2 / 3;
        grid-row: 1 / 3;
    }

    .business-section .section-body {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }

    .company-section .section-header {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .company-section .section-image {
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .company-section .section-body {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }

    .section-header h2 {
        font-size: 36px;
    }

    .section-header .subtitle {
        font-size: 14px;
    }

    .section-body p {
        font-size: 16px;
    }

    .contact-section .inner{
        padding: 0 20px;
    }

    .section-body .btn-ctrl .btn{
        width: 60%;
        display: flex;
        justify-content: center;
        font-size: 16px;
    }

    .contact-section .btn-ctrl .btn{
        margin-top: 20px;
        display: flex;
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    .section-body .btn-ctrl .btn{
        width: 65%;
    }

    .sub-mv {
        height: 240px;
        padding: 80px 20px;
    }

    .sub-mv .section-header h2,
    .sub-mv .section-header .subtitle {
        top: 45%;
    }

    .sub-mv .section-header h2{
        font-size: 52px;
    }

    .sub-mv .section-header .subtitle {
        font-size: 27px;

    }

    .breadcrumb {
        padding: 15px 20px;
    }

    .business-detail {
        padding: 20px;
    }

    .business-item,
    .business-item:nth-child(even) {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

    .business-item .item-image,
    .business-item .item-content {
        width: 100%;
    }

    .company-detail {
        padding: 40px 20px;
    }

    .company-list {
        grid-template-columns: 1fr;
    }

    .company-list dt,
    .company-list dd {
        padding: 15px;
    }

    .map-section {
        padding: 40px 0;
    }
}
