@charset "UTF-8";

/* PC用 */
@media screen and (min-width: 768px) , print {
  /* コンテンツ */
  #content_area {
    line-height: 1.6em;
  }
  #content_area > p {
    padding-left: 10px;
    margin-bottom: 20px;
  }

  #content_area > section, #content_area > form > section {
    padding: 0 10px 10px;
  }
  #content_area > section > ul.midashi-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-content: flex-start;
    width: 100%;
  }
  #content_area > section > ul.midashi-link > li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: left;
    margin: 0 20px 40px 0;
    border: 2px solid #CCC;
  }
  #content_area > section > ul.midashi-link > li:nth-child(-n+3) {
    padding: 10px 10px 140px;
    width: calc(33% - 44px);
  }
  #content_area > section > ul.midashi-link > li:nth-child(n+4) {
    padding: 10px 10px 80px;
    width: calc(25% - 47px);
  }
  #content_area > section > ul.midashi-link > li > .midashi-box {
    background-color: #666;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFF;
    padding: 10px;
    width: calc(100% - 20px);
  }
  .high-2em {
    display: flex;
    align-items: center;
    height: 2.5em;
  }
  #content_area > section > ul.midashi-link > li > a, #content_area > section > ul.midashi-link > li > .external {
    position: absolute;
    bottom: 10px;
    width: calc(100% - ((0.8em + 20px) * 2));
    margin: 10px;
  }
  #content_area > section > ul.midashi-link > li > .external {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #content_area > section > ul.midashi-link > li > .external > p {
    width: 100%;
    padding: 5px 0;
  }
  #content_area > section > ul.midashi-link > li > .external > a {
    display: block;
    width: calc(50% - 42px);
    color: #FFF;
    border: 1px solid #FFF;
    padding: 10px;
    margin: 0 10px;
  }
  #content_area > section > ul.midashi-link > li > .external > a:hover {
    color: #40C659;
    background-color: #FFF;
    text-decoration: none;
  }
  #content_area > section > ul.midashi-link > li > .illust-space {
    width: 100%;
    max-height: 150px;
    max-width: 150px;
    margin: 10px auto;
  }
  #content_area > section > ul.midashi-link > li > p {
    padding: 10px;
  }
  #content_area > section > #map-space {
    float: left;
    width: 220px;
    margin: 0 20px 0 10px;
  }
  #content_area > section > #base-all {
    float: left;
    width: calc(100% - 260px);
    margin-right: 10px;
  }

  /* 背景赤矢印 */
  .arrow {
    position: relative;
    display: inline-block;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
  }
  .arrow::before,
  .arrow::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
  }
  .arrowcenter::before {
    width: 20px;
    height: 20px;
    background: #FF0000;
  }
  .arrowcenter::after {
    right: 8px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
  }

  /* Q&Aページ */
  #content_area > section > ul.qanda > li {
    position: relative;
    width: 100%;
    padding: 10px 0;
  }
  #content_area > section > ul.qanda > li > dl {
    padding: 0 10px 10px;
    margin-bottom: 10px;
    border-bottom: 2px dotted #CCC;
  }
  #content_area > section > ul.qanda > li > dl > dt {
    display: block;
    position: relative;
    min-height: 50px;
    padding: 15px 0 0 70px;
    box-sizing: border-box;
    font-weight: bold;
    margin-bottom: 10px;
  }
  #content_area > section > ul.qanda > li > dl > dt::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("../img/q.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    overflow: hidden;
  }
  #content_area > section > ul.qanda > li > dl > dd {
    display: block;
    position: relative;
    min-height: 50px;
    padding: 15px 0 0 70px;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
  #content_area > section > ul.qanda > li > dl > dd::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("../img/a.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    overflow: hidden;
  }

  /* ご利用料金ページ */
  #content_area > section > .subscription_step {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: calc(100% - 8px);
    border: 4px solid #CCC;
  }
  #content_area > section > .subscription_step > .subscription_step_left {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 15%;
    float: left;
    background-color: #707070;
    font-weight: bold;
    line-height: 1.6em;
    color: #FFF;
  }
  #content_area > section > .subscription_step > .subscription_step_left > .subscription_step_num {
    line-height: 1.6em;
  }
  #content_area > section > .subscription_step > .subscription_step_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px 0px;
    width: 85%;
    min-height: 0%;
  }
  #content_area > section > .subscription_step > .subscription_step_right > h3 {
    width: 90%;
    line-height: 1.6em;
    text-align: center;
    border-bottom: 2px solid #707070;
  }
  #content_area > section > .subscription_step > .subscription_step_right > p {
    line-height: 1.6em;
  }
  #content_area > section > .drop-arrow-gray {
    margin: 10px auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #707070 transparent transparent transparent;
  }
  #content_area > section > .sub-point {
    margin: 20px 0;
    padding-left: 4em;
  }
  #content_area > section > .subscription_price_left {
    width: 49%;
    float: left;
    margin-right:2%;
  }
  #content_area > section > .subscription_price_right {
    width: 49%;
    float: left;
  }

  /* お問い合わせページ */
  #content_area > form > p {
    padding-left: 10px;
    margin-bottom: 20px;
  }
  #content_area > form > section > dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-content: flex-start;
    align-items: stretch;
    width: 100%;
  }
  #content_area > form > section > dl > dt.first, #content_area > form > section > dl > dd.first {
    border-top: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dt.ftitle {
    padding: 5px 20px;
    width: 220px;
    background-color: #666666;
    color: #FFF;
    font-weight: bold;
    border-left: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dt.any, #content_area > form > section > dl > dt.required { text-align: center; }
  #content_area > form > section > dl > dt.any {
    padding: 5px 20px;
    width: 30px;
    background-color: #0080F0;
    color: #FFF;
    font-weight: bold;
    border-bottom: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dt.required {
    padding: 5px 20px;
    width: 30px;
    background-color: #FF0000;
    color: #FFF;
    font-weight: bold;
    border-bottom: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dd {
    padding: 5px 10px;
    width: 626px;
    border-right: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
  }
  #content_area > form > section > h3 {
    padding: 10px 0;
    margin: 20px 0;
    width: 100%;
    text-align: center;
    background-color: #CCCCCC;
  }
  #content_area > form > section#personalinformation {
    margin: 10px;
    padding: 20px;
    margin-bottom: 40px;
    background-color: #EEE;
  }
  #content_area > form > section#personalinformation > ul > li > a {
    text-decoration: underline;
    color: #1111CC;
  }
  input, select, textarea {
    border: 1px solid #AAA;
  }
  input.err, select.err, textarea.err {
    border-color: #FF0000;
  }
  input[type=text] {
    padding: 5px 10px;
    width: 60%;
  }
  input[type=email] {
    padding: 5px 10px;
    width: 60%;
  }
  select {
    width: 20%;
    height: 25px;
  }
  textarea {
    padding: 5px 10px;
    width: calc(100% - 20px);
    height: 200px;
  }
  
  #content_area > section > .requests-area > h2 {
    text-indent: -5em;
    padding-left: 5em;
  }
  #content_area > section > .requests-area > h2 > br:nth-of-type(1) {
    display: none;
  }
  #content_area > section > .requests-area > .dairiten_area {
    width: 100%;
    text-align: center;
    margin: 20px 0;
  }
  #content_area > section > .requests-area > .kome {
    padding-left: 150px;
  }
  
  #content_area > section > #contact-area {
    width: 100%;
    margin-right: 20px;
  }
  
  /* 説明書用 */
  #instructions_area > h2 {
    width: 100%;
    border-bottom: 1px solid #4472C4;
    margin-bottom: 20px;
  }
  #instructions_area > .flex-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-content: flex-start;
    align-items: stretch;
    width: 100%;
    margin-bottom: 40px;
  }
  #instructions_area > .flex-menu > a {
    display: flex;
    justify-content: center;
    width: calc(33% - 64px);
    font-size: 1.4em;
    text-align: center;
    font-weight: bold;
    margin: 0 20px;
    padding: 20px 10px;
    align-items: center;
    border: 2px solid #999;
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.12), 0 3px 20px 0 rgba(0,0,0,0.12), 0 5px 6px -2px rgba(0,0,0,0.2), 3px 3px 5px 0px rgba(255,255,255,0.75) inset,-3px -3px 5px 0px rgba(0,0,0,0.75) inset;
    transition: .3s ease-out;
  }
  #instructions_area > .flex-menu > a:hover {
    color: #999;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2), 3px 3px 10px 0px rgba(255,255,255,0.75) inset,-3px -3px 10px 0px rgba(0,0,0,0.75) inset;;
  }
  
}

