﻿
/* YouTube */
.video_cms{
	padding-bottom: 57.25%;
	height: 0;
}

/* ---------- スマートフォン ---------- */
@media screen and (max-width: 667px){
/* YouTube */
.video_cms {padding-bottom: 56.25%;}
}


a.mail {
    color: white;
    text-decoration: underline;
}
.main_logo {
    position: absolute;
    left: 30px;
    top: 30px;
    width: 350px;
}
#cms_3-e .cate_box:first-of-type .box_item h4, #cms_3-e .cate_box:first-of-type .box_item div {
    border: 0;
    background: #ff9800;
}
.top_cms_wrap{
    max-width: 1280px;
}
.cms_3-e .cate_box:first-of-type .box_item h4,.cms_3-e .cate_box:first-of-type .box_item div{
    border: 0;
    background: #ff9800;
}
.cms_link_box a:hover {
    background: #fff6d0;
}
#cms_3-e  .sub_cate_title{
    font-weight: bold;
    padding: 10px;
    box-sizing: border-box;
}
.border_color2 {
    border-color: #cdcdcd;
}
#cms_3-e .cate_title{
    background: #FF5722;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    /* font-weight: bold; */
}
#cms_3-e .table_none .cate_box .box_item.ttl h4 {
    width: 100% !important;
    background: #ff9800 !important;
    color: white !important;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    border: 0;
}
#cms_3-e .table_none .box_item.ttl .box_txt1 {
    display: none;
}
#cms_3-e .table_none .cate_box:first-of-type .box_item {
    background: none;
    border-bottom: 1px solid #ff9800;
}
#cms_3-e .table_none .cate_box .box_item h4, #cms_3-e .table_none .box_item div {
    color: #333333;
    width: 50% !important;
}

#cms_3-e .table_none .box_item .box_txt2, #cms_3-e .table_none .box_item .box_txt3{
    display: none;
}
#contents h2 {
    font-size: 52px;
    letter-spacing: 8px;
}

#cms_3-e .cate_box:first-of-type .box_item,.cms_3-e .cate_box:first-of-type .box_item {
    background-color: #0b0b0d;
    color: #fff;
    align-items: center;
    font-weight: bold;
}
#cms_3-e .box_item h4,.cms_3-e .box_item h4 {
    padding-left: 10px;
    min-width: 300px;
}
#cms_3-e .box_item div,.cms_3-e .box_item div {
    min-width: 150px;
}
#cms_3-e .cate_box:first-of-type .box_item,.cms_3-e .cate_box:first-of-type .box_item {
    background-color: #ff9800;
    color: #fff;
    align-items: center;
    font-weight: bold;
    display: flex;
}
#cms_3-e .cate_box .box_item,.cms_3-e .cate_box .box_item {
    display:flex;
}
#cms_3-e .box_item h4,.cms_3-e .box_item h4 {
    padding-left: 10px;
    min-width: 150px;
    display: flex;
    align-items: center;
}
#cms_3-e .box_item div,.cms_3-e .box_item div {
    min-width: 150px;
    text-align: left;
    padding: 15px;
    box-sizing: border-box;
}
.menu{
    display:none;
}
.f_logo .logo {
    max-width: 380px;
}
.f_link{
    position: relative;
}
.bg_color3 {
    background-color: #ffcf34;
}
.footer_con_box{
    position: relative;
}
#question:before{
    display:none;
}
.f_logo{
    position: relative;
}
#footer h2 span {
    z-index: 2;
}
.bg_color2 {
    background-color: #fff6d0;
}
.f_link:before {
    background: repeating-linear-gradient(-45deg,transparent 0,transparent 6px,#fff 6px,#fff 8px);
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}
.top_loader .logo {
    max-width: 400px;
}
.top_loader{
    background: #fff6d0 !important;
}
.hvr_bg_color1:hover {
    background-color: #FF5722;
}
a.linkStyle {
    color: #F44336;
}
.bg_color4 {
    background-color: #fff7ec;
}
section#contents {
    background: #fefef2;
    background-size: 250px;
    border-top: 2px solid #fff3e2;
}
section#question{
    background: url(Dup/img/bg.jpg);
    background-size: 250px;
}
.header ul li a {
    color: black;
}
header {
    background-color: #fff6d0 !important;
}
header .logo {
    max-width: 400px;
}
#question .txt .check {
    position: absolute;
}
#question .txt{
    padding-left: 45px;
    box-sizing:border-box;
    padding-bottom: 10px;
}
#question .txt .check {
    position: absolute;
    left:0;
}

.menu .logo {
        padding: 30px 0px;
    background: #fffff7;
}
.bg_color1 {
    background-color: #FF9800;
}
.txt_color1 {
    color: #ff7600;
}
.border_color1 {
    border-color: #FF9800;
}
.hvr_txt_color3:hover {
    color: #FF9800;
}
.txt_color3 {
    color: #fbe800;
}
/*
div#copy p:first-of-type {
    padding-left: 0;
}
div#copy p {
    background: white;
    font-size: calc(2vw + 2px);
    margin-top: 0;
    white-space: nowrap;
    letter-spacing: 1px;
    padding: 5px 20px;
    padding-right: 0;
    color: black;
}
*/
div#copy p {
    background: white;
    font-size: calc(2vw + 2px);
    margin-top: 0;
    white-space: nowrap;
    letter-spacing: 1px;
    padding: 20px;
    padding-right: 0;
    color: black;
}
div#copy {
    position: absolute;
    left: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    bottom: 80px;
    align-items: flex-start;
}
.button_container span{
    background: #000000;
}
.cms_3-e .cate_box:first-of-type .box_item div {
    border: 0;
}
body{
    overflow-x:hidden;
}
/*-------------------------------------タブレット------------------------------------------------*/
@media screen and (max-width:768px){
.main_logo {
    display:none;
}
div#copy{
left: 40px;
    bottom: 40px;
}
div#copy{
    left: 40px;
    bottom: 40px;
    gap: 10px;
}
div#copy p{
	font-size:28px;
}
#question .txt {
    padding-left: 45px;
    box-sizing: border-box;
    padding-bottom: 10px;
    width: 100%;
    margin-right: 0;
}
}

/*-------------------------------------スマホ------------------------------------------------*/
@media screen and (max-width:667px){ 
    div#copy{
    left: 20px;
    bottom: 20px;
    gap: 5px;
}
div#copy p{
	    padding: 5px 10px;
		font-size: 18px;
}
#contents h2 {
    font-size: 32px;
    letter-spacing: 8px;
}
.cms_3-e.cms_wrap {
    overflow: auto;
}
.f_logo .logo {
    width: 70% !important;
}
#cms_3-e .box_wrap{
    overflow: auto;
}
a.mail_txt {
    font-size: 16px;
    white-space: nowrap;
}
}