﻿#cms_6-d .cate_title {
    color: #ff8c00;
    font-size: 2.75rem;
}
#cms_6-d .cate_box.noimg:after, .cms_6-d .cate_box.noimg:after {
    background-color: #fffdf8;
}
#cms_6-d .cate_box:after, .cms_6-d .cate_box:after{
    color: #585858;
}
.c2_box_txt p {
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
}
div#main_txt2 img {
    width: 500px;
    margin-bottom: 50px;
}
div#main_txt2 {
    position: absolute;
    color: white;
    font-size: 16px;
    max-width: 850px;
    bottom: 100px;
    left: 100px;
    width: 50%;
}

div#main_b1,div#main_b2,div#profile,div#main_txt,div#main_txt img{
    display:none;
}
.txt_color5{
    color: #4483ee;
}
button.blog_btn:hover{
    cursor: pointer;
    opacity:0.8;
}
button.blog_btn {
    padding: 5px 40px;
    border: 0;
    background: #ff8c00;
    color: white;
    border-radius: 5px;
    transition:all 0.3s;
}
div#cms_1-a .cate_box p.box_txt1{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    transition: all 0.3s;
}

.txt_open {
    -webkit-line-clamp: unset !important;
}
/*バナー*/
.btn_container a{

}
@media screen and (min-width:768px){
    .box_left{
        margin-top:100px;
    }
}

video{
    position:relative !important;
    width:80% !important;
    transform:none !important;
    top:0;
    left:0 !important;
}

#page_top{
    display:none !important;
}
#banner{
    position:fixed;
    right:5px;
    bottom:5px;
    max-width:300px;
    z-index:99;
    transition:all 0.3s;
    border: 2px solid;
}
#banner:hover{
    opacity:0.8;
}
.cms_box .cms_box_bg{
    display:none;
}
.section{
    background-color: #fefff8;
    background-image: url(Dup/img/intro_bg1.png) ,url(Dup/img/intro_bg2.png);
    background-repeat: no-repeat;
    background-position: left bottom,right top;
    background-size: 50%;
}
#cms_2-b .cate_box {
    background: white;
}
.border_color2 {
    border-color: #fff1b6;
}
#wrap,.title_box{
    background: #fffdf8;
}
.title_box p {
    color: #ffd100;
}
a.linkStyle {
    color: #ff8c00;
}
.cms_5-c .box_txt1::before,#cms_5-c .box_txt1::before {
    color: #ffd100;
}
.top_cms_title p {
    color: #ffd100;
    font-weight: bold;
}
.cms_box .cms_box_bg:before {
    width: 100%;
    height: 160px;
    content: "";
    position: absolute;
    background: url(Dup/img/cms_bg.png) no-repeat;
    background-size: contain;
    top: -160px;
    background-position: bottom;
}
.top_cms_title h2 {
    color: #ff8c00;
}
#pp-nav.right{
    background:none;
}
.c2_box:nth-child(1) p.con_no {
    color: #FFCE00;
}
.c2_box:nth-child(2) p.con_no {
    color: #FF8C00;
}
.c2_box:nth-child(3) p.con_no {
    color: #FFF9F2;
}
body{
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
#main_img .swiper-wrapper::before{
    display:none;
}

section#main_img {
    background: url(Dup/img/main_img.jpg);
    background-position: center;
    background-size: cover;
}

div#main_b2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70vw;
}

.intro_img a span{
    display:none;
}
.intro_box {
    display: flex;
}
.intro_img a::before{
    display:none;
}

.box_left p {
    font-size: 14px;
    border: 2px solid;
    background: white;
    padding: 30px;
    position: relative;
    top: -60px;
    left: 150px;
}
.box_right h2 {
    writing-mode: vertical-rl;
    color: black;
    line-height: 80px;
    margin-left: auto;
    text-align: left;
}
.box_right h2 span {
    font-size: 47px;
    color: #ff8c00;
    position: relative;
    top: -28px;
}
.box_right h2 {
    writing-mode: vertical-rl;
    color: black;
    line-height: 90px;
    margin-left: auto;
    text-align: left;
    font-size: 40px;
    position: relative;
    right: 7vw;
    top: 1vw;
}
.box_right h2 span {
    font-size: 64px;
    color: #ff8c00;
    position: relative;
    top: -33px;
}

