@charset "utf-8";

/* ----------------
body
---------------- */

body {
  background: #e9f1f6;
}

/* ----------------
article
---------------- */

article {
  width: 100%;
  margin: 0 auto;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  article {
    width: 960px;
    margin: 0 auto;
  }
}

/* ----------------
h1
---------------- */

.layout_main h1 {
  margin-bottom: 1rem;
}

/* ----------------
h2
---------------- */

.layout_main h2 {
  background: none;
  text-align: center;
  font-size: 1.8rem;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .layout_main h2 {
    font-size: 2.3rem;
  }
}

/* ----------------
a
---------------- */

article a,
.layout_aside a {
  color: #568cc5;
  text-decoration: underline;
}

article a.txtlink,
.layout_aside a.txtlink {
  padding-left: 8px;
  line-height: 1.5;
  background: url(../resource/images/icon_link_small.gif) left 0.3em no-repeat;
}

article a.outlink span,
.layout_aside a.outlink span {
  margin-right: 5px;
  padding: 1px 18px 1px 0;
  background: url(../resource/images/icon_outlink-13x13.gif) right 0 no-repeat;
}

article a.outlink::after,
.layout_aside a.outlink::after {
  content: none;
}

/* ----------------
img
----------------- */

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  .layout_main img {
    width: 100%;
    height: auto;
  }
}

/* ----------------
#visual
---------------- */

#visual {
  margin-top: 19px;
  border-top: 10px solid #fff;
  border-left: 10px solid #fff;
  border-right: 10px solid #fff;
}

.visual-jp {
  background: #fff3da;
  padding: 1rem;
}

.visual-cojp {
  background: #e0effc;
  padding: 1rem;
}

.visual-cojp .list-notes {
  display: flex;
}

.visual-cojp .list-item {
  margin: 0.5rem 1rem 0 auto;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  #visual {
    display: flex;
    justify-content: space-between;
  }

  .visual-jp, .visual-cojp {
    width: 470px;
    height: 330px;
    padding: 0;
  }

  .visual-jp h1, .visual-cojp h1 {
    width: 371px;
    height: 210px;
    margin: 2rem auto 1rem;
  }

  .visual-cojp .list-item {
    margin: 0.5rem 2rem 0 auto;
  }
}

/* ----------------
campaign
---------------- */

/*
 * cojpビジュアルの上に
 * キャンペーンの帯を表示します
 */

/* PC 幅が 600px 以上 */

/*
@media screen and (min-width: 600px) {
  .visual-cojp {
    position: relative;
  }

  .visual-cojp .campaign {
    width: 422px;
    height: 62px;
    position: absolute;
    bottom: 10px;
    top: -22px;
    left: 25px;
  }
}
*/

/*
 * 「.JP CO.JPとは？」コンテンツの上部に
 * キャンペーンのお知らせを表示します
 */

/*
#news dl {
  border: solid 1px #ea2e59;
  padding: 15px 20px;
}

#news dl dt {
  color: #ea2e59;
  font-size: 16px;
  font-weight: bold;
}

#news dl dt span {
  font-weight: normal;
}

#news dl dd a {
  font-size: 14px;
}
*/

/* ----------------
nav.anchor-link-wrap
---------------- */

.anchor-link-wrap {
  background: #fff;
  margin-bottom: 20px;
  overflow: hidden;
}

.anchor-link {
  display: flex;
  justify-content: space-between;
  margin-top: 0;
}

.anchor-link-item {
  flex-grow: 1;
  text-align: center;
  margin: 0;
}

.anchor-link-item:nth-child(2) {
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

.anchor-link-item a {
  color: #888;
  display: block;
  font-size: 1.4rem;
  padding: 1rem 0.5rem 0;
  text-decoration: none;
}

.anchor-link-item a:hover {
  background-color: #fbfcfd;
}

.anchor-link-item a::after {
  content: "\f107";
  font-family: FontAwesome;
  display: block;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .anchor-link-wrap {
    background: #fff;
    margin-bottom: 20px;
    overflow: hidden;
  }

  .anchor-link-item a {
    font-size: 2rem;
    line-height: 1.2;
    padding: 2rem 0.5rem 0;
  }
}

/* ----------------
section-about
---------------- */

.section-about {
  margin-bottom: 3rem;
  padding: 1rem;
  border: 1px solid #d7d7d7;
  background-color: #fff;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-about {
    margin-bottom: 30px;
    padding: 39px;
  }
}

/* ------ .section-about .unit01 ------ */

