@charset "UTF-8";
/* ==========================================================================
   作州電器 サイトのスタイル
   2026-12 整理（TONARI）：重複・無効な記述・使っていない記述を除き、
   共通の指定をまとめた。見た目は整理前と同じ。
   ブレークポイント：1140px 以下（タブレット）／900px 以下（スマホ）
   ========================================================================== */

:root {
    --color-text: #333;
    --color-red: #ff4d4d;
    --color-blue: #3399ff;
    --color-blue-light: #84c2ff;
    --color-gray: #ccc;
    --font-base: "Zen Maru Gothic", sans-serif;
}


/* ==========================================================================
   基本
   ========================================================================== */

html {
    font-size: 62.5%; /* 1rem = 10px */
    height: 100%;
    touch-action: manipulation;
}

body {
    height: 100%;
    width: 100%;
    padding-top: 1rem; /* ページ先頭ボタン用 */
    background-color: #fff;
    color: var(--color-text);
    font-family: var(--font-base);
    font-size: 1vw; /* 下の基準サイズの計算に必要 */
    line-height: 1.8;
    letter-spacing: 0;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-size: 1rem;
    line-height: 1.4;
}

/* 文字の基準サイズ */
p, div, table, tr, td, ul, li, section, article {
    font-size: calc(1rem + 0.6vw);
}

a {
    color: var(--color-text);
    text-decoration: none;
}
a:hover {
    color: #888;
}

.text_red {
    color: var(--color-red);
}
.text_blue {
    color: var(--color-blue);
}

@media screen and (max-width: 900px) {
    p, div, table, tr, td, ul, li, section, article {
        font-size: calc(1.4rem + 0.6vw);
    }
}


/* ==========================================================================
   各セクション共通（幅・見出し・見出し下の線）
   ========================================================================== */

.news,
.message,
.service,
.store,
.contact__box {
    position: relative;
    width: 74%;
    margin: 0 auto;
}

.service__title,
.store__title,
.contact__title,
.store__company__title,
.store__staff__title {
    position: relative;
    left: -3rem;
    width: 64%;
    margin-bottom: 1rem;
    font-size: calc(2.2rem + 0.6vw);
}
.store__company__title,
.store__staff__title {
    width: 60%;
}

.service__title__border,
.store__title__border,
.store__company__title__border,
.store__staff__title__border,
.contact__title__border {
    height: 8px;
    margin-bottom: 4rem;
}
.service__title__border,
.store__title__border {
    width: 30%;
    background-color: var(--color-red);
}
.store__company__title__border,
.store__staff__title__border {
    width: 60%;
    background-color: var(--color-blue);
}
.contact__title__border {
    width: 100%;
    background-color: var(--color-blue-light);
}

@media screen and (max-width: 1140px) {
    .news,
    .message,
    .service,
    .store,
    .contact__box {
        width: 86%;
    }
    .service__title,
    .store__title,
    .contact__title,
    .store__company__title,
    .store__staff__title {
        left: 0;
    }
}

@media screen and (max-width: 900px) {
    .service__title,
    .store__title,
    .contact__title,
    .store__company__title,
    .store__staff__title {
        left: auto;
        width: 100%;
        text-align: center;
    }
    .service__title__border,
    .store__title__border,
    .store__company__title__border,
    .store__staff__title__border,
    .contact__title__border {
        margin: 0 auto 4rem;
    }
    .service__title__border,
    .store__company__title__border,
    .store__staff__title__border {
        width: 8rem;
    }
}


/* ==========================================================================
   ヘッダー・ナビ
   ========================================================================== */

.header {
    position: relative;
    z-index: 99;
    width: 74%;
    margin: 80px auto 0;
}

.logo {
    position: absolute;
    top: -5rem;
    left: -2rem;
    width: 460px;
}

/* PC：MENU に乗せると開く */
.nav {
    position: absolute;
    top: -5rem;
    right: 0;
}
.nav__menu {
    display: inline-block;
    width: 10rem;
    padding: 0.2rem 5rem;
    border: solid 4px #000;
    background-color: #fff;
    text-align: center;
    font-size: calc(2rem + 0.6vw);
    cursor: pointer;
}
.nav__menu__arrow {
    position: absolute;
    top: 5rem;
    left: 16rem;
    transform: rotate(90deg);
}
.nav__list {
    display: none;
    position: absolute;
    width: 40rem;
    margin-left: 5rem;
    padding-top: 5rem;
    list-style: none;
    color: #fff;
}
.nav__list_service,
.nav__list_store,
.nav__list_contact {
    display: inline-block;
    z-index: 110;
    margin-bottom: 1.4rem;
    padding-right: 2.4rem;
    background-color: #000;
    vertical-align: top;
    line-height: 6rem;
    font-size: calc(3.6rem + 0.6vw);
}

