@charset "utf-8";

/* body全体の初期スタイル調整 */
body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
  color: #000;
  background-color: #fff;
}

/* 各要素の初期スタイル調整 */
h1, h2 {
  margin:0;
  line-height: 1.2;
}

h2 {
  margin-bottom: 30px;
  text-align: center;
  font-size: 250%;
  color: #09310c;
}

h2 span {
  display: block;
  font-size: 50%;
  color: #000;
  font-weight: normal;
}

h3 {
  font-size: 200%;
  color: #19074b;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ヘッダー部のスタイル */
.header {
  padding: 25px 0;
  text-align: center;
  position: relative;
}

.humberger {
  display: none;
}

.logo img {
  width: 240px;
}

.global-navi {
  background-color: #042709e7;
}

.global-navi ul {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.global-navi ul li {
  flex: 0 1 250px;

}

.global-navi ul li a {
  display: block;
  padding: 18px 0;
  text-align: center;
  color: #FFF;
  font-size: 115%;
  text-decoration: none;
}

#top #nav_top a,
#info #nav_info a,
#price #nav_price a,
#price2 #nav_price2 a,
#faq #nav_faq a,
#contact #nav_contact a,
.global-navi ul li a:hover {
  background-color: #07cf00;
}

/* スライドショーのスタイル */
.slideshow {
	width: 100%;
	background-color: #f3f2e9;
	margin: auto;
}
.slideshow img {
  width: 100%;
}

/* セクション全体のスタイル */
main {
  margin: 0;
}

section {
  margin: 0 auto;
}

/* NEWSのスタイル */
.news {
  padding: 60px 0 80px;
  background-color: #D5E6FF;
}

.news-block {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.news-block dl {
  background: #FFF;
  padding: 20px;
  border-radius: 10px;
}

.news-container {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px dotted #CCC;
}

.news-container dd {
  flex: 0 1 84%;
}

/* コンセプトのスタイル */
.concept ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.concept ul li {
  flex: 0 1 48%;
}

/* サービスのスタイル */
.service {
  width: 90%;
  max-width: 1200px;
  padding: 80px 0;
}

.service ul {
  display: flex;
  justify-content: space-between;
  margin: 0 0 40px;
}

.service ul li {
  flex: 0 1 32%;
}

.service ul li a {
  text-decoration: none;
}

.service ul li p {
  padding: 6px 0;
  background-color: #0066FF;
  text-align: center;
  color: #FFF;
}

/*
.service ul li p::after {
  content: "⇒";
  padding: 0 0 0 5px;
}
*/

/* フッターのスタイル */
.footer-navi ul {
  padding: 0 0 15px;
  text-align: center;
}

.footer-navi ul li {
  display: inline-block;
  padding: 0 20px;
  border-left: 1px solid #000;
}

.footer-navi ul li:first-of-type {
  border-left: none;
}

.footer {
  padding: 20px 0;
  background-color: #333;
  text-align: center;
}

.footer p {
  color: #FFF;
}


/* 各ページの共通スタイル */
article h1 {
  padding: 30px 0;
  margin: 0 0 50px;
  background-color: #d2f87b;
  text-align: center;
  font-size: 160%;
}

article h1::before {
  content: "※";
  margin: 0 10px 0 0;
}

article h1::after {
  content: "※";
  margin: 0 0 0 10px;
}

.sub_page {
  margin: 0 0 80px;
  text-align: center;
}

.heading01 {
  position: relative;
  display: inline-block;
  margin: 0 0 50px;
  font-size: 180%;
}

.heading01::before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 200px;
  height: 6px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #053117;
  border-radius: 6px;
}

.pagetop {
  cursor: pointer;
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  transition: .3s;
  color: #f1f7f8;
  background: #086335;
  
/*   デフォルトは非表示 */
  opacity: 0;
}
.pagetop:hover {
    box-shadow: 0 0 10px #000000;
}

/*プロフィールページ*/
.info {
  margin-bottom: 20px;
}

.info-item p strong {
  display: inline-block;
  border-bottom: 2px dotted #000;
  font-size: 120%;
}

.info-table {
  width: 70%;
  margin: 0 auto 30px;
  text-align: left;
}

.info-table tr{
  border-bottom: 2px solid #FFF;
}

.info-table tr:last-of-type{
  border-bottom: none;
}

.info-table th {
  width: 25%;
  padding: 10px 0;
  background-color: #af3712;
  text-align: center;
  color: #FFF;
  position: relative;
}
.info-table td {
  padding: 10px 0 10px 10px;
  background-color: #e9c63b;
}

.info p {
  margin: 0 0 0.5em;
}

.info-item h3.site_p {
  font-size: 120%;
}

.mail img {
  vertical-align: text-bottom;
}

/* 制作料金ページ */
.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: left;
}

.container p {
  flex: 0 1 45%;
  margin: 0 0 0.5em;
}

.container ol.website li {
  color: #ff0000;
}

.container ol.website li span {
  color: #000000;
}

.price-info {
  margin-bottom: 20px;
}

.price-flow {
  font-size: 150%;
  color: #19074b;
}

.price-item {
  flex: 0 1 52%;
}

.price-item p strong {
  display: inline-block;
  border-bottom: 2px dotted #000;
  font-size: 120%;
}

.price-item ul,
.info-item ul {
  padding: 20px 0 40px 30px;
  list-style-image: url(../images/list-style-image1.png);
}

.price-table {
  width: 70%;
  margin: 0 auto 30px;
  text-align: left;
}

.price-table tr{
  border-bottom: 2px solid #FFF;
}

.price-table tr:last-of-type{
  border-bottom: none;
}

.price-table th {
  width: 27%;
  padding: 20px 0 20px 10px;
  background-color: #5a1b0f;
  color: #FFF;
  position: relative;
}

.price-table td {
  padding: 10px 5px 10px 10px;
  background-color: #ec785b;
}

.price-info p {
  margin: 0 0 0.5em;
}


.pay-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.pay-item {
  flex: 0 1 52%;
}

.pay-item p {
  margin: 0 0 0.5em;
  text-align: right;
}

.pay-item p strong {
  display: inline-block;
  border-bottom: 2px dotted #000;
  margin: 0 0 10px;
  font-size: 120%;
}

.pay-container p {
  flex: 0 1 45%;
}


/* Ｑ＆Ａページのスタイル */
.faq_p {
  display: inline-block;
  margin: 0 0 50px;
  border-bottom: 2px solid #0066FF;
  font-size: 105%;
}

.faq-list {
  width: 70%;
  margin: 0 auto;
  text-align: left;
}

.faq-list dt {
  padding: 0 20px 5px 2em;
  margin: 0 0 10px;
  border-bottom: 1px dotted #000;
  position: relative;
  line-height: 1.2;
}

.faq-list dt::before {
  content: "Ｑ：";
  color: #0066FF;
  font-weight: bold;
  position: absolute;
  top:0;
  left: 0;
}

.faq-list dt::after {
  border-right: 3px solid #5a79df; /* 縦横ボーダー*/
	border-top: 3px solid #5a79df;
	content: "";
	display: block;
	height: 8px;
	position: absolute;
	right: 15px;
	top: 38%;
	transform: rotate(135deg); /*130度回転させ下向きに*/
	transition: transform .3s ease-in-out, top .3s ease-in-out;
	width: 8px;
}

.faq-list dt.open::after {
	top: 45%; /*位置を少し変える*/
	transform: rotate(-45deg); /* 上向きに変える*/
}

.faq-list dd {
  padding: 0 0 0 2em;
  margin: 0 0 50px;
  position: relative;
  display: none;
}

.faq-list dd::before {
  content: "Ａ：";
  color: #eb4d64;
  font-weight: bold;
  position: absolute;
  top:0;
  left: 0;
}


/* お問い合わせフォームのスタイル */
.form_p {
  display: inline-block;
  margin: 0 0 20px;
  border-bottom: 2px solid #0066FF;
  font-size: 105%;
}

.form-table {
  width: 60%;
  margin: 0 auto 30px;
}

.form-table th {
  width: 22%;
  padding: 20px 0;
  font-weight: normal;
  text-align: left;
}

.form-table td {
  padding: 20px 0 20px 20px;
  text-align: left;
}

.form-table td label {
  margin-right: 20px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #a9ccfe;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border: 1px solid #0066FF;
}

textarea {
  height: 6em;
}

.button {
  background-color: #202da5;
  padding: 10px 20px;
  border: none;
  border-radius: 50%;
  color: #FFF;
  font-size: 90%;
}

.button:hover {
  background-color: #268efd;
}

.button2 {
  background-color: #881111;
  padding: 10px 20px;
  border: none;
  border-radius: 50%;
  color: #FFF;
  font-size: 90%;
}

.button2:hover {
  background-color: #d345f0;
}

.button3 {
  background-color: #333232;
  padding: 10px 20px;
  border: none;
  border-radius: 50%;
  color: #FFF;
  font-size: 90%;
}

.button3:hover {
  background-color: #696769;
}

.form_footer {
  margin-top: 40px;
}

.form_footer h3 {
  display: inline-block;
  font-size: 120%;
  color: #ff0000;
  border-bottom: 2px double #ff0000;
}

#form_body {
  display: block;
  text-align: center;
}