.section-about .unit01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-about .unit01 li {
  margin: 0 0 1rem;
  flex-basis: 100%;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-about .unit01 {
    flex-flow: row nowrap;
  }

  .section-about .unit01 li {
    flex-basis: 420px;
  }
}

/* ------.section-about .unit02 ------ */

.section-about .unit02 {
  margin-bottom: 30px;
}

/* ------ .section-about .unit03 ------ */

.section-about .unit03 {
  margin-bottom: 1rem;
  padding: 2rem;
  border: 1px solid #d7d7d7;
  background: #f8fbfd;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-about .unit03 {
    width: 816px;
  }
}

/* ----------------
section-payment
---------------- */

.section-payment {
  margin-bottom: 3rem;
  padding: 2rem 1rem;
  border: 1px solid #d7d7d7;
  background-color: #fff;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-payment {
    margin-bottom: 30px;
    padding: 39px;
  }
}

/* ------ .section-payment .section-now-search ------ */

.now-search-inner {
  background-color: #f8fbfd;
  border: 1px solid #d7d7d7;
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.now-search_guide {
  font-size: 1.4rem;
  text-align: center;
}

.now-search_jp-image {
  width: 80%;
  margin: 1.85rem auto;
  text-align: center;
}

.now-search_cojp-image {
  margin: 2rem auto;
  text-align: center;
}

.now-search_jp .search-domain_submit {
  min-width: 5rem;
}

.now-search_jp .search-domain_submit-text {
  line-height: 1.2;
  margin: -1.2em 0 0 -1.3rem;
  text-align: center;
}

.now-search_cojp .search-domain_submit {
  min-width: 5rem;
}

.now-search_cojp .search-domain_submit-text {
  line-height: 1.2;
  margin: -1.2em 0 0 -1.8rem;
  text-align: center;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .now-search-inner {
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 2rem 3rem;
  }

  .now-search_guide {
    flex-grow: 1;
    flex-basis: 100%;
  }

  .now-search_jp .search-domain_form,
  .now-search_cojp .search-domain_form {
    width: 26rem;
  }

  .now-search_jp .search-domain_submit {
    min-width: 8rem;
  }

  .now-search_jp .search-domain_submit-text {
    margin: -0.8rem 0 0 -3rem;
    text-align: left;
  }

  .now-search_cojp .search-domain_submit {
    min-width: 10rem;
  }

  .now-search_cojp .search-domain_submit-text {
    margin: -0.8rem 0 0 -4.3rem;
    text-align: left;
  }
}

/* ----------------
section-flow
---------------- */

.section-flow {
  margin-bottom: 3rem;
  padding: 2rem 1rem;
  border: 1px solid #d7d7d7;
  background-color: #fff;
}

/* お申し込みの流れ フロー図 */
.flow-diagram-wrap {
  background-color: #f8fbfd;
  border: 1px solid #e1e1e1;
  padding: 2rem 1rem;
}

.flow-diagram {
  display: flex;
  flex-direction: column;
}

.flow-diagram-item {
  text-align: center;
  position: relative;
}

.flow-diagram-item::before {
  font-family: FontAwesome;
  display: block;
  text-align: center;
  color: #ccc;
  position: absolute;
}

.flow-diagram-item.item-appication {
  background-color: #eaeff4;
  padding: 1rem 1rem 0.5rem;
}

.flow-diagram-item.item-appication::after {
  content: "お申し込みページ";
  color: #003d6c;
  font-weight: bold;
  display: block;
  margin-top: 0.5rem;
}

.flow-diagram-item span {
  background-color: #fff;
  border: 3px solid #cad3dc;
  display: block;
  padding: 0.5rem 0;
  text-align: center;
}

.flow-diagram-item.item-emphasis span {
  border-color: #ffb579;
}

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  .flow-diagram-item {
    padding: 0 1rem;
  }

  .flow-diagram-item:not(:first-child) {
    margin-top: 1.5rem;
  }

  .flow-diagram-item:not(:first-child)::before {
    content: "\f107";
    left: 50%;
    margin-left: -0.5rem;
    top: -1.5rem;
  }
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-flow {
    margin-bottom: 30px;
    padding: 39px;
  }

  .flow-diagram {
    flex-direction: row;
  }

  .flow-diagram-item {
    padding: 1rem 0;
    width: 10rem;
  }

  .flow-diagram-item:not(:first-child) {
    margin-left: 1.5rem;
  }

  .flow-diagram-item span {
    width: 10rem;
    height: 3rem;
    display: table-cell;
    vertical-align: middle;
  }

  .flow-diagram-item.item-emphasis span {
    line-height: 1.3;
    padding: 0.2rem 0;
  }

  .flow-diagram-item:not(:first-child)::before {
    content: "\f105";
    left: -1rem;
    top: 2.5rem;
  }
}

