@charset "UTF-8";

:root {
    /*使用しない場合も必ず設定*/
    --i_bg_color: #fff;
    /*背景色*/
    --i_txt_color: #000;
    /*テキスト*/
    --i_main_color: #a8271f;
    /*メイン*/
    --i_sub_color: #c1994b;
    /*アクセント*/
    --i_sub2_color: #edeae1;
    /*薄い色*/
    --i_btn_color: var(--i_main_color);
    /*ボタン*/
    --i_btn_hover_color: #804542;
    /*ボタンhover*/
    --i_btn_txt_color: #fff;
    /*ボタンテキスト*/
    --i_btn_hover_txt_color: #fff;
    /*ボタンテキスト*/
    --i_shadow_color: rgba(0, 0, 0, 0.13);
    /*シャドウ*/
    --i_border_color: rgba(0, 0, 0, 0.13);
    /*ボーダー*/
    --i_noimg_bg_color: #fbf9f9;
    /*画像無し*/
}

/*------------------------------------------------------------------*/
/*-----------------------------base---------------------------------*/
/*------------------------------------------------------------------*/

html {
    font-size: 62.5%;
}
body {
    font-size: 2rem;
    line-height: 1.8;
    letter-spacing: 0.02rem;
    -webkit-text-size-adjust: 100%;
    font-weight: 500;
    color: var(--i_txt_color);
}
body,
main {
    background: var(--i_bg_color);
}

@media screen and (max-width: 850px) {
    html {
        font-size: 55%;
    }
    body {
        letter-spacing: 0px;
    }
}

a {
    outline: 0;
    text-decoration: none;
    color: var(--i_txt_color);
}
section[style*=" color:"]:not([style*=" color: inherit"]) a,
div[style*=" color:"]:not([style*=" color: inherit"]) a {
    color: inherit;
}

/*composite_boxの最大高さとトリミングの起点*/
/*基本はjsにより各カラム中から最大の画角に設定*/
.composite_box01 .inner_item_img img {
    object-position: 50% 50%;
    font-family: 'object-position: 50% 50%;';
}

@media screen and (max-width: 850px) {
    #sidebar {
        border: 5px solid var(--i_shadow_color);
    }
}

.no_img {
    background: var(--i_noimg_bg_color, rgba(200, 200, 200, 0.3));
}

/*----------------------------loader----------------------------*/

#load div:nth-of-type(1) {
    background: #ffffff;
}
#load .loader,
.popup .loader {
    border: 1px solid #b48f47;
    /*★*/
}
#load .loader,
#load .loader::before,
.popup .loader,
.popup .loader::before {
    border-top-color: #b48f47 !important;
}
#load .loader::before,
#load .loader::after,
.popup .loader::before,
.popup .loader::after {
    /*★*-1*/
    left: -1px;
    top: -1px;
}

#load img {
    max-width: 120px;
}

/*----------------------------header----------------------------*/

header {
    font-size: 1.4rem;
}
body.scrolled header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 3px 5px var(--i_shadow_color);
}

header h1 {
    line-height: 1.5;
    font-size: 1.2rem;
    letter-spacing: 0rem;
    font-weight: normal;
    opacity: 0.7;
}
header:not(.width_full) .wraper,
header#pattern2:not(.width_full) nav {
    width: 90%;
    max-width: 1600px;
}
body.scrolled header .logo {
    padding: 20px 0 !important;
}
header .logo,
header .logo a {
    max-width: 210px;
}
body.scrolled header .logo a img {}
header .wraper>.inner {
    min-height: 45px !important;
}

header .header_contents .header_col1 {
    /* ▼水平方向レイアウト */
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    /* ▼垂直方向レイアウト */
    /*flex-direction: column;
	align-items: flex-end;*/
}
header .header_contents .header_col1 .tel {
    position: relative;
    font-size: 26px;
    line-height: 1;
    padding-left: 26px;
    font-weight: bold;
    font-weight: normal;
}
header .tel svg,
header .btn .translate a svg,
header .burger li.sp_translate a svg,
header .header_sns li svg {
    fill: #555 !important;
}
header .header_contents .header_sns li svg {
    fill: #b48f47;
}
header .sp_menu a div span,
header .sp_menu a div:before,
header .sp_menu a div:after {
    background: var(--i_txt_color);
}
header .header_contents .header_col1 .tel svg {
    width: 22px;
    height: 22px;
    top: calc(50% - 10px);
    left: 0;
}
header .header_contents .header_col1 .btn>a {
    display: block;
    text-align: center;
    min-width: 150px;
    background: var(--i_btn_color);
    color: var(--i_btn_txt_color);
    padding: 5px 10px;
}
header .btn>a:hover {
    opacity: 1;
    background: var(--i_btn_hover_color);
    color: var(--i_btn_hover_txt_color);
}

header .header_contents .header_col1 .btn .translate a svg {
    max-width: 74%;
    max-height: 74%;
    margin: 13% auto 0;
}
header .header_contents .header_col1 .btn .translate a:hover {
    opacity: 0.8;
}

header nav * {
    color: var(--i_txt_color);
}
header#pattern1 na *v,
header#pattern3 nav * {
    color: var(--i_btn_txt_color);
}
header nav ul.nav_1st {
    width: 95%;
    max-width: 1200px;
    /*任意*/
}
header nav ul.nav_1st>li {
    box-sizing: border-box;
    position: relative;
}
header nav ul.nav_1st>li:after {
    /*罫線*/
    content: "";
    width: 1px;
    height: 40%;
    position: absolute;
    top: 30%;
    left: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.13);
}
header nav ul.nav_1st>li:last-child:before {
    /*罫線*/
    content: "";
    display: block;
    width: 1px;
    height: 40%;
    position: absolute;
    top: 30%;
    right: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.13);
}
body.scrolled header nav ul.nav_1st>li:last-child:before,
body.scrolled header nav ul.nav_1st>li:after {
    border-color: rgba(0, 0, 0, 0.13);
}

header nav ul.nav_1st>li>a {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    position: relative;
    padding-left: 1vw;
    padding-right: 1vw;
}
header nav ul.nav_1st>li>a span,
body.scrolled header nav ul.nav_1st>li>a span {
    /*ナビの高さはline-heightで調整*/
    line-height: 3;
    /* マージン普通選択時 */
    /*color: #fff !important; ナビ背景色設定時 */
    transition: .2s ease-in-out;
}

header#pattern3 nav ul.nav_1st>li>a span {
    line-height: 3;
}
body.margin header nav ul.nav_1st>li>a span {
    line-height: 4;
    /* マージン広い選択時 */
}

header nav ul.nav_1st>li:hover>a span {
    color: var(--i_main_color);
}
header nav ul.nav_2nd {
    padding-top: 20px;
}
header nav ul.nav_1st>li:hover ul.nav_2nd {
    padding-top: 10px;
}
header nav ul.nav_2nd>li {
    background: rgba(180, 143, 71, 0.9);
    border-bottom: 1px solid var(--i_border_color);
    box-shadow: 2px 2px 5px var(--i_shadow_color);
}
header nav ul.nav_2nd>li:nth-last-of-type(1) {
    border-bottom: none;
}
header nav ul.nav_2nd li a {
    padding: 10px 20px;
    font-weight: normal;
    font-size: 1.4rem;
    color: #fff !important;
}
body.scrolled header nav ul.nav_2nd li a {
    color: #fff !important;
}
header nav ul.nav_2nd li a span {
    color: #fff !important;
}
header nav ul.nav_2nd>li>a {
    padding-right: 30px;
}
header nav ul.nav_2nd>li>a:after {
    height: 5px;
    width: 5px;
    transform: rotate(-45deg);
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    top: calc(50% - 2.5px);
    right: 20px;
}
header nav ul.nav_3rd {
    padding-left: 20px;
}
header nav ul.nav_3nd li a {
    padding: 5px 20px;
}
header nav ul.nav_3rd>li>a:after {
    height: 1px;
    width: 4px;
    background: #fff;
    top: calc(50% - 0.5px);
    left: 5px;
}

