
@media only screen and (min-width: 515px) {
 
.h1_br{
    display: none;
}
    
header h1 span  {
    font-size: 0.8rem;
    line-height: 1;
    margin-left: 12px;
}
    
.top_promotion h3 {
    font-size: 2rem;
}
    
.top_promotion .title {
    font-size: 1rem;
}
    
.top_promotion h3 .small {
    font-size: 1.2rem;
}
        
.features_common {
    min-height: 400px;
}
    
}

/* Tablet Styles (tablets in portrait and landscape, small desktops) */
@media only screen and (min-width: 768px) {
  
body {
    padding-top: 100px;
}
    
.erase_sp {
    display: block !important;
}
    
.erase_pc {
    display: none !important;
}
  
header {
    height: 100px;
}
    
header h1 {
    padding: 0 1.5vw;
}
    
header h1 a.logo {
    width: 18vw;
    max-width: 150px;
}

header h1 span  {
    font-size: 0.8rem;
}
        
header .right div.toggle {
    width: 100px;
    min-width: 100px;
    height: 100px;
    margin-left: 20px;
}
 
.toggle span:nth-child(1) {
    top:1.8em;
}
 .toggle span:nth-child(2) {
     top: 2.8em;
}
 .toggle p {
     top: 3.3rem;
     font-size: 1rem;
     font-weight: 900;
}
 
.toggle.active span:nth-child(1) {
    top: 2.2em;
    -webkit-transform: rotate(-40deg);
    -moz-transform: rotate(-40deg);
    transform: rotate(-40deg);
}
 
.toggle.active span:nth-child(2) {
    top: 2.05em;
    -webkit-transform: rotate(40deg);
    -moz-transform: rotate(40deg);
    transform: rotate(40deg);
}
    
.toggle:hover span {
    border-color:  var(--accent-color);
}

.toggle:hover p {
    color:  var(--accent-color);
}
       
.button_basic {
    font-size: 1.08rem;
}
    
.icon_mail_gray {
    width: 22px;
    margin-right: 8px;
}
    
#bg-toggle-appearance {
    top: 100px;
}
    
#toggle-appearance {
    padding: 0 1vw;
    box-sizing: border-box;
}
    
#toggle-appearance .toggle-inner {
    display: flex;
    justify-content: space-evenly;
    box-sizing: border-box;
}
    
#toggle-appearance ul {
    list-style: none;
    margin: 40px 1vw;
    font-size: 1.2rem;
}

#toggle-appearance ul li {
    border-bottom: none;
    border-left-style: solid;
    border-left-color: var(--accent-color);
    border-left-width: 2px;
    margin-bottom: 30px;
    min-width: 20vw;
    transition: all .2s;
}
    
#toggle-appearance ul li:hover {
    background-color: var(--accent-color);
}

#toggle-appearance ul li a {
    padding: 10px 12px 12px 12px;
    transition: all .2s;
}
 
#toggle-appearance ul li:hover a {
    color: var(--secondary-color);
}
    
#toggle-appearance ul li a span {
    display:block;
    font-size: 0.7rem;
    font-weight: 400;
}
    
#toggle-appearance .bottom {
    display:flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    padding: 0 3vw 40px 3vw;
    color: #FFF;
}
    
#toggle-appearance .bottom form {
    display: inline-block;
}
    
#toggle-appearance .bottom form input {
    background-color:  transparent;
    border: 0.5px solid #FFF;
    padding: 10px 15px 10px 35px;
    border-radius: 2rem;
    width: 12vw;
    max-width: 300px;
     min-width: 160px;
    box-sizing: border-box;
    color: #FFF;
    background: url("../img/icon-search.png") no-repeat ;
    background-size: 18px;
    background-position-y: 9px;
    background-position-x: 10px;
}
    
#toggle-appearance .bottom a {
    text-decoration: none;
    color: #FFF;
    transition: all .2s;
}
    
#toggle-appearance .bottom a:hover {
    color: var(--accent-color);
}

#toggle-appearance .bottom-left {
    display: block;
}
    
#toggle-appearance .bottom-right {
    display: flex;
    align-items: center;
}
    
#toggle-appearance .bottom-left a {
    margin-left: 20px;
}
    
#toggle-appearance .bottom-right a {
    display: inline-block;
    margin-left: 15px;
}
    
#toggle-appearance .bottom-right a img {
    width: 20px;
}