/* ----------------
section-consideration
---------------- */

.section-consideration {
  margin-bottom: 30px;
  padding: 2rem 1rem;
  border: 1px solid #d7d7d7;
  background-color: #fff;
}

.section-consideration-innner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.section-consideration h3 {
  margin: 0 0 0.5rem;
  font-size: 1.29rem;
}

/* スマホ 幅が 0px - 599px */
@media screen and (max-width: 599px) {
  .section-consideration-id,
  .section-consideration-control {
    flex-basis: 100%;
    margin-bottom: 1rem;
  }
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-consideration {
    padding: 39px;
  }

  .section-consideration-id,
  .section-consideration-control {
    flex-basis: 420px;
  }
}

/* ----------------
section-contact
---------------- */

.layout_aside {
  padding: 30px 0;
  background-color: #fff;
}

.section-contact {
  margin: 0 auto;
  padding: 2rem 1rem;
  border: 1px solid #d7d7d7;
}

.section-contact dl {
  background-color: #fff3d7;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: column;
  padding: 1rem;
}

.section-contact dt {
  font-size: 1.3rem;
  font-weight: bold;
}

.section-contact dt .tel {
  font-size: 3rem;
}

.section-contact dd {
  font-size: 1.14rem;
}

.section-contact a {
  text-decoration: underline;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .section-contact {
    width: 958px;
    margin: 0 auto;
    padding: 3rem 0;
  }

  .section-contact dl {
    flex-direction: row;
    width: 878px;
    margin: 0 auto;
    padding: 2rem 3rem;
    box-sizing: border-box;
  }
}

/* -----------
table
------------- */

#payjpdomTbl {
  border-top: 1px solid #d7d7d7;
  border-left: 1px solid #d7d7d7;
  font-size: 1.28rem;
  text-align: center;
  width: 100%;
}

#payjpdomTbl th,
#payjpdomTbl td {
  border-bottom: 1px solid #d7d7d7;
  border-right: 1px solid #d7d7d7;
  padding: 1rem;
}

#payjpdomTbl .head {
  background: none #f8fbfd;
  font-size: 1rem;
  font-weight: normal;
  text-align: left;
  width: 13rem;
}

#payjpdomTbl .headjp {
  background: none #fff3da;
  font-weight: bold;
}

#payjpdomTbl .headcojp {
  background: none #e0effc;
  font-weight: bold;
}

#payjpdomTbl .bold {
  font-weight: bold;
}

#payjpdomTbl .payment {
  font-size: 1rem;
}

/* -----------
search-domain_form
ドメイン検索フォーム
------------- */

.search-domain_form {
  display: flex;
}

.search-domain_input-domain {
  border: 3px solid #cad3dc;
  border-right: none;
  flex-grow: 1;
  font-size: 1.2rem;
  outline: none;
  overflow: hidden;
  padding: 0.7rem;
}

.search-domain_submit {
  position: relative;
  min-width: 4rem;
  box-sizing: border-box;
  cursor: pointer;
  color: #fff;
  background-color: #f2671f;
  border: 3px solid #e5571c;
}

.search-domain_submit:hover {
  background-color: #fe7800;
}

.search-domain_submit-text {
  font-size: 1.2rem;
  left: 50%;
  line-height: 1;
  margin: -0.5rem 0 0 -1.2rem;
  position: absolute;
  top: 50%;
}

.search-domain_input-submit {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  cursor: pointer;
  outline: 0;
  color: #fff;
  background: 0 0;
  border: none;
  text-indent: -1000px;
  line-height: 1px;
}

/* PC 幅が 600px 以上 */
@media screen and (min-width: 600px) {
  .search-domain_form {
    width: 30rem;
    margin: 0 auto;
  }

  .search-domain_input-domain {
    font-size: 1.1rem;
    height: 42px;
    padding: 0 1rem;
  }

  .search-domain_submit {
    min-width: 13rem;
  }

  .search-domain_submit-text {
    font-size: 1.5rem;
    margin: -0.7rem 0 0 -5rem;
  }

  .search-domain_submit-text .hidden-if-sph {
    display: inline;
  }
}