/*
Theme Name: smaphopro
Version: 1.0
*/
@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap');


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Noto Sans JP", sans-serif ;
}
header {
    border-bottom: 1px solid #ddd;
    position: sticky;
    top: 0;
    z-index: 10000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #fff;
}
.logo-img {
    width: 200px;
    height: auto;
    line-height: 1;

}
.header-catch {
    font-weight: bold;
}
.header-tel a {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}
.header-nav {
    background: #4096af;
}
.header-nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 20px 0;
    list-style: none;
}
.header-nav li {
    margin: 0 15px;
}

.header-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: transparent;
    background: linear-gradient(to right, #ff8966 50%, #ffffff 50%) 100%;
    background-clip: text;
    background-size: 200% 100%;

    transition: background-position 0.3s;
}
.header-nav a:hover {
    background-position: 0 100%;
}


/* ハンバーガーメニュー */
.hamburger-overlay {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border: none;
    background: #4096af;
    cursor: pointer;
}
.hamburger-overlay__line {
    position: absolute;
    left: 11px;
    width: 26px;
    height: 2px;
    background-color: #fff;
    transition: all .6s;
}
.hamburger-overlay__line:nth-of-type(1) {
    top: 14px;
}
.hamburger-overlay__line:nth-of-type(2) {
    top: 23px;
}
.hamburger-overlay__line:nth-of-type(3) {
    top: 32px;
}
.hamburger-overlay.active .hamburger-overlay__line {
    background-color: #fff;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(2) {
    opacity: 0;
}
.hamburger-overlay.active .hamburger-overlay__line:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
}
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    background-color: rgba(0, 0, 0, 0.85);
    visibility: hidden;
    opacity: 0;
    transition: all .6s;
    z-index: 900;
}
.nav-overlay.active {
    visibility: visible;
    opacity: 1;
}
.nav-overlay__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}
.nav-overlay__list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-overlay__item {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s;
}
.nav-overlay.active .nav-overlay__item {
    opacity: 1;
    transform: translateY(0);
}
.nav-overlay.active .nav-overlay__item:nth-child(1) {
    transition-delay: 0.1s;
}
.nav-overlay.active .nav-overlay__item:nth-child(2) {
    transition-delay: 0.2s;
}
.nav-overlay.active .nav-overlay__item:nth-child(3) {
    transition-delay: 0.3s;
}
.nav-overlay.active .nav-overlay__item:nth-child(4) {
    transition-delay: 0.4s;
}
.nav-overlay.active .nav-overlay__item:nth-child(5) {
    transition-delay: 0.5s;
}
.nav-overlay.active .nav-overlay__item:nth-child(6) {
    transition-delay: 0.6s;
}
.nav-overlay__link {
    display: inline-block;
    padding: 20px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: color .3s;
}
.nav-overlay__link:hover {
    color: #4a90e2; }

.hamburger-menu{
    display: none;
}
@media (max-width: 768px) {
    .header-inner{
        display: none;
    }
    .header-nav{
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
}





/* メインビジュアル */
.mv {
    background: linear-gradient(90deg,
            rgba(249, 245, 238, 1) 0%,
            rgba(238, 229, 200, 1) 16.667%,
            rgba(211, 209, 180, 1) 33.333%,
            rgba(185, 200, 193, 1) 50%,
            rgba(177, 208, 229, 1) 66.667%,
            rgba(192, 227, 255, 1) 83.333%,
            rgba(221, 244, 255, 1) 100%);
}

#hero {
    /* max-width: 1200px; */
    margin: 0 auto;
    overflow: hidden;
}
#hero img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
#hero .splide__slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}



/*------------私たちについて------------ */
/* セクション */
section.about_us {
    position: relative;
    z-index: 0;
    padding-top: 90px;
    padding-bottom: 120px;
}
/* 背景パターン*/
section.about_us::before {
    content: "";
    position: absolute;
    inset: 0;
    /* opacity: 0.13; */
    z-index: -1;
    background-color: #e9f6f7;
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -4px -4px, -4px -4px, -2px -2px, -2px -2px;
}
.about-us-container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;
}
.about-title {
    font-size: 28px;
    font-family: "Zen Old Mincho", serif;
    text-align: center;
    color: #fff;
    letter-spacing: 0.09em;
    line-height: 1.3em;
    background: #17363F;
    padding: 15px;
    text-justify: inter-ideograph;
}
.about-title::after {
    content: url("./images/icon.png");
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}
.about-row {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 50px;
}
.about-col-text {
    width: 52%;
}
.about-text {
    font-size: 17px;
    text-align: left;
    margin-top: 15px;
    line-height: 1.8em;
    letter-spacing: 0.04em;
    text-justify: inter-ideograph;
}
.about-col-img {
    width: 25%;
}
.about-col-img img {
    width: 350px;
    height: auto;
}