@media screen and (max-width: 900px) {
    body.scrolled header .logo {
        padding: 10px 0 !important;
    }
    header.open:after,
    header .header_contents {
        background: rgba(2251, 251, 251, 0.95);
    }
    header .burger li.sp_translate a svg {
        height: 28px;
        width: 28px;
        margin: 10% auto;
    }
    header .header_sns,
    header .header_contents .header_col1,
    header .header_contents .header_col2 {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        border-bottom: 1px solid var(--i_border_color);
    }
    header .header_sns {
        border-bottom: none;
    }
    header .header_sns:empty,
    header .header_contents .header_col1:empty,
    header .header_contents .header_col2:empty {
        border: none;
    }
    header .header_contents .header_col1 .tel,
    header .header_contents .header_col1 .btn {
        float: none;
    }
    header .header_contents .header_col2 {
        display: block !important;
    }
    header nav {
        border-bottom: 1px solid var(--i_border_color);
    }
    header nav ul.nav_1st {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        border-top: 1px solid var(--i_border_color);
    }
    header nav ul.nav_1st li {
        border-bottom: 1px solid var(--i_border_color);
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    header nav ul.nav_1st>li:before,
    header nav ul.nav_1st>li:after {
        display: none !important;
    }
    header nav ul.nav_1st>li i:before,
    header nav ul.nav_1st>li i:after {
        background: var(--i_main_color);
    }
    header nav ul.nav_2nd {
        border-top: 1px solid var(--i_border_color);
    }
    header nav ul.nav_2nd>li {
        box-shadow: none;
    }
    header nav ul.nav_2nd li a,
    header nav ul.nav_2nd li a span {
        color: #555 !important;
    }
    header nav ul.nav_3rd {
        border-top: 1px solid var(--i_border_color);
    }
    header nav ul.nav_3rd>li:nth-last-of-type(1) {
        border-bottom: none;
    }
    body.scrolled header nav ul.nav_2nd li a {
        color: var(--i_txt_color) !important;
    }
    header:not(.width_full) .wraper {
        width: calc(100% - 30px);
    }
    header#pattern2:not(.width_full) nav {
        width: 100%;
    }
    header .logo,
    header .logo a,
    header .logo a img {
        max-width: 120px;
    }
    header nav ul.nav_2nd>li>a:after {
        border-color: var(--i_main_color);
    }
    header nav ul.nav_3rd>li>a:after {
        background: var(--i_main_color);
    }
}

/*----------------------------余白設定----------------------------*/

main>section:first-child:not([class*="pt"]),
main>div:first-child:not([class*="pt"]),
div[class*='pb']+.contents_related,
section[class*='pb']+.contents_related,
div[class*='pb']+.contents_related_tags,
section[class*='pb']+.contents_related_tags {
    padding-top: 60px;
}
main>section:not([class*="pt"]),
main>div:not([class*="pt"]),
aside>section:not([class*="pt"]),
aside>div:not([class*="pt"]) {
    padding-bottom: 60px;
}
@media screen and (max-width: 800px) {
    main>section:first-child:not([class*="pt"]),
    main>div:first-child:not([class*="pt"]),
    div[class*='pb']+.contents_related,
    section[class*='pb']+.contents_related,
    div[class*='pb']+.contents_related_tags,
    section[class*='pb']+.contents_related_tags {
        padding-top: 40px;
    }
    main>section:not([class*="pt"]),
    main>div:not([class*="pt"]),
    aside>section:not([class*="pt"]),
    aside>div:not([class*="pt"]) {
        padding-bottom: 40px;
    }
}

/*----------------------------見出し----------------------------*/

section .content_wrapper>.heading:first-child:last-child {
    margin-bottom: 0;
}

/*--*/

section:not([class*="pt"]) .content_wrapper>.heading:first-child:last-child {
    margin-bottom: 0;
}

.heading.block_header_1,
.heading.block_header_6 {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}
.heading.block_header_1 p,
.heading.block_header_6 .h {
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1.4;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    padding-top: 0;
    letter-spacing: 0.3rem;

}
.heading.block_header_1 p:before,
.heading.block_header_6 .h:before {
    display: block;
    content: "";
    background: var(--i_main_color);
    width: 60px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: calc(50% - 25px);
}
section[style*="color: rgb(255, 255, 255);"] .heading.block_header_1 p:before,
section[style*="color: rgb(255, 255, 255);"] .heading.block_header_6 .h:before,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_1 p:before,
div[style*="color: rgb(255, 255, 255);"] .heading.block_header_6 .h:before {
    background: #fff;
}
.align-left.heading.block_header_1 p:before,
.align-left.heading.block_header_6 .h:before {
    left: 0;
}
.align-right.heading.block_header_1 p:before,
.align-right.heading.block_header_6 .h:before {
    left: auto;
    right: 0;
}
.heading.block_header_1 .h,
.heading.block_header_6 p {
    font-size: 1.7rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
}
.index .heading.block_header_1 p,
.index .heading.block_header_6 .h {
    font-size: 4.1rem;
}


@media screen and (max-width: 800px) {
    .heading.block_header_1,
    .heading.block_header_6 {
        margin-bottom: 20px;
    }
    .heading.block_header_1 p,
    .heading.block_header_6 .h {
        font-size: 2.5rem;
    }
    .heading.block_header_1 .h,
    .heading.block_header_6 p {
        font-size: 1.5rem;
    }
    .index .heading.block_header_1 p,
    .index .heading.block_header_6 .h {
        font-size: 2.8rem;
    }
}

/*--*/

.heading.block_header_2 {
    margin-bottom: 30px;
}

.heading.block_header_2 .h {
    display: inline-block;
    font-weight: bold;
    font-size: 2.1rem;
    line-height: 1.5;
    padding-left: 30px;
    padding-bottom: 5px;
    margin-bottom: 5px;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}
.heading.block_header_2 .h:before {
    display: block;
    content: '';
    width: 1.2em;
    height: 1.2em;
    position: absolute;
    top: 0px;
    left: 0;
    background: url("/common/upload_data/websta00000277/image/bg_h2.png") no-repeat;
    background-size: contain;
}
.heading.block_header_2 p {
    font-size: 1.8rem;
}
.glossary_archive .content_wrapper .heading.block_header_2 .h::before {
    top: 3px;
}


@media screen and (max-width: 800px) {
    .heading.block_header_2 {
        margin-bottom: 20px;
    }
    .heading.block_header_2 .h {
        font-size: 2.0rem;
    }
    .heading.block_header_2 .h:before {
        top: 6px;
    }
    .heading.block_header_2 p {
        font-size: 1.3rem;
    }
}

/*--*/