#toggle-appearance .copyrights {
    font-size: 0.6rem;
    margin-left: 30px;
}

.top_promotion {
    flex-direction: row;
}
    
.top_promotion h3 {
    font-size: 1.7rem;
}
    
.top_promotion .title {
    font-size: 0.8rem;
}
    
.top_promotion h3 .small {
    font-size: 0.9rem;
}
 
.promo_box_1 h2 {
    height: 25vw;
}

.promo_box_1 h2 img {
    width: 103%;
    left: 3%;
    z-index: 1;
}
    
.promo_box_1 .inbox-2 .inbox_wrapper {
    margin-top: 100%;
}

.promo_box_2_top .inbox_wrapper {
    margin-left: 0;
}

.promo_box_2_bottom {
    flex-direction: row-reverse;
}
    
.promo_box_2_bottom .inbox_wrapper_right .inbox_wrapper {
    margin-top: 50%;
}

.basic_container {
    padding: 140px 0;;
}
    
    
h2.primary_title {
    font-size: 2rem;
}

h2.primary_title span {
    font-size: 3rem;
    font-weight: 900;
}

.features_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
    
.features_common {
    width: 50%;
    box-sizing: border-box;
}

.features_01,
.features_03,
.features_05,
.features_07 {
    border-right: 8px solid var(--secondary-color);
}
    
.features_07 {
    border-bottom: 0;
}
    
.btn_top_type1,
.btn_top_type2 {
    padding: 30px 40px;
    transition: all .2s;
}
    
.btn_top_type1 span,
.btn_top_type2 span {
    background-repeat: no-repeat;
    background-position: left;
    background-size: 6px;
    padding-left: 15px;
    transition: all .2s;
}
	
.btn_top_type1 span {
    background-image: url("../img/icon-arrow-green.svg");
}
    
.btn_top_type2 span{
    background-image: url("../img/icon-arrow-white.svg");
}
	
.form_below .btn_top_type2 span.ArrowGray {
    background-image: url("../img/icon-arrow-gray.svg");
}
      
.btn_top_type1:hover,
.btn_top_type2:hover {
    background-color:var(--accent-color);
    color: var(--secondary-color);
	cursor: pointer;
}
    
.btn_top_type1:hover span,
.btn_top_type2:hover span {
    background-position: 5px;
}
    
.btn_top_type2:hover span,
.btn_top_type2:hover span.ArrowGray {
    background-image: url("../img/icon-arrow-green.svg");
}
    
.bg_gray {
    background-color: #f6f6f6;
}
    
.wrapper_plans {
    display: flex;
    justify-content: center;
    padding: 0 3vw;
    margin: 0 auto;
    max-width: 1536px;
}
 
.plan_each_box {
    background-color: #FFF;
    width: 50%;
	max-width: 640px;
    margin:90px 0.5% 60px 0.5%;
    box-shadow: 0 0 6px #CCC;
    padding-bottom: 30px;
}
    
.plan_each_box h3 {
    font-size: 1rem;
}
    
.plan_each_box h2 {
        font-size: 1rem;
}

.plan_each_box h2 span {
    font-size: 1.4rem;
}
    
.wrapper_flow{
    display: flex;
    justify-content: center;
    margin: 80px 6vw;
}

.flow_each_box {
    width: 20%;
    padding: 30px 2vw;
    border-top: none;
    border-bottom: none;
    border-left: 0.5px solid #CCC;
    border-right: 0.5px solid #CCC;
    position: relative;
}
    
.flow_each_box figure img {
    border-width: 6px;
    width: 75%;
}
    
.flow_each_box:after {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: none;
}
    
.wrapper_style {
    grid-template-columns: 50% 50%;
    padding: 30px 5vw 30px 5vw;
    column-gap: 20px;
    row-gap: 20px;
    border-bottom:none;
    margin-bottom: 30px;
    justify-content: center;
}

.style_each_box {
    border-top: none;
    padding: 4vw;
    background-color: #FFF;
    box-shadow: 0 0 6px #CCC;
}
 
.wrapper_work {
    grid-template-columns: 50% 50%;
    row-gap: 50px;
    padding: 30px 6vw 20px 6vw;
    justify-content: center;
}
    
.work_each_box {
    padding:0;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 50px;
}

.work_each_box figure {
    width: 90%;
}

.work_each_box .text_area {
    width: 90%;
    margin: 0 auto;
}
    
.work_each_box .info_number li {
    font-size: 1.2rem;
    padding: 14px;
}
    
