/*
Theme Name: plusstyle
Author: 田中健介
Version: 1.0
*/

:root {
    --primary-color: #482c1b;
}

html {
    font-size: 85%;
    overflow-x: hidden;
}
html:lang(ja) {
    font-size: 68%;
}
@media screen and (min-width: 782px) {
    html {
        font-size: 92.5%;
    }
    html:lang(ja) {
        font-size: 74%;
    }
}
@media screen and (min-width: 980px) {
    html {
        font-size: 100%;
    }
    html:lang(ja) {
        font-size: 80%;
    }
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Base */
body {
    color: #000;
    font-size: 18px;
    line-height: 1.6;
    word-wrap: break-word;
    margin: 0;
}
body:lang(ja) {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.8;
}

@media screen and (min-width: 782px) {
    body {
        font-size: 19px;
    }
    body:lang(ja) {
        font-size: 16px;
    }
}
@media screen and (min-width: 980px) {
    body {
        font-size: 20px;
    }
    body:lang(ja) {
        font-size: 17px;
    }
}

a {
    text-decoration: inherit;
    color: inherit;
}
a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/* Link */
cite a,
cite a {
    text-decoration: none;
}

/* Text */

li > ul,
li > ol {
    margin-bottom: 0;
}
dl {
    margin: 0;
}
dt {
    font-weight: 600;
    margin-bottom: 0.5em;
}
dd {
    margin: 0 0 1.8em 1.5em;
}

/* ----------------------------------------------新規で追加-------------------------------------------------*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Serif JP", "Noto Sans JP", sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
header {
    position: fixed; /* ← ここを変更 */
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.7s ease, color 0.7s ease;
}

.logo {
    width: 35px;
    height: 45px;
}

.logo img {
    height: 100%;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 33px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.nav-item .en {
    font-size: 10px;
    opacity: 1;
    font-family: "Noto Sans JP", sans-serif;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    margin: 3px 0;
    background-color: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.menu-toggle span:nth-child(1),
.menu-toggle span:nth-child(3) {
    transform: none;
}

.menu-toggle span:nth-child(2) {
    opacity: 1;
}

header .menu-toggle span {
    background-color: white;
}

header.scrolled .menu-toggle span {
    background-color: #222222;
}

header.white .menu-toggle span {
    background-color: #222222;
}

.header__nav-mobile {
    position: fixed;
    left: 0;
    width: 100%;
    z-index: -1;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    height: 100vh;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: scroll;
    background: #fff;
}

.header__nav-items-mobile,
.header__buttons-mobile {
    margin-top: 75px;
}

.header__nav-items-mobile a,
.header__buttons-mobile a {
    font-size: 24px;
    color: black;
    text-decoration: none;
}

.header__nav-mobile.open {
    transform: translateY(0);
}

.header-sp-btn--first {
    border-top: 1px solid #e9e9e9;
}

.header-sp-btn {
    padding: 15px 44px 15px 14px;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e9e9e9;
}

.header-sp-btn:before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    right: 20px;
    border-right: 1px solid var(--primary-color);
    border-top: 1px solid var(--primary-color);
}

.header-sp-btn .header-sp-btn-inner {
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    font-size: 16px;
    line-height: 2;
    letter-spacing: 0;
    color: var(--text-primary);
}

.header-sp-btn:after,
.header-sp-btn:before {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    right: 20px;
    border-right: 1px solid var(--primary-color);
    border-top: 1px solid var(--primary-color);
}

.-sub {
    margin-top: 50px;
    display: block;
    padding-right: 40px;
    padding-left: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;

    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.btn-gnav {
    height: auto;
}

.btn-gnav > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5em;
    box-sizing: border-box;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    max-width: 80vw;
    height: auto;
    margin: 0 auto;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
    border-radius: 5px;
}

@media screen and (max-width: 1200px) {
    .nav-menu-pc {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
    header {
        height: 60px;
        width: 100vw;
    }

    .logo {
        width: 30px;
        height: 40px;
    }

    header {
        padding: 10px 20px;
    }

    /* .header__logo {
        width: 125px;
        height: 33px;
        padding-left: 15px;
    }
    .header__container {
        width: 100vw;
    } */
}

/* スクロールしたときのアニメーション */

header.scrolled {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.white {
    transition: background-color 0.2s ease-in-out;
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: none !important;
}

header.scrolled .nav-item {
    color: #482c1b;
}

header.scrolled .nav-item .en {
    color: #482c1b;
}
/* ヒーローセクション */
.hero {
    height: 60vh;
    background-image: url("./images/hero.png");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: absolute;
    bottom: 4vh;
    right: 2vw; /* ← ここで右寄せ */
    color: white;
    z-index: 2;
    max-width: 1140px;
}

.hero-content-container {
    text-align: center;
}

.hero-title-jp {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 0px;
    letter-spacing: 0px;
}

.hero-title-jp span {
    letter-spacing: -10px;
}

.hero-title-en {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 1px;
}

/* WORKSセクションヘッダー */
.works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
    color: var(--primary-color);
}

.works-title {
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 1px;
}
.works-all-link {
    display: flex;
    align-items: center;
    font-size: 19px;
}

.works-all-link::after {
    content: "›";
    margin-left: 5px;
    font-size: 18px;
}

/* .works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
} */

.work-item {
    display: flex;
    flex-direction: column;
}

.work-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 10px;
}

.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
}