#form_body h2 {
  font-weight: normal;
  font-size: 120%;
  color: #ff0000;
}

#form_thanks {
  display: block;
  text-align: center;
}

#form_thanks h2 {
  font-weight: normal;
  font-size: 120%;
}

#form_conf {
  display: block;
  text-align: center;
}

#form_conf h2 {
  font-weight: normal;
  font-size: 120%;
  color: #0000ff;
}

/* for message */
span.msg {
	color: #dd0000;
}

/* for back-button */
form.back {
	margin-top: 2em;
}

/* レスポンシブWebデザイン（960px以下） */
@media screen and (max-width: 960px) {

  .header h1{
    text-align: left;
  }

  .humberger {
    display: block;
    background: url(../images/burger.svg) no-repeat;
    width: 40px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 15px;
  }

  .humberger-off {
    background: url(../images/close.svg) no-repeat;
    width: 35px;
    height: 35px;
  }

  .global-navi {
    padding: 0;
  }

  .global-navi ul {
    width: 100%;
    display: none;
  }

  .news-container {
    display: block;
  }

  .concept {
    width: 90%;
  }

  .concept ul {
    display: block;
  }

  .service ul {
    display: block;
  }

  .service ul li {
    margin: 0 0 30px;
  }

  .footer-navi {
    display: none;
  }

  .sub_page {
    width: 95%;
    margin: 0 auto 50px;
  }

  .container {
    display: block;
  }

  .price-table {
    width: 100%;
  }

  .price-table th {
    padding: 15px 0;
    text-align: center;
  }

  .info-table {
    width: 100%;
  }

  .price-info {
    text-align: left;
  }

  .info {
    text-align: left;
  }

  .pay-container {
    display: block;
  }

  .pay-item p {
    text-align: left;
  }

  .faq-list {
    width: 100%;
  }

  .form-table {
    width: 100%;
  }

  #form-tbl {
    margin: 0 auto; text-align: center;
  }
	#form {
    width: 96%; margin: 10px auto;
  }
  #form th, #form td {
    text-align: left;
		width: 100%;
    font-weight: normal;
    display: block;
    padding: 6px 3px;
    border-top: none;
  }
  #form th::before {
    content: "※";
    vertical-align: baseline;
  }
  p.btn input {
    width: 10em;
  }
  p.msg {
    margin: 1em auto;
  }
}