/* ナビのリンクは白のまま */
.nav__list a,
.nav__list a:hover {
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 1140px) {
    .logo {
        top: -4rem;
        width: 360px;
    }
}

@media screen and (min-width: 901px) {
    .nav__sp {
        display: none;
    }
}

@media screen and (max-width: 900px) {
    .header {
        width: 100%;
        height: 2rem;
        margin-top: 5rem;
        margin-bottom: 1rem;
    }
    .logo {
        position: static;
        width: 60%;
        max-height: 4rem;
        margin-left: 1rem;
    }
    .logo img {
        width: 100%;
        height: 4rem;
    }
    .nav {
        display: none;
    }

    /* スマホ：右上の三本線で開閉 */
    .nav__sp__menu {
        position: fixed;
        top: 1rem;
        right: 1rem;
        width: 4rem;
        height: 4rem;
        border: solid 4px #000;
        background-color: #fff;
        font-size: 0;
        line-height: 0;
        cursor: pointer;
    }
    .nav__sp__menu__icon {
        margin-top: 25%;
        margin-bottom: 25%;
        cursor: pointer;
    }
    .nav__sp__menu__line {
        position: relative;
        width: 2rem;
        height: 4px;
        margin: 0 auto 0.4rem;
        background-color: #000;
        cursor: pointer;
    }
    .nav__sp__list {
        display: none;
        position: fixed;
        right: 1rem;
        list-style: none;
        color: #fff;
    }
    .active { /* custom.js が付け外しする */
        display: block;
    }
    .nav__sp__list_home,
    .nav__sp__list_service,
    .nav__sp__list_store,
    .nav__sp__list_contact {
        display: inline-block;
        float: right;
        clear: both;
        z-index: 110;
        margin-bottom: 1rem;
        background-color: #000;
        line-height: 3.2rem;
        font-size: calc(3.6rem + 0.6vw);
    }
    .nav__sp__list a,
    .nav__sp__list a:hover {
        color: #fff;
        text-decoration: none;
    }
}


/* ==========================================================================
   メインビジュアル
   ========================================================================== */

.main {
    position: relative;
    width: 84%;
    margin: 0 auto;
}
.main__pic {
    margin: 0 auto;
    line-height: 0;
}
.main__pic img {
    width: 100%;
}

.main__okayama {
    position: absolute;
    bottom: 30%;
    left: -6rem;
    color: var(--color-gray);
    opacity: 0.7;
    letter-spacing: 1.8rem;
}

.main__sakushudenki {
    position: absolute;
    bottom: 30%;
    right: -7rem;
    padding: 0;
    color: #fff;
    font-size: 0; /* inline-block の隙間をなくす */
}
.main__sakushudenki_blue,
.main__sakushudenki_pink {
    display: inline-block;
    padding-right: 1.4rem;
    line-height: 1;
    font-size: calc(2.4rem + 0.6vw);
}
.main__sakushudenki_blue {
    background-color: var(--color-blue);
}
.main__sakushudenki_pink {
    margin-top: 1.5rem;
    background-color: var(--color-red);
}

/* 地図・電話ボタン（乗せると背景の別画像に切り替わる） */
.main__conversion {
    position: absolute;
    bottom: -5rem;
    right: 6rem;
    font-size: 0;
    line-height: 0;
}
.main__conversion_map,
.main__conversion_phone {
    display: inline-block;
    background-size: 95px;
}
.main__conversion_map {
    margin-right: 2rem;
    background: url("../images/top/btn_map_hover.svg") no-repeat;
    background-size: 95px;
}
.main__conversion_phone {
    background: url("../images/top/btn_phone_hover.svg") no-repeat;
    background-size: 95px;
}
.main__conversion_map a,
.main__conversion_phone a {
    display: inline-block;
}
.main__conversion_map a img,
.main__conversion_phone a img {
    width: 95px;
}
.main__conversion_map a:hover img,
.main__conversion_phone a:hover img {
    visibility: hidden;
}

