@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
html {
    font-family: "Noto Sans JP", serif;
}

/* 全体のスタイル */
body {
    font-family: "Noto Sans JP", serif;
    margin: 0;
    padding: 0;
}

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

/* ヘッダーのスタイル */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    background-color: #fff;
}

.logo-img {
    max-width: 150px;
}

.nav {
    flex-grow: 1;
}

.nav-list {
    display: flex;
    font-size: 16px;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin-left: 50%;
}

.nav-item {
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

.contact-button {
    background-color: #ff0000;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
}

/* 灰色の背景のセクション */
.main-section {
    text-align: center;
}

.main-title {
    font-size: 2rem;
    text-align: center;
    margin-top: 20px;
    color: #000;
}

.main-visual {
    position: relative;
    text-align: center;
    color: #fff;
    padding: 0;
    margin-left: -20px;
    margin-right: -20px;
}

.main-visual-img {
    width: 100%;
    height: auto;
}

.main-visual-title {
    position: absolute;
    top: 65%;
    left: 25%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: 300;
    padding: 10px 20px 100px;
    border-radius: 10px;
}

.main-visual-text {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    color: #0c0c0c;
}

/* TekDesignセクションのスタイル */
.hero-section {
    position: relative;
    margin-top: 10px;
    min-width: 100%;
    height: 600px;
    overflow: hidden;
    margin-left: -20px;
    margin-right: -20px;
}

.diagonal-section {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    /* セクションごとに余白や影などを付けたい場合はここで */
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-left: -20px;
    margin-right: -20px;
}

/* コンテントのレイアウト用 */
.section-content {
    display: flex;
    flex-wrap: nowrap;  /* 画面幅が狭い時に縦積みになるように */
    align-items: stretch;
    overflow: hidden; /* clip-pathのはみ出しを隠す */
    margin-right: -3%;
}

.right-text .text-block {
    order: 2; /* テキストが右 */
}
.right-text .image-block {
    background-color: #0c0c0c;
    order: 1;
}

.image-block-left-3 img {
    width: 100%;
    height: 100%;
    display: block;
    /* 斜めカットのclip-path (上: 0%, 右: 100%, 下: 85%, 左: 100%) 等を調整 */
    clip-path: polygon(0 0, 99.9% 0, 95% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 99.9% 0, 95% 100%, 0 100%);
    object-fit: cover;
}

/* テキストブロック */
.text-block {
    max-width: 25%;
    flex: 1 1 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #cccccc;
    background-color: #0c0c0c;
}

.text-block-text {
    text-align: left;
}

.text-block-title {
    font-family: "Helvetica-Neue", sans-serif;
    font-size: 44px;
    font-weight: 700;
    margin-bottom: -20px;
    text-align: left;
}

.text-block-description {
    font-family: "Noto Sans JP", serif;
    font-size: 24px;
    font-weight: 500;
    text-align: left;
    margin-left: 0;
}


.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/themes/suntek-corp/assets/images/evolve_tint.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
}

.overlay-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    min-width: 70%;
    font-weight: 300;
    font-size: 16px;
}

.overlay-text-title {
    font-family: "游明朝, Hiragino Mincho ProN", serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 48px;
    text-align: center;
}

.overlay-text-body {
    font-family: "Noto Sans JP", serif;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    line-height: 27px;
    margin: 0 3%;
}

.signature {
    font-family: "Noto Sans JP", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 27px;
    text-align: right;
}

.suntek-japan {
    padding: 50px 0;
    text-align: center;
}

.suntek-japan-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.suntek-japan-img {
    max-width: 45%;
    height: auto;
}

.suntek-japan-text {
    max-width: 45%;
    font-size: 0.9rem;
    font-weight: lighter;
    line-height: 1.5;
}

/* Suntekとはセクションのスタイル */
.ppf-section {
    padding: 15px 0;
    text-align: center;
}

/*.section-title {*/
/*    font-size: 2.5rem;*/
/*    margin-bottom: 20px;*/
/*    color: #2F4F8A;*/
/*}*/

.section-title {
    font-family: "Hiragino Mincho ProN", serif;
    line-height: 180%;
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 25px;
}

.under-bar-red {
    margin: 0 auto 40px;
    display: flex;
    width: 65px;
    border-bottom: 2px solid #D6001C;
}

.under-bar-white {
    margin: 0 auto 40px;
    display: flex;
    width: 65px;
    border-bottom: 2px solid #ffffff;
}

.ppf-content {
    margin: 0 10% 30px;
}

.suntek-text {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 180%;
    font-weight: 400;
    text-align: center;
}

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

.ppf-img {
    max-width: 100%;
    height: auto;
    min-height: 345px;
}

/* 製品紹介セクションのスタイル */
.products-section {
    padding: 50px 0 90px 0;
    text-align: center;
}

.products-title {
    font-family: "Hiragino Mincho ProN", sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 600;
}

.product-items {
    display: flex;
    gap: 1px;
    justify-content: center;
    margin: 0 2.5%
}

.product-item {
    position: relative;
    width: 24%;
    max-height: 400px;
    min-height: 200px;
    overflow: hidden;
    border-radius: 0;
    font-weight: 300;
    margin-right: 2px;
}

.product-item:last-child {
    margin-right: 0;
}

.product-item::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: rgba(0, 0, 0, 0.4);
}

.product-overlay {
    position: absolute;
    align-items: center;
    bottom: 10px;
    left: 10px;
    color: white;
    max-height: 210px;
    overflow: hidden;
    padding: 10px 0;
    z-index: 2;
    display: inline-block;
}

.product-description,
.product-name,
.view-detail {
    position: relative;
    z-index: 3;
}

.product-description {
    font-weight: 500;
    font-size: 14px;
    margin-top: 1px;
    margin-bottom: 2px;
    text-align: center;
    display: inline-block;
}

.product-name {
    font-size: 36px;
    font-weight: bold;
    margin-top: 1px;
    margin-bottom: 8px;
    text-align: center;
    display: inline-block;
    line-height: 1;
}

.view-detail {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    background: rgba(255, 255, 255, 0.2); /* 半透明の黒背景 */
}

.view-detail:hover {
    background: white;
    color: gray;
}