.heading.block_header_3 {
    overflow: hidden;
    background: url("/common/upload_data/websta00000277/image/bg_ptn.jpg"), var(--i_main_color);
    padding: 10px 10px 10px 30px;
    margin-bottom: 30px;
}
.heading.block_header_3:before {
    display: block;
    content: "";
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    position: absolute;
    top: 3px;
    left: 3px;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.heading.block_header_3 .h {
    font-weight: bold;
    font-size: 1.9rem;
    line-height: 1.5;
    color: #fff;
}
.heading.block_header_3 p {
    font-size: 1.4rem;
    color: #fff;
}
@media screen and (max-width: 800px) {
    .heading.block_header_3 {
        padding: 5px 5px 5px 30px;
        margin-bottom: 20px;
    }
    .heading.block_header_3 .h {
        font-size: 2.0rem;
    }
    .heading.block_header_3 p {
        font-size: 1.3rem;
    }
}

/*--*/

.heading.block_header_4 {
    margin-bottom: 15px;
}
.heading.block_header_4:before {
    display: none;
}
.heading.block_header_4 .h {
    font-size: 2.0rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 5px;
    color: #b48f47;
}
.heading.block_header_4 p {
    font-size: 1.4rem;
}

/*--*/

.heading.block_header_5 {
    margin-bottom: 15px;
}
.heading.block_header_5 .h {
    display: inline;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.heading.block_header_5 p {
    display: inline;
    font-size: 1.4rem;
}
.heading.block_header_5 p:before {
    content: "　/　";
}

/*----------------------------背景パララックス----------------------------*/

.parallax {
    box-shadow: 0 0 5px var(--i_shadow_color) inset;
}

/*----------------------------ボタン----------------------------*/

.contents_btn01 a,
.glossary_archive .content_wrapper .heading.block_header_2 a:after,
main form .submit span,
main form .submit span input {
    background: var(--i_btn_color);
    color: var(--i_btn_txt_color);
    padding: 3px 25px;
    transition: .3s ease-in-out;
    overflow: visible !important;
    border-radius: 0;
    font-family: inherit;
}
main form .submit span {
    position: relative;
}
.contents_btn01 a:before,
main form .submit span:before {
    display: block;
    content: "";
    width: 0px;
    height: 1px;
    background: #db7771;
    position: absolute;
    top: calc(50% - .5px);
    left: calc(100% - 25px);
    transition: .3s cubic-bezier(.41, .14, .83, .58);
    transform-origin: left;
    z-index: 1;
}
.contents_btn01 a:hover:before,
main form .submit span:hover:before {
    width: 50px;
}
.contents_btn01 a:hover,
main form .submit span input:hover {
    transform: translateX(5px);
}
.glossary_archive .content_wrapper .heading.block_header_2 a:hover:after {
    background: var(--i_btn_hover_color);
}
.contents_btn01 a[target=_blank] span:before,
.contents_btn01 a[target=_blank] span:after {
    border: 1px solid #fff;
}
.contents_btn01 a:hover[target=_blank] span:before,
.contents_btn01 a:hover[target=_blank] span:after {
    border: 1px solid #fff;
}
.contents_btn01 a span {
    text-align: center;
}
#fixbtn .contents_btn01 a {
    background: #b48f47;
    padding: 3px 0;
}
#fixbtn .contents_btn01 a:before {
    display: none;
}
#fixbtn .contents_btn01 a:hover {
    transform: translateX(0);
    background: #8f7137;
}

/*--------------------------------MV--------------------------------*/

#mv_outer {}
#mv {
    width: 100%;
    height: calc(90vh - 125px);
    max-height: 1400px;
    min-height: 370px;
}
#mv:after {
    /*スライドに重ねる色*/
    pointer-events: none;
    background: rgba(0, 0, 0, 0.3);
}
#mv:before {
    display: block;
    content: "";
    width: 80%;
    height: 50px;
    max-width: 1200px;
    background: url("/common/upload_data/websta00000277/image/shadow.png") no-repeat top center/100% auto, #fff;
    position: absolute;
    bottom: 0;
    left: calc(50% - 600px);
    z-index: 6;
}

#mv .mv_mov {
    background: #000;
}
#mv .mv_mov iframe {
    opacity: 0.7;
}

#mv .mv_text {
    bottom: 70px;
    height: calc(100% - 140px);
    width: 90%;
    left: 5%;
    align-items: center;
    /*垂直方向中央*/
}
#mv .mv_text div {
    padding: 0 60px;
}
#mv .mv_text h2 {
    font-size: 9.5rem !important;
    /* ←max-font-size的意味合いで使用する。動作はjs。*/
    line-height: 1;
    letter-spacing: -0.3rem;
    font-weight: 400;
    color: #fff;
}
#mv .mv_text p {
    font-size: 2.2rem;
    color: #fff;
    padding-top: 10px;
}
/*#mv .mv_scroll{
    width: 200px;
    height: auto;
    position: absolute;
    bottom: 10px;
	left: calc(50% - 100px);
	text-align: center;
}
#mv .mv_scroll a {
    text-indent: -999999px;
    font-size: 0px;
	padding-top: 80px;
	color: #777;
}
#mv .mv_scroll a::before {
    content: "";
    display: block;
    width: 1px;
	height: 50px;
    position: absolute;
    left: calc(50% - 0.5px);
	top: 0;
	background-color: rgba(180,180,180,0.9);
	transform: rotate(0deg);
	-webkit-animation-name: ScrollDown;
	animation-name: ScrollDown;
	-webkit-animation-duration: 2s;
	animation-duration: 2s;
	-webkit-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
}
@-webkit-keyframes ScrollDown{
    0% {
        -webkit-transform: translateY(-100.5%);
        transform: translateY(-100.5%);
    }
    100% {
        -webkit-transform: translateY(100.5%);
        transform: translateY(100.5%);
    }
}
@keyframes ScrollDown{
    0% {
        -webkit-transform: translateY(-100.5%);
        transform: translateY(-100.5%);
    }
    100% {
        -webkit-transform: translateY(100.5%);
        transform: translateY(100.5%);
    }
}*/
#mv .mv_pointer {
    width: 5px;
    height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    right: 20px !important;
    left: auto;
    bottom: 0;
}
#mv .mv_pointer li {
    width: 10px !important;
    height: 30px;
    margin: 0;
}
#mv .mv_pointer li::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    transform: rotate(45deg);
}
#mv .mv_pointer li.current:before {
    background: #fff;
    border-color: #fff;
}
#mv .mv_arrow {
    display: none;
}
@media screen and (max-width: 1500px) {
    #mv:before {
        left: 10%;
    }
}
@media screen and (max-width: 1400px) {
    #mv .mv_text div {
        padding: 0;
    }
    #mv .mv_text h2 {
        font-size: 8rem !important;
    }
}

@media screen and (max-width: 100vh) {
    #mv {
        height: 65vh;
    }
}
@media screen and (max-width: 900px) {
    #mv .mv_text h2 {
        font-size: 6.4rem !important;
    }
    #mv:before {
        height: 30px;
    }
    /*	#mv .mv_scroll a::before {
		height: 30px;
	}
	#mv .mv_scroll{
		bottom: -10px;
	}*/
}

@media screen and (max-width: 600px) {
    #mv .mv_text div {
        padding-top: 0 !important;
    }
    #mv .mv_text h2 {
        font-size: 9vw !important;
    }
}

/*--------------------------------IV--------------------------------*/

#lv {
    background: #000;
    height: 300px;
    padding-bottom: 0;
    width: 100%;
}
header.over+#lv_outer #lv {
    min-height: 300px;
}
#lv div {
    background-color: #fff;
    opacity: 0.5;
}
#lv p {
    left: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px 0
}
#lv p span {
    display: inline-block;
    font-size: 4.5rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
    letter-spacing: -0.1rem;
    padding: 0 60px;
    position: relative;
    word-break: break-all;
    line-height: 1.2;
    text-shadow: 1px 1px 0 var(--i_shadow_color);
}
#lv p span:before,
#lv p span:after {
    content: "";
    display: none;
    width: 40px;
    height: 2px;
    background: #fff;
    position: absolute;
    top: calc(50% + 2px);
    left: 0;
    box-shadow: 1px 1px 0 var(--i_shadow_color);
}
#lv p span:after {
    left: auto;
    right: 0;
}
@media screen and (max-width: 900px) {
    #lv {
        padding-top: 0 !important;
        height: 170px;
    }
    #lv p span {
        padding: 0 15px;
    }
}

