
@charset "utf-8";

html {
    width: 100%;
    font-size: 16px;
}

body {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(189,202,214,0.1);
    font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

body, #news-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

a {
    color: #000;
    transition: all 0.5s;
}

a:hover,
a:hover img,
a:hover .btn {
    opacity: 0.6;
    transition: all 0.5s;
}

/*a:hover .btn {
    opacity: 0.6;
    transition: all 0.5s;
}*/

img {
    max-width: 100%;
}

video:focus {
    outline:none;
}

/* utillity */
.red {
  color:red;
}


/*==================================
    tab
===================================*/

@keyframes tabAnim{
  0%{opacity:0;}
  100%{opacity:1;}
}
input[type="radio"]{display:none;}
.tab_wrap{max-width:1080px; margin:0 auto 80px;}
.tab_area{display:flex; /*flex-wrap: wrap;*/ justify-content: space-between; font-size:0; text-align: center;}
.tab_area label{
  margin:0 8px 0 0;
  display:inline-flex;
  justify-content: center;
  align-items: center;
  padding:13px 0;
  color:#666;
  background:#E6E6E6;
  text-align:center;
  font-size:14px;
  letter-spacing: 1px;
  cursor:pointer;
  transition:all 0.5s ease;
}
/*.tab_area .tab1_label {width:184px;}*/
.tab_area label {flex-grow: 1;}
.tab_area label:last-of-type {margin: 0;}
.tab_area label:hover{color: rgba(102,102,102,0.5);background-color: rgba(230,230,230,0.5);}

.panel_area{background:#fff;}
.tab_panel{width:100%; opacity:0; padding:4.15%; /*calc((100% - 32.407% * 3)/2)*/ display:none;}
.tab_panel figcaption {font-size:15px; letter-spacing:1px; text-align:center; margin-top: 12px;line-height: 1.4;}
.tab_panel figcaption span, .tab_panel .caption span {display: inline-block;}
.tab_panel .caption {font-size:15px; letter-spacing:1px; text-align:center; margin:12px 0 0;line-height: 1.4;}
.tab_panel .size{font-size:13px; letter-spacing:1px; text-align:center; margin:5px 0 0;}

#tab1:checked ~ .tab_area .tab1_label,
#tab2:checked ~ .tab_area .tab2_label,
#tab3:checked ~ .tab_area .tab3_label,
#tab4:checked ~ .tab_area .tab4_label,
#tab5:checked ~ .tab_area .tab5_label,
#tab6:checked ~ .tab_area .tab6_label,
#tab7:checked ~ .tab_area .tab7_label,
#tab8:checked ~ .tab_area .tab8_label,
#tab9:checked ~ .tab_area .tab9_label {
  position: relative;
  background:#fff;
  box-shadow: 1px 0px 4px 0 rgba(0,0,0,.2);
}
#tab1:checked ~ .tab_area .tab1_label:before,
#tab2:checked ~ .tab_area .tab2_label:before,
#tab3:checked ~ .tab_area .tab3_label:before,
#tab4:checked ~ .tab_area .tab4_label:before,
#tab5:checked ~ .tab_area .tab5_label:before,
#tab6:checked ~ .tab_area .tab6_label:before,
#tab7:checked ~ .tab_area .tab7_label:before,
#tab8:checked ~ .tab_area .tab8_label:before,
#tab9:checked ~ .tab_area .tab9_label:before {
  content: '';
  display: block;
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: #ffffff;
  z-index: 10;
  transition:all 0.5s ease;
}
#tab1:checked ~ .tab_area .tab1_label:hover,
#tab2:checked ~ .tab_area .tab2_label:hover,
#tab3:checked ~ .tab_area .tab3_label:hover,
#tab4:checked ~ .tab_area .tab4_label:hover,
#tab5:checked ~ .tab_area .tab5_label:hover,
#tab6:checked ~ .tab_area .tab6_label:hover,
#tab7:checked ~ .tab_area .tab7_label:hover,
#tab8:checked ~ .tab_area .tab8_label:hover,
#tab9:checked ~ .tab_area .tab9_label:hover {
    color: rgba(102,102,102,0.5);
    box-shadow: 1px 0px 4px 0 rgba(0,0,0,.1);
}
#tab1:checked ~ .panel_area #panel1,
#tab2:checked ~ .panel_area #panel2,
#tab3:checked ~ .panel_area #panel3,
#tab4:checked ~ .panel_area #panel4,
#tab5:checked ~ .panel_area #panel5,
#tab6:checked ~ .panel_area #panel6,
#tab7:checked ~ .panel_area #panel7,
#tab8:checked ~ .panel_area #panel8,
#tab9:checked ~ .panel_area #panel9 {
  position: relative;
  display:block;
  animation:tabAnim ease 0.9s forwards;
  -ms-animation:tabAnim ease 0.9s forwards;
  box-shadow: 1px 0px 4px 0 rgba(0,0,0,.2);
}

