@charset "UTF-8";

a.btn{width:100%;box-sizing: border-box;padding:10px 15px;line-height: 140%}

img { width:100%;height: auto}

.sp{display: block;}
.pc{display: none;}

#head{background: url(../../images/header_sp.png) no-repeat center ;height: 128px;position: relative;z-index: 2;min-height: 0}
#head .block {width: 100%;}
#head .block ul {display: none;}
#head .block .sp-menu{display: block;}
.sp-menu{font-family:verdana;width:17vw;position: absolute;top:14px;right: 3%;background: #df0000;font-size:10vw;color:#fff;padding: 5px;border-radius: 5px;text-align: center;}
.sp-menu span{font-size:4vw;display: block;}
#head .block ul{display: block;width:94%;border-right: none;box-sizing: border-box;padding: 0;padding:8px;background: #df0000;top:100px;position: absolute;z-index: 9999;margin:0 3%;}
#head .block ul li{display: block;float:left;width:46%;box-sizing: border-box;margin:2%;background: #fff;vertical-align: middle;position: relative;top:auto !important;left: auto !important;right: auto !important;height:auto;border-radius: 5px;border:solid 1px #df0000;}
#head .block ul li a{display: block;padding:25px 0;color:#df0000;text-align: center;background: none !important;text-indent: 0px;height:auto;width: auto;text-decoration: none;box-shadow:0px 0px 8px -3px #000000;-moz-box-shadow:0px 0px 8px -3px #000000;-webkit-box-shadow:0px 0px 8px -3px #000000;border: none;}
#head .block ul li a span{display: none;}

#index #head .block ul li#head_nav1 ,
#company #head .block ul li#head_nav2,
#price #head .block ul li#head_nav3,
#plan #head .block ul li#head_nav4,
#blog #head .block ul li#head_nav5,
#introduction #head .block ul li#head_nav6,
#profile #head .block ul li#head_nav7,
#contact #head .block ul li#head_nav8{background: none !important;border:solid 1px  #df0000;border-radius: 5px;}

#index #head .block ul li#head_nav1 a,
#company #head .block ul li#head_nav2 a,
#price #head .block ul li#head_nav3 a,
#plan #head .block ul li#head_nav4 a,
#blog #head .block ul li#head_nav5 a,
#introduction #head .block ul li#head_nav6 a,
#profile #head .block ul li#head_nav7 a,
#contact #head .block ul li#head_nav8 a{color:#fff !important;}
#head .block ul li:hover,#head .block ul li:active {color:#fff !important;}

.clearfix::after {
	height: 0px; clear: both; display: block; visibility: hidden; content: ".";
}
.clearfix {
	min-height: 1px;
}
* html .clearfix {
	height: 1px;
}

#index #head .block ul li#head_nav1 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#company #head .block ul li#head_nav2 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#price #head .block ul li#head_nav3 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#plan #head .block ul li#head_nav4 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#blog #head .block ul li#head_nav5 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#introduction #head .block ul li#head_nav6 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#profile #head .block ul li#head_nav7 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#contact #head .block ul li#head_nav8 {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}
#head .block ul li:hover {background: url(/images/head_nav_st.png) no-repeat 2px 8px;}

/* Deployment repair: the archived smartphone layout assumed a fixed 480px screen. */
html, body {
    font-family: system-ui, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
div#container, div#wrapper, div#main, div#header, div#footer, div#Otoiawase {
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}
#main, #main * {
    box-sizing: border-box;
    max-width: 100%;
}
#main table {
    width: 100% !important;
    table-layout: fixed;
}
#main #index01 table td { width: auto; }
#main td, #main th, #main p, #footer {
    overflow-wrap: anywhere;
}
#main img, #main video, #main iframe {
    max-width: 100%;
}
#main img[style*="float"] {
    float: none !important;
    display: block;
    margin: 0 auto 1rem;
}
#MAIN-IMG img {
    display: block;
    width: 100%;
    height: auto;
}
#head {
    background-size: 100% auto;
    height: clamp(86px, 26.67vw, 128px);
}
.sp-menu {
    box-sizing: border-box;
    width: 60px;
    min-height: 60px;
    top: 12px;
    right: 12px;
    font-size: 28px;
}
.sp-menu span { font-size: 12px; }
#head .block ul {
    top: 100%;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
}
#head .block ul li a {
    min-height: 52px;
    padding: 14px 2px;
}
a:focus-visible, .sp-menu:focus-visible {
    outline: 3px solid #333;
    outline-offset: 2px;
}