@media (max-width: 1110px) {
    .about-row {
        flex-direction: column;
    }
    .about-col-text {
        width: 100%;
    }
    .about-col-img{
        width: 100%;
    }
    .about-col-img img {
        width: 250px;
    }
}

@media (max-width: 580px) {
    section.about_us {
        padding-top: 60px;
        padding-bottom: 90px;
    }
    .about-title {
        font-size: 22px;
    }
    .about-br-none{
        display: none;
    }
    .about-row {
        gap: 10px;
    }

}

/*------------修理内容一覧------------ */
.repair-menu-title {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #0888ff;
    padding: 0.8rem 0;
    background-image: linear-gradient(90deg, #0888ff 0 50px, transparent 50px 60px, #ff9933 0 60px);
    background-repeat: no-repeat;
    background-size: 100% 3px;
    background-position: bottom;
    max-width: 1100px;
    margin: 0 auto;
    width: 90%;
    margin-top: 90px;
}
.repair-ttl-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}
section.repair-menu {
    margin-top: 50px;
    margin-bottom: 80px;
}
.repair-menu-inner {
    background: #e9f6f7;
    padding: 50px 15px;
}
.repair-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    /* gap: 20px; */
    text-align: center;
    gap: 5px;
}
.repair-item {
    background: #fff;
    padding: 15px;
    border: 1px solid #5db0ff;
    border-radius: 10px;
    transition: 0.3s;
}
.repair-item:hover {
    background: #f0f8ff;
    transform: translateY(-3px);
}
.repair-item img {
    width: 60px;
    height: auto;
    margin-bottom: 10px;
}
.repair-item p {
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 560px) {
    section.repair-menu {
        margin-top: 50px;
        margin-bottom: 30px;
    }
    .repair-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 2fr));
    }
    .repair-item img {
        width: 42px;
    }
    .repair-item {
        padding: 10px;
    }
    .repair-item p {
        font-size: 10px;
        margin-bottom: 0;
    }
}