@media screen and (max-width: 900px) {
    .main {
        width: 100%;
    }
    .main__okayama,
    .main__sakushudenki_blue,
    .main__sakushudenki_pink {
        display: none;
    }
    .main__conversion {
        bottom: -2.6rem;
        right: 1rem;
    }
    .main__conversion_map {
        margin-right: 1rem;
    }
    .main__conversion_map,
    .main__conversion_phone {
        background-size: 6rem;
    }
    .main__conversion_map a img,
    .main__conversion_phone a img {
        width: 6rem;
    }
}


/* ==========================================================================
   お知らせ（流れる文字）
   ========================================================================== */

.news {
    margin-top: 8rem;
}
.news__box {
    position: relative;
    left: -10rem;
    width: 64%;
    padding: 1.8rem 2.4rem;
    border: solid 4px #000;
    background-color: #fff;
    overflow: hidden;
}
.news__title,
.news__text {
    position: relative;
    float: left;
    line-height: 3rem;
    font-size: calc(1.8rem + 0.6vw);
}
.news__title {
    margin-right: 3rem;
}
.news__text {
    width: 80%;
    margin-left: auto;
}
.news__arrow {
    position: absolute;
    top: 1.5rem;
    left: 64%;
    margin-left: -6rem;
}

@media screen and (max-width: 1140px) {
    .news__box {
        width: 100%;
    }
    .news__arrow {
        left: 100%;
    }
}

@media screen and (max-width: 900px) {
    .news {
        width: 88%;
        margin-top: 5rem;
    }
    .news__box {
        left: 0;
        width: auto;
        padding: 1rem 1.6rem;
    }
    .news__title {
        margin-right: 1rem;
    }
    .news__text {
        width: auto;
    }
    .news__arrow {
        visibility: hidden;
    }
}


/* ==========================================================================
   ごあいさつ
   ========================================================================== */

.message {
    margin-top: 8rem;
}
.message__title {
    float: left;
    width: 64%;
    margin-bottom: 4rem;
    color: var(--color-red);
    font-size: calc(2.4rem + 0.6vw);
}
.message__text {
    float: left;
    width: 60%;
    margin-bottom: 1rem;
    padding-right: 10rem;
    font-size: calc(1.2rem + 0.6vw);
}
.message__logovisual {
    position: absolute;
    right: 6rem;
    width: 30%;
    min-width: 260px;
    max-width: 320px;
    margin-top: 2rem;
    text-align: center;
}
.message__logovisual img {
    width: 90%;
    margin-left: 3rem;
}

@media screen and (max-width: 900px) {
    .message {
        width: auto;
        margin-top: 5rem;
        padding-right: 6%;
        padding-left: 6%;
    }
    .message__title {
        float: none;
        width: 100%;
        margin-bottom: 2rem;
    }
    .message__text {
        float: none;
        width: 100%;
        padding-right: 0;
        font-size: calc(1.7rem + 0.6vw);
    }
    .message__logovisual {
        display: none;
    }
}


/* ==========================================================================
   サービス
   ========================================================================== */

.service {
    clear: both;
    margin-top: 10rem;
}
.service__pic {
    float: left;
    width: 30%;
    margin-bottom: 4rem;
    line-height: 0;
}
.service__pic img {
    width: 100%;
}
.service__subtitle__border {
    position: relative;
    float: left;
    width: 6%;
    height: 2px;
    margin-top: 0.5rem;
    margin-right: 2%;
    margin-left: 2%;
    background-color: var(--color-gray);
}
.service__subtitle_pink,
.service__subtitle_blue {
    position: relative;
    margin-bottom: 2rem;
    line-height: 1.1rem;
    font-size: calc(1.4rem + 0.6vw);
}
.service__subtitle_pink {
    color: var(--color-red);
}
.service__subtitle_blue {
    color: var(--color-blue);
}
.service__text {
    position: relative;
    float: right;
    width: 60%;
    margin-bottom: 4rem;
}

@media screen and (max-width: 900px) {
    .service {
        width: auto;
        margin-top: 6rem;
        padding-right: 6%;
        padding-left: 6%;
    }
    .service__pic {
        float: none;
        width: 100%;
        margin: 0 auto 1.4rem;
    }
    .service__subtitle__border {
        display: none;
    }
    .service__subtitle_pink,
    .service__subtitle_blue {
        width: 100%;
        margin: 0 auto 1rem;
        line-height: 1.6;
        font-size: calc(1.8rem + 0.6vw);
    }
    .service__text {
        float: none;
        width: 100%;
        margin: 0 auto 4rem;
    }
}


