@charset "UTF-8";

/* メインメニュー　PC用
----------------------------------------------------------------------------------------------------------*/

@media only screen and (min-width: 1025px) {
#nav-box {
    margin-bottom: 100px;
}
#toppage #nav-box {
    margin-bottom: 150px;
}
    
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    line-height: 55px !important;
    padding: 0px 20px 0px 20px !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    background: none !important;
}

#mega-menu-item-17918 .mega-sub-menu li a:before {
    content: "";
    display: block !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    width: calc(100% - 20px) !important;
    height: 140px !important;
    margin: 10px 10px 0 !important;
    background-position: center !important;
}
#mega-menu-item-17919 a:before {
    background-image: url("images/item01.jpg") !important;
}
#mega-menu-item-17920 a:before {
    background-image: url("images/item02.jpg") !important;
}
#mega-menu-item-17921 a:before {
    background-image: url("images/item03.jpg") !important;
}
#mega-menu-item-17922 a:before {
    background-image: url("images/item04.jpg") !important;
}
#mega-menu-item-17923 a:before {
    background-image: url("images/item05.jpg") !important;
}
#mega-menu-item-17924 a:before {
    background-image: url("images/item06.jpg") !important;
}
#mega-menu-item-17925 a:before {
    background-image: url("images/item07.jpg") !important;
}
#mega-menu-item-17926 a:before {
    background-image: url("images/item08.jpg") !important;
}
#mega-menu-item-17927 a:before {
    background-image: url("images/item09.jpg") !important;
}
#mega-menu-item-17928 a:before {
    background-image: url("images/item10.jpg") !important;
}

}


/* メインメニュー　Mobile用
----------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 1025px) {
.mega-menu-primary-mobile-open .mean-bar .mean-nav {
    
}

    
ul.mega-sub-menu {
   background: none !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    margin-bottom: -10px !important;
    font-size: 16px !important;
    color: #fff;
    border: 1px solid;
        line-height: 2.4em;
} 
    
    
    
.mean-bar {
    position: relative;
    z-index: 1000;
}
.mean-expand {
    display: block;
    height: 0;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
    line-height: 1.4;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    padding-left: 20px;
}
.mega-toggle-blocks-left:after {
    content: "MENU";
    position: absolute;
    top: -4px;
    left: 50px;
    width: 65px;
    height: 50px;
    color: #fff;
    line-height: 50px;
    background: var(--main);
    z-index: 1;
}
ul.mega-sub-menu li {
    
}
}



/* カラム
----------------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 900px) {
.flex-box {
    justify-content: center;
}
.w25,
.w3,
.w4,
.w5,
.w6,
.w7,
.w8,
.w9,
.w10,
.w11 {
    width: 48%;
    max-width: 48%;
    margin: 0 4% 30px 0;
}
.w25:nth-child(even),
.w3:nth-child(even),
.w4:nth-child(even),
.w5:nth-child(even),
.w6:nth-child(even),
.w7:nth-child(even),
.w8:nth-child(even),
.w9:nth-child(even),
.w10:nth-child(even),
.w11:nth-child(even) {
    margin-right: 0;
}
.w1,
.w2 {
    width: 22%;
    max-width: 22%;
    margin: 0 4% 0 0;
}
.w1:nth-child(4n),
.w2:nth-child(4n) {
    margin-right: 0;
}
}

@media only screen and (max-width: 600px) {
.flex-box [class^="w"] {
    flex-basis: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
}
.w1,
.w2 {
    width: 48%;
    max-width: 48%;
    margin: 0 4% 30px 0;
}
.w1:nth-child(even),
.w2:nth-child(even) {
    margin-right: 0;
}
.flex-box [class^="w"]:last-of-type {
    margin-bottom: 0;
}
}

@media screen and (min-width: 600px) and (max-width: 900px) {
.w25 {
    width: 30.6666666667%;
    max-width: 30.6666666667%;
}
.w25:nth-child(even) {
    margin-right: 4%;
}
.w25:nth-child(3n) {
    margin-right: 0;
}
}

@media screen and (min-width: 700px) and (max-width: 900px) {
.w3,
.w4 {
    width: 30.6666666667%;
    max-width: 30.6666666667%;
}
.w3:nth-child(2n),
.w4:nth-child(even) {
    margin-right: 4%;
}
.w3:nth-child(3n),
.w4:nth-child(4n) {
    margin-right: 0;
}
}




/* max-width: 1024px
----------------------------------------------------------------------------------------------------------*/

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