#panel7 figure {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: hidden;
}
#panel7 figure video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.download {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    padding: 0.5em 0.75em;
    text-decoration: none;
    color: #FFF;
    background: #2762AD;
    transition: .4s;
    letter-spacing: 0;
    border-radius: 0.2em;
}
.download:hover {
    opacity: 0.5;
}

/* スライドショーのボタン */
#panel7.tab_panel .download {margin: 10px 0 0;}

#panel9_title1, #panel9_title2 {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 4.35%;
}

#panel9_title2 {
    margin-top: 4.62%;
}

.panel9_pc_br {
    display: none;
}

@media screen and (max-width:767px) {
    .tab_area .tab1_label,
    .tab_area .tab2_label,
    .tab_area .tab3_label,
    .tab_area .tab4_label,
    .tab_area .tab5_label,
    .tab_area .tab6_label,
    .tab_area .tab7_label {
        display: none;
    }
    #tab1:checked ~ .panel_area #panel1,
    #tab2:checked ~ .panel_area #panel2,
    #tab3:checked ~ .panel_area #panel3,
    #tab4:checked ~ .panel_area #panel4,
    #tab5:checked ~ .panel_area #panel5,
    #tab6:checked ~ .panel_area #panel6,
    #tab7:checked ~ .panel_area #panel7,
    #tab9:checked ~ .panel_area #panel9 #pc {
        display: none;
    }
    #panel9_title1, #panel9_title2 {
        display: none;
    }
}


@media screen and (min-width:768px) {
    .tab_area label {
        letter-spacing: 0;
    }
    .label_smartphone {
        display: none;
    }
}

@media screen and (min-width:880px) {
    .tab1_label_br2 {
        display: none;
    }
}

@media screen and (min-width:960px) {
    .tab_area label {
        letter-spacing: 0.08em;
    }
    .tab1_label_br1 {
        display: none;
    }
}

@media screen and (min-width:1280px) {
    .tab_area label {
        font-size: 15px;
    }
    .tab_panel{
        padding-top: 52px;
        padding-right: 50px;
        padding-bottom: 22px; /*calc(40px - (100% - 32.407% * 3)/2);*/
        padding-left:50px;
    }
    .tab_panel p {
        margin: 5px 0 40px;
    }
    #panel9_title1 {
        margin: 0 0 40px;
    }
    #panel9_title2 {
        margin: 50px 0 40px;
    }
    .panel9_pc_br {
        display: inline;
    }
}



/*==================================
    scroll-top
===================================*/

.scroll-top {
    width: 44px;
    height: 44px;
    position: fixed;
    right: 3.5%;
    bottom: 142px;
    z-index: 100;
    background-color: #808080;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 44px;
    letter-spacing: 0;
    opacity: 0;
    transition: all 0.3s ease;
}
.scroll-top.is-show {
    opacity: 1;
    transition: all 0.3s ease;
}
.scroll-top:before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    top: -16px;
    left: 14px;
    border-bottom: 13px solid #808080;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}


@media screen and (min-width:768px) {
    .scroll-top {
        right: calc(3.5% - 22px);
        bottom: 32px;
    }
}

@media screen and (min-width:1280px) {
    .scroll-top {
        right: calc((100% - 1180px)/2 - 22px);
    }    
}



/*==================================
    layout
===================================*/
.l-header {
    width: 100%;
    margin: 0 auto;
}

/* IE11 */
_:-ms-lang(x)::-ms-backdrop, .l-header {
    min-height: 0%;
}

.l-section {
    width: 100%;
}

.l-container {
    max-width: 1180px;
    width: 93%;
    margin: 0 auto;
}

#about .l-container {
    padding:16vw 0 20vw;
}

.l-footer {
    width: 100%;
    color: #808080;
    background-color: #E6E6E6;
    padding: 8vw 0;
    margin-top: 50px;
}

@media screen and (min-width:640px) {
    .l-footer {
        padding: 22px 0;
    }
}



/*==================================
    components
===================================*/

/* utility */
.inline-block {
    display: inline-block;
}

.pc-tb_show { display: initial; display: auto; }
.tb_show { display: none; }
.tb-sm_show { display: none; }
.sm_show{ display: none; }

@media screen and (min-width:768px)  {
    .pc-tb_show { display: initial; display: auto; }
} 
@media screen and (min-width:768px) and (max-width:991px) {
    .pc_show { display: none; }
    .pc-tb_show { display: initial; display: auto; }
    .tb_show { display: initial; display: auto; }
    .tb-sm_show { display: initial; display: auto; }
}
@media screen and (max-width:767px) and (min-width:540px) {
    .pc_show { display: none; }
    .pc-tb_show { display: none; }
    .tb-sm_show { display: initial; display: auto; }
    .sm_show { display: initial; display: auto;}
} 
@media screen and (max-width:540px) {
    .pc_show { display: none; }
    .pc-tb_show { display: none; }
    .tb-sm_show { display: initial; display: auto; }
    .sm_show{ display: initial; display: auto; }
}



/*==================================
    contents
===================================*/