@media screen and (max-width: 800px) {
    #lv p span {
        font-size: 3.0rem;
    }
}
@media screen and (max-width: 400px) {
    #lv_outer {
        padding-bottom: 20px;
    }
}


/*----------------------------パンくず----------------------------*/

#pan {
    border-bottom: 1px solid var(--i_border_color);
    background: var(--i_sub2_color);
    padding: 0;
}
#pan li {
    font-size: 1.2rem;
    padding: 5px 0 3px 30px;
}
#pan li:before,
#pan li:after {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}
#pan li:after {
    border-top: 1px solid var(--i_border_color);
    border-right: 1px solid var(--i_border_color);
    left: -15px;
}

/*----------------------------other parts----------------------------*/

/*--リスト--*/

.default_ul li:before {
    border-top: 1px solid var(--i_main_color);
    border-right: 1px solid var(--i_main_color);
    height: 5px;
    width: 5px;
    transform: rotate(45deg);
    top: 8px;
    left: 0;
}

/*--アーカイブページ カテゴリー--*/

.category1 li a {
    border: 1px solid var(--i_border_color);
    border-radius: 50px;
}
.category1 li a:hover,
.category1 li a.current {
    color: var(--i_btn_txt_color);
    background: var(--i_btn_color);
    border-color: transparent;
}

/*--sidebar--*/

#sidebar section,
#sidebar>div {
    border-bottom: 1px solid var(--i_border_color);
}
#sidebar h2 {
    text-align: left;
    font-size: 2.2rem;
}
#sidebar .sidebar_tag li {
    border: 1px solid var(--i_border_color);
    background: var(--i_sub2_color);
}
#sidebar .sidebar_list a {
    position: relative;
    padding-left: 15px;
}
#sidebar .sidebar_list a:before {
    content: "";
    display: block;
    position: absolute;
    border-top: 1px solid var(--i_sub_color);
    border-right: 1px solid var(--i_sub_color);
    height: 5px;
    width: 5px;
    transform: rotate(45deg);
    top: calc(50% - 3px);
    left: 0;
}

/*----------------------------pager----------------------------*/

/*アーカイブページページャー*/
.pager li:not(.arrow) a:hover,
.pager li:not(.arrow).current a {
    background: var(--i_main_color);
    border-color: var(--i_main_color);
    color: #fff;
}
.pager li a {
    height: 45px;
    width: 45px;
    border: 1px solid #ccc;
    border-radius: 0px;
    line-height: 45px;
}

/*----------------------------pager2----------------------------*/

/*シングルページページャー*/
.pager2 li a {
    background: var(--i_main_color);
    border-color: var(--i_main_color);
    color: #fff;
    line-height: 45px;
    padding: 0 15px;
}

/*----------------------------popup----------------------------*/

/*画像ポップアップ拡大表示*/
.popup {
    background: rgba(255, 255, 255, 0.7);
}
.popclose {
    /*text-shadow: 1px 1px 1px var(--i_border_color);*/
}
.poptxt {
    font-size: 1.2rem;
}

/*----------------------------footer----------------------------*/

#fixbtn {
    margin-bottom: 30px;
    font-size: 1.55rem;
}
#fixbtn .fixbtnwrap {
    background: url("/common/upload_data/websta00000277/image/shadow.png") no-repeat center top, #92211a;
    border-bottom: 1px solid rgba(0, 0, 0, 0.13);
}
/*▼ TEL、予約ボタンない = 追従フッター有効でない場合*/
#fixbtn.no .fixbtnwrap {
    background-color: transparent;
}
#fixbtn .fixbtntel,
#fixbtn .fixbtntel a,
#fixbtn .fixbtntel span {
    color: #fff;
}
#fixbtn .fixbtntel {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}
#fixbtn .fixbtntel:nth-last-of-type(2) {
    border-right: none;
}
#fixbtn .fixbtntel a,
#fixbtn .fixbtntel span {
    font-size: 3.4rem;
    line-height: 1;
    margin-right: 10px;
    font-weight: 400;
}
#fixbtn .fixbtntel a:last-child,
#fixbtn .fixbtntel span:last-child {
    margin-right: 0;
}
#fixbtn .fixbtntel svg {
    width: 22px;
    height: 22px;
    margin-right: 5px;
    fill: #fff;
}

#fixbtn .contents_btn01 {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
#fixbtn .contents_btn01:nth-of-type(1) {
    border-left: none;
}
#fixbtn .contents_btn01:nth-of-type(1) {
    /*▼ TELない場合中央揃え*/
    margin-left: auto;
    margin-right: auto;
}
#fixbtn .contents_btn01 span {
    text-align: center;
    padding: 7px 15px;
}

/*▼ TEL、予約ボタンない = 追従フッター有効でない場合*/
#fixbtn #scrolltop:nth-of-type(1) {
    margin-left: auto;
    /*▼ 右揃え*/
    margin-right: 0;
    /*▼ 中央揃え*/
    margin-right: auto;
}
#fixbtn #scrolltop a {
    height: 40px;
    width: 40px;
}
#fixbtn #scrolltop a:before {
    top: 17px;
    left: 3px;
    transform: rotate(45deg);
    transition: 0.2s ease-in-out;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.5);
    width: 30px;
    height: 30px;
}
#fixbtn #scrolltop a:hover:before {
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
}
/*▼ TEL、予約ボタンない = 追従フッター有効でない場合*/
#fixbtn.no #scrolltop a:before {
    border-color: rgba(120, 120, 120, 0.6);
}
#fixbtn.no #scrolltop a:hover:before {
    border-left: 2px solid rgba(120, 120, 120, 1);
    border-top: 2px solid rgba(120, 120, 120, 1);
}

@media screen and (max-width: 600px) {
    #fixbtn {
        margin-bottom: 0;
    }
    #fixbtn,
    #fixbtn .fixbtntel a,
    #fixbtn .fixbtntel span {
        font-size: 1.7rem;
    }
    #fixbtn .fixbtntel a,
    #fixbtn .fixbtntel span {
        font-size: 2rem;
    }
    #fixbtn .fixbtntel svg {
        width: 18px;
        height: 18px;
    }
    #fixbtn .contents_btn01 a {
        padding: 0;
    }
    #fixbtn .contents_btn01 a:before {
        display: none;
    }
    #fixbtn .contents_btn01 a span {
        padding: 5px 15px;
    }
}

footer {
    background: linear-gradient(to top, rgba(141, 31, 25, 0) 0%, rgb(141, 31, 25) 60%, rgb(141, 31, 25) 100%), url("/common/upload_data/websta00000277/image/bg_ptn1.jpg"), #92211a;
    padding: 0;
    color: #fff;
    text-align: center;
    font-size: 1.35rem;
}
footer a {
    color: #fff;
}
footer nav li {
    letter-spacing: 0.2rem;
    padding: 5px 0;
}
footer .logo {
    width: 160px;
}
footer .sns {
    margin: 0 auto 30px;
}
footer .sns svg {
    width: 40px;
    height: 40px;
    padding: 10px 10px;
    fill: rgba(255, 255, 255, 0.25);
    transition: 0.2s ease-in-out;
}
footer .sns a:hover svg {
    opacity: 1;
    fill: #972a23;
}
#cp {
    padding: 15px 0;
    font-size: 1.1rem;
    letter-spacing: 0.1rem;
    color: rgba(255, 255, 255, 0.5);
}
@media screen and (max-width: 600px) {
    footer {
        padding: 0 0 20px;
    }
}
@media screen and (max-width: 600px) {
    footer nav ul li {
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    }
    footer nav ul li:nth-last-of-type(2n) {
        border-right: 1px solid rgba(0, 0, 0, 0.13);
    }
    footer nav ul li:nth-last-of-type(2n+1) {
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }
    footer nav ul li:nth-of-type(1),
    footer nav ul li:nth-of-type(1),
    footer nav ul li:nth-of-type(2),
    footer nav ul li:nth-of-type(3):nth-last-of-type(2n-1) {
        border-top: 1px solid rgba(0, 0, 0, 0.13);
    }
    footer nav ul li:nth-last-of-type(1),
    footer nav ul li:nth-last-of-type(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.13);
    }
    footer nav ul {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    footer .logo {
        width: 120px;
        margin-bottom: 15px;
    }
}