/* ==========================================================================
   お店（地図・会社案内・スタッフ）
   ========================================================================== */

.store {
    clear: both;
    margin-top: 6rem;
}

.store__map {
    text-align: center;
}
.store__map_box {
    width: 100%;
    height: 500px;
    margin-bottom: 4rem;
}
.store__btn__googlemap {
    display: inline-block;
    position: relative;
    z-index: 98;
    width: 18rem;
    margin: 0 auto 6rem;
    padding: 0.6rem 1rem;
    border: 4px solid #000;
    background: #fff;
    text-align: center;
}
.store__btn__googlemap_arrow {
    position: absolute;
    top: -0.2rem;
    right: -3rem;
}

/* 会社案内（左）・スタッフ（右） */
.store__company,
.store__staff {
    position: relative;
    width: 50%;
}
.store__company {
    float: left;
}
.store__staff {
    float: right;
}

.store__company__table {
    width: 90%;
    font-size: calc(1.2rem + 0.6vw);
}
.store__company__text {
    font-size: calc(1.4rem + 0.6vw);
}
.table_right {
    padding-right: 3rem;
    vertical-align: top;
    white-space: nowrap; /* 「営業時間」「取扱メーカー」などの項目名を折り返さない */
}
.table_left {
    vertical-align: top;
}

.store__staff__pic {
    width: 85%;
    margin: 0 auto;
    border: solid 10px var(--color-gray);
    text-align: center;
    line-height: 0;
}
.store__staff__pic img {
    width: 100%;
}
.store__staff__name,
.store__staff__name_en {
    width: 100%;
    color: var(--color-blue);
    text-align: center;
}
.store__staff__name {
    margin-top: 3rem;
    line-height: 2.2rem;
    font-size: calc(1.8rem + 0.6vw);
}
.store__staff__name_en {
    margin-top: 0.5rem;
    line-height: 3rem;
    font-size: calc(1.2rem + 0.6vw);
}
.store__staff__text {
    width: 80%;
    margin: 2rem auto 0;
    line-height: 1.7;
}

@media screen and (max-width: 900px) {
    .store {
        width: auto;
        margin-top: 6rem;
    }
    .store__map_box {
        height: 400px;
    }
    .store__company,
    .store__staff {
        float: none;
        width: auto;
        margin: 0 auto;
        padding-right: 6%;
        padding-left: 6%;
    }
    .store__company__table {
        width: 100%;
        margin: 0 auto 4rem;
    }
    .store__company__table table {
        margin: 0 auto;
    }
    .table_right {
        padding-right: 2rem;
    }
    .store__staff__pic {
        width: 65%;
        border-width: 6px;
    }
    .store__staff__name {
        font-size: calc(2.2rem + 0.6vw);
    }
    .store__staff__name_en {
        font-size: calc(1.4rem + 0.6vw);
    }
    .store__staff__text {
        width: 100%;
    }
}


/* ==========================================================================
   お問い合わせ
   ========================================================================== */

.contact {
    position: relative;
    clear: both;
    width: 100%;
    margin: 10rem auto 0;
    padding-top: 4rem;
    padding-bottom: 0;
    background-color: var(--color-blue);
    color: #fff;
}
.contact a {
    color: #fff;
}
.contact a:hover {
    color: #ddd;
}
.contact__box {
    clear: both;
}
.contact__title {
    color: #fff;
}
.contact__text__box {
    position: relative;
    float: left;
    width: 45%;
    margin-bottom: 10rem;
}
.contact__text {
    width: 90%;
    margin-bottom: 2rem;
}
.contact__telephone__text {
    font-size: calc(2.2rem + 0.6vw);
}