.work_each_box h2 {
    margin: 20px 0;
}
    
.work_each_box .info_number h4 {
    font-size: 0.9rem;
}

.work_each_box .info_number span {
    font-size: 1.6rem;
}

.wrapper_brand .brand_list {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}
    
.wrapper_brand .brand_list img {
    width: 9vw;
}
    
.btn_contact {
    transition: all .1s;
}
    
.btn_contact:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.btn_contact span {
    transition: all .2s;
}
    
.btn_contact:hover span {
    background-image: url("../img/icon-mail-green.png");
}
    
.basic_container_sub {
    margin-bottom: 70px;
}
    
.basic_container_sub .title_area {
    margin: 0 10vw;
}
    
.subpage_header {
    display: grid;
    grid-template-columns: 25% 12.5% 37.5% 12.5% 12.5%;
    aspect-ratio: 8/1;
}
    
.subpage_header .wrapper_title {
    top: 100px;
    width: 25%;
    aspect-ratio: 2/1;
    left: 37.5%;
}

.subpage_header .wrapper_title::before {
    content: "";
    background-color: var(--secondary-color);
    mix-blend-mode: multiply;
    opacity: 0.75;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 2/1;
} 

.subpage_header .wrapper_title h1 {
    z-index: 1;
} 
    
.subpage_header .wrapper_title h1 span {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1rem;
} 

.subpage_header figure img {
    width: 100%;;
}

.form_below {
    margin-top: 60px;
}    

.contact_form .message_privacy a {
    transition: all .2s;
}

.contact_form .message_privacy a:hover {
    text-decoration: none;
    color: var(--accent-color);
}
	
.form_below {
	flex-direction: row;
	justify-content: center;
}
    
}


/* Desktop/Laptop Styles (desktops and large tablets in landscape) */
@media only screen and (min-width: 1025px) {

header h1 span  {
    line-height: 1.4;
}    
   
.h1_br{
    display:block;
}
    
header .right div {
    display:block;    
}
    
header .right div.freedial {
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.3;
    margin: 0 10px;
    white-space: nowrap;
}
    
header .freedial a {
    text-decoration: none;
    color: var(--primary-color);
    background: url("../img/icon-freedial-gray.png") no-repeat left;
    background-size: 37px;
    padding-left: 44px;
}
    
header .freedial span {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}
    
header .right .icon-free-estimaate {
    width: 72px;
}

.top_promotion h3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 
        1px 1px 2px rgb(0,0,0, 0.8),
        0 0 0.9rem rgb(0,0,0, 0.4);
}
    
.top_promotion .title {
    font-size: 0.9rem;
}

.features_common {
    width: 25%;
    min-height: 380px;
}
    
.features_02,
.features_03,
.features_06,
 .features_07 {
        border-right: 8px solid var(--secondary-color);
}

.features_05,
.features_06 {
        border-bottom: 0;
}

.features_common h3 {
        font-size: 1.2rem;
}
    
.btn_top_type1,
.btn_top_type2 {
    display: inline-block;
    margin: 0 5px 40px 5px;
}
    
.wrapper_area {
    grid-template-columns: 50% 50%;
    padding: 0 3vw;
    margin: 80px 0  50px 0;
}
    
.area_each_box {
    display: flex;
    margin: 0 2vw;
    margin-bottom: 30px;
}

 .wrapper_area h2 {
     width: 25%;
     margin: 0 20px 0 0;
}
    
.wrapper_area .detail {
    box-sizing: border-box;
    padding: 25px;
    border-top: 1px solid #CCC;
    width: 75%;
    margin: 0;
}

.wrapper_area .detail a:hover {
    color: var(--accent-color);
    text-decoration: none;
}
    
.wrapper_faq {
    grid-template-columns: 50% 50%;
    padding: 30px 5vw 30px 5vw;
}
    
.faq_each_box {
    margin: 0 2vw 4vw 2vw;
} 
    
.wrapper_company {
    padding: 30px 6vw 60px 6vw;
}

.wrapper_company figure {
    grid-template-columns: 25% 25% 25% 25%;
}

.wrapper_company div.profile {
    display: grid;
    grid-template-columns: 48% 48%;
    column-gap: 4%;
    row-gap: 30px;
    justify-content: center;
    margin: 60px 0 0 0;
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 0.02rem;
}
    
.wrapper_company dl {
    padding: 20px 0;
}
    