section#s_content1 {
    background-color: #fefff8;
    background-image: url(Dup/img/intro_bg1.png) ,url(Dup/img/intro_bg2.png);
    background-repeat: no-repeat;
    background-position: left bottom,right top;
    background-size: 50%;
}

.c2_box {
    height: 100%;
}
section#s_content2{
    display:flex;
}

.c2_box {
    border: 2px solid #4d4d4d;
    box-sizing: border-box;
}


.c2_box_txt {
    padding: 0;
    margin-right: 50px;
    margin-left: auto;
    background: transparent !important;
    writing-mode: vertical-rl;
}
.c2_box {
    position: relative;
    height: calc(100vh - 56px);
    border-left: 0;
}
.c2_box:first-of-type{
    border-left:px solid #4d4d4d;
}
p.con_no {
    position: absolute;
    left: 20px;
    top: 20px;
    font-size: 100px;
    line-height: 100px;
    font-family: 'Saira', sans-serif;
    font-weight: bold;
}
.c2_box_txt h2{
    text-align:left;
    color: #2b2b2b;
}

.c2_box:first-of-type {
    background-color: #FFFED7;
    background-image: url(Dup/img/con2_1.png);
    background-repeat: no-repeat;
    background-position: center bottom 50px;
    background-size: 55%;
}

.c2_box:nth-child(2){
    background-color: #FFEA92;
    background-image: url(Dup/img/con2_2.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 50%;
}

.c2_box:nth-child(3){
    background-color: #FFCE00;
    background-image: url(Dup/img/con2_3.png);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 55%;
}

.c2_box .more_box {
    position: absolute;
    max-width: none;
    height: 100%;
    border: 0;
    opacity: 0;
    background: #d17300d4;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    font-size: 24px;
    flex-direction: column;
    text-align: left;
    padding: 50px;
}
.c2_box .more_box:hover{
    opacity:1;
}
@media screen and (max-width:1300px){
    .box_right h2{
        font-size:30px;
    }
}

/*-------------------------------------タブレット--------------------------------------------------*/
@media screen and (max-width:768px){
    .remodal {
    text-align: left;
}
    section#main_img {
    background: #f06307; 
    height:100vh;
        
    }
    div#main_txt2 img {
    width: auto;
    margin-bottom: 50px;
}
div#main_txt2 {
    position: absolute;
    color: white;
    font-size: 16px;
    max-width: 850px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
    .box_right h2 {
    font-size: 24px;
    line-height: 60px;
}
.box_right h2 span {
    font-size: 44px;
}
.box_left p{
top: -30px;
    left: 110px;
}
section#s_content2 {
    flex-direction: column;
}
.c2_box {
    width: 100% !important;
height: 50vh;
}

.c2_box {
    border-bottom: 0;
    border-left: 2px solid;
}
.c2_box:last-of-type {
    border-bottom: 2px solid;
}
.c2_box:first-of-type{
background-size:35%;
}
.c2_box:nth-child(2){
background-size:50%;
}
.c2_box:nth-child(3){
background-size:35%;
}
.section{
    background:none;
}
p.s_footer_copy.font_12.txt_center.pd_b-5px_sp.txt_white.bg_color1 {
    padding-bottom: 100px;
}
.sf_access.width_1000-max.grid_10.mg_center.mg_t-40px.mg_b-40px {
    padding-bottom: 40px;
}
.c2_box a{
    pointer-events:none;
}
a.remodal_btn {
    pointer-events: all;
}
a.remodal_btn2 {
    display: block;
    background: #FF9800;
    text-align: center;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}
.c2_box_txt h2 {
    writing-mode: initial;
    font-size: 24px;
    text-align: center;
}
.c2_box_txt {
    writing-mode: inherit;
}
a.remodal_btn {
    text-align: center;
    background: #FF9800;
    display: block;
    color: white;
    padding: 10px;
    border-radius: 5px;
}
.c2_box_txt {
    padding: 30px;
    margin-top: 100px;
    margin-right:0;
}
.c2_box {
    height: auto;
}
.c2_box_txt .width_100per.height100per.pd_20px.pd_t-40px_sp.pd_b-40px_sp.posi_rel {
    padding-bottom: 500px;
}
}