/*------------------------------------------------------------------*/
/*----------------------------widget--------------------------------*/
/*------------------------------------------------------------------*/

/*----------------------------contents_faq01----------------------------*/

.contents_faq01 dt {
    padding-left: 5rem;
    margin-bottom: 25px;
    min-height: 35px;
    width: 100%;
    padding-right: 15px;
    box-sizing: border-box;

}
.contents_faq01 dd {
    padding-left: 7.3rem;
    margin-bottom: 15px;
    width: 100%;
    padding-right: 15px;
    box-sizing: border-box;
}
.contents_faq01 dt:before,
.contents_faq01 dd:before {
    width: 4rem;
    height: 4rem;
    font-size: 2.6rem;
    line-height: 1.4;
    padding-left: 1rem;
    box-sizing: border-box;
    font-weight: 400;
    color: #fff;
    background: var(--i_main_color);
}
.contents_faq01 dt:after,
.contents_faq01 dd:after {
    display: block;
    content: "";
    width: calc(4rem - 6px);
    height: calc(4rem - 6px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;

    position: absolute;
    top: 2px;
    left: 2px;
}
.contents_faq01 dd:after {
    left: calc(2.3rem + 2px);
}
.contents_faq01 dd:before {
    color: #fff;
    background: #555;
}
.contents_faq01 dd::before {
    padding-top: 2px;
    padding-left: 11px !important;
}
.contents_faq01 dt::before {
    padding-top: 1px;
}
@media screen and (max-width: 500px) {
    .contents_faq01 dt {
        margin-bottom: 0px;
    }
}

/*----------------------------contents_related_tags----------------------------*/

.contents_related_tags .inner_item {
    border: 1px solid var(--i_border_color);
}
.contents_related_tags .inner_item a:hover {
    background: var(--i_sub2_color);
    opacity: 0.8;
}

/*----------------------------block_table_1----------------------------*/

.block_table_1 table thead {
    background: var(--i_sub2_color);
}
.block_table_1 table thead th,
.block_table_1 table thead td {
    background-color: var(--i_sub2_color);
}
.block_table_1 table th {
    background-color: var(--i_sub2_color);
    border: 1px solid var(--i_border_color);
    text-align: center;
    vertical-align: middle;
}
.block_table_1 table td {
    background-color: #fff;
    border: 1px solid var(--i_border_color);
    vertical-align: middle;
}
.block_table_1 table thead td {
    text-align: center;
    font-weight: bold;
}

/*----------------------------block_table_2,5,6----------------------------*/

.block_table_2 table thead,
.block_table_2 table thead th,
.block_table_2 table thead td,
.block_table_5 table thead,
.block_table_5 table thead th,
.block_table_5 table thead td,
.block_table_6 table thead,
.block_table_6 table thead th,
.block_table_6 table thead td {
    background-color: var(--i_sub2_color);
}
.block_table_2 table th,
.block_table_5 table th,
.block_table_6 table th {
    background-color: var(--i_sub2_color);
    border: 1px solid var(--i_border_color);
    text-align: center;
    vertical-align: middle;
}
.block_table_2 table td,
.block_table_5 table td,
.block_table_6 table td {
    background-color: var(--i_bg_color);
    border: 1px solid var(--i_border_color);
    vertical-align: middle;
}
.block_table_2 table thead td,
.block_table_5 table thead td,
.block_table_6 table thead td {
    text-align: center;
    font-weight: bold;
}
@media screen and (max-width: 500px) {
    .block_table_2 table {
        border-bottom: 1px solid var(--i_border_color);
    }
    .block_table_2 table th {
        border-top: 1px solid var(--i_border_color);
    }
    .block_table_2 table td {
        border-top: 1px dotted var(--i_border_color);
    }
}

/*----------------------------block_table_3----------------------------*/

.block_table_3 table thead,
.block_table_3 table thead th,
.block_table_3 table thead td,
.block_table_7 table thead,
.block_table_7 table thead th,
.block_table_7 table thead td {
    background-color: var(--i_sub2_color);
}
.block_table_3 table th,
.block_table_7 table th {
    background-color: var(--i_sub2_color);
    border: 1px solid var(--i_border_color);
    text-align: center;
    vertical-align: middle;
}
.block_table_3 table td,
.block_table_7 table td {
    background-color: var(--i_bg_color);
    border: 1px solid var(--i_border_color);
    vertical-align: middle;
}
@media screen and (max-width: 500px) {
    .block_table_3 table {
        border-bottom: 1px solid var(--i_border_color);
    }
    .block_table_3 table th {
        border-top: 1px solid var(--i_border_color);
    }
    .block_table_3 table td {
        border-top: 1px dotted var(--i_border_color);
    }
}
.block_table_3_item li {
    vertical-align: middle;
}

/*----------------------------gallery_archive / gallery_single----------------------------*/

.gallery_archive .inner_item a,
.gallery_single .inner_item a {
    transition: 0.2s ease-in-out;
    background-color: transparent;
}
.gallery_archive .inner_item a:hover,
.gallery_single .inner_item a:hover {
    background-color: #000;
}
.gallery_archive .inner_item a:hover img,
.gallery_single .inner_item a:hover img {
    opacity: 0.8;
}
.gallery_archive .inner_item a:after,
.gallery_single .inner_item a:after {
    color: #fff;
}
.gallery_archive .inner_item p span,
.gallery_single .inner_item p span {
    color: #fff;
}
.gallery_single_slider .slick-arrow::before {
    border-color: var(--i_btn_color);
}

/*----------------------------widget_gallery01----------------------------*/

.widget_gallery01 .slick-arrow {
    height: 40px;
    width: 30px;
    top: calc(50% - 20px);
    left: 0;
}
.widget_gallery01 .slick-next {
    left: auto;
    right: 0;
}

/*----------------------------gallery hover効果----------------------------*/

main .widget_gallery01 a,
main .gallery_archive .inner_item a,
main .gallery_single .inner_item a {
    overflow: hidden;
}
main .widget_gallery01 a img,
main .gallery_archive .inner_item a img,
main .gallery_single .inner_item a img {
    /*▼ 位置調整 美容院などの人物の場合は50% 30%あたり*/
    object-fit: cover;
    object-position: 50% 50%;
    font-family: 'object-fit: cover; object-position: 50% 50%;';
    backface-visibility: visible;
    transition: 1s ease-out !important;
    transition-property: transform opacity !important;
    transform: scale(1.001, 1.001);
}
main .widget_gallery01 a:hover img,
main .gallery_archive .inner_item a:hover img,
main .gallery_single .inner_item a:hover img {
    transform: scale(1.1, 1.1);
    opacity: 0.8;
}

/*----------------------------news_archive----------------------------*/

.news_archive article .inner_item_img:hover {
    opacity: 0.8;
}
.news_archive article .entry_meta {
    font-size: 1.3rem;
}

.add_design5 #primary article .inner_item_img a i:nth-last-child(1) {
    background-size: 50% !important;
}
#sidebar .widget_news02 li a div span i {
    background-size: 50% !important;
}

/*----------------------------widget_coupon----------------------------*/

.widget_coupon .content_wrapper {
    max-width: 900px !important;
}
.widget_coupon .inner_item>div,
.widget_coupon .inner_item>dl {
    font-size: 1.4rem;
    line-height: 1.7;
}

/*----------------------------widget_form----------------------------*/