/*------------機種別一覧------------ */
section.device-menu {
    max-width: 1100px;
    width: 90%;
    margin-top: 90px;
    margin-bottom: 120px;
    margin-left: auto;
    margin-right: auto;
}
.device-menu-title {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #0888ff;
    padding: 0.8rem 0;
    background-image: linear-gradient(90deg, #0888ff 0 50px, transparent 50px 60px, #ff9933 0 60px);
    background-repeat: no-repeat;
    background-size: 100% 3px;
    background-position: bottom;
}
.device-ttl-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}
.device-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    border-top: 1px solid #ff9933;
    border-left: 1px solid #ff9933;
    margin-bottom: 15px;
}
.device-item {
    background: linear-gradient(180deg, #fff 0%, #ffea98 100%);
    padding: 24px 14px;
    border-right: 1px solid #ff9933;
    border-bottom: 1px solid #ff9933;
    position: relative;
    transition: box-shadow .2s ease, background .2s ease, transform .2s ease;
    display: grid;
    place-items: center;
}
.device-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 3px;
    opacity: .35;
    transition: opacity .2s ease;
}
.device-item:hover,
.device-item:focus-visible {
    background: #f5f5f5;
    box-shadow: inset 0 0 0 3px #ff8c08;
    transform: translateY(-2px);
    z-index: 1;
}
.device-item:hover::before,
.device-item:focus-visible::before {
    opacity: .9;
}
.device-item p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    color: #222;
    text-align: center;
}
.contact-banner img {
    width: 100%;
    max-width: 1110px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-banner img:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.banner-box {
    max-width: 1110px;
    display: flex;
    padding-top: 30px;
    gap: 30px;
}

.banner-box img {
    width: 100%;
}

.device-item-caution{
    font-size: 18px;
    font-weight: 700;
    color: rgb(228, 140, 45);
    margin-bottom: 50px;
}

@media (max-width: 560px) {
    section.device-menu {
        max-width: 1100px;
        width: 90%;
        margin-top: 60px;
        margin-bottom: 90px;
    }
    .device-item {
        padding: 11px 17px;
    }
    .device-item p {
        font-size: 14px;
    }
}


/*------------修理の流れ------------ */

/* フロータイトル */
.repair-flow-title {
    text-align: center;
    position: relative;
    padding: 0.7rem 0;
    margin-bottom: 0.2rem;
    border-bottom: 3px solid #007cba;
    color: #17363F;
    font-weight: bold;
    font-size: 26px;
    width: 178px;
    display: block;
    margin: 0 auto;
    display: flex;
    align-items: center;
    font-family: "Zen Old Mincho", serif;
}
.flow-ttl-icon {
    width: 30px;
    height: auto;
    margin-right: 10px;
}
.repair-flow-title:before,
.repair-flow-title:after {
    position: absolute;
    top: 100%;
    left: 50%;
    content: "";
    height: 0;
    width: 0;
}
.repair-flow-title:before {
    border: 14px solid;
    border-color: transparent;
    border-top-color: #007cba;
    margin-left: -14px;
}
.repair-flow-title:after {
    border: 10px solid;
    border-color: transparent;
    border-top-color: #e9f6f7;
    margin-left: -10px;
}
.repair-flow-container{
    width: 90%;
    margin: 0 auto;
}

/* フローコンテナ */
/* 色をうっすら重ねたいとき */
section.repair-flow {
    padding-top: 90px;
    padding-bottom: 120px;
    background-color: #e9f6f7;
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: cover, cover;
    background-image: url(./images/);
}
/* フロー内容 */
.flow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    margin-top: 60px;
}
.flow-contents ul {
    padding: 0;
}
.flow-contents li {
    list-style-type: none;
}
.flow-contents dd {
    margin-left: 0;
}
.flow-contents {
    max-width: 550px;
    position: relative;
}
.flow-contents::before {
    content: "";
    width: 15px;
    height: 100%;
    background: #d2cbcb;
    margin-left: -129px;
    display: block;
    position: absolute;
    top: 0;
    left: 120px;
    border-radius: 20px;
}
.flow-contents>li {
    position: relative;
}
.flow-contents>li:not(:last-child) {
    margin-bottom: 60px;
}
.flow-contents>li .icon03 {
    font-size: 0.8em;
    width: 2em;
    height: 2em;
    line-height: 2;
    text-align: center;
    font-weight: bold;
    border-radius: 100vh;
    color: #fff;
    background: #8EB83C;
    display: inline-block;
    margin-right: 0.3em;
}
.flow-contents>li dl {
    padding-left: 70px;
    position: relative;
}
.flow-contents>li dl::before,
.flow-contents>li dl::after {
    content: "";
    display: block;
    position: absolute;
    top: 15px;
}
.flow-contents>li dl::before {
    width: 7px;
    height: 7px;
    margin-top: -3px;
    background: #17363F;
    border-radius: 50%;
    left: -4px;
}
.flow-contents>li dl::after {
    width: 50px;
    border-bottom: 1px dashed #999;
    position: absolute;
    left: 5px;
}
.flow-contents>li dl dt {
    font-size: 1.3em;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    background: #4096af;
    padding: 10px;
}
.flow-contents>li dd {
    margin: 0;
    padding: 15px 18px;
    /* 内側に余白 */
    background: #fff;
    border: 2px solid #4096af;
    line-height: 1.8;
    font-size: 0.95em;
    color: #333;
}