/*-------- ベースレイアウト --------*/
#container,
.inner {
	display: block;
    width: 100%;
}
#toppage article,
#content,
#sidebar,
#footer {
	width: 100%;
	padding-left: 7%;
    padding-right: 7%;
}
article[id^="page-"],
article[id^="post-"] {
    display: block;
}
.page-content {
    width: 100%;
	padding-left: 7%;
    padding-right: 7%;
    margin-bottom: 80px;
}
#sidebar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-top: 50px;
    padding-bottom: 30px;
    margin-left: 0;
}
#footer {
    padding: 30px 7% 40px;
	margin-top: 200px;
}
#footer .flex-box {
	width: 100%;
    justify-content: space-between;
}
section[class*="110"],
section[class*="120"],
section[class*="130"],
section[class*="140"],
section[class*="150"],
section[class*="160"],
section[class*="170"],
section[class*="180"],
section[class*="190"],
section[class*="200"],
div[class*="110"],
div[class*="120"],
div[class*="130"],
div[class*="140"],
div[class*="150"],
div[class*="160"],
div[class*="170"],
div[class*="180"],
div[class*="190"],
div[class*="200"] {
    margin-bottom: 100px;
}

/*-------- ヘッダ --------*/
header {
    margin-bottom: 170px;
    border-bottom: none;
}
header .inner {
	padding: 0 3%;
	text-align: center;
}
#header-img {
	margin: 0 auto 30px;
}
header .logo img {
	margin: 20px auto;
}
#breadcrumb {
    bottom: -150px;
    width: 100%;
    padding: 10px 230px 10px 0;
	margin-bottom: 60px;
}
#breadcrumb ul {
	width: 90%;
    color: #666;
    text-align: left;
}
#breadcrumb li, #breadcrumb li a {
    line-height: 1.4;
}
header .logo-box {
    position: relative;
    padding: 0 5%;
    z-index: 1;
}
.header-top {
    padding: 38px 5% 15px;
}
header .logo-box .banner img,
header .logo-box .banner a:nth-child(2) {
    width: 80px;
    height: 69px;
}
header .logo-box .banner a:nth-child(2) {
    padding: 10px;
}
header .logo-box .banner a:nth-child(2) img {
    width: 100%;
    height: 100%;
}
#header-top-img .inner {
    padding: 0 5%;
}
#header-top-img {
    padding-top: 30px;
    margin-top: -1px;
}
#header-top-img .inner .circle {
    left: auto;
    right: 0;
    bottom: auto;
    width: 60%;
}
.association {
    bottom: -280px;
}

/*-------- ホーム --------*/
.item {
    left: 0;
    width: 100%;
    min-width: 100%;
    padding: 0;
    transform: translateX(0);
}
.item .w25:nth-child(even) {
    margin-right: 0;
}
.greeting {
    position: relative;
    left: 50%;
    width: 100vw;
    height: auto;
    transform: translateX(-50%);
    padding-top: 60px;
    background: url(images/greeting-back.png) no-repeat center;
}
.greeting .text {
    width: 86%;
    color: #222;
    margin: 0 auto;
}
.impossible:before {
    right: -10px;
}
.first .w4 {
    padding: 20px 20px 20px;
}

/*-------- 固定ページ --------*/
h1.title.inner {
    padding: 0 7%;
}
h1.title {
    font-size: 4vw;
}
article[class^="post-"] section h2 {
    width: 70%;
    font-size: 2.4vw;
}
h3.title {
    font-size: 2.5vw;
}
.notfound {
    text-align: center;
}
article[class^="post-"] section h2 br {
    display: none;
}
body[id^="page-"] section .flex-box [class^="w"] .number {
    top: -25px;
}
#page-archive .dialy section {
    padding: 50px 20px 70px;
}
#page-archive .dialy .btn {
    bottom: 30px;
}
    
/*-------- 投稿ページ --------*/
.single-content #content {
    width: 86%;
    margin: 120px 7% 80px;
    padding: 80px 50px 70px;
}
.pagenav {
    width: 86%;
    margin: 50px 7% 0;
}
#page-archive .news-list section,
#page-archive section {
    padding: 30px;
}
.single-content .top-btn {
    margin: -30px 7% 50px;
}
.single-content .top-btn a {
    font-size: 100%;
}
.top-btn .w6 a span {
    display: block;
    font-size: 140%;
}