.widget_form .privacypolicy {
    border: 1px solid var(--i_border_color);
}
.widget_form form {
    border-top: 1px solid var(--i_border_color);
}
.widget_form form dl {
    border-bottom: 1px solid var(--i_border_color);
}
.widget_form form dt,
.widget_form form dd {
    vertical-align: middle;
}
.widget_form form dt span {
    color: var(--i_sub2_color);
    color: #D90000;
    font-size: 1.2rem;
    font-weight: bold;

}
@media screen and (max-width: 770px) {
    .widget_form form dt {
        border-bottom: 1px dotted var(--i_border_color);
    }
}
main form dl input,
main form textarea {
    background: var(--i_sub2_color);
    border: 1px solid transparent;
    letter-spacing: 1px;
}
main form dl input:focus,
main form textarea:focus {
    background: var(--i_bg_color);
    border: 1px solid var(--i_border_color);
}
main form .submit input {
    letter-spacing: 3px;
    border: none;
}
main form select {
    background: var(--i_bg_color);
    border: 1px solid var(--i_border_color);
    letter-spacing: 1px;
}
main form input[type=radio]+label,
main form input[type=checkbox]+label {
    padding: 0 15px 0 22px;
}
main form input[type=radio]+label::before,
main form input[type=checkbox]+label::before {
    top: 50%;
    left: 0;
    width: 17px;
    height: 17px;
    margin-top: -9px;
    background: var(--i_sub2_color);
}
main form input[type=radio]+label::before {
    border-radius: 30px;
}
main form input[type=radio]:checked+label::after,
main form input[type=checkbox]:checked+label::after {
    left: 4px;
    width: 9px;
    height: 9px;
    margin-top: -5px;
    background: var(--i_sub_color);
}
main form input[type=radio]:checked+label::after {
    border-radius: 100%;
}
main form input[type=checkbox]:checked+label::after {}

/*----------------------------widget_link----------------------------*/

.widget_link .inner_item_txt {
    font-size: 2rem;
}

/*----------------------------widget_lp01----------------------------*/

.widget_lp01 li a:hover {
    opacity: 0.8;
}
.widget_lp01 li a div span {
    background-size: 60% auto;
}

/*----------------------------widget_menu01----------------------------*/

.widget_menu01 h3 {
    vertical-align: central;
    font-size: 1.7rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}
.widget_menu01 li dd {
    font-size: 1.3rem;
    letter-spacing: 0;
}

/*----------------------------widget_menu02----------------------------*/

.widget_menu02 h3 {
    vertical-align: central;
    font-size: 1.7rem;
    letter-spacing: 1px;
}
.widget_menu02 li>p {
    font-size: 1.3rem;
    letter-spacing: 0;
}

/*----------------------------widget_news02----------------------------*/

.block_news_2 li a {
    padding: 30px;
}
.block_news_2 li a:hover:after {
    border-width: 15px;
}

/*----------------------------widget_staff01----------------------------*/

.widget_staff01 .inner_item a:hover * {
    opacity: 0.8;
}
.widget_staff01 .sub {
    font-size: 1.2rem;
    font-weight: bold;
}

/*----------------------------widget_tel----------------------------*/

.widget_tel .inner_item_tel a,
.widget_tel .inner_item_tel span {
    font-size: 3.6rem;
    letter-spacing: 0.1rem;
    line-height: 1.1;
    padding: 20px;
}
@media screen and (max-width: 450px) {
    .widget_tel .inner_item_tel a,
    .widget_tel .inner_item_tel span {
        font-size: 2.6rem;
        padding: 15px 10px;
    }
    .widget_tel .inner_item_tel img {
        margin: 0 5px -2px 0;
    }
    .widget_tel .inner_item_tel svg {
        height: 16px;
        width: 16px;
    }
}

/*------------------glossary_archive------------------------*/

.glossary_archive .content_wrapper article {
    margin-bottom: 30px;
    padding-bottom: 30px;
    /*★1*/
}
.glossary_archive .content_wrapper .heading.block_header_2 {
    margin-bottom: 10px;
}
.glossary_archive .content_wrapper .heading.block_header_2 .h {
    font-size: 1.8rem;
}
.glossary_archive .content_wrapper .heading.block_header_2 a:after {
    content: "View More";
    position: absolute;
    width: 150px;
    bottom: 32px;
    /*★1 + 数px*/
    right: 0;
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    padding: 3px 10px;
}
.glossary_archive .content_wrapper article .entry_body {
    padding-right: 180px;
}

@media screen and (max-width: 1224px) {
    .glossary_archive .content_wrapper .heading.block_header_2 a:after {
        bottom: calc(32px + 1.8rem);
        /*★1 + 数px*/
    }
}
@media screen and (max-width: 650px) {
    .glossary_archive .content_wrapper article {
        padding-bottom: 60px;
    }
    .glossary_archive .content_wrapper .heading.block_header_2 a:after {
        bottom: 30px;
        /*★1*/
    }
    .glossary_archive .content_wrapper article .entry_body {
        padding-right: 0;
    }
}

/*------------------recruit------------------------*/

.recruit_archive.add_design1 .recruitment_list .inner_item {
    background: rgba(255, 255, 255, .8);
}

.index main>section:first-child+div.composite_box01 .heading.block_header_4 .h,
.index main>section:first-child+div+div.composite_box01 .heading.block_header_4 .h {
    font-size: 2.5rem;
    letter-spacing: 0.1rem;
}
@media screen and (max-width: 800px) {
    .index main>section:first-child+div.composite_box01 .heading.block_header_4 .h,
    .index main>section:first-child+div+div.composite_box01 .heading.block_header_4 .h {
        font-size: 2.1rem;
    }
}

/*------画像×nの追加デザイン用の記述追加------*/

.composite_box01.block_images_7 .inner_item {
    margin-top: 1px !important;
    margin-bottom: 1px !important;
}
.block_images_7 .inner_item_txt {
    background: rgba(0, 0, 0, 0.7);
}

/*------------------etc------------------------*/

.index .contents_box01 .inner_item_txt .heading.block_header_2 .h {
    font-size: 2.8rem !important;
    padding-left: 38px;
}
@media screen and (max-width: 800px) {
    .index .contents_box01 .inner_item_txt .heading.block_header_2 .h {
        font-size: 2.3rem !important;
        padding-left: 30px;
    }
}

/* ランディングページ対応 */
#pan {
    background: #ffffff;
}
/* Google Fontsの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500&family=Shippori+Mincho:wght@500;700&display=swap');

/* FV全体のラッパー */
.fv-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
    height: 80vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* はみ出した背景画像を隠す */
    background-color: #ffffff;
}

/* 背景画像（黄色の円・ピンクの円） */
.fv-bg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 50vw;
    /* 画面幅の半分程度（適宜調整） */
    max-width: 800px;
    opacity: 0.8;
    /* ふんわりさせるための透過（不要なら削除） */
}
.fv-bg img {
    width: 100%;
    height: auto;
    display: block;
}
.fv-bg--yellow {
    left: -5%;
}
.fv-bg--pink {
    right: -5%;
}

/* コンテンツ部分 */
.fv-content {
    position: relative;
    z-index: 2;
    /* 背景画像より手前に配置 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fv-since {
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid rgba(158, 28, 40, 0.3);
    /* 薄い赤の枠線 */
    border-radius: 30px;
    padding: 6px 24px;
    margin-bottom: 16px;
}

