
body {
    font-family: "Noto Sans JP", sans-serif;
}



header {
    position: absolute;
    z-index: 2;
    width: 100%;
    color: #000000;
    padding: 20px;
}
header .container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    font-weight: 700;
}
header .logo {
    font-size: 32px;
}
header ul {
    display: flex;
    gap: 48px;
    font-size: 18px;
}
header ul li a {
    transition: .3s;
}
header ul li a:hover{
    color: #156ac9;
}
.contact {
    display: inline-block;
    background-color: #333;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
}
.contact:hover {
    background-color: #2d2064;
    color: white;
}
@media screen and (max-width: 767px) {
    header nav {
        display: none;
    }
}
/* --------------------------------------------------- */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}
.section {
    padding: 60px 0;
}
.en {
    font-size: 40px;
    font-weight: 500;
    color: #156ac9;
    margin: 0 auto;
}
.text {
    font-size: 14px;
    line-height: 2;
}
.btn {
    display: inline-block;
    color:#f9f9f9;
    background-color: #000000;
    padding: 16px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    transition: .3s;
}
section {
    padding-top: 50px;
}
.btn:hover{
    
    border: solid 1px #000000;
    color: #000000;
    background-color: #ededed;
}
h2 {
    font-size: 30px;
    font-weight: bold;
    margin-left: 0px;
    margin-right: auto;
    margin-bottom: 10px;
}
section {
    margin-top: 50px;
}
@media screen and (max-width: 767px) {
    .en{
        font-size: 30px;
    }
    .section{
        padding: 30px;
    }
}
/* --------------------------------------------------- */

#main-visual {
    position:relative;
    height: 100vh;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    overflow: hidden;
    height: 100dvh;
}
#main-visual .hero-content {
    position: absolute;
    top: 50%;
    left: 13%;
    transform: translateY(-50%);
    color: #000000;
}
#main-visual .hero-content h2 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    letter-spacing: 8px;
}

#main-visual .hero-content p {
    font-size: 1.5rem;
    color: #000000;
    position: relative;
    margin-top: 30px;
    margin-bottom: 20px;
}

#main-visual .hero-content p::before {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background-color: #000;
    margin-top: 10px;
    margin-bottom: 10px;
}

#main-visual .hero-bg {
    position: absolute;
    top: -80px;
    right: 270px;
    font-size: 45rem;
    font-weight: bold;
    color: #2F5D80;
    opacity: 0.2;
    letter-spacing: -200px;
}


@media screen and (max-width: 767px) {
    #main-visual .box {
        left: 6%;
    }
    #main-visual .heading {
        font-size: 16px;
    }
    #main-visual .h1 {
        font-size: 34px;
    }
}






/* --------------------------------------------------- */
#top-about {
    position: relative;
    overflow: hidden;
    margin: 100px auto;

}
#top-about::before {
    content: 'MARKETING';
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    font-size: 260px;
    letter-spacing: -6px;
    color: rgba(58, 50, 167, 0.1); /* 透明度を下げて背景っぽく */
    font-weight: 900;
    margin-top: 300xp;
    z-index: -1;
}
#top-about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
#top-about h2{
    font-size: 30px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
    z-index: 1;
    letter-spacing: 8px;
}
#top-about .text{
    margin-bottom: 40px;
    font-weight: 700;
}

@media screen and (max-width: 767px) {
    
}



/* --------------------------------------------------- */






.news {
    max-width: 100%;
    padding-top: 20px;
    align-items: left;
}

#news .container {
    display: flex;
}

.news-item {
    width: 80%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px auto;
    border-radius: 5px;
    background-color: #f9f9f9;
}
.news-item span {
    padding-right: 2rem;
}
.news-item p {
    padding-left: 2rem;
}

.news-item strong {
    background-color: #000;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
}
.news .container {
    display: flex;
    flex-direction: column;
    align-items: center;  /* 中央配置 */
    text-align: center;
}
/* --------------------------------------------------- */
#services {
    background-color: #f5f5f5;
}
.service {
    display: flex;
    flex-direction: row;
    padding: 10px;
    margin-top: 30px;
}
.service-reverse {
    display: flex;
    flex-direction: row-reverse;
    padding: 10px;
}   
.serivce figure {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100px; 
    max-width: 150px;
}
.serivce figure img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; 
    overflow: hidden;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}
.inner {
    padding: 10px;
    margin: auto 10px;
}
.service-title {
    font-size: 1.5rem;
    font-weight: bold; 
    margin-top: 10px; 
    margin-bottom: 20px; 
    color: #333; 
    padding: 0px;
}
.serivce-des {
    font-size: 1.5rem;
    font-weight: normal;
    color: #777;
    margin: 10;
    padding: 0px;
    line-height: 1.9;
    letter-spacing: 1.5;
}

/* --------------------------------------------------- */
#company-info {
    padding: 80px 0; /* 上下の余白を増やして見やすくする */
   
}
.company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px; /* カード間の間隔を広げる */
    max-width: 1200px;
    margin: 0 auto;
}
.company-card {
    position: relative;
    height: 320px; /* 少し高さを増やす */
    border-radius: 15px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    background-color: #333;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 影を追加してカードを浮き上がらせる */
    text-align: center;
}
.company-card.company-wide {
    grid-column: span 2; /* 横幅2列分 */
}
.company-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 透過オーバーレイを少し薄くする */
}
.company-card .content {
    position: relative;
    color: white;
    text-align: left;
    z-index: 2;
    padding: 20px;
}
.company-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow:0px 0px 8px #000; 
}
.company-btn {
    display: inline-block;
    background-color: #2F5D80;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}
.company-btn:hover {
    background-color: #ccc;
    color: #2F5D80;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .company-grid {
        grid-template-columns: 1fr; /* スマホでは1列表示 */
    }
    .company-card.company-wide {
        grid-column: span 1; /* スマホでは通常幅に */
    }
}


/* --------------------------------------------------- */
.contact-footer {
    background-color: #1c1f26;  /* ダーク系の背景 */
    padding: 50px 0;
    text-align: center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    color: white;
    margin-top: 100px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.contact-options {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0 auto;
}

.contact-option {
    background: white;
    width: 400px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: black;
}

.contact-option i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.contact-btn {
    display: inline-block;
    background-color: black;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
    font-weight: bold;
    transition: background 0.3s;
}

.contact-btn:hover {
    background-color: #c2c2c2;
    color: #000;
    border: solid #000 0.5px;
}

.contact-title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 30px;
    transform: rotate(-5deg);
}

.footer-bottom {
    background-color: #181a1f;
    padding: 20px 0;
    margin-top: 40px;
    margin-bottom: 0;
    border-radius: 10px;
    height: 200px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 500px;;
    margin: auto auto;
}

.footer-nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    font-size: 14px;
    transition: .3s;
}
.footer-nav ul li a:hover{
    color: #156ac9;
}


.footer-company {
    margin-top: 120px;
    font-size: 12px;
    text-align: center;
    color: #bbb;
}

.footer-icon {
    position: absolute;
    bottom: 10px;
    right: 20px;
}

.footer-link {
    font-size: 24px;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
        gap: 20px;
    }
    .contact-options {
        flex-direction: column;
        gap: 15px;
    }
    .contact-option {
        width: 100%;
    }
    .footer-nav ul {
        flex-direction: column;
        text-align: center;
    }
    .footer-icon {
        right: 50%;
        transform: translateX(50%);
    }
}