/*-------- 投稿一覧 --------*/


/*-------- サイドバー --------*/
#sidebar {
    padding-bottom: 50px;
    margin-top: 50px;
}
#sidebar .widget:last-child {
    margin-bottom: 0;
}
#sidebar div[class^="customs-banners"] {
    max-width: 500px;
}
.widget-search {
    width: 100%;
    max-width: 100%;
}

/*-------- フッダ --------*/
#footer .flex-box [class^="w"] {
    margin-bottom: 0;
}
#footer .flex-box [class^="w"]:last-child {
    width: 100%;
    max-width: 100%;
}
#footer .widget {
    margin-bottom: 30px !important;
}
#footer .widget-post {
    width: 100% !important;
    max-width: 100% !important;
}
#footer .widget-post:first-child {
    border-top: 1px dotted #ccc;
}
#footer .footer-sumally {
    margin-top: 30px;
}
.footer-menu {
	display: none;
}
.footer-under .inner {
    width: 94%;
    justify-content: center;
}
#page-top {
    right: 10px;
    bottom: 10px;
}
.under-btn {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: 100vw;
    transform: translateX(-50%);
    display: flex;
    width: 100%;
    height: 40px;
    border-top: 1px solid rgba(255,255,255,.4);
    background: var(--main);
    z-index: 100;
}
.under-btn a {
    display: block;
    flex-basis: 50%;
    width: 50%;
    max-width: 50%;
    text-align: center;
    line-height: 40px;
    vertical-align: middle;
    color: #fff !important;
    font-size: 120%;
}
.under-btn a svg {
    color: var(--sub);
    font-size: 110%;
}
.under-btn a:first-child {
    border-right: 1px solid rgba(255,255,255,.4);
}
.footer-under {
    padding-bottom: 55px;
}
#page-scroll {
    right: 10px;
    bottom: 18px;
}
#page-scroll .fa-angle-up {
    width: 30px;
    height: 30px;
    line-height: 30px;
}
#footer .footer-sumally,
#footer .flex-box {
    min-width: 100%;
}
    
/*-------- その他 --------*/
.top-slider-box {
    padding: 80px 7%;
}

}



/* max-width: 600px
----------------------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 600px) {
	
/*-------- ベースレイアウト --------*/


/*-------- ヘッダ --------*/
header {
    padding: 10px 0 30px;
    margin-bottom: 200px;
}
header .logo-box {
    display: block;
    margin: 10px 0 !important;
}
header .logo-box img {
    width: 90%;
    max-width: 400px;
    margin: 0 auto 15px;
}
header .logo-box .header-banner {
    width: 90%;
    max-width: 220px;
    height: auto;
    margin: 10px auto 15px;
}
header .logo-box .banner {
    position: absolute;
    right: 5%;
    bottom: -90px;
}
header .logo-box .access {
    font-size: 1.7rem;
    padding: 5px 15px;
    margin-left: 15px;
}
header .side-btn {
    top: 123px;
    right: 0;
    width: 30px;
    font-size: 2.2rem;
    line-height: 28px;
    letter-spacing: 1px;
}
#breadcrumb {
    bottom: -220px;
    padding: 10px 0;
}
#header-top-img {
    height: 500px;
    margin-bottom: 380px;
    border-bottom: 30px solid #fff;
}
#header-top-img .inner p:nth-child(2) span {
    font-size: 7rem;
}
#header-top-img .inner p:nth-child(3) {
    font-size: 2.1rem;
}
#header-top-img .inner .circle {
    top: 60px;
}
    
/*-------- ホーム --------*/
.news, .impossible, .faq, .form, .calendar {
    padding: 60px 20px 40px;
}
h2.top-title {
    width: 80%;
    font-size: 2.2rem;
    padding: 10px 20px;
}
.news .ymd {
    display: block;
    width: 85px;
    text-align: center;
}
.all-btn {
    top: 20px;
}
.purchase {
    column-gap: 4%;
}
.purchase a {
    width: 48%;
    max-width: 48%;
    padding: 7px 5px;
}
.greeting ul {
    display: block;
}
.greeting ul li {
    margin: 0 auto 10px;
}
.first.flex-box,
.faq.mb200 {
    margin-bottom: 200px !important;
}
.form .tel {
    font-size: 2.6rem;
}
.impossible .w4 {
    margin-bottom: 0;
}
    