@media (max-width: 560px) {
    section.repair-flow {
        padding-top: 60px;
        padding-bottom: 90px;
    }
    .flow-contents>li dl::after {
        width: 20px;
    }
    .flow-contents>li dl {
        padding-left: 25px;
    }
    .flow-contents>li dl dt {
        font-size:1em;
    }
}

/*------------お知らせ------------ */
.wave-svg {
    background: #e9f6f7;
    display: block;
}
.wave-svg2 {
    transform: rotate(180deg);
    display: block;
    /* inline要素だと余計な隙間が出るので */
}
section.news {
    position: relative;
    padding-top: 60px;
    padding-bottom: 120px;
    background: #17363F;
    margin-top: -5px;
    margin-bottom: -5px;
    z-index: 1;
}
.news-container {
    max-width: 1100px;
    width: 90%;
    margin: 0 auto;

}
.device-menu-title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #17363F;
    padding: 0.8rem 0;
    background-image: linear-gradient(90deg, #4096af 0 50px, transparent 50px 60px, #4096af 0 60px);
    background-repeat: no-repeat;
    background-size: 100% 3px;
    background-position: bottom;
    font-family: "Zen Old Mincho", serif;
}
.news-head-title {
    position: relative;
    text-align: center;
    font-size: 25px;
    color: #4096af;
    font-weight: bold;
    margin-bottom: 100px;
    font-family: "Zen Old Mincho", serif;
}
.news-head-title:before {
    content: "";
    position: absolute;
    background: #E1F0F4;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* 新着お知らせトップ */
/* 新着お知らせセクションのスタイル */
.news-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #007cba;
    margin: 10px auto 0;
}
.news-list {
    display: grid;
    place-items: center;
    gap: 20px;
    margin-bottom: 40px;
}
.news-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 750px;
    width: 90%;
}
.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.news-content {
    display: flex;
    align-items: flex-start;
}
.news-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    overflow: hidden;
}
.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.news-thumbnail:hover img {
    transform: scale(1.05);
}
.news-text {
    padding: 20px;
    flex: 1;
}
.news-date {
    display: inline-block;
    background-color: #007cba;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}
.news-title {
    font-family: "Zen Old Mincho", serif;
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}
.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}
.news-title a:hover {
    color: #007cba;
}
.news-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}
.news-more {
    text-align: center;
}
.btn-more {
    display: inline-block;
    background-color: #4096af;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}
.btn-more:hover {
    background-color: #9e3d3f;
}
.no-news {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 40px 0;
}

.news-label {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    color: #fff;
    background-color: #9e3d3f;
    text-decoration: none;
    line-height: 1.2;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    .news-content {
        flex-direction: column;
    }
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .news-thumbnail {
        width: 100%;
        height: 200px;
    }
    .news-text {
        padding: 15px;
    }
    .news-title {
        font-size: 1.1rem;
    }
}
@media (max-width: 560px) {
    section.news {
        padding-bottom: 90px;
    }
    .news-thumbnail {
        width: 100%;
        height: 136px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .news-text {
        padding: 12px;
    }
    .news-date {
        font-size: 0.8rem;
    }
    .news-title {
        font-size: 1rem;
    }
    .news-excerpt {
        font-size: 0.9rem;
    }
}


/*------------フッター------------ */
footer ul {
    padding: 0;
    list-style: none;
}
footer p {
    margin: 0;
}
footer a {
    color: #007cba;
    text-decoration: none;
}
footer a:hover {
    opacity: 0.7;
}
footer hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #e5e7eb;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.footer {
    font-size: 15px;
    color: #4b5564;
    background: #fff;
}
.footer-navi-heading {
    font-weight: 600;
}
.footer-navi li {
    margin-bottom: 0.75rem;
    font-size: 14px;
}
.footer-section-top {
    display: flex;
    justify-content: center;
    gap: 60px;
    align-items: center;
    width: 90%;
    margin: 40px auto 60px auto;
}
.footer-map {
    border: 0;
    max-width: 47%;
    max-height: 300px;
}
.footer-section-bottom {
    color: #ff8c08;
    background: #fff2cc;
}
.footer-address {
    margin-bottom: 2rem;
    text-align: center;
    font-style: normal;
    line-height: 2em;
}
.footer-address h2 {
    color: #007cba;
}
.footer-address__tel {
    font-size: 30px;
    font-weight: 600;
}
.footer-copyright {
    padding: 1rem;
    line-height: 1;
    color: #fff;
    text-align: center;
    background: #4096af;
    border-top: 6px solid #84b9cb;
}
.footer-copyright a {
    color: #fff;
}
.parking-banner-wrap{
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
}
.parking-banner{
    width: 90%;
    max-width: 1110px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .footer-address {
        margin-bottom: 0;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .footer-section-top {
        display: block;
    }
    .footer-map {
        border: 0;
        max-width: 100%;
    }
    .footer-section-top {

        margin: 40px auto 20px auto;
    }
}



/* ニュース一覧ページ */
/* お知らせ一覧ページのスタイル */

/* ページヘッダー */
.page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.page-description {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* アーカイブのコンテナ */
.news-archive {
    max-width: 800px;
    margin: 0 auto;
}

/* アーカイブアイテムのリスト */
.news-list-archive {
    margin-bottom: 40px;
}

/* アーカイブページのニュースアイテム */
.news-item-archive {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-item-archive:hover {
    border-color: #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.news-content-archive {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* アーカイブページの画像 */
.news-thumbnail-archive {
    flex-shrink: 0;
    width: 150px;
    height: 112px;
    /* 4:3比率 */
    overflow: hidden;
    border-radius: 6px;
}

.news-thumbnail-archive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

/* アーカイブページのテキスト部分 */
.news-text-archive {
    flex: 1;
    min-width: 0;
}

.news-meta-archive {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-date-archive {
    color: #999;
    font-size: 14px;
    font-weight: normal;
}

.news-title-archive {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}
.news-excerpt-archive {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* ページネーション */
.pagination-wrapper {
    margin-top: 40px;
    text-align: center;
}
.pagination-wrapper .page-numbers {
    display: flex;
    justify-content: center;
    margin: 0 5px;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}
.pagination-wrapper .page-numbers a{
    background-color: #efefef;
}
.pagination-wrapper .page-numbers a:hover {
    background-color: #666;
    color: #fff;
}

.page-numbers.current {
    background-color: #007cba;
    color: #fff;
    border-color: #007cba;
    border: 1px solid #ddd;
}

/* お知らせがない場合 */
.no-news-archive {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}
.no-news-archive p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    .page-title {
        font-size: 24px;
    }
    .page-description {
        font-size: 14px;
    }
    .news-item-archive {
        padding: 15px;
        margin-bottom: 20px;
    }
    .news-content-archive {
        flex-direction: column;
        gap: 15px;
    }
    .news-thumbnail-archive {
        width: 100%;
        height: 200px;
    }
    .news-title-archive {
        font-size: 16px;
    }
    .news-excerpt-archive {
        font-size: 13px;
    }
    .pagination-wrapper {
        margin-top: 30px;
    }
    .pagination-wrapper .page-numbers {
        padding: 6px 10px;
        margin: 0 3px;
        font-size: 14px;
    }
}

/* ニュース記事 */
/* ニュース記事ページのスタイル */

/* 記事全体のコンテナ */
.single-news {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* パンくずリスト */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
    text-align: left;
}

.breadcrumb a {
    color: #007cba;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* 記事ヘッダー */
.single-news {
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.news-meta-single {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news-date-single {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.single-news-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    color: #333;
}

/* アイキャッチ画像 */
.single-news-thumbnail {
    margin-bottom: 40px;
    text-align: center;
}

.single-news-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 記事本文 */
.single-news-content {
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.single-news-content h2 {
    margin: 40px 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    border-left: 4px solid #007cba;
    padding-left: 16px;
}

.single-news-content h3 {
    margin: 30px 0 15px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.single-news-content p {
    margin-bottom: 20px;
    text-align: left;
}

.single-news-content ul,
.single-news-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.single-news-content li {
    margin-bottom: 8px;
}

.single-news-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 20px 0;
}

.single-news-content blockquote {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid #007cba;
    font-style: italic;
}

/* ページリンク */
.page-links {
    margin: 30px 0;
    text-align: center;
}

.page-links .page-number {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 15px;
    background-color: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}


/* 前後記事ナビゲーション */
.post-navigation {
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}
.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.nav-previous,
.nav-next {
    flex: 1;
    max-width: 45%;
}
.nav-link {
    display: block;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: left;
}
.nav-link:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}
.nav-direction {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}
.nav-title {
    display: block;
    font-weight: 600;
    line-height: 1.4;
}

.nav-next .nav-link {
    text-align: right;
}

/* 戻るボタン */
.back-to-news {
    margin-bottom: 50px;
    text-align: center;
}
.btn-back {
    display: inline-block;
    padding: 12px 24px;
    background-color: #007cba;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background-color: #005a87;
    transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .single-news {
        padding: 15px;
    }
    .single-news-title {
        font-size: 22px;
    }
    .news-meta-single {
        flex-direction: column;
        gap: 8px;
    }
    .single-news-content {
        font-size: 15px;
    }
    .single-news-content h2 {
        font-size: 20px;
        margin: 30px 0 15px 0;
    }
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    .breadcrumb {
        font-size: 13px;
    }
}

/* 問合せフォーム */

section.contact {
    padding: 90px 0 150px 0;
    position: relative;
    font-family: "Noto Sans JP";
    background: #fff7e9;
}

.contact .container {
    max-width: 800px;
    width: 90%;
    margin: 0 auto;
    /* text-align: center; */

}
.contact-guid {
    max-width: 800px;
    margin: 80px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.contact-guid-title {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 15px;
}
.contact_tel {
    line-height: 1.5em;
    font-weight: 600;
    font-size: 18px;
}
.contact_txt {
    line-height: 1.5em;
    margin-top: 10px;
}

.coution {
    color: #4096af;
}

/* コンタクトフォーム７ */
.form {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.wpcf7-spinner {
    display: none;
}

.form-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 30px 0;
    gap: 10px;
}

.form-label {
    display: flex;
    align-items: center;
    width: 30%;
    margin: 0;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: left;
}

.form-label .must,
.form-label .free {
    margin-right: 8px;
}

.must {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #007cba;
    padding: 4px;
    border-radius: 4px;
}

.free {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #6c6a6a;
    padding: 4px;
    border-radius: 4px;
}

/* 入力エリア */
.form-item> :not(.form-label) {
    width: 100%;
}

.form-item input[type="text"],
.form-item input[type="tel"],
.form-item input[type="email"],
.form-item textarea {
    width: 100%;
    padding: 15px;
    font-size: 19px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: left;
}

.form-item input[type="file"] {
    width: 100%;
    padding: 15px;
    font-size: 19px;
    color: #333;
    box-sizing: border-box;
    text-align: left;
}

textarea {
    resize: vertical;
}

/* ファイル添付エリア */
.form-item.block-text {
    display: block;
    text-align: left;
}

.form-file-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 15px;
}

.file-txt {
    font-weight: bold;
    margin-top: 10px;
}

input[type="file"] {
    padding: 5px;
}

/* ---------- SUBMIT BUTTON ---------- */
input[type="submit"] {
    padding: 1rem 8rem 1rem 7rem;
    background: #007cba;
    display: inline-block;
    position: relative;
    letter-spacing: 0.18em;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
    font-size: 16px;
    border: none;
    margin-top: 60px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 4px 4px 0 #aaa;
}

@media screen and (max-width: 560px) {
    input[type="submit"] {
        padding: 1rem 4rem 1rem 4rem;
    }
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 900px) {
    .entry-form .heading-back {
        top: 147px;
        font-size: 150px;
    }
}

@media screen and (max-width: 767px) {
    .entry-form {
        padding: 60px 0 60px;
    }

    .form-item {
        display: block;
        padding: 20px 0;
    }

    .form-label {
        width: 100%;
        margin-bottom: 10px;
    }

    .form-item> :not(.form-label) {
        width: 100%;
    }

    .form-file-box {
        display: block;
    }

    .entry-form .heading-back {
        font-size: 20vw;
        top: 7%;
    }
}

@media screen and (max-width: 480px) {
    .sp-none {
        display: none;
    }

    .entry-form .heading-back {
        top: 9%;
    }

    .heading-sm {
        font-size: 40px;

    }
}


/* 送信完了画面 */
section.form-thanks {
    width: 100%;
    height: 100vh;
    text-align: center;
    margin: 0;
    padding: 50px 0;
    overflow: hidden;
    background-color: #fff7e9;
}

.form-thanks-container {
    margin: 200px auto 0 auto;
    max-width: 90%;
}

.form-thanks-text {
    margin: 15px 0;
}

.back-button {
    padding: 1rem 8rem 1rem 7rem;
    background: #007cba;
    display: inline-block;
    position: relative;
    letter-spacing: 0.18em;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: none;
    font-size: 16px;
    border: none;
    margin-top: 60px;
    cursor: pointer;
}

.back-button:hover {
    background-color: #fff;
    color: #000;
    box-shadow: 4px 4px 0 #aaa;
}
.form-thanks-container .heading-title{
    font-size: 20px;
    font-weight: bold;
}


@media screen and (max-width: 560px) {
    .back-button {
        padding: 1rem 4rem 1rem 4rem;
    }
}

/* sp-entry-form-thanks */
@media screen and (max-width: 480px) {
    .form-thanks-container {
        margin: 150px auto 0 auto;
    } }



/* 機種別価格表ページ */
/* デバイス詳細ページ */
.device-page h1 {
    padding-top: 90px;
    font-size: 2rem;
    margin-bottom: 16px;
    border-bottom: 2px solid #07328c;
    padding-bottom: 8px;
    font-weight: 700;
}

.device-content h2 {
    margin-top: 30px;
    font-size: 1.2rem;
    color: #07328c;
}
.device-content h3 {
    font-size: 18px;
    font-weight: bold;
}
.device-content h4 {
    font-size: 18px;
    font-weight: bold;
}
.device-image {
    margin: 20px 0;
    text-align: center;
}

.device-image img {
    max-width: 100%;
    border-radius: 12px;
}

.wp-block-image img {
    margin-top: 60px;
}
.has-fixed-layout th {
    text-align: center;
}

/* テーブル共通スタイル */
.device-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
    text-align: center;
}
body .is-layout-flex {
    margin-bottom: 0;
}
.has-fixed-layout th{
    background-color: #e9f6f7;

}

.price-table-caution{
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 14px;
}
.price-table-caution1{
    font-weight: bold;
    color: red;
    font-size: 14px;
    margin: 15px 0;
}

/* .device-content thead th:last-child {
    border: 1px solid #000;
    background: #a00;
    color: #fff;
} */
/* .device-content tbody td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
} */
/* .device-content tbody td:last-child {
    color: #a00;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
} */
.device-content tbody td:last-child small {
    display: block;
    color: #666;
    font-size: 13px;
    font-weight: normal;
    margin-top: 2px;
}
.has-small-font-size {
    list-style: none;
}
/* 価格表モデルナンバー */
.model-num-txt {
    margin-top: 50px;
}
.wp-block-list {
    margin-top: 0;
}
/* 注意書き */
.device-content h5{
    font-size: 14px;
    margin-top: 10px;

}
.device-content h4 {
    font-size: 18px;
    margin-top: 60px;
}

/* スマホ対応 */
@media (max-width: 560px) {
    .device-content tbody td:first-child {
            font-size: 12px;
            font-weight: bold;
        }
    /* .device-content tbody td:last-child {
        font-size: 15px;
    }
    .device-content tbody td {
        font-size: 12px;
    } */
    .device-content table {
        text-align-last: left;
    }
}
