@charset "utf-8";


@media screen and (max-width: 480px) {
  /* 480px以下の画面サイズに適用したいCSSを記述 */
body {
    font-size: 14px;
    padding: 10px;
    background-image: none;
 }

.container {
    width: 100%; /* 横幅を画面いっぱいに広げる */
 }

 #header {
    height: 80px;
}
div#leftcolumn {
	display: none;
}
div#two_maincolumn {
    float: none;
    width: 100%;
}

.icon {
    height: 30px;
    margin-right: 10px;
    display: inline;
}

.pc-only {
	display: none;
}
#header_inner {
    width: 100%;
    padding: 10px 0px 15px 0;
}

#header_left_area {
    top: 0;
 }

#shoplogo {
    right: 0px; 
    top: 0px; 
    z-index: 45;
}

#wrap {
    width: 100%;
    padding: 0;
    margin: 0;    
    top: 60px;
}

.menu_btn{
    width: 100%;
    height: auto;
}

.support_menu_btn{
	width:100%;
	height:auto;
}


ul.top_main_title_img {
    display: contents;
}

li:nth-child(2) img {
    margin: 0;
}

.tickercontainer {
    width: auto;
}

.flexslider {
    width: 100%;
}

a.side_title {
     margin-left: 0; 
}

/*.flexslider .slides img {
    margin: auto;
    width: 80%;
}*/

.h4_detail_footer1 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer2 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer3 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer4 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer5 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer6 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer7 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.h4_detail_footer8 {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 10px;
    height: 100%;
    font-size: 15px;
    color: white;
    background-color: #b71b22;
}

.wakufloat3 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat3 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat4 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat4 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat5 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat5 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat6 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat6 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat7 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat7 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat8 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat8 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat9 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat9 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.wakufloat10 {
    background-color: white; 
    margin-top: 0px; 
    margin-left: 0px;
    height: 100%;
    display: flow-root;
}

#template_download3 .wakufloat10 li
 {
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
}

.sp-li-a {
    text-decoration: none;
    color: black !important;
    padding-left: 10px;
}

.side-menu-title {
        width: 100%;        
        padding: 10px 0px 10px 10px;
        font-weight: bold;
        margin-top: 10px;
        height: 18px;
        font-size: 15px;
        color: white !important;
        background-color: #b71b22;
}


#footer_right {
    float: none;
    width: 100%; 
}

#footer {
    border-top: none;
    width: 100%;
    /* 左右に画面幅いっぱいの余白を作る */
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    
    /* 外側へのはみ出しを相殺する */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #ccc;
}

.subnav a {
    white-space: nowrap;
    float: left;
    margin-left: 0px;
    font-weight: bold;
    background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
    background-repeat: no-repeat;
    background-position: right;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid gray;
    text-decoration: none;
    color: black !important;
    padding-left: 10px;
}

.copyright {
    font-size: 100%; 
    text-align: center;
    padding: 10px 0;
    color: white;
    margin: auto;
    width: 100%;
    display: table;
    background: black;/* 左右に画面幅いっぱいの余白を作る */
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    
    /* 外側へのはみ出しを相殺する */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-color: #000;
}