/*-------- 固定ページ --------*/
article[class^="post-"] section h2 {
    font-size: 6vw;
}
article[class^="post-"] section h2 {
    width: 90%;
    padding: 10px 20px;
}
.step-box {
	padding: 80px 25px 17px;
}
.step-box h4:before {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}
body[id^="page-"] section {
    padding: 70px 20px 30px;
}
body[id^="page-"] .alignnone.size-full {
    padding: 10px;
}
body[id^="page-"] section .flex-box [class^="w"] {
    padding: 40px 20px;
}
.table1,
.table-form {
    margin: 0;
}
.table1 th,
.table-form th {
    margin-bottom: -25px;
    border-bottom: none;
}
.table1 th,
.table1 td,
.table-form th,
.table-form td,
.table-form th.short {
    width: 100%;
    display: block;
    border-top: none;
}
.table-form td {
    padding-top: 32px;
}
.table1 tr:first-child th {
    border-top: 1px solid #ddd;
}
#page-archive .dialy section {
    width: 100%;
}
.know-how .flex-box {
    padding: 30px 20px;
}
.know-how .image,
.know-how .sentence {
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px;
}
.form h3,
input[type=submit] {
    width: 100%;
}

/*-------- カレンダー --------*/
.eo-fullcalendar {
    width: 100%;
    height: 400px;
    padding: 25px 15px;
    border: 1px solid #ccc;
    overflow: auto;
}
.fc-listMonth-view .fc-row .fc-content-skeleton .fc-day-number {
    border-bottom: none !important;
}
.fc-listMonth-view.fc-display-date-above .fc-row .fc-content-skeleton tbody:before {
    line-height: 0 !important;
}
.eo-fullcalendar .fc-event {
    display: inline-block;
    margin-left: 20px !important;
}
.fc-listMonth-view .fc-row .fc-content-skeleton .fc-day-number .fc-list-header-left,
.fc-listMonth-view .fc-row .fc-content-skeleton .fc-day-number .fc-list-header-right {
    font-weight: normal;
}
    
/*-------- 投稿ページ --------*/
.single-content .header {
    display: block;
}
.single-content .cal {
    margin: 0 auto 20px;
}
.single-content #content {
    margin: 200px 7% 80px;
    padding: 80px 20px 70px;
}
.single-content .top-btn {
    margin: -30px 7% 50px;
}
.single-content .top-btn a {
    font-size: 100%;
}
.top-btn .w6 a span {
    display: block;
    font-size: 140%;
}
.table-dialy {
    margin: 0;
}
.table-dialy th{
    margin-bottom: -25px;
    border-bottom: none;
}
.table-dialy th,
.table-dialy td {
    width: 100%;
    display: block;
    padding: 5px 0px;
    border-top: none;
}
.table-dialy td {
    padding: 10px 0px;
}
.table-dialy tr:first-child th {
    border-top: 1px solid #ddd;
}
.acf-box .price {
    font-size: 2rem;
}
.acf-box .price span {
    display: block;
}

/*-------- 投稿一覧 --------*/


/*-------- サイドバー --------*/
.widget-post {
    margin-bottom: 0 !important;
}
#sidebar div[class^="customs-banners"] {
	max-width: 100%;
}

/*-------- フッダ --------*/
.footer-sns {
    text-align: center;
    margin-top: 10px;
}
#footer:before {
    position: absolute;
    top: -150px;
    left: -10%;
    transform: translateX(-50%);
}
#footer .footer-sumally {
    text-align: center;
}
#footer .w4 {
    width: 100% !important;
    max-width: 100% !important;
}

/*-------- その他 --------*/
ul.tab li {
    flex: 1 0 0%;
}
ul.tab li a {
    padding: 8px;
}
.tab-detail {
	padding: 10px;
}

}


/* 
----------------------------------------------------------------------------------------------------------*/

@media only screen and (max-width: 1280px) {
.header-top,
header .logo-box,
#footer .footer-sumally,
#footer .flex-box {
    width: 100%;
    margin: 0 auto;
}
}

