*{
    padding: 0;
    font-display: swap;
}

body {
    display: flex;
    flex-flow: column;
    overflow-x: hidden;
    max-width: 100dvw;
    min-height: 100dvh;
    width: 100%;
    height: auto;
    background: linear-gradient(160deg, white, #fad8d8);
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    font-feature-settings: "palt";
}

h1 {
    width: 100%; /* 必要に応じて調整してください */
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin: 0 auto;
    font-size: clamp(2.5rem, 10vw, 5rem);
    font-weight: bold;
    border-bottom: 10px solid transparent; /* ボーダーの幅を指定 */
    border-image-source: url(/src/img\ folder/under-bar-img.svg); /* SVG画像のパスを指定 */
    border-image-slice: 0 0 100 0; /* 上下左右のスライスを指定、ここでは下のボーダーのみを使う */
    border-image-width: 0 0 clamp(0.3rem, 1vw, 0.5rem) 0; /* 上下左右のボーダー幅を指定、ここでは下のボーダーのみを指定 */
    border-image-outset: 0; /* ボーダーの外側の幅を指定 */
    border-image-repeat: stretch; /* ボーダー画像の繰り返し方法を指定 */
}

.ttl-otherpage h1{
    font-size: clamp(1.2rem, 4vw, 2rem);
}

h2{
    font-size: clamp(1.4rem, 4vw, 1.7rem);
}

h3{
    font-size: clamp(0.6rem, 2vw, 1rem);
}


h5{
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

h6{
    font-weight: 500;
    font-size: clamp(0.8rem, 2vw , 1.1rem);
}

.offer-contact-btn h6{
    font-size: clamp(1.2rem, 2vw , 1.7rem);
}

h5, h3, h2,h6 {
    margin: 0;
}



a {
    color: #000;
    text-decoration: none;
    height: 100%;
    word-wrap:break-word;
}

li > a, div > a {
    height: 100%;
    width: 100%;
    display: inline-block;
    color: #000;
    align-content: center;
}



p{
    margin: 0;
    line-height: 1.5rem;
}

i {
    margin: 0;
}

.btn {
    cursor: pointer;
}

main {
    margin: 0 auto;
    max-width: 1300px;
    width: 100vw;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    transition: opacity 0.2s; /* フェードイン・フェードアウトの速度を設定 */
    opacity: 1;
    z-index: 99;
}

ul {
    padding: 0;
}


/* ----------------------------------------header---------------------------------------- */
/* header背景 */
.header-bg{
    background-color: #ba2126;
    display: flex;
}

.header-wrap{
    height: clamp(6rem, 15vw, 8.75rem);
}

.header-bg{
    height: 100%;
}

.header-bg-white{
    background-color: white;
}

.header-bg-red{
    background-color: #B82126;
}

.item2 {
    height: 85%;
    border-radius: 0 0 clamp(1rem, 5vw, 2rem) clamp(1rem, 5vw, 2rem);
    align-content: center;
}

.item3{
    background-color: white;
}

.red1{
    height: 100%;
    border-radius: 0 clamp(1rem, 5vw, 2rem) 0 0;

}

.red3{
    height: 85%;
    border-radius: clamp(1rem, 5vw, 2rem) 0 0 0;
    align-content: center;
}


.logo-img{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding: 0;
}

.logo-img img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 80%;
}

.contact-link{
    text-align: center;
    align-content: end;
    display: block;
}

/* header背景 〆 */



.nav-bottom-list-item{
    font-size: clamp(0.7rem, 1vw, 1.1rem);
    letter-spacing: 0.04em;
    font-weight: 500;
}


.nav-top-list{
    font-size: clamp(0.9rem, 1vw, 1.1rem);
}

.contact-btn {
    text-align: center;
    margin-left: .7rem;
    cursor: pointer;
}

.nav-bottom-list-item a:hover {
    color: #BA2126;
}

.nav-article-sub-title h4{
    font-size: clamp(1rem, 1vw, 1.2rem);
}

.article-sub-list{
    font-size: clamp(0.8rem, 1vw, 1rem);
}



.contact-letter{
    font-size: clamp(0.7rem, 1vw, 1rem);
    padding-top: clamp(0.3rem, 1vw, 0.5rem);
    color: #fff;
}

.contact-mark{
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-top: clamp(0.5rem, 1vw, 4rem);
}


/* navigation */
ul {
    list-style: none;
}

.nav-wrap {
    flex-basis: 50%;
    box-sizing: border-box;
    height: 100%;
    padding-right: 2rem;
}

.nav-top {
    display: flex;
    height: 2rem;
    justify-content: flex-end;
}

.nav-top-contents {
    background-color: rgba(242, 242, 242, 1);
    width: 60%;
    height: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    border-radius: 0.5rem;
}

.nav-top-list {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 2px;
}

.nav-top-list-item{
    width: 30%;
}

.nav-top-list-item > a{
    display: flex; 
    color: #000;
    border-radius: 10px;
    padding: 0;
    transition: background-color 0.5s;
    justify-content: center;
    align-items: center;
    height: 100%
}

.nav-top-list-item > a:hover {
    background-color: #B82126;
    color: #fff;
    backdrop-filter: blur(1px);
    border-radius: 10px;
    transition: 0.3s ease-in-out;
}

.nav-bottom{
    display: flex;
    justify-content: flex-end;
    margin-top: .85rem;
}

.nav-bottom-contents {
    width: 70%;
    height: 100%;
    align-items: end;
}

.nav-bottom-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    letter-spacing: 0.04em;
    font-weight: 500;
    margin: auto 0;
    padding: 0 0 3px 0;
    font-family: "Zen Maru Gothic", serif;
    font-weight: 500;
}

.nav-bottom-list-item > a{
    display: inline-block;
    display: flex; 
    position: relative;
    color: #000;
    transition:0.2s;
    padding: 0 0 0.2rem 0;
    justify-content: center;
    align-items: center;
    height: 100%
}

.nav-bottom-list-item > a::after{
    content: "";
    display: block;
    border-bottom: 3px solid #ba2126;
    width: 0; /* 初期幅を0に設定 */
    transition: width 0.2s ease-in-out; /* 幅のトランジションを設定 */
    position: absolute; /* 擬似要素の位置を絶対的に設定 */
    bottom: 0; /* 下部に配置 */
    left: 0; /* 左端に配置 */
}

.nav-bottom-list-item > a:hover::after{
    width: 100%;
}


