@charset "UTF-8";
@media only screen and (max-width: 760px) {
  .mincho {
    font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho" serif;
  }
  .sp_none {
    display: none !important;
  }
  .pc_none {
    display: block;
  }
  .sp_mt20 {
    margin-top: 20px;
  }
  .fixd {
    position: static;
  }
  :target:before {
    content: "";
    display: block;
    height: 0px;
    margin: 0px 0 0;
  }
  #map_canvas {
    height: 350px;
  }
  header .tagline {
    width: 100%;
    padding: 0px;
  }
  .history__block .wrap {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .history__block .wrap:before {
    content: "";
    position: absolute;
    left: 30px;
    top: 0;
    border-left: 1px solid #031221;
    z-index: 2;
    width: 1px;
    height: 100%;
  }
  .history__block .wrap .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
  }
  .history__block .wrap .row:before {
    left: 5px;
  }
  .history__block .wrap .row .date {
    width: 100%;
    box-sizing: border-box;
    padding-left: 50px;
    font-size: 124%;
    margin-bottom: 10px;
  }
  .history__block .wrap .row .history__body {
    width: 100%;
    box-sizing: border-box;
    padding-left: 50px;
    font-size: 84%;
  }
  .flow__message, .self_publishing {
    max-width: 70%;
    padding-top: 0px;
  }
  .business .list__block {
    max-width: 70%;
  }
  .flow_box {
    background: #FFF;
    padding: 20px;
    box-sizing: border-box;
  }
  .flow_box .inner {
    display: table-cell;
    vertical-align: middle;
  }
  .flow_box .inner .sub_ttl {
    font-size: 160%;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #000;
    padding: 10px;
    border-left: 3px solid #000;
  }
  .flow_box .inner p {
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 110%;
  }
  .flow_box .w30, .flow_box .w50 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .flow_box .w30 li, .flow_box .w50 li {
    width: 100%;
    display: table;
  }
  .flow__line ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
  }
  .flow__line ul li {
    height: 250px;
    width: 50%;
    display: table;
    box-sizing: border-box;
  }
  .flow__left ul {
    display: flex;
    justify-content: space-between;
    height: auto;
  }
  .flow__left ul li {
    width: 100%;
    display: table;
    height: 100%;
    padding: 0px 40px;
    box-sizing: border-box;
    height: 350px;
  }
  .flow__right ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    height: auto;
  }
  .flow__right ul li {
    width: 100%;
    display: table;
    height: 100%;
    padding: 0px 40px;
    box-sizing: border-box;
  }
  .flow__right ul li:last-child {
    height: 350px;
  }
  .can__block .left__pic ul {
    display: flex;
    flex-wrap: wrap;
  }
  .can__block .left__pic ul .pic {
    height: 250px;
  }
  .can__block .left__pic ul li {
    width: 100% !important;
    height: 250px;
  }
  .can__block .left__pic ul li img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
  }
  .can__block .left__pic ul .box {
    width: 100%;
  }
  .can__block .left__pic ul .box:before {
    display: none;
  }
  .can__block .right__pic ul {
    flex-direction: column-reverse;
  }
  .can__block .right__pic ul .pic {
    height: 250px;
  }
  .can__block .right__pic ul li {
    width: 100% !important;
  }
  .can__block .right__pic ul li img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
  }
  .can__block .right__pic ul .box {
    width: 100%;
  }
  .can__block .right__pic ul .box:after {
    display: none;
  }
  .subwrapper {
    padding: 0px 10px;
    box-sizing: border-box;
  }
  .movie__wrap {
    padding-top: 50px;
  }
  .movie {
    position: relative;
    width: 100%;
    height: 400px;
  }
  .movie p {
    font-size: 300%;
    width: 90%;
  }
  .slide_wrapper {
    padding-top: 50px;
  }
  .slide_wrapper .scroll {
    display: none;
  }
  .slide_wrapper .scroll img {
    margin-top: 10px;
    animation: vertical 1s ease-in-out infinite alternate;
    width: 25px;
  }
  .slide_wrapper .scroll p {
    font-family: TimesNewRoman, "Times New Roman", Times, Baskerville, Georgia, serif;
    font-size: 84%;
  }
  .slide_wrapper .main_slide li p {
    font-size: 150%;
    width: 80%;
    text-align: center;
  }
  /*/////////// header ////////////*/
  .second_main_img {
    padding-top: 50px;
  }
  .second_main_img .outer h2 {
    font-size: 154%;
    text-align: center;
    position: relative;
    line-height: 1.3;
    color: #FFF;
  }
  .second_main_img .outer h2:after {
    content: "";
    position: absolute;
    text-align: center;
    display: block;
    width: 280px;
    height: 2px;
    background: #FFF;
    top: 45px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto auto;
  }
  .content_block {
    padding: 40px 0px;
  }
  /*/////////// nav ////////////*/
  .nav {
    padding-bottom: 0px;
  }
  .nav .logo {
    max-width: initial;
    width: 100%;
    text-align: center;
  }
  footer .copy {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px 0px;
    font-size: 64%;
  }
  footer .copy li {
    margin-bottom: 10px;
  }
  footer .copy li:first-child {
    text-align: center;
    width: 100%;
  }
  footer .copy li:last-child {
    width: 100%;
    text-align: center;
    margin-bottom: 0px;
  }
  footer .copy li:nth-child(2) {
    width: 100%;
    text-align: center;
  }
  header .sp_tel {
    position: fixed;
    z-index: 2;
    right: 60px;
    top: 10px;
    font-size: 200%;
    z-index: 100;
    color: #CCC;
  }
  header .sp_tel a {
    color: #CCC;
  }
  header nav {
    padding-top: 0px;
    margin-top: 0px;
  }
  header nav ul {
    flex-direction: column;
  }
  header nav ul .item_hidden:before {
    content: "-";
    position: absolute;
    right: 10px;
    top: 10px;
    padding-top: 3px;
    color: #FFF !important;
    box-sizing: border-box;
    margin: 0;
    width: 30px;
    height: 30px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
  }
  header nav ul .item_active:before {
    content: "+";
    position: absolute;
    right: 10px;
    top: 10px;
    padding-top: 3px;
    color: #FFF !important;
    box-sizing: border-box;
    margin: 0;
    width: 30px;
    height: 30px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    border-radius: 50%;
  }
  header nav ul li {
    width: 100%;
    border-bottom: 1px solid #FFF;
    text-align: left;
    color: #000 !important;
    background-color: #000;
    box-sizing: border-box;
    padding-bottom: 0px;
    position: relative;
  }
  header nav ul li ul {
    display: none;
    background-color: #FFF;
  }
  header nav ul li ul li {
    font-size: 80%;
    width: 50%;
    background-color: #FFF;
    float: left;
    border-right: 1px solid #031221;
    border-bottom: 1px solid #031221;
  }
  header nav ul li ul li:last-child {
    border-bottom: none;
    border-right: 1px solid #031221;
  }
  header nav ul li ul li a {
    padding: 10px 10px !important;
    display: block;
    color: #000 !important;
  }
  header nav ul li:after {
    display: none;
  }
  header nav ul li a {
    text-decoration: none;
    color: #FFF;
  }
  header nav ul li a:hover {
    text-decoration: none;
  }
  .top__will {
    margin-top: 50px;
    padding: 30px;
  }
  .top__will .pic {
    position: static;
    width: 90%;
    margin: 0px auto;
  }
  .top__will .lead_block {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  .top__will .lead_block .box {
    width: 90%;
    margin: 0px auto 30px;
    max-width: initial;
    max-width: auto;
    background: #FFF;
    box-sizing: border-box;
    padding: 20px;
    position: static;
    z-index: 2;
    text-align: center;
  }
  .top__will .lead_block .box .sub_ttl {
    font-size: 114%;
    margin: 10px 0px 20px 0px;
  }
  .top__will .lead_block .box p {
    line-height: 1.8;
  }
  .top__will .lead_block .box p span {
    font-size: 114%;
    display: inline-block;
    border-bottom: 1px solid #000;
  }
  .contact__block {
    background: #161410;
    width: 100%;
    padding: 20px 0px;
    position: relative;
  }
  .contact__block:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 50px;
    border-color: #FFF transparent transparent transparent;
  }
  .contact__block .box {
    margin-top: 45px;
    background: #000000;
    padding: 20px;
    box-sizing: border-box;
  }
  .contact__block .box ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .contact__block .box ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
  }
  .contact__block .box ul li .sub_ttl {
    position: relative;
    font-size: 134%;
    padding-left: 0px;
    padding-top: 10px;
    margin-bottom: 15px;
    color: #FFF;
  }
  .contact__block .box ul li .info {
    border: 1px solid #FFF;
    padding: 30px;
    box-sizing: border-box;
    color: #FFF;
    min-height: initial;
  }
  .contact__block .box ul li .info p {
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: initial;
  }
  .contact__block .box ul li .info .btn {
    text-align: center;
    text-decoration: none;
    padding: 10px 0px;
    width: 60%;
    display: block;
    margin: 0px auto;
    transition: .5s all;
  }
  .contact__block .box ul li .info .btn:hover {
    opacity: 0.7;
  }
  .contact__block .box ul li .info .tel {
    text-decoration: none;
    font-size: 164%;
    padding-left: 50px;
    position: relative;
    padding-top: 10px;
  }
  .new__building ul {
    display: flex;
    flex-wrap: wrap;
  }
  .new__building ul li {
    width: 100%;
    display: block;
  }
  .new__building ul li:first-child {
    width: 100%;
    position: relative;
    background-size: cover;
    background: url(../img/building_sp.jpg) no-repeat center;
    height: 350px;
  }
  .new__building ul li:last-child {
    padding: 40px 40px 20px 40px;
    width: 100%;
  }
  .new__building ul li:last-child .inner .sub_ttl {
    font-size: 114%;
    margin-bottom: 20px;
  }
  .new__building ul li:last-child .inner p {
    line-height: 1.8;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 640px) {
  #page-top {
    font-size: 200%;
  }
  #page-top a {
    padding: 0px 5px;
    line-height: 0;
  }
  .middle_ttl {
    font-size: 140%;
  }
  .flow__message, .self_publishing {
    max-width: 90%;
  }
  .business .list__block {
    max-width: 90%;
  }
  .movie {
    position: relative;
    width: 100%;
    height: 350px;
  }
  .movie p {
    font-size: 250%;
    width: 90%;
  }
  .top__will {
    margin-top: 50px;
    padding: 0px;
  }
  .top__will .pic {
    position: static;
    width: 100%;
    margin: 0px auto;
  }
  .top__will .lead_block .box {
    width: 100%;
    margin: 0px auto 30px;
  }
  .top__merit {
    padding-top: 50px;
  }
  .top__merit .reverse {
    flex-direction: column-reverse;
  }
  .top__merit ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .top__merit ul li {
    width: 100%;
  }
  .top__merit ul li img {
    width: 100%;
    margin-bottom: 20px;
  }
  .top__merit ul li p {
    line-height: 1.8;
  }
  /*/////////// 会社概要 ////////////*/
  .message ul {
    flex-wrap: wrap;
  }
  .message ul .pic {
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }
  .message ul .pic img {
    width: auto;
  }
  .message ul .txt {
    width: 100%;
  }
  .company_tbl {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
    border: none;
    box-sizing: border-box;
  }
  .company_tbl tr {
    width: 100%;
    border: 1px solid #CCC;
  }
  .company_tbl th, .company_tbl td {
    box-sizing: border-box;
    padding: 15px;
    font-size: 16px;
    border: none;
    font-size: 100%;
    display: block;
  }
  .company_tbl tbody {
    text-align: left;
  }
  .company_tbl tbody th {
    background: #F5F5F5;
    color: #000;
    text-align: left;
    width: 100%;
  }
  .company_tbl tbody td {
    background: white;
  }
  /*/////////// お問い合わせ ////////////*/
  .contact {
    padding: 10px;
  }
  .contact form table {
    table-layout: fixed;
    word-break: break-all;
    word-wrap: break-word;
  }
  .contact form table th, .contact form table td {
    display: block;
    box-sizing: border-box;
    padding: 25px 10px;
  }
  .contact form table th {
    width: 100%;
    border-bottom: none;
    padding-bottom: 10px !important;
  }
  .contact form table td {
    width: 100%;
    padding-top: 0px !important;
  }
  .contact form table .normal_txt {
    width: 100%;
  }
  .contact form table .small_txt {
    width: 50%;
  }
  /*/////////// プライバシーポリシー ////////////*/
  .privacy .sub_ttl {
    font-size: 140%;
  }
}

