/*
Theme Name:shimane-imono(TEST)
Theme URI:
Version: 1.0
Author: imawaka
Author URI: https://yoshida-designbu.com/
License: imawaka
*/


/*リセットcss*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 100%;
	vertical-align: baseline;
}

html {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
	vertical-align: middle;
}

q, blockquote {
	quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
	content: "";
	content: none;
}

img {
	vertical-align: bottom;
}

a img {
	border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
	display: block;
}

input[type="button"], input[type="submit"] {
	-webkit-appearance: none;
}

br.clear {
	clear: both;
}

/*リセットcssここまで*/


/*--------------
common
--------------*/
html {
    font-size: 62.5%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

:root {
    /* color */
    --color-Black: #1a1a1a;
    --color-Gray: #cccccc;
    --color-Red: #c8000a;
    --color-White: #ffffff;
    /* space */
    --space-300px: 300px;
    --space-200px: 200px;
    --space-150px: 150px;
    --space-100px: 100px;
    --space-80px: 80px;
    --space-50px: 50px;
    --space-40px: 40px;
    --space-30px: 30px;
    --space-20px: 20px;
    --space-10px: 10px;
    --border-radius: 20px;
    /* font-size */
    --font-80px: 8rem;
    --font-34px: 3.4rem;
    --font-30px: 3rem;
    --font-24px: 2.4rem;
    --font-20px: 2rem;
    --font-18px: 1.8rem;
    --font-16px: 1.6rem;
    --font-14px: 1.4rem;
    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 700;
    --font-black: 800;
    --font-ZenKakuNew: "Zen Kaku Gothic New", '游ゴシック', 'YuGothic', 'Yu Gothic', sans-serif;
}

body {
	color: var(--color-Black);
	font-family: var(--font-ZenKakuNew);
	font-size: var(--font-18px);
	line-height: 1.4;
	font-weight: 400;
	font-feature-settings: "palt";
}

a {
    text-decoration: none;
    transition: all 0.3s;
	color: var(--color-Black);
    white-space: normal;
    word-break: break-all;
}

img, video {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

picture {
    display: block;
}

.hidden {
    visibility: hidden;
    height: 0!important;
    margin: 0!important;
    border: 0!important;
    padding: 0!important;
}

.link {
    display: block;
}

.pc {
    display: block;
}
.tab {
    display: none;
}
.sp {
    display: none;
}

.bodyContainer {
    position: relative;
    background: url(./img/common/bodyContainer-bg.jpg) center repeat;
    background-size: 35%;
}

.mainArea {
    overflow: hidden;
    position: relative;
}

@media screen and (max-width: 768px) {

    :root {
        /* space */
        --space-300px: 200px;
        --space-200px: 100px;
        --space-150px: 100px;
        --space-100px: 80px;
        --space-80px: 60px;
        --space-50px: 40px;
        --space-40px: 30px;
        --space-30px: 20px;
        --space-20px: 15px;
        --space-10px: 5px;
        --border-radius: 15px;
        /* font-size */
        --font-80px: 6rem;
        --font-34px: 3rem;
        --font-30px: 2.6rem;
        --font-24px: 2rem;
        --font-20px: 1.8rem;
        --font-18px: 1.6rem;
        --font-16px: 1.4rem;
        --font-14px: 1.2rem;
    }

    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .bodyContainer {
        background-size: 40%;
    }

}

@media screen and (max-width: 521px) {

    :root {
        /* space */
        --space-300px: 150px;
        --space-200px: 80px;
        --space-150px: 80px;
        --space-100px: 60px;
        --space-80px: 40px;
        --space-50px: 30px;
        --space-40px: 20px;
        --space-30px: 15px;
        --space-20px: 10px;
        --border-radius: 15px;
        /* font-size */
        --font-80px: 4rem;
        --font-34px: 2.6rem;
        --font-30px: 2.2rem;
        --font-24px: 1.8rem;
        --font-20px: 1.6rem;
        --font-18px: 1.4rem;
        --font-16px: 1.2rem;
        --font-14px: 1rem;
    }

}


/*--------------
動き
--------------*/

/* =========
  1) slide-left
========= */

/* 初期状態 */
.js-animate[data-animate="slide-left"] {
  opacity: 0;
  transform: translateX(-100px);
}

/* 発火後 */
.js-animate.is-animated[data-animate="slide-left"] {
  animation: slide-left 0.5s forwards;
}

@keyframes slide-left {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* =========
  2) mask (帯)
  - .mask-bg / .mask-bg--loading 共通
========= */

.mask-bg, .mask-bg--loading {
  width: fit-content;
  color: transparent;
  overflow: hidden;
  position: relative;
  transition: color 0ms 450ms;
}

.mask-bg::after, .mask-bg--loading::after {
  content: '';
  position: absolute;
  inset: -2px;
  z-index: 2;

  will-change: transform;
  backface-visibility: hidden;

  /* ✅ 初期は必ず画面外（左） */
  transform: translate3d(-110%, 0, 0);
}

.mask-bg01::after { background: var(--color-White); }
.mask-bg02::after { background: var(--color-Red); }

/* 発火後：帯アニメ */
.mask-bg.is-animated::after,
.mask-bg--loading.is-animated::after {
  animation: mask-bg 1s cubic-bezier(0.8, 0, 0.170, 1) forwards;
}

@keyframes mask-bg {
  0% { transform: translate3d(-110%, 0, 0); }
  40%, 60% { transform: translate3d(0%, 0, 0); }
  100% { transform: translate3d(110%, 0, 0); }
}


/* =========
  3) topKvコピー：帯の下から img を出す
  - data-animate="mask-reveal-under"
========= */

/* コンテナは帯を見せるために隠さない */
.js-animate[data-animate="mask-reveal-under"] {
  position: relative;
  overflow: hidden;
}

/* 中身だけ最初は隠す */
.js-animate[data-animate="mask-reveal-under"] img {
  opacity: 0;
  position: relative;
  z-index: 1;
}

/* 帯が抜けるタイミングで出す */
.js-animate.is-animated[data-animate="mask-reveal-under"] img {
  animation: reveal-under-mask 1s steps(1, end) forwards;
}

@keyframes reveal-under-mask {
  0%, 59.999% { opacity: 0; }
  60%, 100% { opacity: 1; }
}

/* 02,03 だけ遅らせる */
.topKv__copyItem02 { --delay: 0.1s; }
.topKv__copyItem03 { --delay: 0.2s; }

/* 帯＆imgに反映（Aと同じ） */
.mask-bg--loading.is-animated::after { animation-delay: var(--delay, 0s); }
.js-animate.is-animated[data-animate="mask-reveal-under"] img { animation-delay: var(--delay, 0s); }


/* =========================
  loadingText 専用アニメ
  - ローディング中に自動で動く
  - 他の .mask-bg / .is-animated と無関係
========================= */

.loadingText--anim{
  width: fit-content;
  margin: 0 auto;
  font-size: 4rem;
  font-weight: var(--font-bold);
  position: relative;
  overflow: hidden;

  /* 文字は最初は隠す（帯が通ってから出す） */
  color: transparent;
}

/* 帯 */
.loadingText--anim::after{
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-Red);
  transform: translateX(-100%);
}

/* アニメ本体（自動でスタート） */
.loadingText--anim{
  animation: loadingText-reveal 1s steps(1, end) forwards;
}

.loadingText--anim::after{
  animation: loadingText-mask 1s cubic-bezier(0.8, 0, 0.170, 1) forwards;
}

/* 文字：60%でON */
@keyframes loadingText-reveal{
  0%, 59.999% { color: transparent; }
  60%, 100% { color: var(--color-Red); }
}

/* 帯：左→中央→右へ抜ける */
@keyframes loadingText-mask{
  0% { transform: translateX(-100%); }
  40%, 60% { transform: translateX(0%); }
  100% { transform: translateX(100%); }
}

@media screen and (max-width: 768px){
  .loadingText--anim{ font-size: 3rem; }
}
@media screen and (max-width: 521px){
  .loadingText--anim{ font-size: 2rem; }
}


/*--------------
loading
--------------*/

/* loading */

.loading {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 20;
    background: url(./img/common/bodyContainer-bg.jpg) center repeat;
    background-size: 35%;
}

.loadingInner {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
}

.loadingText {
    margin: 0 auto;
    font-size: 4rem;
    font-weight: var(--font-bold);
}

.loadingText.is-animated {
    color: var(--color-Red);
}

@media screen and (max-width: 768px) {

    .loadingText {
        font-size: 3rem;
    }

}

@media screen and (max-width: 521px) {

    .loadingText {
        font-size: 2rem;
    }

}


/*--------------
header (Step2: replace)
--------------*/

/* =========
   0) 共通土台
========= */

.siteHeader {
    width: 100%;
    z-index: 9;
}

/* header__container は両方で使うので共通化 */
.siteHeader .header__container {
    width: 90%;
    margin: 0 auto;
    position: relative;
}

/* PCナビ（元の仕様を維持） */
.pcNav {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0;
}

/* 動き（元の仕様を維持） */
.topKv-slideIn-left {
    animation: topKv-slideIn-left 0.25s forwards;
    animation-delay: 1s;
}

@keyframes topKv-slideIn-left {
    0% {
        opacity: 0;
        transform: translate(-100px, -50%);
    }
    100% {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

/* PCナビ見た目（元の仕様を維持） */
.pcNav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcNav__listItem a {
    margin-right: 0.6em;
    border-right: 1px solid var(--color-Red);
    padding-right: 0.6em;
    font-size: var(--font-20px);
    font-size: min(var(--font-20px), 1.6vw);
    font-weight: var(--font-medium);
}

.pcNav__listItem a:hover {
    opacity: 0.5;
}

.pcNav__listItem--contact a,
.gMenuSp-contact a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-right: 0;
    border-radius: 100px;
    border-right: 0;
    padding: 0.4em 1em;
    background-color: var(--color-Red);
    color: var(--color-White);
}

.pcNav__listItem--contact a::after,
.gMenuSp-contact a::after {
    content: "";
    display: block;
    width: 1.2em;
    height: 1em;
    background: url(./img/common/mailIcon-white.png) center no-repeat;
    background-size: 1.2em;
}


/* =========
   1) トップ用ヘッダー（現状維持）
   - topKv超えるまではこれ
========= */

.siteHeader--top {
    position: absolute;
    top: 0;
    left: 0;
}

.siteHeader--top .header__container {
    height: min(var(--space-100px), 15vw);
}

.home .siteHeader--top .pcNav__logo {
    visibility: hidden;
    height: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    padding: 0 !important;
}


/* =========
   2) 下層仕様ヘッダー（トップでも“後から出す”）
========= */

.siteHeader--under {
    position: fixed;
    top: 0;
    z-index: 9;
    background: url(./img/common/underPage-headerBg.webp) center no-repeat;
    background-size: cover;
}

.siteHeader--under .header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.siteHeader--under .pcNav__logo,
.siteHeader--under .pcNav {
    position: absolute;
}

.siteHeader--under .pcNav__logo {
    left: 0;
}

.siteHeader--under .pcNav {
    right: 0;
    opacity: 1;
}

.siteHeader--under .pcNav__logo a {
    font-size: var(--font-24px);
    font-weight: var(--font-medium);
    color: var(--color-White);
}

.siteHeader--under .pcNav__logo a:hover {
    opacity: 0.5;
}

.siteHeader--under .pcNav__listItem a {
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--color-White);
}
.siteHeader--under .pcNav__listItem--contact a {
    background-color: var(--color-White);
    color: var(--color-Red);
}

.siteHeader--under .pcNav__listItem--contact a::after {
    background: url(./img/common/mailIcon-red.png) center no-repeat;
    background-size: 1.2em;
}


/* =========
   3) トップ時の “下層ヘッダー” は最初は隠す → is-showで出す
========= */

.home .siteHeader--under {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.home .siteHeader--under.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}


/* =========
   4) SP: hamburger / menu
   - hamburger は “下層ヘッダー” の中にいる前提
========= */

.hamburger,
.globalMenuSp {
    display: none;
}

@media screen and (max-width: 768px) {

    .pcNav {
        display: none;
    }

    .hamburger {
        cursor: pointer;
        display: block;
        width: 45px;
        height: 45px;
        border-radius: 100px;
        position: absolute;
        top: 50%;
        right: 3%;
        transform: translateY(-50%);
        z-index: 10;
        background-color: var(--color-Red);
    }

    .hamburger span {
        display: block;
        position: absolute;
        width: 50%;
        height: 2px;
        left: 50%;
        transform: translateX(-50%);
        background: var(--color-White);
        transition: 0.3s ease-in-out;
    }

    .hamburger span:nth-child(1) { top: 32%; }
    .hamburger span:nth-child(2) { top: 50%; }
    .hamburger span:nth-child(3) { top: 68%; }

    .hamburger.active span:nth-child(1) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .globalMenuSp {
        display: block;
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 9;
        opacity: 0;
        visibility: hidden;
        transition: opacity .6s ease, visibility .6s ease;
    }

    .globalMenuSp.active {
        opacity: 100;
        visibility: visible;
        overflow-y: scroll;
    }

    .globalMenuSp.active::after {
        content: "";
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 0;
        right: 0;
        background-color: var(--color-Black);
        opacity: 0.6;
    }

    .globalMenuSp-wrapper {
        background: url(./img/common/bodyContainer-bg.jpg) center repeat;
        background-size: 35%;
        max-width: 400px;
        width: 90%;
        height: 100%;
        margin: 0 0 0 auto;
        border-radius: 30px 0 0 30px;
        position: relative;
        z-index: 1;

        transform: translateX(110%);
        transition: transform .35s ease;
        will-change: transform;
    }

    .globalMenuSp.active .globalMenuSp-wrapper {
        transform: translateX(0);
    }

    .gMenuSp-list {
        width: 90%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -55%);
    }

    .gMenuSp-list li {
        margin-top: 25px;
    }

    .gMenuSp-subTitle,
    .gMenuSp-title {
        display: block;
        font-weight: var(--font-bold);
        text-align: center;
    }

    .gMenuSp-subTitle {
        color: var(--color-Red);
    }

    .gMenuSp-title {
        font-size: 3rem;
    }

    .gMenuSp-contact a {
        min-width: 200px;
        width: fit-content;
        margin: 0 auto;
        font-size: 2rem;
        font-weight: var(--font-medium);
    }

    .gMenuSp-list li.gMenuSp-contact {
        margin-top: 35px;
    }

    .siteHeader--under .header__container {
        height: 80px;
    }

    .siteHeader--under .pcNav__logo a {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 521px) {

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .siteHeader--under .header__container {
        height: 60px;
    }

    .siteHeader--under .pcNav__logo a {
        font-size: 1.6rem;
    }
}


/*--------------
top
--------------*/

/* topKV(キービジュアル) */

.topKv {
    padding-top: min(var(--space-100px), 15vw);
    position: relative;
}

.topKv__copy {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: var(--space-20px);
    width: 45%;
    position: absolute;
    top: 4%;
    left: 5%;
    z-index: 1;
}

.topKv__copyItem {
  width: 100%;
}

.topKv__copyItem img {
  position: relative;
  z-index: 1;
}

.topKv__imageList {
    position: relative;
}

.topKv__imageList::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #640000;
    opacity: 0.2;
}