@media only screen and (max-width: 1276px) {
.header-top,
header .logo-box,
#footer .footer-sumally.
#footer .flex-box,
.footer-under .box {
    width: 1024px;
    margin: 0 auto;
}
}

@media only screen and (max-width: 700px) {
h1.title {
    font-size: 5vw;
}
article[class^="post-"] section h2 {
    font-size: 4vw;
}
h3.title {
    font-size: 3.5vw;
} 
body[id^="page-"] .alignnone.size-full {
    margin-top: 0;
}
}

@media only screen and (max-width: 480px) {
h1.title {
    font-size: 7vw;
}
article[class^="post-"] section h2 {
    font-size: 5vw;
}
h3.title {
    font-size: 5vw;
}  
}

@media only screen and (max-width: 700px) {
.top-btn {
    padding: 20px;
}
.top-btn:before {
    top: -160px;
    left: -3%;
    width: 200px;
}
.top-btn.flex-box [class^="w"] {
    flex-basis: 100%;
    max-width: 100%;
    margin-right: 0;
}
.top-btn.flex-box [class^="w"] {
    margin-bottom: 10px;
}
.assessment-btn li {
    width: 100%;       
}
}

@media screen and (min-width: 701px) and (max-width: 900px) {
.top-btn {
    padding: 30px 30px 20px 180px;
}
.top-btn:before {
    top: -60px;
    left: -7%;
    width: 200px;
}
.top-btn.flex-box {
    column-gap: 2%;
}
.top-btn .w6 a span, .top-btn .w12 a span {
    font-size: 2.6rem;
}
}

@media only screen and (max-width: 1023px) {
.top-slider-box .inner:before {
    right: -3%;
    width: 130px;
}
.news:before {
    right: -3%;
    width: 130px;
    bottom: -180px;
}
.strengths:before {
    bottom: -180px;
    left: -3%;
    width: 130px;
}
.impossible:before {
    top: -150px;
    right: -3%;
    width: 130px;
    z-index: 1;
}
.form:before {
    top: -150px;
    left: -3%;
    width: 130px;
}
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
#sidebar .widget,
#footer .flex-box [class^="w"] {
    width: 48%;
    max-width: 48%;
    margin-bottom: 0;
}
#sidebar .widget:nth-of-type(2n),
#footer .flex-box [class^="w"]:nth-of-type(2n)  {
    margin-right: 0;
}
}

@media only screen and (max-width: 600px) {
.size-medium {
    width: 100%;
	margin: 0 0 20px;
}
}

@media screen and (min-width: 601px) and (max-width: 800px) {
.size-medium {
	max-width: 50%;
}
.item .w25 {
    width: 48%;
    max-width: 48%;
}
}

@media screen and (min-width: 601px) and (max-width: 950px) {
.strengths.flex-box {
    column-gap: 2%;
}
.strengths .w3 {
    width: 49%;
    max-width: 49%;
    margin-right: 0;
    margin-bottom: 20px;
}
}

@media only screen and (max-width: 450px) {
#page-archive .post-list {
	display: block;
    border-bottom: none;
}
#page-archive .image-orver {
	width: 100%;
	height: 220px;
    margin: 0 0 10px;
}
#page-archive .image-orver img {
	width: 100%;
	height: 220px;
}
}

@media only screen and (min-width: 1600px) {
.item .w25 {
    width: 18%;
    max-width: 18%;
    padding: 20px 20px 30px;
}
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
.item-list .flex-box {
    column-gap: 4%;
}
.item-list .w4 {
    width: 48%;
    max-width: 48%;
    margin-right: 0;
}
.item-list .w4 img {
    max-width: 100%;
}
}

@media only screen and (max-width: 699px) {
#header-top-img .shop {
    width: 300px;
    bottom: -98px;
}
}
@media screen and (min-width: 700px) and (max-width: 900px) {
#header-top-img .shop {
    width: 400px;
    bottom: -130px;
}
.first h4 span {
    font-size: 2.4rem;
}
}
@media screen and (min-width: 901px) and (max-width: 1024px) {
#header-top-img .shop {
    width: 500px;
    bottom: -163px;
}
}

@media screen and (min-width: 601px) and (max-width: 699px) {
#header-top-img .inner .circle {
    top: -10px;
}
}