﻿@charset "utf-8";

/*----------------------------------------------------------------

layout Set

----------------------------------------------------------------*/

/* Header
----------------------------------------------- */
header {
  width: 100%;
  z-index: 1000;
}
header h1 {
  font-size: 1.5em;
}
header span {
  display: inline-block;
}

/* END Header
----------------------------------------------- */

/* ヘッドライン */
#headline {
  width: 100%;
  margin: 0 auto 1.5em;
  text-align: center;
}

/* コンテンツ枠 */
#contents {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 1.5em;
}

/* メインコンテンツ */
section {
  width: 100%;
  margin: 0 auto;
}
.inner {
  width: 90%;
  margin: 0 auto;
}

#footerprof {
  margin-top: 0;
  padding: 40px 0;
}

/* フッター */
.pagetop {
  position: fixed;
  bottom: 70px;
  right: 14px;
  z-index: 99999;
  margin: 0;
}
.pagetop img {
  width: 20px;
}
footer {
  padding: 15px 0;
  margin: 2em 0 0;
  background: #4b514d;
  color: #fff;
  line-height: 1.5;
  overflow: hidden;
}
footer .inner {
  width: 90%;
  margin: 0 auto;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:visited {
  color: #fff;
}
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

#footernav {
}
#footernav li {
}
#footernav li::before {
  font-family: "fontawesome";
  content: "\f0da";
  margin-right: 0.5em;
}

footer .copy {
  margin: 0;
  text-align: center;
}

/* フォーム */
.optin {
  text-align: center;
  padding-bottom: 1.5em;
}
.optin input[type="text"] {
  display: block;
  width: 90%;
  height: 60px;
  margin: 1em auto;
  padding: 12px 10px;
  border: solid 2px #bbb;
  background-color: #ffff9d70 !important;
  font-size: 1.1em;
  text-align: center;
}
.optin .inner {
  width: 90%;
  margin: 0 auto;
}
.optin.bgnone {
  background: none;
}

/* 追従フォーム */
.fixedform {
  position: fixed;
  bottom: 0px;
  z-index: 9;
  background-color: rgb(233, 238, 241);
  left: 0px;
  right: 0px;
  display: block;
}
.fixedform .optin {
  padding: 15px 45px 15px 25px;
}
.fixedform .optin input[type="text"] {
  width: 100%;
  margin: 0;
}
.fixedform .optin p.center {
  margin: 10px 0;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0;
}
.spacer {
  margin-bottom: 20px;
}

.fixedform .optin .submit input {
  width: 100%;
  padding: 10px;
  cursor: pointer;
  border-radius: 40px;
  border: none;
  background: #f58267;
  font-size: 1em;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.fixedform .optin .submit input:hover {
  opacity: 0.5;
}

/* 特商法・プライバシーポリシー */
.law section {
  font-size: 0.9em;
  line-height: 1.5;
}
.law section .inner {
  width: 90%;
}


#message {
  margin-top: 20px;
  font-weight: bold;
}
.success {
  color: #005a68;
}
.error {
  color: red;
}

/*----------------------------------------------------------------

Media Queries

----------------------------------------------------------------*/
/* 768px～ メディアクエリ開始 */
@media screen and (min-width: 768px) {
  /* ヘッダー */
  header {
    text-align: left;
    margin: 0;
  }

  /* ヘッダー（見出し・画像）枠 */
  #headline {
    width: 100%;
    margin: 0 auto 0;
    text-align: center;
  }

  /* メインコンテンツ */
  #contents {
    max-width: 1000px;
    font-size: 1.2em;
    box-shadow: 0 0 20px #dadada;
    padding: 2em 0 2em;
  }
  #main {
    margin: 0 auto;
  }
  section {
  }
  section p {
  }
  /* フッター */
  .pagetop {
    bottom: 25px;
  }
  #footernav {
    float: left;
  }
  #footernav li {
    display: inline;
  }
  #footernav li::before {
    content: none;
  }
  #footernav li::after {
    content: "　|　";
  }
  footer {
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 0 20px #dadada;
  }

  .optin {
    padding-bottom: 2em;
  }
  .optin .txt {
    font-size: 1.2em;
    margin: 0 0 1em;
  }
  .optin input[type="text"] {
    height: 80px;
    margin: 1em auto;
    padding: 20px;
    font-size: 1.5em;
  }
  /* 追従フォーム */
  .fixedform .optin {
    padding: 20px 50px;
  }
  .fixedform .optin input[type="text"] {
    height: 60px;
    font-size: 1.2em;
  }
  .fixedform .optin p.center {
    margin: 10px 0 0;
  }
  .fixedform .optin .submit input {
    height: 100px;
    border-radius: 0px;
    font-size: 1.2em;
  }
  .f_flex {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  .f_flex .f_flex_left {
    width: 58%;
  }
  .f_flex .f_flex_right {
    margin-left: 2%;
    width: 40%;
  }
}
/* 1024px～ メディアクエリ開始 */
@media screen and (min-width: 1024px) {
  /* メインコンテンツ内部 */
  section {
    margin: 0 auto;
  }
  .inner {
    width: 800px;
    margin: 0 auto;
  }
  .inner.w980 {
    width: 980px;
    margin: 0 auto;
  }

  /* フッター */
  footer .inner {
    width: 90%;
    margin: 0 auto;
  }

  .optin .inner {
    margin: 0 auto;
  }

  .fixedform .optin input[type="text"] {
    height: 75px;
    font-size: 1.3em;
  }
  .fixedform .optin p.center br {
    display: none;
  }
  .fixedform .optin .submit input {
    font-size: 1.5em;
  }
} /* 1024px～ メディアクエリ終了 */