.fv-sub-title {
    color: #C5A059;
    font-family: 'Shippori Mincho', serif;
    font-size: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.fv-main-title {
    color: #9E1C28;
    font-family: 'Shippori Mincho', serif;
    font-size: 72px;
    line-height: 1.3;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    font-weight: 500;
}

.fv-lead {
    color: #334155;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    letter-spacing: 0.05em;
    margin-bottom: 40px;
}

.fv-badge img {
    width: auto;
    height: auto;
    box-shadow: none;
    border: none;
    background: transparent;
    border-radius: 0;
}

/* スクロール指示部分 */
.fv-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* スクロール用の矢印（V字） */
.fv-scroll::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1px solid #9E1C28;
    border-bottom: 1px solid #9E1C28;
    transform: rotate(45deg);
    margin: 6px auto 0;
}

section[id^="nbp18680481"] {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
main:has(section[id^="nbp18680481"]) {
    padding-top: 0 !important;
}
.fv-wrapper {
    margin-top: -50px;
}

/* =========================================
   スマートフォン用調整 (画面幅768px以下)
   ========================================= */
@media screen and (max-width: 768px) {
    .fv-wrapper {
        min-height: 600px;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .fv-sub-title {
        font-size: 20px;
    }
    .fv-main-title {
        font-size: 36px;
        margin-bottom: 24px;
    }
    .fv-lead {
        font-size: 14px;
        margin-bottom: 32px;
    }
    .fv-badge img {
        width: 140px;
    }
    .fv-bg {
        width: 120vw;
        top: 30%;
    }
    .fv-bg--yellow {
        left: -60vw;
        top: 45%;
    }
    .fv-bg--pink {
        right: -60vw;
    }
}

/* =========================================
   ご挨拶セクション
   ========================================= */
.greeting-section {
    width: 100%;
    padding: 100px 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

/* コンテンツの最大幅とフレックスレイアウト */
.greeting-container {
    max-width: 1000px;
    /* FVのサイズ感に合わせて適宜調整してください */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* --- 左側：写真エリア（縦横のサイズを直接指定して正方形にする） --- */
.greeting-image-area {
    position: relative;
    flex: 0 0 320px;
    width: 320px;
    height: 320px;
    /* ←aspect-ratioではなく、直接高さを指定します */
}

/* --- 会長の丸抜き写真 --- */
.greeting-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* --- 区切り線（確実に表示させるための修正） --- */
.greeting-divider {
    display: block;
    width: 100%;
    height: 1px;
    background-color: #e2e8f0;
    /* borderではなく背景色で線を引く */
    border: none;
    margin: 32px 0;
}

/* 後ろのゴールドの装飾線（疑似要素で表現） */
.greeting-image-area::after {
    content: '';
    position: absolute;
    top: 15px;
    /* 右下へ少しずらす */
    left: 15px;
    /* 右下へ少しずらす */
    width: 100%;
    height: 100%;
    border: 1px solid #C5A059;
    /* FVの50周年記念と同色と想定 */
    border-radius: 50%;
    z-index: 1;
}

/* 会長の丸抜き写真 */
.greeting-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* 浮いているような影 */
}

/* --- 右側：テキストエリア --- */
.greeting-text-area {
    flex: 1;
    /* 余った余白を埋める */
}

.greeting-subtitle {
    color: #9E1C28;
    font-family: 'Shippori Mincho', serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.greeting-title {
    color: #1E293B;
    font-family: 'Shippori Mincho', serif;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.4;
}

.greeting-body {
    /* リード文の色指定がなかったため、FVのリード文と同色を仮当てしています */
    color: #334155;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

.greeting-body p {
    margin-bottom: 24px;
}

.greeting-body p:last-child {
    margin-bottom: 0;
}

/* 区切り線 */
.greeting-divider {
    border: none;
    border-top: 1px solid #f1f5f9;
    /* 極薄いグレー */
    margin: 32px 0;
}

.greeting-signature {
    font-family: 'Noto Sans JP', sans-serif;
    color: #1E293B;
}

.greeting-company {
    font-size: 18px;
    margin-bottom: 8px;
}

.greeting-name {
    font-size: 14px;
    font-weight: 700;
}

/* PCのみで改行させるクラス */
.pc-only {
    display: inline;
}

/* =========================================
     ご挨拶セクション：SP用調整 (画面幅768px以下)
     ========================================= */
@media screen and (max-width: 768px) {
    .fv-wrapper {
        min-height: 500px;
        /* 600pxから500pxに変更して少し短くする */
        padding: 0 20px;
        box-sizing: border-box;
    }
    /* --- ご挨拶セクションの上余白を詰める --- */
    .greeting-section {
        padding-top: 10px;
        /* 上の余白を60pxから10pxに極力減らす */
        padding-bottom: 60px;
        /* 下の余白はキープ */

        /* ※もしこれでも隙間が気になる場合は、以下のマイナスマージンで強制的に上に引っ張り上げます */
        /* margin-top: -30px; */
    }
    .greeting-container {
        flex-direction: column;
        /* 縦並びに変更 */
        gap: 48px;
    }
    .greeting-image-area {
        flex: 0 0 auto;
        width: 240px;
        height: 240px;
        margin: 0 auto;
    }
    /* SP時はPC用の強制改行を無効化（画面幅に合わせて自然に改行させる） */
    .pc-only {
        display: none;
    }
    .greeting-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .greeting-body {
        font-size: 15px;
    }
}

/* =========================================
   History & Evolution セクション
   ========================================= */
.history-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F5F5F5;
    padding: 100px 20px;
    box-sizing: border-box;
}
.history-container {
    max-width: 1000px;
    margin: 0 auto;
}
.history-header {
    text-align: center;
    margin-bottom: 50px;
}
.history-subtitle {
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.history-title {
    color: #1E293B;
    font-family: 'Shippori Mincho', serif;
    font-size: 36px;
    font-weight: 500;
}

/* タイトル下のゴールドの線 */
.history-line {
    width: 40px;
    height: 2px;
    background-color: #C5A059;
    margin: 0 auto;
}

/* --- 白いカード部分 --- */
.history-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 60px;
    /* ほんのり影をつけて浮かせます */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.history-block {
    margin-bottom: 48px;
}
/* 2つ目のブロック（製品と素材の変遷）が持つ下方向の余白をすべて強制リセット */
.history-card .history-block:nth-of-type(2),
.history-card .history-block:nth-of-type(2) .history-block-text,
.history-card .history-block:nth-of-type(2) .history-block-text p {
    margin-bottom: 0 !important;
}

/* 下部ボタングループの上下の余白（これは先ほどのままでOKです） */
.history-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 24px;
    /* 点線より上の余白 */
    padding-top: 24px;
    /* 点線より下の余白 */
}

.history-block-title {
    color: #9E1C28;
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 700;
    padding-left: 12px;
    border-left: 3px solid #C5A059;
    margin-bottom: 16px;
    line-height: 1.3;
}

.history-block-text {
    color: #334155;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    /* テキストとボタンの間の余白 */
}

/* --- PDFボタン共通 --- */
.pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #9E1C28;
    border-radius: 30px;
    padding: 10px 24px;
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.pdf-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    /* テキストと同じ色になる */
}

/* マウスホバー時のアクション */
.pdf-btn:hover {
    background-color: #9E1C28;
    color: #ffffff;
}

/* --- 下部ボタングループ --- */
.history-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px dashed #e2e8f0;
    /* 区切りのための薄い点線 */
}


/* =========================================
     スマートフォン用調整 (画面幅768px以下)
     ========================================= */
@media screen and (max-width: 768px) {
    .history-section {
        padding: 60px 20px;
    }

    .history-title {
        font-size: 24px;
    }

    .history-card {
        padding: 30px 20px;
    }

    .history-block-title {
        font-size: 18px;
    }

    .history-block-text {
        font-size: 14px;
    }

    /* SPではボタンを縦積みにし、幅を100%にする */
    .pdf-btn {
        width: 100%;
        padding: 12px 20px;
        box-sizing: border-box;
    }

    .history-btn-group {
        flex-direction: column;
        gap: 12px;
    }
}

/* =========================================
   Technology & Education セクション
   ========================================= */
.tech-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    padding: 0 20px 20px;
    box-sizing: border-box;
}
.tech-container {
    max-width: 1000px;
    margin: 0 auto;
}
/* --- ヘッダー部分 --- */
.tech-header {
    text-align: center;
    margin-bottom: 50px;
}
.tech-subtitle {
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.tech-title {
    color: #1E293B;
    font-family: 'Shippori Mincho', serif;
    font-size: 36px;
    font-weight: 500;
}
.tech-line {
    width: 40px;
    height: 2px;
    background-color: #C5A059;
    margin: 0 auto;
}

/* --- カードレイアウト --- */
.tech-cards {
    display: flex;
    gap: 24px;
}

.tech-card {
    flex: 1;
    background-color: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 40px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* カード内のアイコン画像 */
.tech-icon {
    width: auto;
    height: 30px;
    margin-bottom: 10px;
    object-fit: contain;
    object-position: left;
}

.tech-card-title {
    color: #1E293B;
    font-family: 'Shippori Mincho', serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.tech-card-text {
    color: #334155;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
    flex-grow: 1;
    /* 左右のテキスト量が違っても、下のリンク位置を揃える */
}

/* --- PDFテキストリンク --- */
.tech-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tech-pdf-link:hover {
    opacity: 0.6;
    /* ホバー時に少し薄くする */
}

.tech-pdf-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* =========================================
     スマートフォン用調整 (画面幅768px以下)
     ========================================= */
@media screen and (max-width: 768px) {
    .tech-section {
        padding: 0px 20px 20px;
    }
    .tech-title {
        font-size: 24px;
    }
    .tech-cards {
        flex-direction: column;
        /* SPでは縦並びに変更 */
        gap: 16px;
    }
    .tech-card {
        padding: 30px 20px;
    }
    .tech-icon {
        height: 32px;
    }
    .tech-card-title {
        font-size: 20px;
    }
    .tech-card-text {
        font-size: 14px;
        margin-bottom: 24px;
    }
}

/* =========================================
   Quality & Safety セクション
   ========================================= */
.quality-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #9E1C28;
    padding: 80px 20px 100px;
    box-sizing: border-box;
}
.quality-container {
    max-width: 1000px;
    margin: 0 auto;
}
/* --- ヘッダー部分 --- */
.quality-header {
    text-align: center;
    margin-bottom: 50px;
}
.quality-subtitle {
    color: #C5A059;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.quality-title {
    color: #ffffff;
    /* タイトルは白 */
    font-family: 'Shippori Mincho', serif;
    font-size: 36px;
    font-weight: 500;
}
/* タイトル下の金色の線 */
.quality-line {
    width: 40px;
    height: 2px;
    background-color: #C5A059;
    margin: 0 auto;
}
/* --- コンテンツボックス --- */
.quality-content-box {
    display: flex;
    gap: 60px;
    background-color: rgba(255, 255, 255, 0.05);
    /* ほんのり白を被せてトーンを変える */
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* 半透明の枠線 */
    border-radius: 16px;
    padding: 60px;
    box-sizing: border-box;
}

.quality-text-area {
    flex: 1;
}

.quality-box-title {
    color: #C5A059;
    font-family: 'Shippori Mincho', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.quality-box-text {
    color: #ffffff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 32px;
}

/* --- PDFボタン --- */
.quality-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.quality-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #ffffff;
    /* 白背景 */
    color: #9E1C28;
    /* 赤文字 */
    border-radius: 30px;
    padding: 12px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.quality-btn:hover {
    opacity: 0.8;
}

.quality-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* --- 右側アイコンエリア --- */
.quality-image-area {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    /* 3つ並ぶため少し間隔を詰めます */
}
/* 各カードのスタイル */
.quality-mark-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 16px;
    /* 上下左右の余白 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    /* 画像とテキストを縦並びにする */
    align-items: center;
    justify-content: center;
}
/* 画像を100pxに固定する */
.quality-mark-card img {
    width: 100px;
    height: auto;
    display: block;
    margin-bottom: 12px;
    /* テキストとの間の余白 */
}
/* 画像下のテキストのスタイル */
.quality-mark-text {
    color: #9E1C28;
    /* ダークレッド */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}
.mark-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Shippori Mincho', serif;
    font-size: 24px;
    font-weight: 700;
}
.mark-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
}
.mark-ih {
    border: 2px solid #9E1C28;
    color: #9E1C28;
}
.text-ih {
    color: #9E1C28;
}
.mark-s {
    border: 2px solid #C5A059;
    color: #C5A059;
}
.text-s {
    color: #C5A059;
}
/* ========================================================================= */


/* =========================================
     スマートフォン用調整 (画面幅768px以下)
     ========================================= */
@media screen and (max-width: 768px) {
    .quality-section {
        padding: 60px 20px;
    }
    .quality-title {
        font-size: 24px;
    }
    .quality-content-box {
        flex-direction: column;
        /* SPでは縦並びに */
        padding: 30px 20px;
        gap: 40px;
    }
    .quality-box-title {
        font-size: 18px;
    }
    .quality-box-text {
        font-size: 14px;
    }
    .quality-image-area {
        flex: 0 0 auto;
        width: 100%;
        margin: 0 auto;
        gap: 16px;
    }
    .quality-btn {
        width: 100%;
        /* SPではボタンを横幅いっぱいに */
        box-sizing: border-box;
    }
}

/* =========================================
   MEMBER セクション
   ========================================= */
.member-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    padding: 0px 20px 100px;
    box-sizing: border-box;
}