/*-------------------------------------スマホ--------------------------------------------------*/
@media screen and (max-width:667px){
    .fig_wrap figure {
    margin: 10px 0;
}
    #main_img{
        height:60vh;
    }
    video{
        width:100% !important;
    }
    div#main_b1 {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 2vw;
    width: 65vw;
}
div#main_txt img {
    width: 37vw;
    position: relative;
    left: 24vw;
}
div#profile {
    position: absolute;
    background: orange;
    padding: 10px;
    left: 5vw;
    bottom: 18px;
    z-index: 5;
    font-size: 1vw;
    color: white;
    font-weight: bold;
}
.box_right h2 {
    font-size: 18px;
    line-height: 50px;
}
.box_right h2 span {
    font-size: 34px;
	top:-23px;
}
.box_right {
    order: 1;
}
.box_left {
    order: 2;
}
.box_left p{
left:0;
}

figure.intro_img{
    padding-top: 0;
}
.box_right h2{
margin:auto;
right:0;
}

p.con_no {
    position: absolute;
    left: 10px;
    top: 0px;
    font-size: 50px;
    line-height: 70px;
    font-family: 'Saira', sans-serif;
    font-weight: bold;
}

#banner{
max-width:280px;
}
.overlay {
    top: 44px
}
    .intro_box {
    flex-direction: column;
}
.modal_scroll figure {
    width: 50% !important;
    margin: auto;
    margin-bottom: 20px;
}
.box_left p {
    top: 0;
    margin-top: 30px;
}
a.txt_white.mg_t-20px.font_18.font_bold.d_inline_b.d_block_sp.border_so1.border_white.motion03s.hvr_opa08.pd_l-30px.pd_r-30px.border_rad3, a.txt_white.mg_t-20px.font_18.font_bold.d_inline_b.d_block_sp.border_so1.border_white.motion03s.hvr_opa08.pd_l-30px.pd_r-30px.border_rad3 span {
    font-size: 16px;
    white-space: nowrap;
}
.fig_wrap.grid_12.d_flex.flex_top-left.mg_b-20px {
    order: 1;
}
#cms_1-a .date {
    order: 2;
}
#cms_1-a h3.box_title1{
    order: 3;
}
div#cms_1-a .cate_box p.box_txt1{
    order: 4;
}
button.blog_btn{
    order:5;
}
.c2_box {
    height: 85vh;
}

.c2_box_txt:nth-child(3) p{
    line-height: 1.5em;
}
#main_img {
    height: 100vh;
}
div#main_txt2 img {
    width: 100%;
}
div#main_txt2 {
    position: absolute;
    color: white;
    font-size: 14px;
    max-width: 850px;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.c2_box_txt h2 {
    writing-mode: initial;
}
.c2_box_txt {
    writing-mode: inherit;
}
.c2_box_txt p {
    padding: 0;
}
.c2_box_txt h2 {
    margin-top: 30px;
}
.c2_box:first-of-type {
    background-size: 55%;
}
.c2_box_txt .width_100per.height100per.pd_20px.pd_t-40px_sp.pd_b-40px_sp.posi_rel {
    padding-bottom: 360px;
}
.c2_box{
    height: auto;
}
.c2_box:nth-child(2) {
    background-size: 80%;
}
.c2_box:nth-child(3) {
    background-size: 55%;
    background-position: 50% 120%;
}

.c2_box a{
    pointer-events:none;
}
.c2_box .more_box{
    display:none;
}
a.remodal_btn {
    pointer-events: all;
}
a.remodal_btn {
    text-align: center;
    background: #FF9800;
    display: block;
    color: white;
    padding: 10px;
    border-radius: 5px;
}
.remodal {
    text-align: left;
}
a.remodal_btn2 {
    display: block;
    background: #FF9800;
    text-align: center;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}
.remodal-overlay {
    background: rgb(255 152 0 / 75%);
}
.c2_box_txt h2 {
    font-size: 18px;
    text-align: left;
}
.c2_box_txt {
    padding: 20px;
    margin-top: 0;
    margin-right: 0;
}
}