.share-area {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.6em;
    width: 48px;
    height: 160px;
    top: 40px;
    right: 0;
    z-index: 200;
    background-color: rgba(67,67,67,0.4);
}
.share-area:before {
    content: 'Share';
    display: block;
    font-size: 10px;
    color: #FFF;
    height: 15px;
}
.share-icon {
    width: 28px;
    height: 33px;
}


@media screen and (max-width:768px) {
    .share-area {
        top: 28px;
    }
}

@media screen and (min-width:481px) and (max-width:768px) {
    .share-area {
        height: 150px;
    }
    .share-icon {
        width: 24px;
    }
}

@media screen and (max-width:480px) {
    .share-area {
        height: 140px;
        padding: 0.4em;
        width: 44px;
    }
    .share-icon {
        width: 22px;
    }
}



/* about */
#about h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 52px;
}
.howto_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.list {
    font-size: 15px;;
    text-indent: -1em;
    padding-left: 1em;
}
.list .list_item {
    margin-bottom: 4vw;
}
.list .list_item.list_2nd_item {
    padding-bottom: 4vw;
    margin-bottom: 0;
}
.list .list_item:before {
    content:'●';
    color: #cccccc;
}
.list .list_item.list_2nd_item:before {
    content:'・';
    color: #000000;
}
.list .list_item:last-of-type {
    margin-bottom: 0;
}
.list_2nd_p {
    text-indent: 0;
    margin: 14px 0;
}


@media screen and (max-width:449px) {
    #about .howto {
        text-align: center;
        margin-bottom: 8vw;
    }
}

@media screen and (min-width:450px) {
    #about .l-container {
        padding: 72px 0 90px;
    }
    #about .howto {
        margin-bottom: 36px;
    }
    .list .list_item {
        margin-bottom: 18px;
    }
    .list .list_item.list_2nd_item {
        padding-bottom: 18px;
    }
}

@media screen and (min-width:768px) {
    .list {
        width: 80.2736%;
    }
    .list.list_2nd_list {
        width: 100%;
    }
    .list .list_item {
        margin-bottom: 16px;
    }
    .list .list_item.list_2nd_item {
        padding-bottom: 16px;
    }  
}

@media screen and (min-width:960px) {
    #about .howto {
        margin-bottom: 40px;
    }
}

@media screen and (min-width:1280px) {
    #about .l-container {
        padding:64px 0 80px;
    }
    .list {
        width: 960px;
    }
    #about .howto {
        margin-bottom: 48px;
    }
      
}



/*===================================
    contents
===================================*/

.works_box{
    text-align: center;
    margin-bottom: calc((100% - 32.407% * 3)/2);
}
.works_box img {
    width: 100%;
}


@media screen and (max-width:449px) {
    #panel8 .works_box,
    #panel9 #smartphone .works_box {
        margin-bottom: 8%;
    }
}

@media screen and (min-width:450px) {
    .works_flex{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .works_box {
        width: 49.3055%;
        margin-bottom: 3.2812%;
    }
    #panel8 .works_box,
    #panel9 #smartphone .works_box {
        width: 49.3055%;
    }
}

@media screen and (min-width:630px) {
    #panel8 .works_box,
    #panel9 #smartphone .works_box {
        width: 32.407%;
    } 
}

@media screen and (min-width:850px) {
    .works_box {
        width: 32.407%;
        margin-bottom: 3.4825%;
    }
    #panel3 .works_flex:after,
    #panel5 .works_flex:after {
        content: '';
        display: block;
        width: 32.407%;
    }
    #panel8 .works_box,
    #panel9 #smartphone .works_box {
        width: 23.9578%;
    }
}

@media screen and (min-width:1280px) {
    .works_box{
        margin-bottom: 40px;
    }
    #panel8 .works_box,
    #panel9 #smartphone .works_box {
        width: 258px;
    }
}


/* footer */
.l-footer .l-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: center;
}
.l-footer .logo {
    margin-bottom: 4vw;
}
.l-footer .logo img {
    vertical-align: middle;
}
.l-footer .address {
    margin-bottom: 2vw;
}

.address_sp {
    display: none;
}

.l-footer .small {
    font-size: 10px;
    text-align: center;
    width: 100%;
    margin: 0.5em auto 0;
}

@media screen and (max-width:991px) {
    .l-footer .l-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
@media screen and (max-width:767px) {
    .l-footer .address {
        margin-bottom: 4vw;
    }
}

@media screen and (max-width:284px) {
    .address_span {
        display: none;
    }
}

@media screen and (min-width:450px) {
    #small_br {
        display: none;
    }
}

@media screen and (min-width:524px) {
    #address_br1 {
        display: none;
    }
}

@media screen and (min-width:640px) {
    .l-footer .logo {
        margin-bottom: 12px;
    }
    .l-footer .address {
        margin-bottom: 0;
    }
    .address_sp {
        display: inline;
    }
    #address_br2 {
        display: none;
    }
}

@media screen and (min-width:992px) {
    .l-footer .logo {
        margin-bottom: 0;
    }
    .l-footer .footer_text {
        padding-left: 40px;
        padding-right: 124px; /* ロゴの幅分補正 */
    }
}