/* nav menu-bar */
.nav-btn {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.menu-circle{
    position: relative;
    border: 4px solid #B82126;
    border-radius: 50%;
    width: clamp(2rem, 5vw, 3.5rem);
    height: clamp(2rem, 5vw, 3.5rem);
    align-content: center;
    margin-right: 1rem;
    margin-top: clamp(1rem, 2vw, 1.5rem);
    cursor: pointer;
}

/* 通常のボタン状態 */
.menu {
	position: relative;
	display: inline-block;
}

.menu span {
	margin: 0 auto;
	position: relative;
	top: 0;
}

.menu span:before, .menu span:after {
	position: absolute;
	content: '';
}

.menu span, .menu span:before, .menu span:after {
    width: clamp(1rem, 4vw, 1.5rem);
    height: clamp(2.5px, 5vw, 4px);
	background-color: #B82126;
	display: block;
}

.menu span:before {
	margin-top: -10px;
}

.menu span:after {
	margin-top: 10px;
}

.example5 span {
	transition-duration: 0s;
	transition-delay: 0.2s;
}

.example5.clicked span {
	background-color: rgba(0,0,0,0.0);
	transition-delay: 0.2s;
}

.example5 span:before {
	transition-property: margin, transform;
	transition-duration: 0.2s;
	transition-delay: 0.2s, 0s;
}

.example5.clicked span:before {
	margin-top: 0;
	transform: rotate(45deg);
	transition-delay: 0s, 0.2s;
}

.example5 span:after {
	transition-property: margin, transform;
	transition-duration: 0.2s;
	transition-delay: 0.2s, 0s;
}

.example5.clicked span:after {
	margin-top: 0;
	transform: rotate(-45deg);
	transition-delay: 0s, 0.2s;
}




/*--------------------------------- nav-sub ---------------------------------- */



.nav-sub-list-item > a::after{
    content: "";
    display: block;
    border-bottom: 3px solid #ba2126;
    width: 0; /* 初期幅を0に設定 */
    transition: width 0.2s ease-in-out; /* 幅のトランジションを設定 */
    position: absolute; /* 擬似要素の位置を絶対的に設定 */
    bottom: 0; /* 下部に配置 */
    left: 50%; /* 左端に配置 */
    transform: translateX(-50%);
}

.nav-sub-list-item > a:hover::after{
    width: 50%;
}


.show-list-logo-box{
    text-align: center;
    margin-top: 2rem;
}

.show-list-logo{
    box-sizing: border-box;
    display: inline-block;
    width: 10rem;
    margin: 0 auto;
}


.header-sub-showList-wrap{
    display: none;
}

/* ーーーーーーーーーーーーーーーーーーーーーーー---------------header 〆------------ーーーーーーーーーーーーーーーーーーーーーーー */

.kv {
    height: 85vh;
    width: 100%;
    position: relative;
    margin-top: clamp(6rem, 15vw, 8.75rem);
}

.motto-box{
    position: absolute;
    display: flex;
    gap: 0 2rem;
    flex-direction: column;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: #fff;
}

.motto-word-box{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    display: flex;
}

.motto-word{
    rotate: -30deg;
    font-size: 2rem;

}

.motto-subtitle{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 3rem;


}

.motto-main-text{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 5rem;

}



.kv-wrap {
    height: 100%;
    width: 100%;
    position: relative;
}

.kv-wrap img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.kv-wrap img:nth-last-child(1){
    object-fit: contain;
}

.active {
    opacity: 1;
    z-index: 1;
}
    .inactive {
    opacity: 0;
    z-index: 0;
}




/* direct-tel */
.direct-tel-btn-box{
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 50;
    width: clamp(5rem, 5vw, 10rem);
    aspect-ratio: 1/1;
    background-color: #B82126;
    border-radius: 50%;
}

.direct-tel-btn-box:hover{
    background-color: #cb2d32;
}

.direct-tel-mark{
    color: #fff;
    font-size: clamp(2rem, 2vw, 4rem);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}



/* 共通要素 */
.about-company:hover,
.service-company:hover {
    background-color: #be4a4e;
    transition: background-color 0.3s;
}



/* about section */

.section {
    margin: 10rem auto 0;
    padding-top: 3rem;
    height: auto;
    align-content: center;
}

.section-content {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 1rem;
    width: 100%;
    height: auto;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.section-ttl-box {
    display: flex;
    align-items: center;
    width: 100%;
}

.section-ttl {
    margin-right: 2rem;
    display: flex;
    flex-flow: column;
    width: auto;
}

.ttl-sub {
    font-family: "Zen Maru Gothic", serif;
    font-weight: bold;
    font-size: clamp(0.7rem, 2vw, 1.2rem);
}

.section-ttl h1 {
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin: 0;
    font-weight: bold;
}



.ttl-bar {
    margin-top: -0.6rem;
    max-height: 15px;
}

.text-box{
    font-family: "Zen Maru Gothic", serif;
    font-weight: 450;
}

.about-text1{
    margin-bottom: 1rem;
    
}

.about-text2{
    margin-bottom: 0.9rem;
    letter-spacing: 0.05rem;
    line-height: 1.8rem;
}

.about-text3{
    letter-spacing: 0.05rem;
    line-height: 1.8rem;
}

.about-text-inside{
    font-weight: bold;
    color: #c75a5e;
}


.about-section{
    height: auto;
    position: relative;
}

.section-content-text {
    position: relative;
    width: 90%;
    padding: 2rem 0;
    margin: 0 auto;
    z-index: 10;
}

.about-atag-box {
    padding-top: 2rem;
}


.company-btn {
    position: relative;
    z-index: 3;
    max-width: 10rem;
    width: 40%;
    height: 3rem;
    background-color: #B82126;
    border-radius: 0.85rem;
    text-align: center;
    align-content: center;
    margin-left: 1rem;
}

.company-btn:hover{
    background-color: #cb2d32;

}

.company-btn h6 {
    color: white;
    font-weight: 500;
}

.about-circle-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    height: 100%;
    z-index: 1;
    align-items: end;
    justify-content: end;
}

.about-circle-big {
    width: 100%;
    aspect-ratio: 1/1;
    position: absolute;
    background: linear-gradient(73deg, rgba(209, 110, 113, 0.3), rgba(184, 33, 38, 0.1));
    border-radius: 50%;
    max-width: 30rem;
}

.about-circle-small {
    width: 100%;
    aspect-ratio: 1/1;
    position: absolute;
    background: linear-gradient(73deg, rgba(209, 110, 113, 0.3), rgba(184, 33, 38, 0.1));
    border-radius: 50%;
    max-width: 9rem;
}

/* toppage-SERVICE */

.service-section{
    height: auto;
}



.service-text1{
    font-size: 1.3rem;
    margin-bottom: 2rem;
}



.service-circle-box {
    position: absolute;
    width: 100%;
    bottom: 0;
    display: flex;
    height: 100%;
    z-index: 0;
    align-items: end;
    justify-content: end;
    margin-top: -5rem;
}

.service-circle-big {
    width: 30rem;
    height: 20rem;
    background: linear-gradient(73deg, rgba(209, 110, 113, 0.3), rgba(184, 33, 38, 0.1));
    border-radius: 50%;
    position: absolute;
}

.service-circle-small {
    width: 8rem;
    height: 15rem;
    background: linear-gradient(73deg, rgba(209, 110, 113, 0.3), rgba(184, 33, 38, 0.1));
    border-radius: 50%;
    position: absolute;
}

.reason-table{
    display: block;
    width: 100%;
    line-height: 1.5rem;
}

.reason-table-list-wrap{
    margin-bottom: 2rem;
}

.reason-table ,.reason-table td ,.reason-table th {
	border-collapse: collapse;
}

.reason-table-list-ttl{
    margin-bottom: 0.5rem;
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    font-weight: 600;
}

.reason-table th {
	background: #f0e6cc;
	width: 100%;
}

.reason-list-number{
    width: 20px;
    font-size: clamp(0.9rem, 4vw, 1.2rem);
    font-weight: 600;
    padding-left: 1rem;

}

.reason-table-list-content{
    display: block;
    font-size: clamp(0.7rem, 4vw, 1rem);
    margin: 1rem 0 3rem;
}

/* news */
.section-content-news {
    background-color: #fff;
    border-radius: 1rem;
    width: 100%;
    height: 30rem;
    margin-top: 2rem;
    display: flex;
}

.campaign-contents-wrap{
    margin-top: 8rem;
    display: none;
}

.news-wrap-ttl{
    font-family: "Zen Maru Gothic", serif;
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #B82126;
}

.news-atag-box{
    display: flex;
    justify-content: right;
}


.news-company h6::after{
    content: ">";
    margin-left: 0.5rem;
}

/* お知らせ　リスト */
.news-contents-list {
    padding: 0;
}

.news-list-item {
    background-color: rgba(255, 255, 255, 0.3);
    margin-top: 0 auto;
    width: 100%;
}

.news-list-link {
    display: block;
    border-bottom: 1px solid rgb(230, 230, 230);
    padding: 1rem 0;
    margin-bottom: 1rem;
    text-align: left;
    color: #000;
}

.news-contents-box {
    width: 90%;
    margin: 0 auto;
}

.news-info {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.news-info-date {
    font-size: 0.8rem;
    color: #ba2126;
}

.news-info-category-container {
    border: 0.1rem solid #bd484c;
    border-radius: 2rem;
    padding: 0 8px;
}

.news-info-category-container p{
    font-size: 8px;
    line-height: 15px;
    color: #B82126;
}

.news-info-category {
    font-size: 0.6rem;
    margin: 0;
}

.news-content-text {
    display: flex;
    font-size: clamp(0.7rem, 4vw, 1.2rem);
    margin: 0;
}

.news-detail-text p{
    line-height: 1.5;

}

.news-detail-text a{
    display: inline-block;
    line-height: 1.5;
    color: rgb(53, 53, 174);
    text-decoration: underline;
    border-bottom: none;
    margin-bottom: 5px;
}

.news-detail-text a:hover{
    color: rgb(108, 108, 198);
    text-decoration: none;
}

.news-accordion-ttl{
    line-height: 1.5;
}

.seminar-container{
    background-color: #fff;
    padding: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.seminar-container:hover {
    background-color: rgba(255, 255, 255, 0.7);
}


.seminar-date{
    font-size: 0.7rem;
    margin: 0.5rem 0 0 0;
    color: #B82126;
}

.news-circle-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    z-index: 1;
    align-items: flex-end;
}

.news-circle-big {
    display: inline-block;
    max-width: 34rem;
    max-height: 34rem;
    border-top-right-radius: 100%; /* 右上の角丸 */
    border-bottom-right-radius: 100%; /* 右下の角丸 */    background: linear-gradient(73deg, rgba(209, 110, 113, 0.3), rgba(184, 33, 38, 0.3));
    position: absolute;
    top: 10rem;
    left: -25rem;
}

.news-circle-small {
    max-width: 15rem;
    max-height: 15rem;
    background: linear-gradient(73deg, rgba(209, 110, 113, 0.3), rgba(184, 33, 38, 0.3));
    border-radius: 50%;
    position: absolute;
    right: 1rem;
    top: 3rem;
}

.seminar-img{
    width: 100%;
    overflow: hidden;
}

.seminar-img > img{
    width: 200%;
    object-fit: cover;
}



/* Staff */

.staff-picture-circle {
    position: relative;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
    filter: drop-shadow(0px 4px 0px #B82126);
}

.staff-picture-circle > img{
    position: absolute;
    width: 100%;
    object-fit: cover;
    scale: 1.1;
}

.yutaro-pic{
    left: 5px;
}

.staff-name-box {
    align-content: center;
    margin-left: 0.5rem;
}

.staff-text {
    background-color: #fff;
    box-sizing: border-box;
    border-radius: 1rem;
    align-items: center;
    text-align: start;
    text-wrap: wrap;
    margin: -1rem auto 0;
    padding: 2rem 1rem;
    width: 90%;
}

.staff-text-box{
    display: flex;
    margin-top: 2rem;
}


.certification-box{
    margin-top: 1.5rem;
    width: 45%;
    margin: 0 auto;
    text-align: center;
}

.hobby-box{
    margin-top: 1.5rem;
    width: 45%;
    margin: 0 auto;
    text-align: center;
}

.staff-list-ttl{
    width: 80%;
    margin: 0 auto 0.5rem;
    padding-bottom: 0.2rem;
    border-bottom: 2px solid rgba(184, 33, 38, 0.3);
    letter-spacing: 0.1rem;
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.staff-list li{
    font-size: clamp(0.74rem, 2vw, 1.1rem);
    padding-bottom: 0.5rem;
}


.staff-career{
    display: inline-block;
    font-weight: 400;
    font-size: clamp(0.74rem, 2vw, 0.9rem);
    width: 100%;
}

.staff-position{
    font-size: clamp(0.4rem, 3vw, 0.7rem);
}


.staff-name{
    font-size: clamp(1.1rem, 3vw, 1.4rem);
}


.staff-name-box > p + p{
    margin-top: 0.5rem;
}


/*------------------------------------------ Footer ------------------------------------------*/

footer {
    background-color: #B82126;
    color: white;
    padding: 4rem 3.5rem;
}

footer a:hover{
    padding-bottom: 1px;
    box-sizing: border-box;
    opacity: 0.8;
}

.footer-container {
    max-width: 100vw;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}


.footer-link{
    color: #fff;
    border-bottom: 1px solid #B82126;
    font-size: clamp(0.8rem, 1vw, 1rem);
}

.footer-link:hover{
    cursor: pointer;
}


.footer-link, .sub-link-branch{
    transition: color 0.3s;
}


.sub-link-branch{
    margin: 0.3rem 0;
    color: #fff;
    border-bottom: 1px solid #B82126;
    font-size: clamp(0.6rem, 1vw, 1rem);

}

.footer-link:hover, .sub-link:hover, .sub-link-branch:hover{
    color: emerald;
    border-bottom-color: #edecec;

}

.footer-bottom-p1{
    font-size: clamp(0.4rem, 2vw, 0.8rem);
}

.footer-bottom-p2{
    margin-top: 2rem;
    font-size: clamp(0.4rem, 2vw, 0.6rem);
}


.supporter-up-box{
    width: 60%;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding: 1rem;
    background-color: #fde7ec;
    margin-bottom: 3rem;
    border: 10px double rgba(156, 1, 1, 0.8);
}

.supporter-up-sub-wrap{
    margin-top: 0.2rem;
    flex-basis: 50%;
}

.supporter-up-logo1{
    flex-basis: 50%;
    display: block;
    object-fit: contain;
    min-width: 100px;
}

.supporter-up-logo2{
    width: 60%;
    min-width: 100px;
    display: block;
}

.supporter-up-logo3{
    width: 100%;
    min-width: 200px;
    display: block;
    margin-top: 0.5rem;
}

.sub-menu{
    display: none;
    font-size: 1rem;
}

.map-image {
    object-fit: cover;
    border-radius: 0.3rem;
}

.supporters {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.supporters-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}


.supporter-img-box{
    display: flex;
    flex-direction: column;
    align-items: center;
}


.supporter-img-box:nth-child(1){
    margin-bottom: 1rem;
}

.supporter-logo {
    height: 100%;
    margin-bottom: 1rem;
    width: 50%;
    min-width: 180px;
    border-radius: 20px;
}

.supporter-logos-sub {
    width: 100%;
}

.supporter-logos-sub a{
    text-align: center;
}

.logo-space{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tag-supporter-img1{
    display: inline-block;
    width: 100%;
    max-width: 300px;
    max-height: 300px;
}



.adress-box{
    padding-bottom: 0.5rem;
}

.tel, .mail{
    color: #fff;
    font-size: clamp(0.6rem, 1vw, 1rem);
}

.tel i, .mail i{
    padding-right: 0.5rem;
}


/*------------------------------------ ホームページ　〆 --------------------------------------*/

/* other-page header */

.other-top-nav{
    margin-top: 2rem;
}

.other-top-nav li{
    font-size: clamp(.6rem 2vw .9rem);
}

/* other */
.ttl-otherpage{
    display: inline-block;
}

.section-ttl-box-otherpage {
    align-items: center;
    text-align: center;
    margin-top: 5rem;
}


.ttl-otherpage h1{
    font-family: Arial, Helvetica, sans-serif;
    color: #B82126;
    margin: 0;
    font-weight: bold;
}

.other-bg{
    justify-content: start;
}


.other-section{
    height: auto;
    margin-top: clamp(6rem, 15vw, 8.75rem);

}
/* other 〆 */

/* -------------------------- 採用情報 -------------------------- */
.recruit-section{
    max-width: 1300px;
    width: 80%;
    height: 100%;
    margin: 0 auto;
    padding: 3rem 0;
}

.recruit-accordion-ttl{
    font-family: "Zen Maru Gothic", serif;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.recruit-detail-table{
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.fukuri-items p + p {
    margin-top: 0.8rem;
}

.fukuri-items p, td > p{
    font-size: clamp(0.55rem, 1vw, 1.1rem);
}

.recruit-detail-text{
    text-align: center;
    font-family: "Zen Maru Gothic", serif;
    width: 75%;
    margin: 0 auto;
}

.recruit-detail-fukuri{
    display: block;
    padding-bottom: 4rem;
}

table.table01 {
    width:80%;
    border-collapse: collapse;
    border: 2px solid rgb(184, 33, 38);
}

table.table01 tbody th {
    color: #fff;
    background-color: #B82126;
    border-bottom:#FFF solid 2px;
    padding:10px 15px;
    vertical-align: middle;
    font-size: clamp(0.8rem, 1vw, 1.2rem);
}


table.table01 tbody tr {
    border:rgb(184, 33, 38,) solid 2px;
}

table.table01 tbody tr:last-child th{
    border-bottom:#B82126 solid 1px;
}

table.table01 tbody td {
    background:#FFF;
    padding:10px 15px;
    border-bottom: 1px solid rgb(184, 33, 38);
    vertical-align:top;
}

.recruit-atag-box{
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.recruit-tel{
    color: #fff;
    font-size: clamp(0.6rem, 2vw, 1.1rem);
}

.tel-mark{
    margin-right: 0.3rem;
}

/* --------------------------------------- Q＆A --------------------------------------- */
/* アコーディオン */
.accordion-wrap{
    margin-bottom: 3rem;
}

.accordion {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;

}

.accordion-section {
    background-color: #edecec;
    margin-bottom: 1rem;
}

.accordion-section-title {
    padding: 1rem 3rem 1rem 1rem;
    background: #fff;
    border-bottom: 2px solid #B82126;
    cursor: pointer;
    position: relative;
    border-radius: 5px;
}

.accordion-section-title.active{
    border-bottom: 4px solid #B82126;
}

.accordion-section-title:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.accordion-section-title.active:after {
    content: "-";
}

.accordion-section-content {
    display: none;
    padding: 1rem 15px;
    background-color: rgb(255 248 248);
    border-radius: 5px;
}

/* --------------------------otherpage service ----------------------------------- */
.service-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 50px;
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 20px;
}

.service-explain-section {
    display: flex;
    justify-content: center;
    width: 80%;
    grid-template-columns: 150px 1fr; /* 画像とテキストを並べるために2列に分ける */
    grid-gap: 20px;
    padding: 40px 0;
    align-items: center;
    margin: 0 auto;
    border-bottom: 2px solid rgba(184, 33, 38, 0.3);
}

.service-explain-section h2 {
    padding-bottom: 1rem;
}

.service-section-image {
    max-width: 400px;
    width: clamp(40%, 2vw, 100%);
    height: auto;
    border-radius: 5px;
}

.service-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ------------------------------------- お取引までの流れ -------------------------------------- */
.workflow-content-box{
    width: 80%;
    margin: 0 auto;
    padding: 3rem;
    text-align: start;
}

.workflow-text-content{
    display: flex;
    justify-content: center;
}

.workflow-ttl-wrap{
    margin-bottom: 5rem;
}

.workflow-ttl{
    margin-top: 0.8rem;
    font-size: clamp(0.7rem, 2vw, 1rem);
    line-height: 1.8;
}

.workflow-number{
    text-align: center;
}

/* -------------------------------お知らせ------------------------------------- */
.seminar-description{
    width: 80%;
    font-size: 0.8rem;
    margin: 0 auto;
}


/* ------------------------------------お役立ち情報 --------------------------------------- */
.explanation-section{
    width: 90%;
    margin: 0 auto;
}

.guide-box{
    display: flex;
    flex-direction: column;
    row-gap: 2rem;
    justify-content: center;
    background-color: #fff;
    width: 60%;
    margin: 3rem auto;
    padding: 1.5rem;
    border-radius: 10px;
}

.guide-box h5{
    padding: 0.5rem 2rem;
    border-bottom: 2px solid #B82126;
    margin: 0 auto;
}

.guide-wrap{
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2vw, 2rem);
    padding: 1rem;
}

.guide-wrap h6{
    width: 45px;
    text-align: left;
    background-color: #B82126;
    color: #fff;
    padding: 0.5rem 1rem 0 0.5rem;
}

.guide-list{
    display: flex;
    flex-direction: column;
    text-align: start;
    justify-content: center;
    width: 15rem;
    row-gap: 1rem;
    border-bottom: 2px solid #B82126;
    padding: 0.5rem;
    font-size: clamp(0.7rem, 2vw, 1rem);
}

.guide-list a:hover{
    color: #565555;
}

.ifa-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    gap: 20px;
    justify-content: center;
    margin: 0 auto 10rem;
}


.ifa-content-section {
    background-color: #fff;
    padding: 3rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: grid;
    gap: 5rem;
}


.ifa-content-box {
    display: grid;
    gap: 2rem;
    width: 80%;
    margin: 0 auto;
}

.demerit-box{
    background-color: #f5f5f5;
}

.ifa-content-title {
    position: relative;
    display: inline-block;
    font-size: 1.5rem;
    margin-top:2rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #B82126;
    color: #B82126;
}

.ifa-content-title::before{
    content: "⚫︎";
    max-width: 10px;
    max-height: 10px;
}

.ifa-content-title::after{
    content: url(./src/img\ folder/NEIGHBOR-favicon-logo.png);
    display: inline-block;
    position: absolute;
    right: -5rem;
    top: -0.1rem;
    height: 0.5rem;
    transform: scale(0.08);
}

.ifa-detail-box {
    border-bottom: 2px solid #e9ecef;
    border-radius: 5px;
    margin-bottom: 3rem;
}

.numbering{
    font-size: 200%;
    margin-right: 0.1rem;
    color: #B82126;
    font-family: serif;
    font-style: italic;
}

.workflow-number{
    font-size: 200%;
    color: #B82126;
    margin-right: 0.5rem;
    font-family: serif;
    font-style: italic;
}


.reason-list-number{
    font-size: 120%;
    padding-right: 1rem;
    color: #B82126;
    font-family: serif;
    font-style: italic;

}

.ifa-box1 {
    display: grid;
    grid-template-columns: 1fr; /* デフォルトでは縦並び */
    gap: 20px; /* 要素間のスペース */
    align-items: center; /* テキストと画像を中央揃え */
    padding-bottom: 1rem;
}

.ifa-box1-text{
    text-align: start;
    font-size: clamp(0.7rem, 2vw, 1rem);
    line-height: 2rem;

}

.ifa-img {
    max-width: 90%;
    min-width: 200px;
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto; /* 中央揃え */
}

.nisa-img{
    display: block;
    margin: 3rem auto 0;
    max-width: 500px;
    width: 80%;
}

.ifa-detail-box h4 {
    font-size: clamp(0.7rem, 2vw, 1.4rem);
    color: #333;
}


.ifa-detail-box p {
    margin: 0;
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: #555;
    padding: 1rem 0.5rem;
}

.inicial-color{
    color: #B82126;
    font-weight: bold;
}

.nisa-table-container {
    max-width: 1000px;
    width: 80;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.nisa-table-container h2 {
    text-align: center;
    font-size: clamp(1.5rem, 2vw, 3rem);
    color: #333;
    margin-bottom: 20px;
}

.nisa-table-container table.nisa-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.nisa-table-container table thead th {
    background-color: #B82126;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.nisa-table-cell{
    border: 0.5px solid #bfbebe;
    padding: 10px;
    text-align: center;
}

.nisa-table-container table tbody td.new-nisa {
    background-color: #fbd6d7;
    color: #333;
}

.nisa-table-container .notes {
    font-size: 12px;
    color: #666;
    margin: 5px 0;
}

.new-nisa-change-color{
    background-color: rgb(252, 226, 226);
}

.nisa-cell-change-color{
    background-color: #B82126;
    color: #fff;
}

.caution-letter{
    padding-left: 3px;
    font-size: 10px;
}

.nisa-border-bottom-none{
    border-bottom: none;
}

.nisa-border-top-none{
    border-top: none;
}

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

.offer-nav-bottom{
    width: 90%;
}

.offer-top-nav{
    margin-top: 1.5rem;
}

.offer-top-nav li{
    font-size: .9rem;
}

rt{
    color: #B82126;
    text-align: center;
}


.section-ttl-box-offer {
    text-align: center;
}

.ttl-offer{
    display: inline-block;
}

.ttl-offer h1{
    font-family: Arial, Helvetica, sans-serif;
    color: #B82126;
    margin: 0;
    font-weight: bold;
}

.offer-section-content{
    background-color: #fff;
    border-radius: 1rem;
    width: 80%;
    max-width: 1300px;
    height: auto;
}

.offer-check{
    text-align: center;
}

.offer-check ruby{
    font-size: clamp(0.9rem, 3vw, 1.9rem);
}

.triangle {
    background-color: #B82126;
    rotate: 180deg;
    clip-path: polygon(50% 0,100% 100%,0 100%);;
    margin: 0 auto;
}

.offer-check label{
    font-size: 2rem;
}


input[type=checkbox].offer-check-box {
    position: relative;
    border: 3px solid #B82126;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 1.5px;
}

input[type=checkbox].offer-check-box:before,input[type=checkbox].offer-check-box:after {
    position: absolute;
    content: "";
    transition: all .2s ease-in-out;
}

input[type=checkbox].offer-check-box:checked:before {
    position: absolute;
    transform: rotate(47deg);
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    content: '';
}

input[type="checkbox"].offer-check-box:checked{
    background-color: #B82126;
}


/* 複数選択 */
input[type="checkbox"].detail-radio {
    position: absolute;
    top: 55%;
    left: 0;
    transform: translateY(-45%);
    border: 1px solid #B82126;
    border-radius: 50%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

input[type="checkbox"].detail-radio:checked:before {
    transform: scale(1);
}
input[type="checkbox"].detail-radio:before {
    content: "";
    display: block;
    transform: scale(0);
    transition: all ease-out 250ms;
}
red,input[type="checkbox"].detail-radio{
    border: 2px solid #B82126;
}
input[type="checkbox"].detail-radio:checked:before {
    background: #B82126;
}



.offer-discription{
    position: relative;
    display: inline-block;
}

#hozin-form{
    display: none;
}
/* 
.offer-hozin{
    display: none;
}

.hozin-detail-box{
    display: none;
}

.offer-item-box-hozin{
    display: none;
} */

.offer-item-wrap{
    width: 100%;
}

.offer-item-box{
    width: 70%;
    margin: 0 auto;
}

.offer-discription > h2{
    font-size: clamp(1rem, 2vw, 1.5rem);
    margin-left: 2rem;
}


.offer-discription > h2:before{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    content: "";
    border-radius: 5px;
    background-color: #B82126;
    position: absolute;
    width: clamp(1rem, 2vw, 1.4rem);
    height: clamp(1rem, 2vw, 1.4rem);
}


.offer-radio-box{
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: "Zen Maru Gothic", serif;
    font-size: clamp(0.9rem, 2vw, 1.4rem);
    font-weight: 450;
    align-content: center;
}


.radio-wrap{
    position: relative;
    display: grid;
    grid-auto-flow:column;
    align-items: center;
}


/* radio */
input[type=radio] {
    position: absolute;
    top: 55%;
    left: 0;
    transform: translateY(-45%);
    border: 1px solid #B82126;
    border-radius: 50%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

input[type=radio]:checked:before {
    transform: scale(1);
}
input[type=radio]:before {
    content: "";
    display: block;
    transform: scale(0);
    transition: all ease-out 250ms;
}
red,input[type=radio]{
    border: 2px solid #B82126;
}
input[type=radio]:checked:before {
    background: #B82126;
}



.hoken-box, .kozin-other-box, .hozin-other-box, .hozin-fukuri-box, .hozin-sozoku-box, .hozin-minaoshi-box{
    display: none;
}

label{
    cursor: pointer;
}

.radio-label{
    display: inline-block;
    margin-left: 1.8rem;
}

.detail-text{
    display: inline-block;
}

.choose-custom-box{
    width: 100%;
    padding: 1rem 0 0;
    border-bottom: 3px solid #B82126;
}

.choose-custom{
    display: flex;
    justify-content: space-around;
}


.customer-item-ttl{
    width: 100%;
    display: flex;
    flex-flow: column;
}

.customer-text-wrap{
    width: 100%;
}

.customer-text-wrap > h2{
    display: flex;
    align-items: center;
}

.require-message{
    display: inline-block;
    height: 0.7rem;
    width: 1.5rem;
    border: 1.5px solid #B82126;
    border-radius: 1rem;
    text-align: center;
    color: #B82126;
    padding: 0.1rem;
    font-size: 0.5rem;
    margin-left: 0.7rem;
}

.customer-info-text{
    box-sizing: border-box;
    border: 1px solid #B82126;
    background-color: rgba(240, 156, 158, 0.1);
}

.submit-btn{
    display: block;
    max-width: 30%;
    min-width: 180px;
    background-color: #fff;
    color: #B82126;
    border: 2px solid #B82126;
    border-radius: 10rem;
    box-sizing: border-box;
    font-size: 1rem;
}

.submit-btn:hover{
    background-color: #B82126;
    color: #fff;
    transition: all ease-in-out .2s;
}

/* メール受け付けました */
.email-container{
    width: 80%;
    margin: 0 auto;
    text-align: center;
    padding: 10rem 0;
}

.email-container h2{
    margin-top: 3rem;
}

.email-container img{
    display: inline-block;
    margin: 0 auto;
    max-width: 200px;
    min-width: 150px;
    width: clamp(30%, 4vw, 100%);

}

/* 個人情報・プライバシーポリシー */
.promise-container{
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 80%;
    margin: 0 auto;
}

.promise-container h5{
    margin-bottom: 1rem;
}

table.minimalistBlack {
    border: 3px solid #000000;
    width: 70%;
    text-align: left;
    border-collapse: collapse;
    margin: 0 auto;
}
table.minimalistBlack td, table.minimalistBlack th {
    border: 1px solid #000000;
    padding: 3px 5px;
}
table.minimalistBlack tbody td {
    font-size: 13px;
}
table.minimalistBlack tfoot td {
    font-size: 14px;
}

/* -------------------------------------- 会社概要 -------------------------------------- */

.company-container {
    width: 70%;
    margin: 20px auto 10rem;
    padding: 20px;
    border-radius: 10px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    border: 1px solid #515050;
    background-color: #fff;
    padding: 20px;
    text-align: left;
}

.company-table th {
background-color: #B82126;
color: #fff;
}

.company-list-items li{
    margin-bottom: 0.5rem;
}

.contact-info {
    margin-top: 20px;
}

.contact-info p {
    margin: 5px 0;
}

/* other-contact-btn */
.other-contact-btn{
    display: block;
    margin: 0 auto;
    max-width: 400px;
    width: 70%;
    margin-bottom: 3rem;
}




/* --------------------レスポンシブ------------------------------------------- */

/* footer res */
@media (min-width: 768px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .space-y-4{
        font-size: 0.9rem;
    }

    .sub-menu {
        margin-left: 1rem;
        margin-top: 0.5rem;
    }

    .supporters{
        text-align: start;
    }

    .supporter-logo {
        width: 100%;
    }
    

    .supporter-logos-sub {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 300px;
        gap: 0.5rem;
        box-sizing: none;
        padding: 1rem 0 1rem;
    }

    .supporter-logo{
        box-shadow: 1px 1px 3px #000;
    }

    .supporter-img1, .supporter-img{
        width: 60%;
        background-color: #fff;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 1px 1px 3px #000;
    }
    

    .footer-page-trip{
        display: flex;
        flex-direction: column;
        gap: clamp(2.5rem, 4vw, 2.8rem) 0;
        padding-left: 15%;
        padding-top: 1rem;
        color: #fff;
        
        text-align: start;
    }


    .footer-contact-box{
        padding-top: 1rem;
    }


    .footer-contact-wrap p{
        text-align: center;
        align-content: center;
        padding: 0.2rem 0;
    }

    .map-image{
        width: 80%;
        display: block;
        margin: 0 auto;
        padding-bottom: 1rem;
    }

    /* ifa explanation-html */
    .ifa-container {
        grid-template-columns: 1fr;
    }

    .ifa-content-section {
        grid-template-columns: 1fr;
    }

    .ifa-content-box {
        grid-template-columns: 1fr;
    }

    .ifa-detail-box {
        grid-template-columns: 1fr 1fr; /* 2列のグリッド */
    }

    .ifa-detail-box > p, .ifa-detail-box > img {
        width: 100%; /* テキストと画像の幅を合わせる */
    }

    .numbering{
        margin-right: 1rem;
    }

}

@media (max-width: 767px){
    footer {
        background-color: #B82126;
        color: white;
        padding: 1rem 2rem;
    }

    .supporter-up-box{
        margin-top: 2rem;
        margin-bottom: 0;
    }

    .space-y-4{
        text-align: center;
    }

    .supporters{
        text-align: center;
    }

    .supporter-logos-sub {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        gap: 1rem;
        box-sizing: none;
        padding: 1rem 0 1rem;
        margin: 0 auto;
    }

    .supporter-img1, .supporter-img{
        width: 100%;
        min-width: 100px;
        max-width: 150px;
        background-color: #fff;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 1px 1px 3px #000;
    }

    .tag-supporter-img1{
        display: none;
    }


    .footer-page-trip{
        display: flex;
        flex-direction: column;
        gap: 2rem 0;
        color: #fff;
        text-align: center;
    }

    .footer-contact-box{
        padding-top: 0;
    }


    .supporter-logos{
        justify-content: center;
        margin-top: 1rem;
    }

    .footer-contact-wrap p{
        text-align: center;
        padding: 0.2rem 0;
    }


    .map-image{
        width: 80%;
    }

    .tel, .mail{
        font-size: clamp(0.7rem, 2vw, 1.5rem);
    }

    /* recruit */

    .recruit-detail-text{
        width: 80%;
    }

    table.table01 tbody th {
        display:block;
        padding:10px 15px;
        vertical-align:top;
        text-align: start;
        font-size: clamp(0.8rem, 1vw, 1.2rem);
        border: none;
        border-bottom: 1px solid #B82126;
    }
    table.table01 tbody td {
        display:block;
        text-align: start;
        background:#FFF;
        padding:15px 15px;
        vertical-align:top;
    }

    table.table01 {
        width:90%;
        border-collapse: collapse;
    }
    
    table.table01 tbody tr {
        border:rgba(184, 33, 38, 0.7) solid px;
    }

}


/* res Setting */

.seminar-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seminar-img img:hover{
    width: 105%;
    height: 105%;

}

/* seminer-wrap 例外 */
@media screen and (min-width: 878px){
    .section-content-staff {
        border-radius: 1rem;
        width: 90%;
        height: auto;
        margin: 2rem auto 5rem;
        padding: 1rem 0;
        display: flex;
        justify-content: space-between;
    }

    .staff-wrap {
        margin: 0 auto 3rem;
        width: 50%;
        justify-content: center;
    }

    .seminar-wrap {
        display: flex;
        flex-flow:row wrap;
        column-count: 2;
        justify-content: space-between;
        margin: 0 auto;
        padding: 0;
    }

    
    .seminar-container {
        width: 45%;
        min-width: 300px;
        margin: 1rem 0.5rem;
        height: auto;
        box-sizing: border-box;
        text-align: center;
    }

    .seminar-img {
        position: relative;
        background-color: #fff;
        width: 100%;
        min-width: 300px;
        height: 12rem;
        margin: 0 auto;
    }


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

    .seminar-description{
        display: inline-block;
        max-width: 300px;
    }

    .plofile {
        display: flex;
        padding-left: clamp(1rem, 2vw, 3rem);
        margin-top: 1rem;
    }
    


    .staff-picture-circle {
        width: 7rem;
        height: 7rem;
    }

}

@media screen and (max-width: 878px){
    .staff-career-box{
        width: 85%;
        margin: 0 auto;
    }
}

/* res */
@media screen and (min-width: 1200px){
    /* header */
    main{
        max-width: 1200px;
    }

    .item1 {
        flex-basis: 25%;
    }

    .item2 {
        flex-basis: 60%;
    }

    .item3{
        flex-basis: 15%;
    }
    /* nav */
    .nav-wrap {
        padding-right: 2rem;
        padding-top: 2rem;
    }

    .nav-top-contents {
        width: 60%;
    }

    .nav-top-list-item{
        width: 30%;
    }


    .nav-top-list-item > a:hover {
        border-radius: 10px;
    }

    .nav-bottom{
        margin-top: 0.85rem;
    }

    .nav-bottom-contents {
        width: 70%;
        height: 100%;
    }

    .nav-bottom-list-item > a{
        transition:0.2s;
        padding: 0 0 0.2rem 0;
        height: 100%
    }

    .nav-article-sub-title h4 {
        font-size: 1.2rem;
    }

    .article-sub-list {
        font-size: 1rem;
    }



/* contents */

    .section {
        max-width: 1500px;
        width: 70%;
    }

    .section-ttl h1 {
        -webkit-text-stroke: 0.3rem #B82126;
    }


    .about-circle-box {
        margin-top: -5rem;
        margin-left: 3rem;
    }
    
    
    .about-circle-big {
        scale: 0.9;
    }
    
    .about-circle-small {
        bottom: 1rem;
        right: 20rem;
        scale: 0.9;
    }

    
    .service-circle-big {
        scale: 0.9;
    }
    
    .service-circle-small {
        top: 5rem;
        scale: 0.9;
    }


    .service-atag-box{
        display: flex;
        gap: 2rem;
        justify-content: left;
    }

    /* seminar */
    .section-content-staff {
        border-radius: 1rem;
        width: 90%;
        height: auto;
        margin: 2rem auto 5rem;
        padding-top: 1rem;
        display: flex;
        justify-content: space-between;
    }

    .staff-wrap {
        margin: 0 auto 3rem;
        width: 50%;
        justify-content: center;
    }

    .seminar-wrap {
        display: flex;
        flex-flow:row wrap;
        column-count: 3;
        justify-content: space-between;
        padding: 0;
    }
    
    .seminar-container {
        width: 30%;
        height: auto;
        box-sizing: border-box;
        text-align: center;
    }

    .seminar-img {
        position: relative;
        background-color: #fff;
        width: 300px;
        height: 12rem;
        margin: 0 auto;
    }

    .seminar-img > img{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        object-fit: contain;
    }


    .seminar-description{
        display: inline-block;
        max-width: 300px;
    }
    
    .plofile {
        display: flex;
        margin-top: 1rem;
    }

    .staff-picture-circle {
        width: 8rem;
        height: 8rem;
    }


    /* Q&A */
    .ttl-qa h1{
        font-size: 3rem;
    }

    .accordion-section-title{
        font-size: 1.2em;
    }

}

@media screen and (max-width: 1199px){
    /* header */
    .item1 {
        flex-basis: 25%;
    }

    .item2 {
        flex-basis: 60%;
    }

    .item3{
        flex-basis: 15%;
    }
    /* nav */
    .nav-wrap {
        padding-right: 2rem;
        padding-top: 2rem;
    }

    .nav-article-sub-title h4 {
        font-size: 1rem;
    }
    
    .article-sub-list {
        font-size: 0.8rem;
    }


    /* contents */
    .section-ttl h1 {
        -webkit-text-stroke: 0.25rem #B82126;
    }

    .section {
        width: 80%;
    }

    .about-circle-box {
        width: 100%;
        height: 100%;
    }
    
    .about-circle-big {
        scale: 0.8;
        bottom: -2rem;
        right: -4rem;
    }
    
    .about-circle-small {
        scale: 0.8;
        right: 15rem;
    }

    .service-circle-big {
        scale: 0.9;
    }
    
    .service-circle-small {
        scale: 0.9;
        top: 5rem;
    }

    .service-atag-box{
        display: flex;
        gap: 2rem;
        justify-content: left;
    }


    .seminar-img > img{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        object-fit: contain;
    }


}

@media screen and (min-width: 1025px) {
    /* nav-sub */
    .nav-sub-wrap{
        width: 100%;
        display: none;
    }
    
    .nav-sub-contents{
        width: 72%;
        margin: 0 auto;
    }
        
    
    .nav-article-sub-box{
        margin: 0 auto;
        display: flex;
        height: 100%;
        background: #fff;
        margin: 0 auto;
        border-radius: 0 0 0.5rem 3rem;
        border: 0.6rem solid #ba2126;
        border-top: none;
    }
    
    .nav-article-sub-title{
        width: 30%;
        background-color: #ba2126;
        border-radius: 0 0 0 2rem;
        text-align: center;
        align-content: center;
        padding: 1rem 0;
    }
    
    .nav-article-sub-title h4{
        font-size: 1.2rem;
        padding-bottom: 0.5rem;
        color: #fff;
        margin: 0;
    }
    
    .nav-article-sub-title p{
        margin: 0;
        color: #fff;
    }
    
    
    .article-sub-list {
        width: 70%;
        display: flex;
        justify-content: space-around;
        font-weight: 500;
        margin: auto 0 ;
        padding: 0 0 3px 0;
        font-family: "Zen Maru Gothic", serif;
        font-weight: 500;
    }
    
    .article-sub-list-item > a{
        display: inline-block;
        display: flex; 
        position: relative;
        color: #000;
        transition:0.2s;
        padding: 0 0 0.2rem 0;
        justify-content: center;
        align-items: center;
        height: 100%
    }
    
    .article-sub-list-item > a::after{
        content: "";
        display: block;
        border-bottom: 3px solid #ba2126;
        width: 0; /* 初期幅を0に設定 */
        transition: width 0.2s ease-in-out; /* 幅のトランジションを設定 */
        position: absolute; /* 擬似要素の位置を絶対的に設定 */
        bottom: 0; /* 下部に配置 */
        left: 0; /* 左端に配置 */
    }
    
    .article-sub-list-item > a:hover::after{
        width: 100%;
    }
/* nav menu-bar */
    .nav-btn {
        display: none;
    }

    /* offer */
    .radio-btn{
        top: 8px;
        left: 0;
    }
    
    .detail-radio{
        top: 2px;
        left: 0px;
    }
    
    .customer-radio{
        top: 12px;
        left: 2px;
    }

    rt{
        font-size: 60%;
    }
    
    
    .offer-top-nav{
        margin-top: 1.5rem;
    }
    
    .offer-top-nav li{
        font-size: .9rem;
    }
    
    .offer-nav-bottom{
        width: 80%;
    }
    
    .ttl-offer h1{
        font-size: 3rem;
    }
    
    .ttl-sub-offer{
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .ttl-bar-offer {
        margin-top: -0.6rem;
        max-height: 15px;
    }
    
    .offer-section-content{
        border-radius: 1rem;
        width: 80%;
        max-width: 1300px;
        height: auto;
        margin: 2rem auto 2rem;
        padding: 4rem 0 2rem;
    }
    
    .offer-check{
        padding-bottom: 2rem;
    }
    
    .triangle {
        width: 5rem;
        height: 1rem;
        background-color: #B82126;
    }
    
    .offer-check label{
        font-size: 2rem;
    }
    
    
    input[type=checkbox].offer-check-box {
        width: 2rem;
        height: 2rem;
        border: 3px solid #B82126;
        border-radius: 5px;
        vertical-align: -5px;
        margin: 1.5px;
    }
    
    input[type=checkbox].offer-check-box:before,input[type=checkbox].offer-check-box:after {
        transition: all .2s ease-in-out;
    }
    
    input[type=checkbox].offer-check-box:checked:before {
        transform: rotate(47deg);
        width: 9px;
        height: 13px;
        top: 4px;
        left: 7px;
        border-right: 3px solid #fff;
        border-bottom: 3px solid #fff;
        content: '';
    }
    
    input[type="checkbox"].offer-check-box:checked{
        background-color: #B82126;
    }
    
    .offer-item-box {
        margin-top: 2rem;
    }
    
    .offer-item-box + .offer-item-box{
        margin-top: 5rem;
    }
    
    
    
    .offer-radio-box{
        width: 80%;
        margin: 2rem auto 0;
    }
    
    
    input[type="checkbox"].detail-radio {
        border: 1px solid #B82126;
        border-radius: 50%;
    }
    
    input[type=checkbox].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=checkbox].detail-radio:before {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 3px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=checkbox].detail-radio{
        border: 2px solid #B82126;
    }
/*  */
    input[type="radio"].detail-radio {
        border: 1px solid #B82126;
        border-radius: 50%;
    }
    
    input[type=radio].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=radio].detail-radio:before {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 3px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=radio].detail-radio{
        border: 2px solid #B82126;
    }

/*  */

    
    .choose-custom-box{
        width: 100%;
        border-bottom: 3px solid #B82126;
    }
    
    .choose-custom{
        display: flex;
        width: 15rem;
        margin: 0 auto 1rem;
        font-size: 1.7rem;
        font-weight: 500;
    }
    
    .customer-items{
        margin: 3rem auto 0;
    }
    
    .customer-item-ttl{
        width: 100%;
    }
    
    .customer-text-wrap{
        width: 100%;
        margin: 1rem 0;
    }
    
    .customer-text-wrap > h2{
        padding-left: 1rem;
    }
    
    .customer-info-text{
        width: 100%;
        height: 3rem;
        border: 1px solid #B82126;
        background-color: rgba(240, 156, 158, 0.1);
        border-radius: 2rem;
        font-size: 1.5rem;
        margin-top: 0.5rem;
        padding:0 3rem;
    }
    
    .submit-btn{
        background-color: #fff;
        color: #B82126;
        border: 2px solid #B82126;
        border-radius: 10rem;
        margin: 2rem auto 0;
        width: 20rem;
        height: 3rem;
        font-size: 1.4rem;
    }
    
    .submit-btn:hover{
        background-color: #B82126;
        color: #fff;
        transition: all ease-in-out .2s;
    }
}


@media screen and (max-width: 1024px) {
    /* nav */
    .nav-wrap {
        display: none;
    }

    
    .contact-link{
        text-align: center;  
        display: block;
        line-height: 1.5rem;
        width: 100%;
    }

    .contact-letter{
        display: none;
    }


    /* nav-sub none */
    .nav-sub-wrap{
        display: none;
    }


    /* バーガー押したら開くやつ */
    .header-sub-showList-wrap{
        display: none;
        width: 100vw;
        height: 100vh;
        background-color: #BA2126;
        position: fixed;
        z-index: 98;
    }
        
    .header-sub-showList a{
        position: relative;
        width: 80%;
        padding-bottom: 0.5rem;
    }
    

    .header-sub-showList{
        background-color: #fff;
        width: 86%;
        height: auto;
        display: flex;
        flex-direction: column;
        margin: 5rem auto 0;
        border-radius: 1rem;
        text-align: center;
        box-sizing: border-box;
        padding: 2rem;
        border: 4mm ridge rgba(215, 10, 10, 0.9);
        row-gap: 2rem;
        font-size: 0.9rem;
    }

    /* contents */
    .section {
        width: 80%;
    }


    .about-circle-box {
        bottom: 0;
        width: 100%;
        height: 100%;
    }
    
    .about-circle-big {
        scale: 0.7;
        bottom: -3rem;
        right: -5rem;
    }
    
    .about-circle-small {
        scale: 0.8;
        bottom: 1rem;
        right: 14rem;
    }


    .service-circle-big {
        scale: 0.7;
        right: -3rem;
    }
    
    .service-circle-small {
        scale: 0.7;
        top: 7rem;
    }


    .service-atag-box{
        display: flex;
        gap: 2rem;
        justify-content: left;
    }

    /* offer */
    .radio-btn{
        top: 5px;
        left: 3px;
    }
    
    .detail-radio{
        top: 2px;
        left: 4px;
    }
    
    .customer-radio{
        top: 12px;
        left: 2px;
    }

    rt{
        font-size: 60%;
    }
    
    .offer-top-nav{
        margin-top: 1.5rem;
    }
    
    .offer-top-nav li{
        font-size: .9rem;
    }
    
    .offer-nav-bottom{
        width: 80%;
    }
    
    .ttl-offer h1{
        font-size: 3rem;
    }
    
    .ttl-sub-offer{
        font-size: 1.1rem;
        font-weight: 500;
    }
    
    .ttl-bar-offer {
        margin-top: -0.6rem;
        max-height: 15px;
    }
    
    .offer-section-content{
        border-radius: 1rem;
        width: 80%;
        max-width: 1300px;
        height: auto;
        margin: 2rem auto 2rem;
        padding: 3rem 0 2rem;
    }
    
    .offer-check{
        padding-bottom: 2rem;
    }
    
    .triangle {
        width: 5rem;
        height: 1rem;
        background-color: #B82126;
    }
    
    
    
    input[type=checkbox].offer-check-box {
        width: 1.5rem;
        height: 1.5rem;
        border: 3px solid #B82126;
        border-radius: 5px;
        vertical-align: -5px;
        margin: 1.5px;
    }
    
    input[type=checkbox].offer-check-box:before,input[type=checkbox].offer-check-box:after {
        transition: all .2s ease-in-out;
    }
    
    input[type=checkbox].offer-check-box:checked:before {
        transform: rotate(47deg);
        width: 7px;
        height: 11px;
        top: 1px;
        left: 4px;
        border-right: 3px solid #fff;
        border-bottom: 3px solid #fff;
        content: '';
    }
    
    input[type="checkbox"].offer-check-box:checked{
        background-color: #B82126;
    }
    
    .offer-item-box {
        margin-top: 2rem;
    }
    
    .offer-item-box + .offer-item-box{
        margin-top: 5rem;
    }

    
    
    .offer-radio-box{
        width: 80%;
        margin: 2rem auto 0;
    }
    
    
    input[type="checkbox"].detail-radio {
        border: 1px solid #B82126;
        border-radius: 50%;
    }
    
    input[type=checkbox].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=checkbox].detail-radio:before {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 3px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=checkbox].detail-radio{
        border: 2px solid #B82126;
    }

    /*  */
    input[type="radio"].detail-radio {
        border: 1px solid #B82126;
        border-radius: 50%;
    }
    
    input[type=radio].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=radio].detail-radio:before {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        margin: 3px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=radio].detail-radio{
        border: 2px solid #B82126;
    }

    /*  */
    
    
    .choose-custom-box{
        width: 100%;
        border-bottom: 3px solid #B82126;
    }
    
    .choose-custom{
        display: flex;
        width: 15rem;
        margin: 0 auto 1rem;
        font-size: 1.7rem;
        font-weight: 500;
    }
    
    .customer-items{
        margin: 3rem auto 0;
    }
    
    .customer-item-ttl{
        width: 100%;
    }
    
    .customer-text-wrap{
        width: 100%;
        margin: 1rem 0;
    }
    
    .customer-text-wrap > h2{
        padding-left: 1rem;
    }

    
    .customer-info-text{
        width: 100%;
        height: 3rem;
        border: 1px solid #B82126;
        background-color: rgba(240, 156, 158, 0.1);
        border-radius: 2rem;
        font-size: 1.5rem;
        margin-top: 0.5rem;
        padding:0 3rem;
    }
    
    .submit-btn{
        background-color: #fff;
        color: #B82126;
        border: 2px solid #B82126;
        border-radius: 10rem;
        margin: 2rem auto 0;
        width: 20rem;
        height: 3rem;
        font-size: 1.4rem;
    }
    
    .submit-btn:hover{
        background-color: #B82126;
        color: #fff;
        transition: all ease-in-out .2s;
    }

}

@media screen and (max-width: 899px){
    /* header */
    .item1 {
        flex-basis: 30%;
    }

    .item2 {
        flex-basis: 50%;
    }

    .item3{
        flex-basis: 20%;
    }

    /* nav */
    .nav-wrap {
        display: none;
    }

    
    .contact-link{
        text-align: center;  
        display: block;
        line-height: 1.5rem;
        width: 100%;
    }

    .contact-letter{
        display: none;
    }

    
    
    .menu-circle{
        border: 3px solid #B82126;
    }

    .menu span, .menu span:before, .menu span:after {
        height: 3px;
    }

    .menu span:before {
        margin-top: -8px;
    }
    
    .menu span:after {
        margin-top: 8px;
    }
    
    

    /* kv */
    .kv{
        height: 50vh;
    }

    /* 下の電話マーク */
    .direct-tel-btn-box{
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 50;
        width: clamp(5rem, 5vw, 10rem);
        aspect-ratio: 1/1;
        background-color: #B82126;
        border-radius: 50%;
    }
    
    .direct-tel-btn-box:hover{
        background-color: #cb2d32;
    }
    
    .direct-tel-mark{
        color: #fff;
        font-size: clamp(2rem, 2vw, 4rem);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }
    


    /* contents */
    .section-ttl h1 {
        -webkit-text-stroke: 0.2rem #B82126;
    }

    .section-ttl-box{
        width: auto;
    }

    
    .about-circle-box {
        bottom: 0;
        width: 100%;
        height: 100%;
    }
    
    .about-circle-big {
        scale: 0.6;
        bottom: -3rem;
        right: -3rem;
    }
    
    .about-circle-small {
        scale: 0.6;
        left: 3rem;
    }

    .service-circle-big {
        scale: 0.5;
        right: -7rem;
    }
    
    .service-circle-small {
        scale: 0.5;
        right: -2rem;
        top: 8rem;
    }

    .service-atag-box{
        display: flex;
        gap: 0.5rem;
        justify-content: left;
    }

    /* seminar-wrap */
    .section-content-staff {
    border-radius: 1rem;
    width: 100%;
    height: auto;
    margin: 2rem auto 5rem;
    padding: 1rem 0;
    }

    .staff-wrap {
        margin: 0 auto 3rem;
        width: 100%;
        justify-content: center;
    }
    
    .seminar-container {
        min-width: 150px;
        max-width: 300px;
        margin: 2rem auto;
        text-align: center;
    }

    .seminar-wrap {
        padding: 0;
    }

    .seminar-img {
        position: relative;
        background-color: #fff;
        width: 100%;
        min-width: 200px;
        height: 12rem;
        margin: 0 auto;
    }

    .plofile {
        display: flex;
        margin-top: 1rem;
        margin-left: 3rem;
    }

    .staff-picture-circle {
        width: 7rem;
        height: 7rem;
    }

    .staff-name-box {
        margin-left: 0.5rem;
    }

    /* footer */
    .supporter-up-box{
        width: 70%;
        border: 10px double rgba(156, 1, 1, 0.8);
    }
    
    .supporter-up-logo1{
        flex-basis: 50%;
        display: block;
        object-fit: contain;
        min-width: 100px;
    }
    
    .supporter-up-logo2{
        width: 60%;
        min-width: 50px;
        display: block;
    }
    
    .supporter-up-logo3{
        width: 100%;
        min-width: 100px;
        display: block;
        margin-top: 0.5rem;
    }
    


    /* offer */
    .radio-btn{
        top: 3px;
        left: 5px;
    }
    
    .detail-radio{
        top: 2px;
        left: 5px;
    }
    
    .customer-radio{
        top: 8px;
        left: 5px;
    }


    rt{
        font-size: 60%;
    }

    
    
    .ttl-offer h1{
        font-size: 2.5rem;
    }
    
    .offer-section-content{
        border-radius: 1rem;
        width: 90%;
        max-width: 1300px;
        height: auto;
        margin: 2rem auto 2rem;
        padding: 2rem 0 2rem;
    }
    
    .offer-check{
        padding-bottom: 2rem;
    }
    
    .triangle {
        width: 5rem;
        height: 1rem;
        background-color: #B82126;
    }
    
    
        
    input[type=checkbox].offer-check-box:before,input[type=checkbox].offer-check-box:after {
        transition: all .2s ease-in-out;
    }
    
    input[type=checkbox].offer-check-box:checked:before {
        transform: rotate(47deg);
        width: 7px;
        height: 11px;
        top: 1px;
        left: 4px;
        border-right: 3px solid #fff;
        border-bottom: 3px solid #fff;
        content: '';
    }
    
    input[type="checkbox"].offer-check-box:checked{
        background-color: #B82126;
    }
    
    .offer-item-box {
        margin-top: 2rem;
    }
    
    .offer-item-box + .offer-item-box{
        margin-top: 3rem;
    }
    
    
    
    
    .offer-radio-box{
        width: 80%;
        margin: 1rem auto 0;
    }
    
    
    input[type="checkbox"].detail-radio {
        border: 0.8px solid #B82126;
        border-radius: 50%;
    }

    
    input[type=checkbox].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=checkbox].detail-radio:before {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin: 2px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=checkbox].detail-radio{
        border: 2px solid #B82126;
    }

    /*  */
    input[type="radio"].detail-radio {
        border: 0.8px solid #B82126;
        border-radius: 50%;
    }

    
    input[type=radio].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=radio].detail-radio:before {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        margin: 2px;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=radio].detail-radio{
        border: 2px solid #B82126;
    }

    /*  */

    .radio-wrap{
        margin: 0.3rem 0;
    }


    .choose-custom-box{
        width: 100%;
        border-bottom: 3px solid #B82126;
    }
    
    .choose-custom{
        display: flex;
        width: 15rem;
        margin: 0 auto 1rem;
        font-size: 1.3rem;
        font-weight: 500;
    }
    
    .customer-items{
        margin: 2rem auto 0;
    }
    
    .customer-item-ttl{
        width: 100%;
    }
    
    .customer-text-wrap{
        width: 100%;
        margin: 1rem 0;
    }
    
    .customer-text-wrap > h2{
        padding-left: 1rem;
        font-size: 1.3rem;
    }
    
    
    .customer-info-text{
        width: 100%;
        height: 2.5rem;
        border: 1px solid #B82126;
        background-color: rgba(240, 156, 158, 0.1);
        border-radius: 2rem;
        font-size: 1.3rem;
        margin-top: 0.5rem;
        padding:0 2rem;
    }
    
    .submit-btn{
        background-color: #fff;
        color: #B82126;
        border: 2px solid #B82126;
        border-radius: 10rem;
        margin: 2rem auto 0;
        width: 20rem;
        height: 3rem;
        font-size: 1.2rem;
    }
    
    .submit-btn:hover{
        background-color: #B82126;
        color: #fff;
        transition: all ease-in-out .2s;
    }

    /* Q&A */
    .ttl-qa h1{
        font-size: 2rem;
    }

    .accordion-section-title {
        font-size: 0.9em;
    }

    .accordion-section-content p{
        font-size: 0.8rem;
    }
    
    /* 会社概要 */
    .company-container {
        width: 80%;
        padding: 10px;
    }

    .company-table th,
    .company-table td {
        padding: 12px;
        font-size: 14px;
    }

    .company-table {
        font-size: 14px;
    }

    /* service-otherpage */
    .service-explain-section {
        display: flex;
        flex-direction: column;
        width: 80%;
        grid-template-columns: 150px 1fr; /* 画像とテキストを並べるために2列に分ける */
        grid-gap: 50px;
        padding: 40px 20px;
        align-items: center;
        margin: 0 auto;
        border-bottom: 2px solid rgba(184, 33, 38, 0.3);
        line-height: 1.5;
    }
    
    .service-section-image {
        max-width: 400px;
        width: clamp(40%, 2vw, 100%);
        height: auto;
        border-radius: 5px;
    }
    
    .service-text-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .insurance{
        flex-flow: column-reverse;
    }
    
    /* explaination */
    .guide-box{
        width: 80%;
    }
    
    .nisa-table-container {
        max-width: 500px;
        width: 80%;
        margin: 0 auto;
        padding: 20px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nisa-table-container h2 {
        text-align: center;
        font-size: clamp(0.7rem, 2vw, 1.4rem);
        color: #333;
        margin-bottom: 20px;
    }
    
    .nisa-table-container table.nisa-table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 20px;
    }
    
    .nisa-table-container table thead th {
        background-color: #B82126;
        color: #fff;
        padding: 10px;
        text-align: center;
        font-size: clamp(0.5rem, 2vw, 0.9rem);
    }
    

    

    .nisa-table-container table tbody td{
        font-size: 0.7rem;
        border: 0.5px solid #bfbebe;
    }
    
    .nisa-table-container table tbody tr:nth-child(odd) {
        background-color: #f9f9f9;
    }
    
    .nisa-table-container table tbody td.new-nisa {
        background-color: #f9c2c3;
        color: #333;
    }
    
    .nisa-table-container .notes {
        font-size: 12px;
        color: #666;
        margin: 5px 0;
    }
    
}


@media screen and (max-width: 599px){
    /* header */
    .item1 {
        flex-basis: 40%;
    }

    .item2 {
        flex-basis: 35%;
    }

    .item3{
        flex-basis: 25%;
    }

    /* nav */
    .nav-wrap {
        display: none;
        width: 7rem;
    }

    
    .contact-link{
        line-height: 1.5rem;
        width: 100%;
    }

    .contact-letter{
        display: none;
    }


    .menu-circle{
        border: 2.5px solid #B82126;
    }

    .menu span, .menu span:before, .menu span:after {
        height: 2.5px;
    }
    
    .menu span:before {
        margin-top: -6px;
    }
    
    .menu span:after {
        margin-top: 6px;
    }
    
    

    /* contents */
    .section{
        margin-top: 3rem;
    }

    .section-ttl h1 {
        -webkit-text-stroke: 0.15rem #B82126;
    }

    .staff-text-box{
        display: flex;
        flex-direction: column;
        margin-top: 2rem;
    }

    .certification-box{
        margin-top: 1.5rem;
        width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    .hobby-box{
        margin-top: 1.5rem;
        width: 100%;
        margin: 2rem auto 0;
        text-align: center;
    }
    
    

    /* offer */
    .ttl-offer h1{
        font-size: 1.7rem;
    }
    
    .offer-section-content{
        border-radius: 1rem;
        width: 90%;
        max-width: 1300px;
        height: auto;
        margin: 2rem auto 2rem;
        padding: 1rem 0 2rem;
    }
    
    .offer-check{
        padding-bottom: 0.5rem;
    }
    
    .triangle {
        width: 3rem;
        height: 1rem;
        background-color: #B82126;
    }
    
    
    input[type=checkbox].offer-check-box{
        width: 1.2rem;
        height: 1.2rem;
    }
        
    input[type=checkbox].offer-check-box:before,input[type=checkbox].offer-check-box:after {
        transition: all .2s ease-in-out;
    }
    
    input[type=checkbox].offer-check-box:checked:before {
        transform: rotate(47deg);
        width: 3px;
        height: 8px;
        top: 1px;
        left: 4px;
        border-right: 3px solid #fff;
        border-bottom: 3px solid #fff;
        content: '';
    }
    
    input[type="checkbox"].offer-check-box:checked{
        background-color: #B82126;
    }

    .offer-radio-box{
        width: 80%;
    }

    .offer-item-box {
        margin-top: 2rem;
    }
    
    .offer-item-box + .offer-item-box{
        margin-top: 3rem;
    }

    
    

    .radio-btn{
        top: 2px;
        left: 7px;
    }
    
    .detail-radio{
        top: -1px;
        left: 8px;
    }
    
    .customer-radio{
        top: 10px;
        left: 2vw;
    }
    
    
    input[type="checkbox"].detail-radio {
        border: 0.5px solid #B82126;
        border-radius: 50%;
    }

    
    input[type=checkbox].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=checkbox].detail-radio:before {
        position: relative;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=checkbox].detail-radio{
        border: 2px solid #B82126;
    }

    /*  */
    input[type="radio"].detail-radio {
        border: 0.5px solid #B82126;
        border-radius: 50%;
    }

    
    input[type=radio].detail-radio:checked:before {
        transform: scale(1);
    }

    input[type=radio].detail-radio:before {
        position: relative;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        transform: scale(0);
        transition: all ease-out 250ms;
    }
    red,input[type=radio].detail-radio{
        border: 2px solid #B82126;
    }

    /*  */
    
    .radio-wrap{
        margin: 0.3rem 0;
    }
    
    
    .choose-custom-box{
        width: 100%;
        border-bottom: 3px solid #B82126;
    }
    
    .choose-custom{
        display: flex;
        width: 15rem;
        margin: 0 auto 1rem;
        font-size: 1.3rem;
        font-weight: 500;
    }
    
    .customer-items{
        margin: 0.8rem auto 0;
    }
    
    .customer-item-ttl{
        width: 100%;
    }
    
    .customer-text-wrap{
        width: 100%;
        margin: 1rem 0;
    }
    
    .customer-text-wrap > h2{
        padding-left: 1rem;
        font-size: 1.2rem;
    }
    
    .customer-info-text{
        width: 100%;
        height: 2rem;
        border: 1px solid #B82126;
        background-color: rgba(240, 156, 158, 0.1);
        border-radius: 2rem;
        font-size: 1rem;
        margin-top: 0.5rem;
        padding:0 1rem;
    }
    
    .submit-btn{
        background-color: #fff;
        color: #B82126;
        border: 2px solid #B82126;
        border-radius: 10rem;
        margin: 2rem auto 0;
        width: 20rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .submit-btn:hover{
        background-color: #B82126;
        color: #fff;
        transition: all ease-in-out .2s;
    }

/* 会社概要 */
    .company-table{
        display: flex-box;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .company-table th {
        background-color: #B82126;
        color: #fff;
        font-weight: bold;
    }

    .company-table tr {
        display: flex;
        flex-direction: column;
    }

    .company-table th,
    .company-table td {
        text-align: center;
        padding-left: 5px;
    }

    .company-table td {
        padding-top: 0;
        min-height: 3rem;
        height: auto;
        padding: 10px 5px;
    }

    .company-table th {
        padding-top: 10px;
    }

    /* ifa */
    .ifa-content-title {
        font-size: 0.9rem;
    }

    .nisa-table-cell{
        border: 0.5px solid #bfbebe;
        text-align: center;
    }

    .nisa-border-bottom-none{
        border-bottom: none;
    }
    
    .nisa-border-top-none{
        border-top: none;
    }
    
}


/* ------------------------------ お知らせ　news ----------------------------------- */
.news-section{
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 3rem auto 0;
    gap: 3rem;
}

.campaign-ttl .seminar-ttl{
    margin-top: 0;
}

.campaign-wrap-list{
    margin-top: 0;
}