/* 小さい画面用 */
@media screen and (max-width: 767px) {
  /* コンテンツ */
  #content_area {
    line-height: 1.6em;
  }
  #content_area > p, #content_area > form > p {
    padding-left: 10px;
    margin-bottom: 20px;
  }

  #content_area > section, #content_area > form > section {
    padding: 0 10px 10px;
  }
  #content_area > section > ul.midashi-link {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-content: flex-start;
    width: 100%;
  }
  #content_area > section > ul.midashi-link > li {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: left;
    margin: 0 20px 20px 0;
    width: calc(100% - 44px);
    padding: 10px 10px 80px;
    border: 2px solid #CCC;
  }
  #content_area > section > ul.midashi-link > li:nth-child(n+2):nth-child(-n+3) {
    padding: 10px 10px 140px;
  }
  #content_area > section > ul.midashi-link > li > .midashi-box {
    background-color: #666;
    font-size: 1.3em;
    font-weight: bold;
    color: #FFF;
    padding: 10px;
    width: calc(100% - 20px);
  }
  .high-2em {
    
  }
  #content_area > section > ul.midashi-link > li > a, #content_area > section > ul.midashi-link > li > .external {
    position: absolute;
    bottom: 10px;
    width: calc(100% - ((0.8em + 20px) * 2));
    margin: 10px;
  }
  #content_area > section > ul.midashi-link > li > .external {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  #content_area > section > ul.midashi-link > li > .external > p {
    width: 100%;
    padding: 5px 0;
  }
  #content_area > section > ul.midashi-link > li > .external > a {
    display: block;
    width: calc(50% - 42px);
    color: #FFF;
    border: 1px solid #FFF;
    padding: 10px;
    margin: 0 10px;
  }
  #content_area > section > ul.midashi-link > li > .external > a:hover {
    color: #40C659;
    background-color: #FFF;
    text-decoration: none;
  }
  #content_area > section > ul.midashi-link > li > .illust-space {
    width: 100%;
    max-height: 150px;
    max-width: 150px;
    margin: 10px auto;
  }
  #content_area > section > ul.midashi-link > li > p {
    padding: 10px;
  }
  #content_area > section > #map-space {
    width: calc(100% - 20px);
    margin: 0 10px;
    text-align: center;
  }
  #content_area > section > #base-all {
    width: calc(100% - 20px);
    margin: 0 10px;
  }

  /* 背景赤矢印 */
  .arrow {
    position: relative;
    display: inline-block;
    color: #000;
    vertical-align: middle;
    text-decoration: none;
  }
  .arrow::before,
  .arrow::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
  }
  .arrowcenter::before {
    width: 20px;
    height: 20px;
    background: #FF0000;
  }
  .arrowcenter::after {
    right: 8px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
  }

  /* Q&Aページ */
  #content_area > section > ul.qanda > li {
    position: relative;
    width: 100%;
    padding: 10px 0;
  }
  #content_area > section > ul.qanda > li > dl {
    padding: 0 10px 10px;
    margin-bottom: 10px;
    border-bottom: 2px dotted #CCC;
  }
  #content_area > section > ul.qanda > li > dl > dt {
    display: block;
    position: relative;
    min-height: 50px;
    padding: 10px 0 0 70px;
    box-sizing: border-box;
    line-height: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
  }
  #content_area > section > ul.qanda > li > dl > dt::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("../img/q.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    overflow: hidden;
  }
  #content_area > section > ul.qanda > li > dl > dd {
    display: block;
    position: relative;
    min-height: 50px;
    padding: 10px 0 0 70px;
    box-sizing: border-box;
    line-height: 1.6em;
    margin-bottom: 10px;
  }
  #content_area > section > ul.qanda > li > dl > dd::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url("../img/a.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    overflow: hidden;
  }

  /* ご利用料金ページ */
  #content_area > section > .subscription_step {
    width: calc(100% - 8px);
    border: 4px solid #CCC;
  }
  #content_area > section > .subscription_step > .subscription_step_left {
    background-color: #707070;
    font-weight: bold;
    line-height: 1.6em;
    color: #FFF;
    padding: 5px 10px;
  }
  #content_area > section > .subscription_step > .subscription_step_left > .subscription_step_num {
    line-height: 1.6em;
  }
  #content_area > section > .subscription_step > .subscription_step_right {
    padding: 5px 0px;
    min-height: 0%;
    padding: 5px 10px;
  }
  #content_area > section > .subscription_step > .subscription_step_right > h3 {
    width: 100%;
    font-weight: bold;
    line-height: 1.6em;
    border-bottom: 2px solid #707070;
  }
  #content_area > section > .subscription_step > .subscription_step_right > p {
    line-height: 1.6em;
  }
  #content_area > section > .drop-arrow-gray {
    margin: 10px auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #707070 transparent transparent transparent;
  }
  #content_area > section > .sub-point {
    margin: 20px 0;
    padding-left: 4em;
  }
  #content_area > section > .subscription_price_left {
    width: 100%;
  }
  #content_area > section > .subscription_price_right {
    width: 100%;
  }

  /* お問い合わせページ */
  #content_area > form > section > dl {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-content: flex-start;
    align-items: stretch;
    width: 100%;
  }
  #content_area > form > section > dl > dt.first, #content_area > form > section > dl > dd.first {

  }
  #content_area > form > section > dl > dt.ftitle {
    padding: 5px 20px;
    width: 100%;
    background-color: #666666;
    color: #FFF;
    font-weight: bold;
    border-left: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dt.ftitle > br { display: none; }
  #content_area > form > section > dl > dt.any, #content_area > form > section > dl > dt.required { text-align: center; }
  #content_area > form > section > dl > dt.any {
    padding: 5px 20px;
    width: 30px;
    background-color: #0080F0;
    color: #FFF;
    font-weight: bold;
    border-left: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dt.required {
    padding: 5px 20px;
    width: 30px;
    background-color: #FF0000;
    color: #FFF;
    font-weight: bold;
    border-left: 1px solid #CCCCCC;
  }
  #content_area > form > section > dl > dd {
    padding: 5px 10px;
    width: calc(100% - 30px - 63px);
    border: 1px solid #CCCCCC;
  }
  #content_area > form > section > h3 {
    padding: 10px 0;
    margin: 20px 0;
    width: 100%;
    text-align: center;
    background-color: #CCCCCC;
  }
  #content_area > form > section#personalinformation {
    margin: 10px;
    padding: 20px;
    margin-bottom: 40px;
    background-color: #EEE;
  }
  #content_area > form > section#personalinformation > ul > li > a {
    text-decoration: underline;
    color: #1111CC;
  }
  input[type=text] {
    padding: 5px 10px;
    width: calc(100% - 20px);
  }
  input[type=email] {
    padding: 5px 10px;
    width: calc(100% - 20px);
  }
  select {
    width: 50%;
    height: 25px;
  }
  textarea {
    padding: 5px 10px;
    width: calc(100% - 20px);
    height: 100px;
  }
  
  #content_area > section > .requests-area > h2 > br {
    display: inline;
  }
  #content_area > section > .requests-area > h2 > br:nth-of-type(2) {
    display: none;
  }
  #content_area > section > .requests-area > .dairiten_area {
    width: 100%;
    text-align: center;
    margin: 20px 0;
  }
  #content_area > section > .requests-area > .kome {
    
  }
  
  #content_area > section > #contact-area {
    width: 100%;
    margin-bottom: 10px;
  }
  
  /* 説明書用 */
  #instructions_area > h2 {
    width: 100%;
    border-bottom: 1px solid #4472C4;
    margin-bottom: 20px;
  }
  #instructions_area > .flex-menu {
    width: 100%;
    margin-bottom: 40px;
  }
  #instructions_area > .flex-menu > a {
    display: block;
    width: calc(100% - 64px);
    font-size: 1.4em;
    text-align: center;
    font-weight: bold;
    margin: 0 20px 20px;
    padding: 20px 10px;
    align-items: center;
    border: 2px solid #999;
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.12), 0 3px 20px 0 rgba(0,0,0,0.12), 0 5px 6px -2px rgba(0,0,0,0.2), 3px 3px 5px 0px rgba(255,255,255,0.75) inset,-3px -3px 5px 0px rgba(0,0,0,0.75) inset;
    transition: .3s ease-out;
  }
  #instructions_area > .flex-menu > a:hover {
    color: #999;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2), 3px 3px 10px 0px rgba(255,255,255,0.75) inset,-3px -3px 10px 0px rgba(0,0,0,0.75) inset;;
  }
  #instructions_area > .flex-menu > a > br {
    display: none;
  }
  
}