.swiper-pagination {
    position: relative;
    bottom: -5px !important;
    width: 100%;
    padding: 25px 0;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.work-title {
    font-size: 16px;
    line-height: 1.4;
    margin-top: 5px;
    text-align: center;
    color: var(--primary-color);
}

/* レスポンシブデザイン */
@media (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .works-grid {
        grid-template-columns: 1fr;
    }

    .work-image {
        height: 240px;
    }
}

/* 採用情報セクション */
.recruit-section {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    background-image: url(./images/top-company.jpeg);
    background-position: center center;
    background-size: cover;
}

/* 背景の分割 */
.recruit-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

/* コンテンツコンテナ */
.recruit-container {
    position: relative;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* 左側のテキスト部分 */
.recruit-content {
    width: 40%;
    padding: 0 40px;
    color: #fff;
    text-align: center;
}

.recruit-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.recruit-description {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 30px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
    text-align: left;
}

.recruit-button {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.recruit-button:hover {
    opacity: 0.6;
}

/* 右側の画像部分 */
.recruit-image {
    position: absolute;
    right: 0;
    width: 70%;
    height: 100%;
    background-image: url("./images/top-company.jpeg");
    background-size: cover;
    background-position: center;
}

.page-top a {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
    display: block;
    height: 50px;
    position: relative;
}

.page-top a::after {
    content: "";
    position: absolute;
    right: 49%;
    bottom: 17%;
    width: 35px;
    height: 35px;
    background-image: url("./images/up-arrow.svg"); /* ←SVGパス */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .recruit-section {
        height: auto;
    }

    .recruit-container {
        flex-direction: column;
        padding: 40px 0;
    }

    .recruit-content {
        width: 100%;
        padding: 0 20px;
        text-align: center;
    }

    .recruit-image {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .recruit-section::before {
        width: 100%;
        height: 100%;
    }

    .recruit-section::after {
        width: 100%;
        height: 50%;
        top: 50%;
    }

    .recruit-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .recruit-description {
        font-size: 13px;
        line-height: 1.7;
    }

    .recruit-button {
        padding: 10px 60px;
    }
}

/* コンテンツセクション */
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 0px 150px 0;
}

.content--top {
    padding: 60px 0px 50px 0;
    max-width: 1100px;
    margin: 0 auto;
}

.content-container {
    margin: 0 50px;
}

.section-title {
    color: #8b2332;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 500;
}

.greeting {
    margin-bottom: 20px;
    font-weight: 500;
}

.message {
    margin-bottom: 40px;
    line-height: 2;
}

.signature {
    margin-top: 50px;
}

.company-name {
    margin-bottom: 10px;
}

.ceo-name {
    display: flex;
    gap: 20px;
}

/* ------------------------------フッター----------------------------------- */

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 40px 0;
    background-color: #f6f6f6;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 16px;
    color: black;
}

.footer-nav-item .en {
    font-size: 11px;
    margin-top: 3px;
    color: black;
    font-family: "Noto Sans JP", sans-serif;
}

.footer-logo {
    text-align: center;
    padding: 30px 0;
    background-color: #eeeeee;
}

.footer-logo img {
    width: 50px;
    height: auto;
    /* z-index: 20000;
    position: relative; */
}

.footer-company-logo {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.footer-company-logo p {
    font-family: "Noto Sans JP", sans-serif;
    color: black;
    font-size: 15px;
    font-weight: 500;
}

.company-info {
    text-align: center;
    font-size: 15px;
    margin-top: 20px;
}

.company-info p {
    font-weight: 300;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
}

.address {
    margin-bottom: 10px;
}

@media (max-width: 1200px) {
    .hero-title-jp {
        font-size: 32px;
    }

    .hero-title-en {
        font-size: 20px;
    }
    .content {
        padding: 50px 0px 50px 0;
    }
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        background-position: 51%;
    }
    .nav-menu {
        gap: 15px;
    }

    .hero-title-jp {
        font-size: 24px;
    }

    .hero-title-en {
        font-size: 15px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .footer-nav-item {
        font-size: 13px;
    }
    .footer-nav-item .en {
        font-size: 9px;
    }
    .footer-logo {
        padding: 20px 0;
    }
    .company-info {
        margin-top: 10px;
    }
    .page-top a::after {
        right: 47%;
        bottom: 16%;
        width: 25px;
        height: 25px;
    }

    .page-top a {
        height: 40px;
    }

    .content-container {
        margin: 0 15px;
    }

    .works-title {
        font-size: 30px;
    }

    .works-all-link {
        font-size: 14px;
    }
}