/* --- メニュー開閉用のチェックボックス（非表示にする） --- */
    #menu-control {
      display: none;
    }

    /* --- 追従型ヘッダー --- */
    #header {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 60px; /* ヘッダーの高さ */
      background-color: #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      z-index: 100; /* メニューよりは下に配置 */
      display: flex;
      align-items: center;
      padding: 0 15px;
    }

    /* --- ヘッダー内のレイアウト調整 --- */
    #header_left_area {
      display: flex;
      align-items: center;
      gap: 15px; 
      margin: 0;
    }

    .header-logo {
      width:auto;
      height:30px;
    }

    /* --- ハンバーガーボタン（ヘッダー内配置） --- */
    .hamburger-btn {
      cursor: pointer;
      width: 30px;
      height: 22px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      flex-shrink: 0; /* 潰れないように固定 */
      z-index: 105;
    }
    /* ハンバーガーの3本線 */
    .hamburger-btn span {
      display: block;
      height: 3px;
      width: 100%;
      background-color: #333;
      border-radius: 2px;
    }


    .menu-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      z-index: 200; /* ヘッダーより上に表示 */
      display: flex;
      visibility: hidden;
      transition: visibility 0.3s;
      -webkit-overflow-scrolling: touch; 
    }

    .menu-content {
      width: 80%;
      height: 100%;
      background-color: #fff;
      padding: 30px 20px 20px;
      box-shadow: 2px 0 8px rgba(0,0,0,0.15);
      transform: translateX(-100%);
      transition: transform 0.3s ease;
      overflow-y: auto;
    }
    .menu-content ul {
      list-style: none;
    }
    .menu-content li {
    }
    .menu-content a {
      text-decoration: none;
      color: #333;
      font-size: 15px;
      font-weight: bold;
      display: block;
    }

    .menu-overlay {
      width: 20%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      opacity: 0;
      transition: opacity 0.3s ease;
      cursor: pointer;
      position: relative;
    }

    .close-btn {
      position: absolute;
      top: 15px;
      left: 15px;
      width: 30px;
      height: 30px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .close-btn::before,
    .close-btn::after {
      content: '';
      position: absolute;
      width: 25px;
      height: 3px;
      background-color: #fff;
      border-radius: 2px;
    }
    .close-btn::before { transform: rotate(45deg); }
    .close-btn::after { transform: rotate(-45deg); }


    #menu-control:checked ~ .menu-container {
      visibility: visible;
    }
    #menu-control:checked ~ .menu-container .menu-content {
      transform: translateX(0);
    }
    #menu-control:checked ~ .menu-container .menu-overlay {
      opacity: 1;
    }

    .menu-list {
        background-color: white; 
        margin-top: 0px; 
        margin-left: 0px;
        height: auto;
        display: flow-root;
    }

    .menu-list li
    {
        float: left;
        margin-left: 0px;
        font-weight: bold;
        background-image: url(/user_data/packages/default/img/downloads/icon_dl.gif);
        background-repeat: no-repeat;
        background-position: right;
        padding: 13px 0;
        width: 100%;
        border-bottom: 1px solid gray;
    }


    .floating-question-btn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50; 
    display: block;
    color: white !important;
    background-color: #e74c3c;
    padding: 15px 10px;
    text-decoration: none;
    box-shadow: -2px 2px 10px rgba(0,0,0,0.2);

    writing-mode: vertical-rl;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 1.2;

    transition: background-color 0.3s;
    }

    .floating-question-btn:hover {
    background-color: #c0392b;
    }

    .header_icon {
        text-align: right;
        width: 95%;
        position: fixed;
    }

    .gray-enclosure {
        background-color: white;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 10px;
        text-align: center;
        max-width: 380px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 軽い影を追加 */
    }

    .heading {
        font-size: 15px;
        font-weight: bold;
        margin: 0 0 14px 0;
        color: #333;
    }

    .top_main_title {
        padding-left: 10px;
        border-left: 5px solid #c7000b;
        font-size: 22px;
        padding-top: 5px;
        color: #666;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .register-button {
        display: block;
        width: 100%;
        padding: 14px;
        margin-bottom: 14px;
        background-color: #e74c3c;
        color: white !important;
        text-decoration: none;
        border-radius: 6px;
        font-size: 16px;
        font-weight: bold;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
    }

    .login-link {
        font-size: 14px;
        color: #666;
        margin: 0;
        text-align: center;
    }

    .login-link:hover {
        text-decoration: underline;
    }

    .post-pri-toha{
        width: 100%;
        height: auto;
    }

    #img_icn5_txt{
        width: 100%;
        height: auto;
    }
    .setpack_point{
        width: 100%;
        height: auto;
    }

    .undercolumn h3 {
    font-size: 100%;
    font-weight: normal;
    }

    #meritprint{
        width: 100%;
        height: auto;
    }

    #hajimete_01{
        width: 100%;
        height: auto;
    }

    #hajimete_03{
        width: 100%;
        height: auto;
    }

    #top_page_all {
    background: url(../img/hns/top_sub_jisseki_bg.gif) no-repeat;
    height: auto;
    width: 100%;
    }

    #log_in{
        width: 100%;
        height: auto;
    }

    #top_sub_doun_title_01 {
        font-size: 16px;
        padding: 0px;
    }

    #top_page_all {
        background: none;
        display: table;
        height: auto;
        width: 100%;
    }
    #main_content01 {
        padding: 0;
    }
    #main_content02 {
        padding: 0;
    }
    #main_content03 {
        padding: 0px; 
    }

    #bnr_8course {
        width: 100%;
        height: auto;
    }

    #bnr_4course {
        width: 100%;
        height: auto;
    }

    #bnr_4course01
    {
        height: auto;
        margin-left: 0; 
    }

    #bnr_4course02 {
        height: auto;
        margin-left: 0;
    }

    #bnr_4course03 {
        height: auto;
        margin-left: 0;
    }

    #bnr_4course04 {
        height: auto;
        margin-left: 0;
    }
    #bnr_foot01{
        width: 100%;
        margin: 5px auto;
    }
    #bnr_foot02{
        width: 100%;
        margin: 5px auto;
    }    
    #bnr_foot03{
        width: 100%;
        margin: 5px auto;
    }    
    #bnr_foot_04{
        width: 100%;
        margin: 5px auto;
    }    
    #bnr_foot_05{
        width: 100%;
        margin: 5px auto;
    }    
    #bnr_foot_06{
        width: 100%;
        margin: 5px auto;
    }    
    #bnr_foot_07{
        width: 100%;
        margin: 5px auto;
    }
    #bnr_foot_08{
        width: 100%;
        margin: 5px auto;
    }

    #meritpos{
        width: 100%;
    }

    .sp-border-none{
        border: none;
    }

    .sp-only{
        display: block;
    }

    .margint25{
        margin-top: 25px;
    }

    input[type='text'].box380 {
        width: 95%;
    }

    input[type='text'].box120 {
    width: 33%;
    }

    .area380 {
        width: 95%;
    }
    
    h2.h2_title_flow {
        height: auto;
        line-height: 2.1em;
        font-size: 120%;
        background-color: #C7000B;
        color: #fff;
        padding: 0 0 0 12px;
        margin: 0 0 20px 0;
        font-style: normal;
        font-weight: bold;
        text-align: left;
    }

    dt.dt_newsarea {
        padding: 0 0 4px 0;
        width: 30%;
        margin-left: 0px;
        float: left;
        color: #333333;
    }

    dd.dd_newsarea {
        width: 70%;
        padding: 0 0 4px 0;
        float: left;
    }

    h3.h3_bg_box {
        height: auto;
        overflow-wrap: anywhere;
        word-break: normal;
        line-height: 1.8em;
        font-size: 110%;
        background-color: #666;
        overflow-wrap: anywhere;
        word-break: normal;
        color: #fff;
        padding: 0 0 0 12px;
        margin: 0 0 20px 0;
        font-style: normal;
        font-weight: bold;
        text-align: left;
    }

    .undercolumn h3.h3_2boxes {
        height: auto;
        line-height: 2.1em;
        font-size: 115%;
        background-color: #666;
        color: #fff;
        padding: 0 0 0 12px;
        margin: 0 0 20px 0;
        font-style: normal;
        font-weight: bold;
        text-align: left;
    }

    .two_boxes {
        width: 100%;
        float: left;
        padding-bottom: 32767px;
        _padding-bottom: 0;
        margin-bottom: -32767px;
        _margin-bottom: 0;
        background-color: #fff;
    }

    .sp-width100{
        width: 100%;
    }

    .h2_news_marquee {
        /* padding: 0 10px; */
        float: left;
        width: 75px;
        height: 2em;
        line-height: 2.5em;
        font-size: 120%;
        padding-left: 0px;
        padding-right: 3px;
       }


}