@media screen and (max-width: 480px) {
  .br-sp {
    display: none;
  }
  .second_main_img .outer h2 {
    font-size: 134%;
    color: #FFF;
  }
  .second_main_img .outer h2:after {
    content: "";
    width: 240px;
    height: 2px;
    background: #FFF;
    top: 35px;
  }
  .movie {
    position: relative;
    width: 100%;
    height: 300px;
  }
  .movie p {
    font-size: 200%;
    width: 90%;
  }
  .map {
    width: 100%;
    height: 300px;
    margin-bottom: 40px;
  }
  header .tagline {
    width: 100%;
  }
  header .tagline .logo {
    width: 40%;
  }
  .slide_wrapper .scroll {
    display: none;
  }
  .slide_wrapper .main_slide li p {
    font-size: 144%;
    width: 90%;
    text-align: center;
  }
  .top__will {
    margin-top: 20px;
  }
  .contact__block {
    background: #161410;
    width: 100%;
    padding: 20px 0px;
    position: relative;
  }
  .contact__block:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 50px;
    border-color: #FFF transparent transparent transparent;
  }
  .contact__block .box {
    margin-top: 45px;
    background: #000000;
    padding: 20px;
    box-sizing: border-box;
  }
  .contact__block .box ul li {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
  }
  .contact__block .box ul li .sub_ttl {
    font-size: 114%;
    padding-left: 0px;
    padding-top: 10px;
    margin-bottom: 10px;
    color: #FFF;
  }
  .contact__block .box ul li .info p {
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: initial;
  }
  .contact__block .box ul li .info .btn {
    width: 80%;
  }
   .new__building ul li:first-child {
    width: 100%;
    position: relative;
    background-size: cover;
    background: url(../img/building_sp_l.jpg) no-repeat center;
    height: 200px;
  }
}