.wrapper_news {
    margin-bottom: 50px;
    border-top: none;
    padding: 0 15vw;
}
    
.wrapper_news dl {
    border-bottom: 1px dashed #ACACAC;
    padding: 30px 2vw 30px 3vw;
    display: flex;
    align-items: center;
}
    
.wrapper_news dl:hover dd a {
    background-position: center right 1%;
}

.wrapper_news dt {
    margin-bottom: 0;
    width: auto;
    white-space: nowrap;
}

.wrapper_news dt a {
    margin-left: 30px;
    color: #FFF;
    padding: 5px 20px;
    background-color: var(--secondary-color);
    display: inline-block;
    box-sizing: border-box;
    width: 140px;
    text-align: center;
    border-radius: 5px;
}
    
.wrapper_news dl dt a:hover {
    color: var(--secondary-color);
    background-color: var(--accent-color);
}
    
.wrapper_news dd {
    padding: 0 30px;
    width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: url("../img/icon-arrow-green.svg") no-repeat ;
    background-size: 8px;
    background-position: center right 1vw;
    pointer-events: none;
    transition: all .2s;
}
    
.wrapper_news dd:hover {
    background-position: center right 0;
}
    
.wrapper_news dd a {
    pointer-events: auto;
}
    
.wrapper_news dd a:hover {
    color: var(--secondary-color);
}
    
.wrapper_contact,
.wrapper_brand {
    padding: 0 10% 150px;
}
    
.wrapper_contact h3 {
    margin-bottom: 60px;
}

.wrapper_contact h2 {
    margin-bottom: 30px;
    font-size: 1.2rem;
}
    
.wrapper_contact .inner {
    max-width: 640px;
}
    
.wrapper_contact a.phone {
    font-size: 4.4rem;
    font-weight: 600;
    line-height: 1;
    background-size: 80px;
    padding-left: 90px;
    width: auto;
}
    
.wrapper_contact .reception {
    margin: 10px auto 40px auto;
    justify-content: center;
}
 
.wrapper_contact .hours, 
.wrapper_contact .dates {
    margin: 0 10px;
}
    
.wrapper_contact .hours dt,
.wrapper_contact .dates dt {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 600;
    margin-right: 15px;
}

.wrapper_contact .hours dd,
.wrapper_contact .dates dd {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 600;
    font-weight: normal;
}

.btn_contact {
    max-width: 300px;
}
    
.footer_bottom {
    padding: 80px 5vw;
}

.footer_bottom .top_left {
    text-align: left;
}
    
.footer_bottom .logo_area {
    padding: 0;
    margin: 0 0 40px;
    max-width: none;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}

.footer_bottom .logo_area h2 {
    font-size: 1rem;
    margin-left: 20px;
}

.footer_bottom .logo_area h3 {
    width: 240px;
}
 
.footer_bottom .logo_area h3 a {
    transition: all .2s;
}
    
.footer_bottom .logo_area h3 a:hover {
    opacity: 0.5;
}
    
.footer_bottom .logo_area h3 img {
    width: 100%;
}
    
.footer_bottom .upper {
    display: flex;
    justify-content: space-between;
}    

.footer_bottom .contact_area {
    display: flex;
    align-items: center;
}
    
.footer_bottom .contact_area .btn_web {
    margin-top: 0;
    margin-left: 10px;
    transition: all .1s;
}
   
.footer_bottom .contact_area .btn_web:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}
    
.footer_bottom .contact_area .btn_web:hover span {
    background-image: url("../img/icon-mail-green.png");
}
    
.footer_bottom .top_right {
    display: block;
}    

.footer_bottom .sitemap {
    display:block;
    list-style: none;
    text-align: left;
    column-count: 2;
    column-gap: 3vw;
    font-size: 0.9rem;
}
    
.footer_bottom .sitemap li {
    margin-bottom: 10px;
}
    
.footer_bottom .sitemap a {
    text-decoration: none;
    color: #FFF;
    transition: all .2s;
}
    
.footer_bottom .sitemap a:hover {
    color: var(--accent-color);
}

.footer_bottom form {
    text-align: right;
    margin-top: 30px;
}
    
.footer_bottom form input {
    border: 0.5px solid #FFF;
    padding: 10px 15px 10px 35px;
    border-radius: 2rem;
    width: 15vw;
    max-width: 250px;
    box-sizing: border-box;
    color: #FFF;
    background: url(../img/icon-search.png) no-repeat;
    background-size: 18px;
    background-position-y: 9px;
    background-position-x: 10px;
}