.member-container {
    max-width: 1000px;
    margin: 0 auto;
}
/* --- ヘッダー部分 --- */
.member-header {
    text-align: center;
    margin-bottom: 50px;
}
.member-subtitle {
    color: #9E1C28;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.member-title {
    color: #1E293B;
    font-family: 'Shippori Mincho', serif;
    font-size: 36px;
    font-weight: 500;
}

/* タイトル下の金色の線 */
.member-line {
    width: 40px;
    height: 2px;
    background-color: #C5A059;
    margin: 0 auto;
}
/* --- カードレイアウト --- */
.member-cards {
    display: flex;
    gap: 24px;
}
.member-card {
    flex: 1;
    /* 3つのカードを均等な幅にする */
    background-color: #FAFAFA;
    /* ほんのりグレーの背景 */
    border: 1px solid #E2E8F0;
    /* 薄い枠線 */
    border-radius: 12px;
    padding: 40px 24px;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 中身を中央揃え */
}
.member-card-title {
    color: #1E293B;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}
.member-card-text {
    color: #334155;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 32px;
    flex-grow: 1;
    /* テキスト量に差があってもボタンの高さを揃える */
}
/* --- PDFボタン --- */
.member-pdf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 80%;
    /* ボタンの幅をカードの8割程度に広げる */
    border: 1px solid #9E1C28;
    background-color: #ffffff;
    color: #9E1C28;
    border-radius: 30px;
    padding: 12px 24px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}
.member-pdf-btn:hover {
    background-color: #9E1C28;
    color: #ffffff;
}
.member-pdf-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}


/* =========================================
     スマートフォン用調整 (画面幅768px以下)
     ========================================= */
@media screen and (max-width: 768px) {
    .member-section {
        padding: 0px 20px 60px;
    }
    .member-title {
        font-size: 24px;
    }
    .member-cards {
        flex-direction: column;
        /* SPでは縦並びに変更 */
        gap: 16px;
    }
    .member-card {
        padding: 30px 20px;
    }
    .member-pdf-btn {
        width: 100%;
        /* SPではボタンを横幅いっぱいに */
        box-sizing: border-box;
    }
}

.contents_btn01 a {
    padding: 0px;
}