/* 部活ページ共通 Smart Phone スタイル */
@media screen and (max-width: 767px) {
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
    .sp.none {
        display: none !important;
    }
    h1 {
        font-size: 1rem !important;
    }
    .main-inner h2 {
        font-size: 1.5rem;
        margin-left: 1rem;
    }

    body.detailsB .main-inner h2 > .suffix {
        position: unset;
    }

    .main-inner h2 > .suffix {
        font-size: 2rem;
        position: absolute;
        margin-top: -3rem;
    }
 
    .main-inner h2 > .suffix::after {
        height: 4.7rem;
        width: 1rem;
        margin-bottom: 0;
    }
    .catch_image {
        max-height: calc(100vw * 0.67 + 320px);
    }

    .detail_title h2{
        width: calc(100% - 1rem);
    }

    .detail_title::before {
        height: 8rem;
    }
    .detail_title .title_image {
        height: 8rem;
    }

    .detail_title_text {
        font-size: 1rem;
        margin: 3rem 0.5rem 0.5rem 0.5rem;
    }

    .breadcrumb {
        /* display: none; */
        margin-left: 1rem;
    }
    
    .top_title {
        padding: 1rem 1rem 1rem 1rem;
    }

    h1 .title_name_wrap {
    font-size: 15px
    }

    h1 .title_name {
    font-size: 15px;
    }

    body.firstviewB h1 .title_name {
    font-size: 15px;
    }

    .content_narrow {
        margin-left: 1rem;
        margin-right: 1rem; 
    }
    .content_fix {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .content_sp {
        margin-left: 1rem !important;
        margin-right: 1rem !important;
    }
    .content_area {
        margin-left: auto;
        margin-right: auto;
    }
    
    .top_topics_content_area {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .top_topic {
        width: calc(100vw - 2rem);
        max-width: none;
    }
    .topic_image {
        width: 100%;
    }
    #experienceUpper {
        display: block;
    }

    /* ファーストビュー選択B */
    body.firstviewA .catch_image_box {
        width: 100%;
    }

    /* ファーストビュー選択B */
    body.firstviewB .top_title {
        display: flex;
    }
    body.firstviewB #topTitleB,
    body.firstviewB #topTitleB2 {
        display: none !important;
    }
    body.firstviewB .school_logo {
        max-width: 60px;
        max-height: 60px;
    }
    body.firstviewB .top_title {
        text-align: unset;
        padding: 1rem 1rem 1rem 1rem;
    }
    body.firstviewB .catch_image_scroll {
        width: 100%;
    }
    body.firstviewB .catch_image_box{
        background-image: unset !important;
        display: block;
        /* width: unset; */
        width: 100%;    
    }
    body.firstviewB .catch_image{
        width: 100%;
        height: unset;
        object-fit: contain;
    }
    body.firstviewB .top_topics_area{
        width: 100%;
        height: unset;
        margin-top: 0;
        margin-bottom: 0.5rem;
        background-color: unset;
        display: inline-block;
        position: unset;
    }
    body.firstviewB .top_topics_content_area {
        display: flex;
        margin-left: auto;
        margin-right: auto;
        padding-right: 2rem;
    }
    body.firstviewB .top_topic:first-child {
        margin-left: 2rem;
    }
    body.firstviewB .top_topic{
        width: calc(100vw - 8rem);
        max-width: unset;
        margin-left: 2rem;
    }
    body.firstviewB .top_topic > .tag{
        display: block;
        top: 9px;
        right: 11px;
    }
    body.firstviewB .top_topic > .topic_image_div{
        display: block;
        width: calc(100% - 0rem);
        margin-right: 0;
        height: unset;
    }
    body.firstviewB .top_topic .topic_image{
        width: 100%;
        height: 200px;
        min-width: 340px;
    }
    body.firstviewB .top_topic > pre{
        display: block;
        color: #000000;
        max-height: 44px;
        max-width: unset;
        margin-top: unset;
        text-align: unset;
    }

    /* ファーストビュー選択C */
    body.firstviewC .catch_image_box{
        margin-left: 1rem;
        margin-right: 1rem;
    }

    body.firstviewC .top_topics_content_area{
        display: unset;
    }
    body.firstviewC .top_topic {
        margin-left: 1rem;
    }
    body.firstviewC .top_topic {
        width: calc(100vw - 3rem);
        max-width: unset;
    }
    body.firstviewC .top_topic > pre {
        max-height: 80px;
    }
    body.firstviewC .button_link_samll.news{
        margin-top: -36px;
        margin-right: 1rem;
    }

    /* ファーストビュー選択D */
    body.firstviewD .catch_image_box {
        width: 100%;
    }

    body.firstviewD .tab_images,
    body.firstviewD .outline_image_top {
        display: block !important;
    }
    body.firstviewD .tab_images > img {
        border-radius: unset;
    }
    body.firstviewD .tab_images_all {
        display: none;
    }
    body.firstviewD .top_topic {
        width: 50%;
    }
    body.firstviewD .top_topics_content_area {
        justify-content: unset;
    }
    body.firstviewD .text_experience {
        padding: 18px;
        margin-top: -50px;
        margin-left: 30px;
        margin-right: 30px;
    }
    body.firstviewD .btn_experience {
        position: inherit;
        margin: 1rem auto 0 auto;
        right: unset;
    }
    body.firstviewD .member_box > img {
        width: 100% !important;
        /* width: calc(100vw - 9rem) !important; */
        height: calc(100vw - 9rem) !important;
        margin-left: 0;
        margin-right: 0;
        max-width: 620px;
        max-height: 620px;
    }
    body.firstviewD .gallery_area .gallery_box {
        width: 50%;
    }
    body.firstviewD .gallery_area {
        justify-content: unset;
    }
    body.firstviewD .club-top .gallery_area .gallery_box:nth-child(3),
    body.firstviewD .club-top .gallery_area .gallery_box:nth-child(4) {
        display: none;
    }

    /* ファーストビュー選択E */
    body.firstviewE #experienceUpper {
        display: block;
    }
    body.firstviewE .catch_image {
        max-height: unset;
    }
    body.firstviewE .catch_image_box::before {
        border-top: 150px solid; /* 高さ */
        border-right: 150px solid transparent; /* 下頂点から右端までの長さ */
        border-left: 0px solid transparent; /* 下頂点から左端までの長さ */
        border-top-color: var(--color-main);
    }
    body.firstviewE .catch_image_box::after {
        top: 0;
        right: 0;
        border-bottom: 660px solid rgba(0, 0, 0, 0.65);
        border-right: 0 solid transparent;
        border-left: 660px solid transparent;
    }

    body.firstviewE .tab_images,
    body.firstviewE .outline_image_top {
        display: block !important;
    }
    body.firstviewE .tab_images > img {
        border-radius: unset;
    }
    body.firstviewE .tab_images_all {
        display: none;
    }
    body.firstviewE .member_box > img {
        width: 100% !important;
        /* width: calc(100vw - 9rem) !important; */
        height: calc(100vw - 9rem) !important;
    }

    /* ファーストビュー選択F */
    /* ファーストビュー選択D */
    body.firstviewF .catch_image_box {
        width: 100%;
    }    
    body.firstviewF .tab_images,
    body.firstviewF .outline_image_top {
        display: block !important;
    }
    body.firstviewF .tab_images > img {
        border-radius: unset;
    }
    body.firstviewF .tab_images_all {
        display: none;
    }
    body.firstviewF .top_topic {
        width: 50%;
    }
    body.firstviewF .top_topics_content_area {
        justify-content: unset;
    }
    body.firstviewF .main-inner h2 > .suffix {
        position: absolute;
    }
    body.firstviewF .main-inner h2 > .suffix {
        padding-left: 1rem !important;
        font-size: 1.7rem;
        padding-top: 0.9rem;
        left :0;
    }

    body.firstviewF #experienceUpper {
        display: block;
    }
    body.firstviewF .btn_experience {
        position: inherit;
        margin: 1rem auto 0 auto;
        right: unset;
    }
    body.firstviewF .text_experience {
        padding-right: unset;
        padding-bottom: unset;
        margin-bottom: 1rem;
        right: unset;
    }
    body.firstviewF #topNewsTitle {
        padding-left: 7rem;
    }
    body.firstviewF #topProjectTitle {
        padding-left: 8rem;
    }
    body.firstviewF #aboutTitle {
        padding-left: 8rem;
    }
    body.firstviewF #scheduleTitle {
        padding-left: 11rem;
    }
    body.firstviewF #memberTitle {
        padding-left: 16rem;
    }
    body.firstviewF #galleryTitle {
        padding-left: 9rem;
    }
    body.firstviewF #sponsorTitle {
        padding-left: 10rem;
    }
    body.firstviewF #outlineTitle {
        padding-left: 11rem;
    }

    body.firstviewF .member_box > img {
        width: 100% !important;
        height: calc(100vw - 9rem) !important;
        margin-left: 0;
        margin-right: 0;
        max-width: 620px;
        max-height: 620px;
    }

    /* ファーストビュー選択以上 */
    .top_experience {
        display: block;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-bottom: 1rem;
    }
    .btn_experience {
        margin-left: auto;
        margin-right: auto;
    }

    .tabs3 {
        padding-left: 0;
        padding-right: 0;
    }

    .content_about {
        padding-left: 0;
        padding-right: 0;
    }
    .outline_image_top {
        float: none;
        width: 100%;
        height: unset;
        margin-right: 0;
    }
    .outline_box {
        float: none;
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-right: 0;
    }
    .tab_images {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .tab_images > img {
        width: 100%;
        height: auto;
    }

    .history_area {
        padding-left: 1rem;
    }

    .history_group {
        width: 100%;
        margin: 1rem 0;
        padding: 0 1rem;
    }

    .course_box {
        width: 100%;
        padding: 0 1rem;
    }

    .schedule_box {
        width: calc(100% - 1rem); /* margin-leftを引く */
        margin-left: 1rem;
        margin-right: 1rem;
        padding-right: 2rem;
    }

    .content_area .schedule_box {
        margin-left: 0;
        margin-right: 0;
        padding-right: 0;
    }

    .button_link_samll {
        margin-left: auto;
        margin-right: auto;
    }
    .gallery_area {
        padding-right: 0;
        padding-left: 1rem;
    }
    .gallery_box {
        margin-right: 1rem;
    }

    .dialog .button_close {
        margin: 0.5rem auto 1rem auto;
    }
    .dialog .slide_left {
        display: none;
    }
    .dialog .slide_right {
        display: none;
    }
    #mediaGallery img {
        max-width: 100%;
    }
    #mediaGallery iframe {
        width: calc(100vw - 3rem);
    }
    #dialogGallery .dialog_content {
        background-color: #ffffff;
        margin-left: 2rem;
        margin-right: 2rem;
        padding: 1rem;
    }
    #dialogGallery .media_description {
        display: flex;
    }
    #dialogGallery .media_description .text {
        width: 100%;
        color: inherit;
        margin-top: 1rem;
    }
    #dialogGallery .title {
        width: 100%;
        color: inherit;
        margin-top: 1rem;
        text-align: left;
    }

    #dialogGallery .media_date {
        width: 6rem;
        height: 2rem;
        padding-top: 0.4rem;
        text-align: right;
        font-size: 0.8rem;
    }

    .school {
        padding-left: 0;
        padding-right: 0;
    }
    .school_image_top {
        width: 100%;
        height: auto;
        margin-right: 0 !important;
    }
    .school_image_top.school_image_left {
        display: block;
    }
    .school_image_top.school_image_right {
        display: none;
    }

    .content_narrow .news_tag_area {
        display: none;
    }

    .news_box {
        width: 100%;
    }
    .news_thumbnail {
        width: 100%;
        height: calc((100vw - 3rem) * 215 / 350);
    }

    .tag_order {
        display: block;
    }

    .button_tag_order{
        border-radius: 7px;
        width: 11rem;
        height: 3rem;
        text-align: center;
        color: white;
        background-color: #888888;
        padding-top: 0.6rem;
        margin: 0 auto 2rem auto;
        cursor: pointer;
        font-weight: 600;
        font-size: 1.2rem;
    }
    .block_image {
        max-width: 100% !important;
    }

    .sponsor_area {
        padding: 0 0 1rem 0;
    }

    .sponsor_box {
        max-width: 100%;
        margin: 0.5rem 0.5rem 3rem 0.5rem !important;
    }

    /* 詳細デザインB */
    body.detailsB .member_box {
        width: 100%;
        margin: 1rem 1rem 3rem 1rem !important;
        padding: 4vw;
    }
    
    body.detailsB .member_full_area .member_box {
        width: calc(100vw - 6rem);
        padding: 2rem;
    }
    body.detailsB .member_full_area .member_box img {
        width: calc(100vw - 10rem) !important;
        height: calc(100vw - 10rem) !important;
    }

    /* 詳細デザインB 以上 */

    .member_full_area .member_box {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }

    .member_box{
        width: calc(100vw - 10rem);
    }
    .slide_box .member_box {
        width: 100%;
        min-width: 100%;
        margin: 1rem 0 3rem 0;
        padding: 0 1rem;
        text-align: center;
    }

    .member_box > img {
        width: calc(100vw - 14rem) !important;
        height: calc(100vw - 14rem) !important;
    }
    .member_box > .member_name {
        width: 100%;
        max-width: 100%;
    }
    .member_box > .member_role {
        width: 100%;
        max-width: 100%;
    }
    .member_box > .member_text {
        width: 100%;
        max-width: 100%;
    }

    

    /* 入力系画面 */
    .input_box {
        display: block;
    }
    .input_field {
        max-width: 100%;
    }
    .controller {
        text-align: center;
    }

    /* 下部メニュー */
    body.thema1  .bottom_menu_area { background-color: #FF0000; }
    body.thema2  .bottom_menu_area { background-color: #B40404; }
    body.thema3  .bottom_menu_area { background-color: #FF8000; }
    body.thema4  .bottom_menu_area { background-color: #FFBF00; }
    body.thema5  .bottom_menu_area { background-color: #FFFF00; }
    body.thema6  .bottom_menu_area { background-color: #00FF00; }
    body.thema7  .bottom_menu_area { background-color: #088A08; }
    body.thema8  .bottom_menu_area { background-color: #0000FF; }
    body.thema9  .bottom_menu_area { background-color: #00BFFF; }
    body.thema10 .bottom_menu_area { background-color: #00FFFF; }
    body.thema11 .bottom_menu_area { background-color: #8A0886; }
    body.thema12 .bottom_menu_area { background-color: #BF00FF; }
    body.thema13 .bottom_menu_area { background-color: #FF00BF; }
    body.thema14 .bottom_menu_area { background-color: #ff1493; }
    body.thema15 .bottom_menu_area { background-color: #000080; }
    body.thema16 .bottom_menu_area { background-color: #2E2E2E; }
    body.thema17 .bottom_menu_area { background-color: #FC9090; }
    body.thema18 .bottom_menu_area { background-color: #0093FF; }
    body.thema19 .bottom_menu_area { background-color: #0B7964; }

    .bottom_menu_area {
        display: block;
        margin-top: 0;
    }

    .bottom_menu_area .sns_area {
        width: 100%;
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid white;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .bottom_menu_area .sns_box {
        margin-top: 0;
    }
    .bottom_menu_area .button_menu,
    .bottom_menu_area .end_menu {
        width: 100%;
        margin: 0;
    }
    .button_header {
        display: none;
    }
    .top_title .menu {
        display: none;
    }

    /* 部活トップ */
    .text_experience {
        margin-right: 0;
    }

    /* ニュースピン留め */
    .newsListPin {
        width: 30px !important;
        float: right;
        height: 30px !important;
        z-index: 1;
        position: inherit;
        margin-right: 10px;
    }

    /* 体験入部（trial） */
    .trial .left_box {
        width: 100%;
        margin-left: 0;
        max-width: 100%;
    }
    .trial .right_box {
        width: calc(100% - 4rem);
        max-width: calc(100% - 4rem);
        margin: 3rem 2rem 0 2rem;
    }
    .trial .left_sub_box {
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .trial .right_sub_box {
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    .trial #scheduleTable {
        display: block;
    }
    .trial #scheduleTable,
    .trial #scheduleTable thead,
    .trial #scheduleTable tbody,
    .trial #scheduleTable tr{
        display: block;
        width: 100%;
        font-size: 0;
        border: unset;
    }
    .trial #scheduleTable tbody tr {
        margin-top: 0.5rem;
        border: 1px solid #e5e5e5;
    }
    .trial #scheduleTable th {
        font-size: 1rem;
        height: 70px;
        display: inline-block;
        vertical-align: middle;
    }
    .trial #scheduleTable td {
        font-size: 1rem;
        display: inline-block;
        border: unset;
    }
    .trial #scheduleTable .col_date {
        width: 145px;
        text-align: center;
    }
    .trial #scheduleTable .col_status {
        width: calc(100% - 145px);
    }
    .trial #scheduleTable .col_time {
        width: 145px;
        vertical-align: top;
    }
    .trial #scheduleTable .col_place {
        width: calc(100% - 145px);
        text-align: center;
        min-width: unset;
    }

    /* 結果画面 */
    .page_result .content_area {
        padding: 0.5rem;
    }
    .page_result .main_box {
        width: unset;
        padding: 3rem 1rem 4rem 1rem;
    }
    .page_result .thank_you {
        margin-bottom: 3rem;
    }

    /* イベント（event） */
    .event_detail .left_box {
        width: 100%;
        margin-left: 0;
        min-width: unset;
        max-width: 100%;
    }
    .event_detail .right_box {
        width: calc(100% - 4rem);
        max-width: calc(100% - 4rem);
        margin: 3rem 0 0 0;
    }
    .event_detail .left_sub_box {
        width: calc(100% - 2rem);
        max-width: calc(100% - 2rem);
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .event_detail .right_sub_box {
        width: calc(100% - 1rem);
        max-width: calc(100% - 1rem);
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }
    .event_detail .top_status .value {
        font-size: 2rem;
    }
    /* メール通知ダイアログ */
    .emailNotification {
        margin: 0 auto;
        width: fit-content;
        max-width: 100%;
    }

    /* コンテンツ*/
    .detail.left_box > pre,
    .detail.left_box > div {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .button_link_wide {
        white-space: normal;
        overflow: visible;
    }

    .button_link_wide_text {
        max-width: 90%;
    }

    .detail.left_box > span {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    .event_detail .right_box {
        margin-left: 0;
        margin-right: 0;
        width: fit-content;
        min-width: unset;
        max-width: 100%;
    }

    /* レイアウト */
    .dialog .field_label {
        width: 100%;
        text-align: left;
        padding-right: 0;
    }
    .dialog .field_left {
        width: 100%;
        text-align: left;
        padding-left: 0;
    }
    .dialog input[type="text"],
    .dialog input[type="password"] {
        width: 100%;
    }

} /* @media */ 