/* フォーム（MW WP Form） */
.contact__form {
    position: relative;
    float: right;
    width: 50%;
    margin: 0 auto;
}
#contact_form__username,
#contact_form__usernamekana,
#contact_form__email,
.contact_form__telephone,
#contact_form__comments {
    padding: 1rem 2rem;
    background-color: #fff;
    color: blue;
    font-family: sans-serif;
}
#contact_form__username,
#contact_form__usernamekana,
#contact_form__email {
    width: calc(100% - 4rem);
    margin-bottom: 1rem;
}
.contact_form__telephone {
    width: 20%;
    margin-bottom: 1rem;
}
#contact_form__select {
    width: auto;
    margin-bottom: 1rem;
    padding: 1rem 2rem;
    border-radius: 4px;
    background-color: var(--color-text);
}
#contact_form__comments {
    width: calc(100% - 4rem);
    height: 20rem;
    margin-bottom: 0;
    line-height: 3rem;
}
.contact__form__submitbtn {
    z-index: 95;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background-color: var(--color-red);
    font-size: calc(2.2rem + 0.6vw);
}
.contact__form__submitbtn:hover {
    background-color: #000;
}
.mw_wp_form .error {
    margin-bottom: 2rem;
    color: #c6ff05 !important;
    font-size: calc(1rem + 0.6vw);
}

@media screen and (max-width: 900px) {
    .contact__box {
        width: 88%;
    }
    .contact__text__box {
        float: none;
        width: 100%;
        margin-bottom: 4rem;
    }
    .contact__text {
        width: 100%;
    }
    .contact_form__telephone {
        width: 16%;
    }
    .contact__form {
        float: none;
        width: 100%;
    }
}


/* ==========================================================================
   フッター
   ========================================================================== */

.footer {
    clear: both;
    margin: 0 auto;
    padding-bottom: 8rem;
    padding-left: 13%;
    background-color: var(--color-blue);
    color: #fff;
}
.copyright {
    display: inline;
    position: relative;
    top: -4rem;
    z-index: 80;
    padding-top: 10rem;
    font-size: calc(1rem + 0.6vw);
    pointer-events: none; /* 上の余白が送信ボタンに重なってもタップを奪わない */
}
.pagetop {
    position: fixed;
    bottom: 0.5rem;
    right: 1.5rem;
}

@media screen and (max-width: 1140px) {
    .footer {
        padding-left: 7%;
    }
}

@media screen and (max-width: 900px) {
    .footer {
        padding-bottom: 12rem;
        padding-left: 0;
        text-align: center;
    }
    .copyright {
        top: 6rem;
        margin: 0 auto;
    }
    .pagetop {
        position: absolute;
        bottom: 1.5rem;
        right: 2.5rem;
        visibility: hidden;
    }
}


/* ==========================================================================
   補助
   ========================================================================== */

/* PC／スマホでだけ改行 */
@media screen and (min-width: 901px) {
    .br-sp {
        display: none;
    }
}
@media screen and (max-width: 900px) {
    .br-pc {
        display: none;
    }
}

.nr {
    white-space: nowrap;
}

.clearfix::after {
    content: " ";
    display: block;
    clear: both;
}

::placeholder {
    color: #aaa;
}

::selection {
    background: #eee;
    color: #000;
}

/* 見出しの階層を整理した分の余白補正（2026-12、見た目は従来どおり）
   :where() で詳細度0。クラス側の指定（メディアクエリ含む）が優先される */
:where(h2.service__title, h2.store__title, h2.contact__title) {
    margin: 0.67em 0;
}
:where(h3.service__subtitle_pink, h3.service__subtitle_blue, h3.store__company__title, h3.store__staff__title) {
    margin: 0.83em 0;
}


/* ==========================================================================
   動き
   ========================================================================== */

/* 画面に入ったら表示（custom.js が .mv を付ける） */
.inview_mv {
    opacity: 0;
}
.mv {
    opacity: 1;
    transition: 0.4s;
    transition-delay: 0.2s;
}

/* 点滅 */
.blink {
    animation: blink 0.02s linear infinite alternate;
}
@keyframes blink {
    50%  { opacity: 0.5; }
    100% { opacity: 1; }
}

/* スタッフ紹介のスライダー */
.slick-box {
    width: 100%;
    margin: 0 auto;
}

/* ゆらゆら（PCのみ） */
@media screen and (min-width: 901px) {
    .yoko-yure {
        animation: horizontal 1.8s ease-in-out infinite alternate;
    }
    .tate-yure {
        animation: vertical 1.4s ease-in-out infinite alternate;
    }
}
@keyframes horizontal {
    0%   { transform: translateX(10px); }
    100% { transform: translateX(0); }
}
@keyframes vertical {
    0%   { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
