@charset "utf-8";

.poppins-regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.noto-sans-jp-<uniquifier> {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}

body,p,td,li, h5,h6 {
	font-family: "Poppins","Noto Sans JP", "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
	font-weight: 400;
	font-size:1rem;
	line-height:1.8em;
}
h1,h2,h3,h4,.h1,.h2,.h3,.h4,.h5,.h6 {
	font-family: "Poppins","Noto Sans JP", "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro",source-han-serif-japanese,"游明朝","Yu Mincho","游明朝体",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
	font-weight:400;
	line-height:1.5em;
}

.font-g {
	font-family: "Noto Sans JP", "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}

.font-m {
	font-family: "BIZ UDPMincho", "ヒラギノ明朝 Pro W3","Hiragino Mincho Pro",source-han-serif-japanese,"游明朝","Yu Mincho","游明朝体",YuMincho,"HGS明朝E","ＭＳ Ｐ明朝","MS PMincho",serif;
}

.bold {
	font-weight:800;
}

h2 { font-size: 32px; }

/* ヘッダー */
.container {
	max-width: 1000px;
    --bs-gutter-x: 3rem;
}

body {
    padding-top: 48px;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.nav-link:hover {
    color: #b22529 !important;
}

/* ヒーロー */
.hero-section {
    width: 100%;
    max-height: 620px;
}
.hero-bg {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    object-position: top;
}
.hero-text {
    bottom: 10%;
    left: 5%;
    width: 85%;
    max-width: 600px;
}
@media (min-width: 768px) {
    body {
        padding-top: 46px;
    }
    .hero-text {
        bottom: 15%;
        left: 10%;
    }
}

/* POSシステム */
.pos-product-main-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #333;
}

.pos-product-hr {
    border: none;
    border-top: 3px solid #c9161e;
    opacity: 1;
    margin: 0;
}

.pos-product-category {
    background-color: #c9161e;
    color: #fff;
    padding: 6px 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.pos-product-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.pos-product-content p {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .pos-product-main-title {
        font-size: 24px;
    }
    
    .pos-product-title {
        font-size: 20px;
    }
}

/* お知らせセクション */
.news-section {
    background-color: #ededed;
    padding: 80px 0;
}

.news-container {
    max-width: 1005px !important;
}

.news-section .section-subtitle,
.news-section .section-title {
    color: #000;
}

.news-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.news-link {
    display: flex;
    align-items: center;
    padding: 25px 0;
    color: #100;
    text-decoration: none;
    transition: opacity 0.3s;
}

.news-link:hover {
    color: #000;
    opacity: 0.7;
}

.news-date {
    width: 130px;
    flex-shrink: 0;
    font-size: 16px;
}

.news-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.news-view-more {
    display: inline-block;
    color: #100;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}

.news-view-more:hover {
    color: #000;
    opacity: 0.7;
}

@media (max-width: 767px) {
    .news-section {
        padding: 50px 0;
    }
    .news-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    .news-date {
        margin-bottom: 8px;
    }
}

/* お知らせのリンクなしテキスト */
.news-no-link {
    display: flex;
    align-items: center;
    padding: 25px 0;
    color: #333;
}

@media (max-width: 767px) {
    .news-no-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
}

/* モーダル内の画像 */
.modal-body img {
    max-width: 100%;
    height: auto;
}


/* お知らせ下層ページ */
.lower-news-section {
    background-color: #fff;
    padding: 80px 0;
}

.lower-news-container {
    max-width: 1005px !important;
}

.lower-news-item {
    border-bottom: 1px solid #ddd;
}

.lower-news-link, 
.lower-news-no-link {
    display: flex;
    align-items: center;
    padding: 25px 0;
    color: #333;
    text-decoration: none;
}

.lower-news-link {
    transition: background-color 0.3s;
}

.lower-news-link:hover {
    background-color: #f9f9f9;
    color: #b22529;
}

.lower-news-date {
    width: 130px;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 500;
}

.lower-news-title {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .lower-news-section {
        padding: 50px 0;
    }
    .lower-news-link, 
    .lower-news-no-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    .lower-news-date {
        margin-bottom: 5px;
    }
}

/* 会社案内 */
.company-info-wrapper {
    border-top: 1px solid #e0e0e0;
}

.company-info-row {
    border-bottom: 1px solid #e0e0e0;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* フッター */
.btn-cta {
    background-color: #b22529;
    border: none;
    transition: opacity 0.3s;
}
.btn-cta:hover,
.btn-cta:focus,
.btn-cta:active {
    background-color: #b22529;
    opacity: 0.8;
}

.footer {
    background-color: #b22529;
}
.footer-nav .list-inline-item {
    margin-right: 0;
}
.footer-nav a {
    transition: opacity 0.3s;
}
.footer-nav a:hover {
    opacity: 0.7;
}

@media (max-width: 767px) {
    .footer-nav .list-inline-item {
        display: block;
    }
}

/* トップに戻るボタン */
.page-top-btn {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    border: 0;
    background: none;
    transition: .2s;
    z-index: 1000;
}

@media (min-width: 768px) {
    .page-top-btn {
        right: 40px;
    }
}

.page-top-btn.is-active {
    opacity: 1;
    visibility: visible;
}

.page-top-btn-text {
    font-size: 16px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-decoration: none;
    text-transform: uppercase;
    height: 85px;
    margin: 0;
    letter-spacing: 5px;
    text-align: right;
    position: relative;
    color: #333;
}

.page-top-btn-text:before {
    content: "";
    position: absolute;
    top: 0;
    right: -6px;
    width: 2px;
    height: 20px;
    background: #333;
    transform: skewX(-150deg);
}

.page-top-btn-text:after {
    content: "";
    position: absolute;
    bottom: 0px;
    right: 0;
    width: 2px;
    height: 85px;
    background: #333;
}