@media screen and (max-width: 768px) {

    .topKv__copy {
        width: 50%;
        top: 3%;
    }

}

@media screen and (max-width: 521px) {

    .topKv__copy {
        width: 60%;
    }

}


/* top共通 */

.topSec__subTitle {
    font-size: min(var(--font-20px), 2vw);
    font-weight: var(--font-medium);
}

.topSec__subTitle.is-animated {
    color: var(--color-Red);
}

.topSec__title {
    font-size: min(var(--font-80px), 7vw);
    font-weight: var(--font-bold);
    line-height: 1;
}

.topSec__title.is-animated {
    color: var(--color-Black);
}

.topSec__title.is-animated::after {
    animation-delay: 0.1s;
}

.button a {
    display: block;
    width: 200px;
    border-radius: 100px;
    padding: 0.5em 1em;
    background: linear-gradient(90deg, #c8000a 0%, #ff8228 100%);
    color: var(--color-White);
    font-weight: var(--font-medium);
    position: relative;
}

.button a:hover{
  transform: scale(1.1);
}

.button a::before,
.button a::after{
    content: "";
    display: block;
    width: 0.8em;
    height: 2px;
    background-color: var(--color-White);
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}

.button a::before{
    transform: translateY(calc(-50% - 0.18em)) rotate(30deg);
}

.button a::after{
    transform: translateY(calc(-50% + 0.18em)) rotate(-30deg);
}

.topSec__button {
    margin-top: var(--space-40px);
}

@media screen and (max-width: 768px) {

    .topSec__subTitle {
        font-size: min(var(--font-20px), 3vw);
    }

    .topSec__title {
        font-size: min(var(--font-80px), 10vw);
    }

}

@media screen and (max-width: 521px) {

    .topSec__subTitle {
        font-size: 1.4rem;
    }

}


/* topConcept(コンセプト) */

.topConcept {
    max-width: 1440px;
    width: 90%;
    margin: min(var(--space-150px), 12vw) auto min(var(--space-150px), 15vw);
}

.topConcept__container {
    margin-top: max(-180px, -16vw);
    padding: min(var(--space-200px), 20vw) 0;
    background: url(./img/top/topConcept__container-bg.webp) top center no-repeat;
    background-size: cover;
    position: relative;
}

.topConcept__copyItem {
    font-size: 6rem;
    font-weight: var(--font-bold);
}

.topConcept__copyItem.is-animated {
    color: var(--color-White);
}

.topConcept__copyItem span {
    font-size: 110%;
}

.topConcept__text {
    margin-top: var(--space-50px);
    position: relative;
    z-index: 1;
}

.topConcept__textItem {
    margin-top: 1em;
    font-size: min(var(--font-30px), 2.4vw);
    font-weight: var(--font-medium);
    line-height: 2.4;
    color: var(--color-White);
}

.topConcept__textItem:first-of-type {
    margin-top: 0;
}

.topConcept__textItem span {
    display: inline-block;
    font-size: 150%;
    font-weight: var(--font-bold);
    line-height: 1.3;
}

.topConcept__textItem .strongText {
    display: inline-block;
    font-size: 150%;
    font-weight: var(--font-bold);
    line-height: 1.3;
    letter-spacing: 2px;
}

.strongText__inner {
    font-size: 140%;
}

.topConcept__image {
    margin-top: -5%;
}

@media screen and (max-width: 768px) {

    .topConcept__container {
        background: url(./img/top/topConcept__container-bgSp.webp) top center no-repeat;
        background-size: cover;
    }

    .topConcept__copyItem, .topConcept__textItem {
        text-align: center;
    }

    .topConcept__copyItem {
        margin: 0 auto;
        font-size: min(5rem, 8vw);
        line-height: 1.4;
    }

    .topConcept__textItem {
        font-size: min(var(--font-30px), 3.6vw);
        line-height: 2;
    }

    .topConcept__textItem .strongText01 {
        padding-bottom: 12px;
    }

    .topConcept__textItem .strongText02 {
        padding: 12px 0;
    }

}

@media screen and (max-width: 521px) {

    .topConcept__copyItem {
        font-size: 3rem;
    }

    .topConcept__textItem {
        font-size: 1.6rem;
    }

}


/* topMovie(動画) */

.topMovie__container {
    margin-top: -200px;
    position: relative;
}

.topMovie {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.topMovie {
    max-width: 1300px;
    width: 70%;
}

.movie {
    aspect-ratio: 16 / 9;
}

.movie iframe {
    width: 100%;
    height: 100%;
}

.topMovieDeco {
    position: absolute;
}

.topMovieDeco01 {
    width: 28%;
    top: -20%;
    left: -10%;
}

.topMovieDeco02 {
    width: 24%;
    bottom: -18%;
    right: -12%;
}

@media screen and (max-width: 768px) {

    .topMovie__container {
        margin-top: -100px;
    }

    .topMovie {
        width: 75%;
    }

}


/* topAbout(私たちについて) , Members(組合員一覧) */

.topSec__container {
    max-width: 1440px;
    margin: min(var(--space-150px), 13vw) auto 0;
}

.topSec--about, .topSec--members {
    width: 100%;
}

.topSec--members {
    margin-top: min(var(--space-100px), 10vw);
}

.topSec__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topSec--about .topSec__inner {
    flex-direction: row-reverse;
}

.topSec__textBox {
    width: 38%;
}

.topSec--about .topSec__textBox {
    margin-right: 5%;
}

.topSec--members .topSec__textBox {
    margin-left: 5%;
}

.topSec__text {
    margin-top: var(--space-30px);
    line-height: 2;
}

.topSec__image {
    width: 52%;
}

@media screen and (max-width: 768px) {

    .topSec__inner {
        flex-wrap: wrap;
        gap: var(--space-40px);
    }

    .topSec--members .topSec__inner {
        flex-direction: row-reverse;
    }

    .topSec__textBox {
        display: contents;
        width: 100%;
    }

    .topSec--about .topSec__textBox {
        margin-right: 0;
    }

    .topSec--members .topSec__textBox {
        margin-left: 0;
    }

    .topSec__titleBox, 
    .topSec__text, 
    .topSec--about .topSec__button, 
    .topSec--members .topSec__button {
        width: 90%;
        margin: 0 auto;
    }

    .topSec__titleBox {
        order: 1;
    }

    .topSec__text {
        order: 3;
    }

    .topSec--about .topSec__button, 
    .topSec--members .topSec__button {
        order: 4;
    }

    .topSec--about .topSec__button a, 
    .topSec--members .topSec__button a {
        margin: 0 0 0 auto;
    }

    .topSec__image {
        order: 2;
        overflow: hidden;
        width: 95%;
        max-height: 350px;
    }

    .topSec--about .topSec__image {
        margin: 0 auto 0 0;
    }

}

@media screen and (max-width: 521px) {

    .topSec--members {
        margin-top: 50px;
    }

    .topSec__text {
        line-height: 1.8;
    }

}


/* News(お知らせ) */

.topSec--news {
    width: 90%;
    margin: min(var(--space-150px), 13vw) auto 0;
}

/* .topSec--news .topSec__subTitle, 
.topSec--news .topSec__title {
    margin: 0 auto;
} */

.topNews__mainBox {
    background-color: var(--color-White);
    margin-top: var(--space-50px);
    border-radius: var(--border-radius);
    padding: var(--space-40px);
}

.topSec--news .topSec__button a {
    margin-bottom: var(--space-10px);
    margin-left: auto;
}

/* ▼▼▼ここからNewsページと共通 */

.newsListLink {
    display: block;
    margin-top: 1.5em;
    border-top: 1px solid var(--color-Gray);
    padding-top: 1.5em;
}

.newsListLink:first-of-type {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.newsListLink:hover {
    opacity: 0.5;
}

.newsList {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 1.5em;
    font-size: var(--font-20px);
    font-weight: var(--font-medium);
    position: relative;

    @media screen and (max-width: 1024px) {

        font-size: var(--font-18px);

    }
}

.newsList::before,
.newsList::after{
    content: "";
    display: block;
    width: 0.8em;
    height: 2px;
    background-color: var(--color-Red);
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.newsList::before{
    transform: translateY(calc(-50% - 0.18em)) rotate(30deg);
}

.newsList::after{
    transform: translateY(calc(-50% + 0.18em)) rotate(-30deg);
}

.newsList dt {
    width: 90px;
    color: var(--color-Red);
}

.newsList dd {
    width: calc(100% - calc(90px + 1em));
}

/* ▲▲▲ここまでNewsページと共通 */

@media screen and (max-width: 768px) {

    .topSec--news .topSec__titleBox {
        width: 100%;
    }

    .newsList {
        flex-wrap: wrap;
        gap: 5px;
    }

    .newsList dt, .newsList dd {
        width: 100%;
    }

}

@media screen and (max-width: 521px) {

    .topSec--news {
        margin: 60px auto 0;
    }

}


/*--------------
下層共通
--------------*/

/* kv */

.underKv {
    padding-top: 100px;
    position: relative;
}

.underKv::after {
    content: "";
    display: block;
    width: 100%;
    height: 42%;
    background: url(./img/common/underPage-kvDeco.webp) top no-repeat;
    background-size: cover;
    position: absolute;
    bottom: -1px;
}

.underKv__titleBox {
    max-width: 1440px;
    width: 90%;
    position: absolute;
    left: 50%;
    bottom: 10vw;
    transform: translateX(-50%);
    z-index: 1;
}

.underKv__subTitle.is-animated, .underKv__Title.is-animated {
    color: var(--color-White);
}

.underKv__subTitle {
    font-size: min(3rem, 2.2vw);
    font-weight: var(--font-medium);
}

.underKv__Title {
    font-size: min(12rem, 7vw);
    font-weight: var(--font-bold);
    line-height: 1;
}

.underKv__Title.is-animated::after {
    animation-delay: 0.1s;
}

.underKv__image {
    overflow: hidden;
}

/* mainArea(メインエリア) */

.mainArea--under {
    margin-top: var(--space-100px);
}

.underSec {
    margin: min(var(--space-200px), 15vw) auto;
    scroll-margin-top: var(--space-70px);
}

.underSec:first-of-type {
    margin-top: 0;
}

.underSec:last-of-type {
    margin-bottom: 0;
}

.underSec__title {
    width: fit-content;
    margin-bottom: min(var(--space-80px), 8vw);
    border-bottom: 1px solid var(--color-Red);
    padding: 0 1.5em 10px max(5%, calc((100vw - 1440px) / 2));
    font-size: var(--font-30px);
    font-weight: var(--font-bold);
    line-height: 1;
}

.underSec__inner {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
}

@media screen and (max-width: 1440px) {

    .underKv__titleBox {
        bottom: 8vw;
    }

}

@media screen and (max-width: 768px) {

    /* kv */

    .underKv {
        padding-top: 80px;
    }

    .underKv::after {
        height: 50%;
    }

    .underKv__titleBox {
        bottom: 23%;
    }

    .underKv__subTitle {
        font-size: min(var(--font-20px), 2.4vw);
    }

}

@media screen and (max-width: 521px) {

    /* kv */

    .underKv {
        padding-top: 60px;
    }

    .underKv::after {
        height: 40%;
    }

    .underKv__titleBox {
        bottom: 17%;
    }

    .underKv__subTitle {
        font-size: 1.4rem;
    }

    .underKv__Title {
        font-size: 3.4rem;
    }

    /* mainArea(メインエリア) */

    .mainArea--under {
        margin-top: 30px;
    }

    .underSec__title {
        margin-bottom: 30px;
        font-size: 20px;
    }

}


/*--------------
私たちについて(about)
--------------*/

/* 島根県銑鉄鋳物工業組合とは */

.about__unionContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about__unionContent02 {
    margin-top: min(var(--space-80px), 8vw);
}

.about__unionContent:nth-of-type(even) {
    flex-direction: row-reverse;
}

.about__unionImage {
    width: 50%;
    border-radius: 30px;
    overflow: hidden;
}

.about__unionTextBox {
    width: 45%;
}

.about__unionCopy {
    font-size: min(5rem, 3.5vw);
    font-weight: var(--font-bold);
}

.about__unionCopy span {
    display: block;
}

.about__unionCopy span.is-animated {
    color: var(--color-Red);
}

.about__unionText {
    margin-top: 1em;
    font-size: min(var(--font-20px), 2vw);
    line-height: 1.8;
}

.about__attempt {
    margin: min(var(--space-100px), 10vw) auto 0;
    border-radius: var(--border-radius);
    padding: 5%;
    background-color: rgba(204, 204, 204, 0.4);
}

.about__attempt h4 {
    font-size: min(var(--font-30px), 3vw);
    font-weight: var(--font-bold);
}

.about__attemptInner {
    margin-top: var(--space-30px);
    display: flex;
    justify-content: space-between;
}

.about__attemptItemBox {
    width: 48%;
}

.about__attemptItem {
    margin-top: var(--space-30px);
}

.about__attemptItem:first-of-type {
    margin-top: 0;
}

.about__attempt h5 {
    width: fit-content;
    border-radius: 100px;
    padding: 0.3em 1em 0.4em;
    font-size: min(var(--font-24px), 2.4vw);
    font-weight: var(--font-bold);
    color: var(--color-White);
    background-color: var(--color-Red);
}

.about__attemptDl {
    margin-top: var(--space-20px);
}

.about__attemptDl dt {
    font-size: min(var(--font-20px), 2.2vw);
    font-weight: var(--font-bold);
    color: var(--color-Red);
}

.about__attemptDl dd {
    margin-top: 0.3em;
    font-size: min(var(--font-18px), 2vw);
    letter-spacing: 1px;
}

.about__attemptDl__image, .about__attemptDl__note {
    margin-top: var(--space-10px);
}

/* 代表ごあいさつ */

.underSecContainer {
    background: url(./img/about/about__message-bg4k.webp) center no-repeat;
    background-size: cover;
    padding: 18vw 0;
}

.about__message .underSec__title {
    border-bottom: 1px solid var(--color-White);
    color: var(--color-White);
}

.about__MessageTextBox {
    color: var(--color-White);
}

.about__MessageCopy {
    font-size: min(var(--font-34px), 3.4vw);
    font-weight: var(--font-bold);
}

.about__MessageCopy.is-animated {
    color: var(--color-White);
}

.about__MessageText {
    margin-top: var(--space-30px);
}

.about__MessageTextItem {
    margin-top: 1em;
    font-size: min(var(--font-18px), 2vw);
}

.about__MessageTextItem:first-of-type {
    margin-top: 0;
}

.about__MessageName {
    margin-top: var(--space-30px);
    font-size: min(var(--font-20px), 2vw);
    text-align: right;
}

.about__MessageName span {
    padding-left: 0.5em;
    font-size: 130%;
}

/* 組合概要 */

.about__outlineDl {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5em;
    border-top: 1px solid var(--color-Gray);
    padding-top: 1.5em;
}

.about__outlineDl:first-of-type {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.about__outlineDl dt {
    width: 145px;
    font-size: min(var(--font-24px), 2.4vw);
    font-weight: var(--font-medium);
    color: var(--color-Red);
}

.about__outlineDl dd {
    width: calc(100% - calc(145px + 2em));
    font-size: min(var(--font-20px), 2vw);
    line-height: 1.8;
}

@media screen and (max-width: 1900px) {

    .underSecContainer {
        background: url(./img/about/about__message-bg.webp) center no-repeat;
        background-size: cover;
        padding: 20vw 0;
    }

}

@media screen and (max-width: 1440px) {

    /* 島根県銑鉄鋳物工業組合とは */

    .about__union .underSec__inner {
        width: 100%;
    }

    .about__unionContent01 .about__unionImage {
        border-radius: 0 30px 30px 0;
    }

    .about__unionContent02 .about__unionImage {
        border-radius: 30px 0 0 30px;
    }

    .about__unionTextBox {
        width: 40%;
    }

    .about__unionContent01 .about__unionTextBox {
        margin-right: 5%;
    }

    .about__unionContent02 .about__unionTextBox {
        margin-left: 5%;
    }

    .about__attempt {
        width: 90%;
    }

}

@media screen and (max-width: 1200px) {

    /* 代表ごあいさつ */

    .underSecContainer {
        background-size: cover;
        padding: min(var(--space-200px), 15vw) 0;
    }

}

@media screen and (max-width: 768px) {

    /* 島根県銑鉄鋳物工業組合とは */

    .about__unionContent {
        flex-wrap: wrap;
        gap: 30px;
    }

    .about__unionImage {
        width: 95%;
    }

    .about__unionContent01 .about__unionImage {
        margin-right: 5%;
        border-radius: 0 20px 20px 0;
    }

    .about__unionContent02 .about__unionImage {
        margin-left: 5%;
        border-radius: 20px 0 0 20px;
    }

    .about__unionTextBox {
        width: 90%;
        margin: 0 auto;
    }

    .about__unionCopy {
        font-size: min(5rem, 5vw);
    }

    .about__unionText {
        font-size: min(var(--font-20px), 2.8vw);
    }

    .about__attempt h4 {
        font-size: min(var(--font-30px), 3.8vw);
    }

    .about__attemptInner {
        flex-wrap: wrap;
        gap: 25px;
        margin-top: 25px;
    }

    .about__attemptItemBox {
        width: 100%;
    }

    .about__attempt h5 {
        font-size: min(var(--font-24px), 3.2vw);
    }

    .about__attemptItem {
        margin-top: 25px;
    }

    .about__attemptDl {
        margin-top: 15px;
    }

    .about__attemptDl dt {
        font-size: min(var(--font-20px), 3vw);
    }

    .about__attemptDl dd {
        font-size: min(var(--font-18px), 2.8vw);
    }

    /* 代表ごあいさつ */

    .about__MessageCopy {
        font-size: min(var(--font-34px), 4.2vw);
    }

    .about__MessageTextItem {
        font-size: min(var(--font-18px), 2.8vw);
    }

    .about__MessageName {
        font-size: min(var(--font-20px), 2.8vw);
    }

    /* 組合概要 */

    .about__outlineDl dt {
        width: 125px;
        font-size: min(var(--font-24px), 3.2vw);
    }

    .about__outlineDl dd {
        width: calc(100% - calc(125px + 2em));
        font-size: min(var(--font-20px), 2.8vw);
    }

}

@media screen and (max-width: 521px) {

    /* 島根県銑鉄鋳物工業組合とは */

    .about__unionContent {
        gap: 20px;
    }

    .about__unionCopy {
        font-size: 2.2rem;
    }

    .about__unionText {
        font-size: 1.6rem;
    }

    .about__unionText {
        margin-top: 0.6em;
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .about__attempt {
        margin-top: 30px;
    }

    .about__attempt h4 {
        font-size: 1.8rem;
    }

    .about__attemptInner {
        margin-top: 20px;
    }

    .about__attempt h5 {
        font-size: 1.5rem;
    }

    .about__attemptDl dt {
        font-size: 1.6rem;
    }

    .about__attemptDl dd {
        margin-top: 6px;
        font-size: 1.4rem;
    }

    .about__attemptDl__image, .about__attemptDl__note {
        margin-top: 10px;
    }

    /* 代表ごあいさつ */

    .underSecContainer {
        padding: 22vw 0;
    }

    .about__MessageCopy {
        font-size: 1.8rem;
    }

    .about__MessageTextItem {
        font-size: 1.4rem;
    }

    .about__MessageName {
        font-size: 1.4rem;
    }

    /* 代表ごあいさつ */

    .about__outlineDl {
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 1em;
        padding-top: 1em;
    }

    .about__outlineDl dt, .about__outlineDl dd {
        width: 100%;
    }

    .about__outlineDl dt {
        font-size: 1.5rem;
    }

    .about__outlineDl dd {
        font-size: 1.4rem;
    }

}


/*--------------
組合員企業一覧(members)
--------------*/

.members__listItem {
    margin: 80px auto 0;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.members__listItem:first-of-type {
    margin-top: 0;
}

.members__listTextBox {
    width: 50%;
}

.members__listTitle {
    margin-bottom: var(--space-20px);
    font-size: var(--font-30px);
    font-weight: var(--font-bold);
    line-height: 1.2;
}

.members__listInfo dl {
    border-top: #cccccc 1px solid;
    padding: 1em 0;
    display: flex;
    justify-content: space-between;
}

.members__listInfo dl:last-of-type {
    border-bottom: #cccccc 1px solid;
}

.members__listInfo dt {
    width: 90px;
    font-weight: var(--font-medium);
    color: var(--color-Red);
}

.members__listInfo dd {
    width: calc(100% - calc(90px + 1.5em));
}

.members__listLink a {
    text-decoration: underline;
}

.members__listLink a:hover {
    opacity: 0.5;
}

.members__listImage {
    width: 46%;
    aspect-ratio: 5 / 3;
}

.members__listImage img {
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 768px) {

    .members__listItem {
        flex-wrap: wrap;
        flex-direction: initial;
        gap: 30px;
        margin-top: 100px;
    }

    .members__listInfo dt {
        width: 80px;
    }

    .members__listInfo dd {
        width: calc(100% - calc(80px + 1.5em));
    }

    .members__listTextBox, .members__listImage {
        width: 100%;
    }

}

@media screen and (max-width: 521px) {

    .members__listItem {
        gap: 20px;
        margin-top: 80px;
    }

    .members__listInfo dt {
        width: 70px;
    }

    .members__listInfo dd {
        width: calc(100% - calc(70px + 1.5em));
    }

    .members__listTitle {
        font-size: 1.8rem;
    }

}


/*--------------
お問い合わせフォーム(contact)
--------------*/

.contact-noteList li {
    margin-top: 0.5em;
    padding-left: 1em;
    text-indent: -1em;
    font-size: var(--font-16px);
    font-weight: var(--font-medium);
    line-height: 1.6;
}

.contact-noteList li:first-of-type {
    margin-top: 0;
}

.contact-noteList li::before {
    content: "・";
}

.contactForm {
    margin-top: var(--space-100px);
}

/* エントリーフォーム */

.contactForm dl {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5em;
    border-top: 1px solid var(--color-Gray);
    padding-top: 1.5em;
}

.contactForm dl:first-of-type {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.contactForm dt {
    width: 200px;
    font-size: var(--font-18px);
    font-weight: var(--font-medium);
}

.contactForm dt .required {
    margin-left: var(--space-10px);
    border: 1px solid var(--color-Red);
    border-radius: 5px;
    padding: 0.1em 0.5em 0.2em;
    font-size: var(--font-14px);
    color: var(--color-Red);
}

.contactForm dd {
    width: calc(100% - calc(200px + 2em));
}

.wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1em;
}

/*-- ▼▼▼ここからラジオボタンのstyle --*/

input[type=checkbox], input[type=radio] {
    display: none;
}
input[type=checkbox]:checked+.wpcf7-list-item-label:before, input[type=radio]:checked+.wpcf7-list-item-label:before {
    background-color: var(--color-Red);
    -webkit-box-shadow: inset 0 0 0 3px var(--color-White);
    box-shadow: inset 0 0 0 3px var(--color-White);
}

.wpcf7-list-item-label:before{
    content: "";
    display: inline-block;
    background: var(--color-White);
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    border: 1px solid var(--color-Red);
    border-radius: 50%;
    cursor: pointer;
}

/*-- ▲▲▲ここまでラジオボタンのstyle --*/

.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}

.wpcf7-form-control-wrap input {
    width: 100%;
    height: 50px;
    border-radius: 5px;
    border: none;
    padding: 0 15px;
    font-size: var(--font-18px);
    font-family: var(--font-ZenKakuNew);
}

dd.radio input {
    width: auto;
    height: auto;
}

dd.text-area .wpcf7-form-control-wrap {
    display: block;
}

span.rireki-note {
    font-size: 14px;
}

dd.text-area textarea {
    width: 100%;
    height: 200px;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: var(--font-16px);
    font-family: var(--font-ZenKakuNew);
}

div.submit-area {
    margin-top: var(--space-100px);
}

p.submit-text {
    text-align: center;
    margin-bottom: var(--space-20px);
    font-size: var(--font-18px);
}

p.contactForm-submit {
    text-align: center;
}

input.wpcf7-submit {
    max-width: 400px;
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 100px;
    padding: 0.5em 1em 0.8em;
    background: linear-gradient(90deg, #c8000a 0%, #ff8228 100%);
    font-size: var(--font-24px);
    font-weight: var(--font-medium);
    color: var(--color-White);
    position: relative;
    cursor: pointer;
    transition: 0.5s;
}

input.wpcf7-submit:hover {
    opacity: 0.5;
}

span.wpcf7-spinner {
    display: none;
}

@media screen and (max-width: 768px) {

    .contactForm, div.submit-area {
        margin-top: 50px;
    }

    .contactForm dl {
        flex-wrap: wrap;
        gap: 0.5em;
    }

    .contactForm dt, .contactForm dd {
        width: 100%;
    }

}

@media screen and (max-width: 521px) {

    .contactForm, div.submit-area {
        margin-top: 40px;
    }

    .wpcf7-list-item {
        width: 100%;
    }

}

/* 確認画面 */

.confirm dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5em;
    border-top: 1px solid var(--color-Gray);
    padding-top: 1.5em;
}

.confirm dl:first-of-type {
    margin-top: 0;
    border-top: 0;
    padding-top: 0;
}

.confirm dt {
    width: 195px;
    color: var(--color-Red);
    font-size: var(--font-24px);
    font-weight: var(--font-medium);
}

.confirm dd {
    width: calc(100% - calc(195px + 1.5em));
    font-size: var(--font-20px);
    font-weight: var(--font-medium);
}

.previous {
    text-align: center;
}

.wpcf7-previous {
    border: 0;
    border-bottom: 1px solid var(--color-Red);
    margin-bottom: var(--space-30px);
    font-size: var(--font-16px);
    font-weight: var(--font-medium);
    font-family: var(--font-ZenKakuNew);
    cursor: pointer;
    transition: 0.5s;
}

.wpcf7-previous:hover {
    opacity: 0.5;
}

@media screen and (max-width: 768px) {

    .confirm dl {
        flex-wrap: wrap;
        gap: 0.5em;
    }

    .confirm dt, .confirm dd {
        width: 100%;
    }

}

/* thanks */

.thanks h3 {
    text-align: center;
    font-size: min(5rem, 6.4vw);
    font-weight: var(--font-medium);
}

.thanks-inner, .thanks-note, .button--thanks {
    margin-top: var(--space-50px);
    margin-bottom: var(--space-10px);
}

.thanks-inner {
    width: fit-content;
    margin: var(--space-50px) auto 0;
}

.thanks-inner p {
    margin-top: 0.5em;
}

.thanks-inner p:first-of-type {
    margin-top: 0;
}

.thanks-note {
    background-color: rgba(244, 204, 206, 0.5);
    border-radius: var(--border-radius);
    padding: var(--space-30px);
}

.thanks-note li {
    margin-top: 0.5em;
    padding-left: 1em;
    text-indent: -1em;
}

.thanks-note li:first-of-type {
    margin-top: 0;
}

.thanks-note li::before {
    content: "・";
}

.button--thanks a {
    margin: 0 auto;
}


/*--------------
news
--------------*/

/* archive */

.newsListLink--archive {
    margin-top: 2em;
    padding-top: 2em;
}

.newsList--archive {
    font-size: var(--font-24px);
}

.newsList--archive dt {
    width: 105px;
}

.newsList--archive dd {
    width: calc(100% - calc(105px + 1em));
}

.archive-nav {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: var(--space-100px);
    font-size: var(--font-20px);
    font-weight: var(--font-medium);
}

.archive-nav .wp-pagenavi {
    display: flex;
    justify-content: center;
    gap: 1em;
}

.archive-nav .pages {
    display: none;
}

.archive-nav .page, .wp-pagenavi span.current {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.8em;
    height: 1.8em;
    border-radius: 100px;
}

.archive-nav .page {
    background-color: var(--color-Gray);
    color: var(--color-Black);
}

.wp-pagenavi span.current {
    background-color: var(--color-Red);
    color: var(--color-White);
}

@media screen and (max-width: 768px) {

    .newsListLink--archive {
        margin-top: 1.5em;
        padding-top: 1.5em;
    }

    .newsList--archive {
        font-size: var(--font-20px);
    }

    .newsList--archive dt, .newsList--archive dd {
        width: 100%;
    }

}

/* single */

/*---- 記事ページ ----*/

.single__titleArea {
    padding-bottom: var(--space-40px);
    border-bottom: 1px solid var(--color-Gray);
    margin-bottom: var(--space-40px);
}

.single-date {
    font-size: var(--font-20px);
    font-weight: var(--font-medium);
    color: var(--color-Red);
}

.single__title {
    font-size: var(--font-34px);
    font-weight: var(--font-medium);
}

.single__mainText h1,
.single__mainText h2,
.single__mainText h3,
.single__mainText h4 {
  font-weight: var(--font-bold);
  color: var(--color-Red);
}

.single__mainText h1,
.single__mainText h2 {
  margin-top: 1.5em;
}

.single__mainText h1 {
    border-radius: 10px;
    padding: 1em;
    background-color: var(--color-White);
    font-size: var(--font-24px);
}

.single__mainText h2 {
    border-left: 5px solid var(--color-Red);
    padding: 0.2em 0 0.2em 0.5em;
    font-size: var(--font-24px);
}

.single__mainText h3 {
    margin-top: 1.5em;
    padding-bottom: 0.3em;
    border-bottom: 1px solid var(--color-Red);
    font-size: var(--font-20px);
}

.single__mainText h4 {
    margin-top: 1.2em;
    font-size: var(--font-18px);
}

.single__mainText p {
    margin-top: 0.8em;
    line-height: 1.6;
}

.single__mainText ul {
    margin-top: 1em;
}

.single__mainText ul li {
    margin-top: 0.5em;
    padding-left: 1em;
    position: relative;
}

.single__mainText ul li::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-Red);
    position: absolute;
    top: 11px;
    left: 0;
}

.single__mainText a {
    color: var(--color-Red);
    text-decoration: underline;
}

.single__mainText a:hover {
    opacity: 0.5;
}

.single__mainText strong {
    font-weight: var(--font-bold);
}

.button--single a {
    margin: var(--space-80px) auto var(--space-10px);
}


/*--------------
404
--------------*/

.mainArea--under404 {
    margin-top: var(--space-150px);
}

.page404-container h2 {
    font-size: 150px;
    line-height: 1;
    font-weight: var(--font-medium);
    color: var(--color-Red);
    text-align: center;
}

.page404-text {
    margin-top: var(--space-30px);
    font-size: var(--font-20px);
    line-height: 1.6;
    font-weight: var(--font-medium);
    text-align: center;
}

.page404-button a {
    margin: var(--space-30px) auto 0;
}

@media screen and (max-width: 522px) {

    .page404-container h2 {
        font-size: 100px;
    }

    .page404-text {
        font-size: 1.4rem;
    }

}


/*--------------
footer
--------------*/

.footerContainer {
    margin-top: min(var(--space-300px), 30vw);
    padding: 0 0 var(--space-100px);
    background: url(./img/common/footerContainer-bg.webp) top center no-repeat;
    background-size: cover;
}

/* contact(お問い合わせ) */

.footerContact {
    max-width: 1440px;
    width: 90%;
    margin: 0 auto;
    border-radius: var(--border-radius);
    padding: var(--space-50px);
    background-color: var(--color-White);
}

.footerContact .topSec__titleBox, .footerContact__text {
    text-align: center;
}

.footerContact__text {
    margin: var(--space-30px) 0;
}

.footerContact__list {
    display: flex;
    justify-content: space-between;
}

.footerContact__listItem {
    width: 49%;
}

.footerContact__listItem a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    border-radius: 10px;
    padding: var(--space-30px);
    background-color: #f2f2f2;
}

.footerContact__button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footerContact__buttonIcon {
    width: 2.5em;
    position: relative;

    @media screen and (max-width: 1024px) {
        width: 2em;
    }
}

.footerContact__buttonIcon img {
    transition: all 0.3s;
}

.footerContact__buttonText {
    font-size: min(var(--font-20px), 2vw);
    font-weight: var(--font-medium);
    line-height: 1.2;
}

.footerContact__telNumber {
    font-size: min(var(--font-34px), 3.6vw);
    font-weight: var(--font-medium);
    line-height: 1;
    color: var(--color-Red);
    transition: all 0.3s;
}

.footerContact__telNote {
    margin-top: 0.2em;
    font-size: min(var(--font-18px), 2vw);
    font-weight: var(--font-medium);
    text-align: center;
}

/* ▼▼▼ここからhoverアニメーション */

.footerContact__listItem a:hover {
    background-color: var(--color-Red);
    color: var(--color-White);
}

.footerContact__buttonIcon .hoverIcon {
    position: absolute;
    top: 0;
    left: 0;
}

.footerContact__buttonIcon .hoverIcon, 
.footerContact__listItem a:hover .footerContact__buttonIcon .defaultIcon {
    opacity: 0;
}

.footerContact__listItem a:hover .footerContact__buttonIcon .hoverIcon {
    opacity: 1;
}

.footerContact__listItem a:hover .footerContact__telNumber {
    color: var(--color-White);
}

/* ▲▲▲ここまでhoverアニメーション */

/* information(情報) */

.footerInfo {
    margin-top: var(--space-50px);
    color: var(--color-White);
    text-align: center;
}

.footerInfo__title a {
    font-size: var(--font-30px);
    font-weight: var(--font-medium);
    color: var(--color-White);
}

.footerInfo__title a:hover {
    opacity: 0.5;
}

.footerInfo__addressBox {
    margin-top: var(--space-30px);
}

.footerInfo__addressText {
    font-size: var(--font-20px);
}

.footerInfo__addressButton a {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    border-radius: 100px;
    padding: 0.5em 2.2em 0.8em 1.5em;
    background-color: var(--color-White);
    color: #63747f;
    font-weight: var(--font-medium);
    line-height: 1;
    position: relative;
}

.footerInfo__addressButton a::before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 0.4em solid transparent;
    border-bottom: 0.4em solid transparent;
    border-left: 0.8em solid #63747f;
    border-right: 0;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    transition: all 0.3s;
}

.footerInfo__addressButton a:hover {
    background-color: #63747f;
    color: var(--color-White);
}

.footerInfo__addressButton a:hover::before {
    border-left: 0.8em solid var(--color-White);
}

.footerInfo__menu {
    margin-top: var(--space-50px);
    display: flex;
    justify-content: center;
}

.footerInfo__menu li {
    margin-left: 1.5em;
    border-left: 1px solid var(--color-White);
    padding-left: 1.5em;
}

.footerInfo__menu li:first-of-type {
    margin-left: 0;
    border-left: 0;
    padding-left: 0;
}

.footerInfo__menu li a {
    font-size: min(var(--font-24px), 2.4vw);
    font-weight: var(--font-medium);
    color: var(--color-White);
}

.footerInfo__menu li a:hover {
    opacity: 0.5;
}

.footerInfo__copy {
    margin-top: var(--space-50px);
    font-size: var(--font-14px);
}

@media screen and (max-width: 768px) {

    .footerContainer {
        background: url(./img/common/footerContainer-bgSp.webp) top center no-repeat;
        background-size: cover;
    }

    .footerContact__list {
        flex-wrap: wrap;
        gap: var(--space-20px);
    }

    .footerContact__listItem {
        width: 100%;
    }

    .footerContact__buttonText {
        font-size: min(var(--font-20px), 3vw);
    }

    .footerContact__telNumber {
        font-size: min(var(--font-34px), 5vw);
    }

    .footerContact__telNote {
        font-size: min(var(--font-18px), 2.6vw);
    }

}

@media screen and (max-width: 521px) {

    .footerContact__buttonText {
        font-size: 1.4rem;
    }

    .footerContact__telNumber {
        font-size: 2.4rem;
    }

    .footerContact__telNote {
        font-size: 1.4rem;
    }

    .footerInfo__menu {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 15px;
    }

    .footerInfo__menu li {
        margin-left: 0;
        border-left: 0;
        padding-left: 0;
    }

    .footerInfo__menu li a {
        font-size: 1.6rem;
    }

}