@charset "UTF-8";

/* 共通部分
------------------------------- */

html {
    font-size: 100%;
}

body {
    font-family: Meiryo, "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ Pro W3", sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    background-color: #1b1b1b; /* #121212 背景色をダークモードブラックに設定 */
    color: #e0e0e0; /* テキストカラーをライトグレーに設定 */
}

a {
    text-decoration: none;
    color: #fff8e7; /* リンクカラーをコズミックラテに設定 */
    transition: color 0.3s ease;
}

a:hover {
    color: #adadad; /* リンクのホバーカラーをグレーに設定 */
}

img {
    max-width: 100%;
}

/* iframe */

iframe {
    width: 100%;
}

/* Layout
------------------------------- */

.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 4%;
}

/* HEADER
------------------------------- */

header {
    background: #000; /* ヘッダーの背景色をダークグレーに設定 */
    padding: 12px 0;
    position: fixed;
    width: 100%;
    z-index: 1;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
}

.page-header p {
    font-size: 1.75rem;
    font-weight: bold;
}

.page-header a {
    color: #4682b4; /* ヘッダーテキストカラーをブルーに設定 */
}

.page-header a:hover {
    color: #0bd; /* ホバーカラーをライトブルーに設定 */
}

.main-nav {
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 14px;
    list-style: none;
}

.main-nav li {
    margin-left: 36px;
}

.main-nav a {
    color: #e0e0e0; /* ナビゲーションリンクのカラーをライトグレーに設定 */
}

.main-nav a:hover {
    color: #adadad; /* ホバーカラーをグレーに設定 */
}

/* BODY
------------------------------- */

.mv video {
    object-fit: cover;
    object-position: center top;
    width: 100%;
}

.about h2 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 1rem;
    color: #fff8e7; /* 見出しのカラーをコズミックラテに設定 */
}

.sec-nav img {
    width: 100%;
    border-radius: 8px;
}

.sec-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.nav-item1 {
    width: 50%;
}

.nav-item2 {
    width: 45%;
}

.nav-item2 h3 {
    margin-bottom: 1rem;
    color: #e0e0e0; /* 見出しのカラーをライトグレーに設定 */
}

.nav-item2 li {
    line-height: 1.7;
    list-style: none;
    margin-left: 16px;
    color: #e0e0e0; /* リストアイテムのカラーをライトグレーに設定 */
}

.nav-item2 a {
    color: #fff8e7; /* リンクのカラーをコズミックラテに設定 */
}

.nav-item2 a:hover {
    color: #adadad; /* ホバーカラーをグレーに設定 */
}

.product {
    background-image: url('../images/product.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.after {
    background-image: url('../images/after.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.corporate {
    background-image: url('../images/corporate.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact {
    background-image: url('../images/contact.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.sitemap {
    background-image: url('../images/sitemap.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.introduction {
    background-image: url('../images/introduction.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.page-title {
    padding: 16vw 1rem;
    text-align: left;
}

.page-title h1 {
    margin: 4rem;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border-radius: 5px;
    padding: 0rem 1rem;
    display: inline-block;
}

.sub-title {
    padding: 0 8px 8px;
    border-bottom: 2px #0bd solid;
    font-weight: normal;
}

.title {
    margin-bottom: 32px;
}

.title h2 {
    border-left: 5px solid #2ecc71;/* #0bd */
    padding: 0 1rem;
    text-align: left;
    margin-top: 40px;
    margin-bottom: 1rem;
}

.title li {
    line-height: 1.7;
    margin-left: 32px;
}

.title a {
    color: #fff8e7; /* リンクのカラーをコズミックラテに設定 */
}

.title a:hover {
    color: #adadad; /* ホバーカラーをグレーに設定 */
}

.inner h2, .inner h3 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 1rem;
    color: #fff8e7; /* 見出しのカラーをコズミックラテに設定 */
}

.corporate-info dl {
    display: flex;
    justify-content: flex-start;
    padding: 24px 16px 8px 16px;
    border-bottom: 1px solid #383838;
}

.corporate-info dt {
    width: 35%;
    color: #e0e0e0; /* 項目名のカラーをライトグレーに設定 */
}

.corporate-info dd {
    margin-left: 0;
    width: 65%;
    color: #e0e0e0; /* 項目内容のカラーをライトグレーに設定 */
}

.business-cnt {
    text-align: center;
}

.item {
    margin-top: 40px;
}

.box1 img, .box2 img {
    margin-top: 40px;
    width: 45%;
    border-radius: 8px;
}

.grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 6%;
    margin-bottom: 50px;
}

.grid .img {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid .img:hover {
    transform: scale(1.03);
}

.grid .img img {
    display: block;
    max-width: 100%;
    height: auto;
}

.button {
    font-size: 1rem;
    background-color: #4caf50;
    color: #fff;
    border-radius: 5px;
    padding: .5rem .75rem;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #43a047;
}

.sec-sitemap {
    display: flex;
    justify-content: space-between;
}

.sitemap-list1, .sitemap-list2 {
    width: 45%;
}

.submenu-item h3 {
    text-align: left;
    margin-top: 40px;
    margin-bottom: 1rem;
    color: #fff8e7; /* 見出しのカラーをコズミックラテに設定 */
}

.submenu-item li {
    line-height: 1.7;
    list-style: none;
    margin-left: 16px;
    color: #e0e0e0; /* リストアイテムのカラーをライトグレーに設定 */
}

/* 工場情報・地図
------------------------------- */

#location .wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.location-info {
    width: 35%;
}

.location-info p {
    padding: 12px 10px;
    color: #e0e0e0; /* テキストカラーをライトグレーに設定 */
}

.location-map {
    width: 60%;
}

.map1 {
    width: 1px;
    height: 1px;
}

#location2 .wrapper {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.company {
    width: 45%;
}

.company h2 a {
    text-align: left;
    color: #fff8e7; /* リンクカラーをコズミックラテに設定 */
}

.company a {
    color: #fff8e7; /* リンクのカラーをコズミックラテに設定 */
}

.company h2 a:hover, .company a:hover {
    color: #adadad; /* ホバーカラーをグレーに設定 */
}

.location2-map {
    width: 50%;
}

/* FOOTER
------------------------------- */

footer {
    background: #000; /* フッターの背景色をダークグレーに設定 */
    padding: 24px 0;
    margin-top: 40px;
    text-align: left;
}

footer .wrapper {
    display: flex;
    justify-content: space-between;
}

footer p {
    color: #e0e0e0; /* フッターテキストカラーをライトグレーに設定 */
    font-size: 0.875rem;
}

.ft-nav {
    display: flex;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-top: 28px;
    list-style: none;
}

.ft-nav li {
    margin-left: 36px;
}

.ft-nav a {
    color: #e0e0e0; /* フッターナビゲーションリンクのカラーをライトグレーに設定 */
}

.ft-nav a:hover {
    color: #adadad; /* ホバーカラーをグレーに設定 */
}