.footer_bottom .lower {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 10vw;
}
    
.footer_bottom .lower .sub_menu {
    margin: 0;
    display: flex;
    font-size: 0.7rem;
}
    
.footer_bottom .lower .sub_menu li {
    margin: 0 25px 0 0;
}
    
.footer_bottom .lower .sub_menu li a {
    transition: all .2s;
}
    
.footer_bottom .lower .sub_menu li a:hover {
    color: var(--accent-color);
}
    
.footer_bottom .lower .bottom_right {
    display: flex;
    align-items: center;
}

.footer_bottom .lower .sns_menu {
    margin-bottom: 0;
    margin-right: 20px;
}

.basic_container_sub .wrapper_contact {
    margin: 40px 10vw 80px 10vw;
}
    
.contact_form .wrapper_basic,
.contact_form .wrapper_checkbox_textarea {
    display: grid;
    grid-template-columns: 48% 48%;
    column-gap: 4%;
}
    
.wrapped_form_below {
	margin-top: 20px;
}
    
}


@media only screen and (min-width: 1280px) {
    
.h1_br{
    display: none;
}
    
header h1 a.logo {
    width: 12vw;
    max-width: 160px;
}

.top_promotion h3 {
    font-size: 2.3rem;
}
    
.top_promotion .title {
    font-size: 1rem;
}
    
.top_promotion h3 .small {
    font-size: 1.2rem;
}

.features_common h3 {
    font-size: 1.4rem;
}

.plan_each_box {
}
    
.plan_each_box h3 {
    font-size: 1.2rem;
}
    
.plan_each_box h2 {
        font-size: 1.2rem;
}

.plan_each_box h2 span {
    font-size: 1.6rem;
}
    
.wrapper_faq {
    grid-template-columns: 33.33% 33.33% 33.33%;
}
    
.wrapper_style {
    grid-template-columns: 25% 25% 25% 25%;
}
    
.style_each_box {
    padding:30px;
}

    
.wrapper_work {
    grid-template-columns: 47% 47%;
    column-gap: 6%;
    row-gap: 60px;
    padding: 30px 6vw 80px 6vw;
}
    
.work_each_box {
    flex-direction: row;
    margin-bottom: 0;
}

.work_each_box figure {
    width: 40%;
}
    
.work_each_box .text_area {
    width: 60%;
    margin-left: 5%;
}
    
.work_each_box h2 {
    text-align: left;
    margin: 0 0 20px 0;
}
    
.footer_bottom .sitemap {
    column-count: 3;
    column-gap: 5vw;
    position: relative;
    right: -3vw;
}

.footer_bottom .sitemap li {
    margin-bottom: 20px;
}

.contact_form .form_each_box {
    margin-bottom: 40px;
}

.contact_form .wrapper_basic {
    grid-template-columns: 30% 30% 30%;
    column-gap: 5%;
}
    
.contact_form .wrapper_checkbox_textarea {
    display: grid;
    grid-template-columns: 30% 65%;
    column-gap: 5%;
}
    
}

@media only screen and (min-width: 1536px) {
    
header h1 span  {
    font-size: 0.9rem;
}
    
#toggle-appearance ul {
    font-size: 1.4rem;
}
    
#toggle-appearance ul li a span {
    font-size: 0.8rem;
}
    
.top_promotion h3 {
    font-size: 2.8rem;
}
    
.top_promotion .title {
    font-size: 1.2rem;
}
    
.top_promotion h3 .small {
    font-size: 1.4rem;
}
    
.wrapper_1536 {
    max-width: 1536px;
    margin: 0 auto;
}
    
.features_common {
    min-height: 400px;
}    

    
}

@media only screen and (min-width: 1920px) {
        
header h1 span  {
    font-size: 1rem;
}
    
header h1 a.logo {
    max-width: 180px;
}

#toggle-appearance ul {
    font-size: 1.6rem;
}
    
#toggle-appearance ul li a span {
    font-size: 1rem;
}

.top_promotion h3 {
    font-size: 3.3rem;
}
    
.top_promotion .title {
    font-size: 1.4rem;
}
    
.top_promotion h3 .small {
    font-size: 1.6rem;
}
    
.features_common {
    min-height: 440px;
}

.features_common {
    aspect-ratio: 2/1;
}
    
    
}