@charset "UTF-8";

/* 変数の定義（CSSの冒頭、またはこの箇所の直前に追加） */
:root {
  --yoridoko-green: #334d26;
}

/* style.css */
body {
  font-family:
    "Noto Sans JP", Avenir, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 12px;
  color: #000;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  height: 100%;
  width: 100%;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

@media print {
  body {
    zoom: 0.68;
  }
}
ul,
ol,
dl {
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

p {
  margin-top: 0;
}

div {
  box-sizing: border-box;
}

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

a:visited {
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: underline;
}
@media only screen and (max-width: 767px) {
  a:hover,
  a:active,
  a:focus {
    text-decoration: none;
  }
}

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

/*------------------------------------------------
global
------------------------------------------------*/
main {
  height: 100%;
  width: 100%;
}

aside {
  background-color: #999;
  position: fixed;
  top: 0;
  bottom: 0;
  right: -200px;
  width: 200px;
  z-index: 2;
  transition: transform 0.5s ease-in-out;
}

.container {
  width: 100%;
  height: 100%;
}

.inner_box {
  top: 0;
  bottom: 0;
  text-align: center;
  right: 0;
  left: 0;
  z-index: 1;
}

h1,
p {
  margin: 0;
  padding: 0;
}

footer {
  width: 100%;
  margin: 0;
  overflow: hidden;
}

footer .inner {
  width: 92%;
  max-width: 1000px;
  text-align: center;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: block;
  border-top: solid 1px #000;
}
@media only screen and (max-width: 767px) {
  footer .inner {
    width: 92%;
    max-width: none;
  }
}

footer .inner p {
  font-size: 7px; /* 11 */
  font-weight: normal;
  line-height: 1.8;
  padding: 3em 0;
}

/*------------------------------------------------
fade-in
------------------------------------------------*/
.effect {
  overflow: hidden;
}

.fade-in {
  transition: 0.8s;
  opacity: 0;
  transform: translate(0, 60px);
  -webkit-transform: translate(0, 60px);
}

.fade02 {
  opacity: 1;
  transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
}

/*------------------------------------------------
Navigation Menu
------------------------------------------------*/
input[type="checkbox"] {
  display: none;
}
.policy_check {
  box-sizing: border-box;
  cursor: pointer;
  display: inline-block;
  padding: 5px 30px;
  top: 50%;
  left: 0%;
  position: relative;
  width: auto;
}
.policy_check::before {
  background: #fff;
  border: 1px solid #231815;
  content: "";
  display: block;
  height: 16px;
  left: 5px;
  margin-top: -8px;
  position: absolute;
  top: 50%;
  width: 16px;
}
.policy_check::after {
  border-right: 3px solid #ed7a9c;
  border-bottom: 3px solid #ed7a9c;
  content: "";
  display: block;
  height: 9px;
  left: 10px;
  margin-top: -7px;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  width: 5px;
}
input[type="checkbox"]:checked + .policy_check::after {
  opacity: 1;
}

/*------------------------------------------------
contents
------------------------------------------------*/
.contents {
  width: 100%;
  margin: 0;
  padding-top: 100px;
}

.contents section {
  clear: both;
  width: 92%;
  max-width: 1980px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  display: block;
  margin-top: -75px;
  padding-top: 75px;
  margin-bottom: 40px;
  overflow: hidden;
  z-index: 4;
}
@media only screen and (max-width: 767px) {
  .contents section {
    max-width: none;
  }
}
.contents p {
  font-size: 10px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 2em;
}
.contents p.center {
  text-align: center;
}
.contents p.small {
  font-size: 9px;
}
.contents p.line_message {
  font-size: 20px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
  margin: 60px 0 80px;
  padding: 16px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .contents p.line_message {
    font-size: 16px;
    padding: 16px 0;
  }
}
.contents p.line_message::before {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: #ccc;
  position: absolute;
  top: 0;
  left: 0;
}
.contents p.line_message::after {
  content: "";
  width: 100%;
  height: 1px;
  display: block;
  background: #ccc;
  position: absolute;
  bottom: 0;
  left: 0;
}
.contents p a {
  text-decoration: underline;
}
.contents span.large {
  font-size: 16px;
  margin: 0 0.5em 2em;
}
.contents h2 {
  font-size: 20px;
  font-family: "Noto Serif JP", serif;
  font-weight: normal;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 10px; /* 30から10に調整 */
  padding-bottom: 16px;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .contents h2 {
    font-size: 16px;
    margin-bottom: 30px;
  }
}
.contents h2::after {
  content: "";
  width: 30px;
  height: 1px;
  display: block;
  background: #ccc;
  position: absolute;
  margin-left: -15px;
  bottom: 0;
  left: 50%;
}
.contents h3 {
  font-size: 14px;
  font-weight: normal;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 1em;
}
.contents form h3 {
  text-align: left;
}

/*
.contents h4 {
  width: 640px;
  font-size: 14px;
  font-weight: normal;
  color: #fff;
  line-height: 1.8;
  text-align: center;
  margin: 0.1em auto 1em;
  padding: 0 1em;
  background: #555;
  box-sizing: border-box;
}
@media only screen and (max-width: 900px) {
  .contents h4 {
    width: 80%;
  }
}
@media only screen and (max-width: 767px) {
  .contents h4 {
    width: 100%;
  }
}
*/

.contents h4 {
  width: 640px;
  font-size: 14px;
  font-weight: normal;
  color: #fff; /* 文字色は白のまま */
  line-height: 1.8;
  text-align: center;
  margin: 0.1em auto 1em;
  padding: 0 1em;
  background: var(--yoridoko-green); /* ご提示のグリーンを採用 */
  box-sizing: border-box;
}

/* スマホ対応のレスポンシブ部分 */
@media only screen and (max-width: 900px) {
  .contents h4 {
    width: 80%;
  }
}
@media only screen and (max-width: 767px) {
  .contents h4 {
    width: 100%;
  }
}

.contents .btn {
  width: 240px;
  height: 40px;
  font-size: 14px;
  line-height: 40px;
  text-align: center;
  border: solid 1px #000;
  border-radius: 20px;
  margin: 0 auto 40px;
  display: block;
  position: relative;
  transition: 0.8s;
  outline: none !important;
}
@media only screen and (max-width: 767px) {
  .contents .btn {
    margin-bottom: 20px;
  }
}
.contents .btn:after {
  content: "";
  display: block;
  width: 7px;
  height: 12px;
  position: absolute;
  top: 50%;
  right: 20px;
  margin-top: -6px;
  background: url(../img/ico_arw_on.png) no-repeat center 50%;
  -moz-background-size: contain;
  background-size: contain;
  transition: 0.3s;
}
.contents .btn:hover {
  background: #000;
}
.contents .btn:hover:after {
  right: 16px;
  background: url(../img/ico_arw.png) no-repeat center 50%;
  -moz-background-size: contain;
  background-size: contain;
}
.contents .btn:hover a {
  color: #fff;
  text-decoration: none;
}
.contents .btn a {
  width: 100%;
  height: 100%;
  display: block;
}
.contents .btn.back:after {
  left: 20px;
  background: url(../img/ico_arw_back_on.png) no-repeat center 50%;
  -moz-background-size: contain;
  background-size: contain;
}
.contents .btn.back:hover {
  background: #000;
}
.contents .btn.back:hover:after {
  left: 16px;
  background: url(../img/ico_arw_back.png) no-repeat center 50%;
  -moz-background-size: contain;
  background-size: contain;
}

.contents table .btn {
  width: 200px;
  height: 30px;
  font-size: 10px;
  line-height: 30px;
}
.contents table .btn input[type="button"],
.contents table .btn input[type="submit"] {
  font-size: 10px;
  height: 30px;
  line-height: 24px;
  box-sizing: border-box;
  padding: 0 0.6em 0.2em 0;
}
.contents table .btn:after {
  height: 8px;
  right: 10px;
  margin-top: -4px;
}
.contents table .btn:hover:after {
  right: 6px;
}

.contents ul.layout_a {
  list-style: none;
  position: relative;
  text-align: left;
  margin: 0 auto 60px;
  display: inline-block;
}
@media only screen and (max-width: 767px) {
  .contents ul.layout_a {
    margin: 0 auto 30px;
  }
}
.contents ul.layout_a li {
  font-weight: normal;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 16px;
  display: block;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .contents ul.layout_a li {
    margin-bottom: 36px;
  }
}

@media only screen and (max-width: 767px) {
  .contents ul.layout_a li p {
    font-size: 8px;
  }
}
.contents ul.layout_a li h3 {
  font-size: 12px;
  margin-bottom: 0.2em;
}
.contents ul.layout_a li input,
.contents ul.layout_a li input[type="text"] {
  width: 28em;
}
@media only screen and (max-width: 767px) {
  .contents ul.layout_a li input,
  .contents ul.layout_a li input[type="text"] {
    width: 20em;
  }
}

.contents ul.btns {
  list-style: none;
  position: relative;
  text-align: left;
  margin: 0 auto 60px;
  display: inline-block;
}
@media only screen and (max-width: 767px) {
  .contents ul.btns {
    margin: 0 auto 30px;
  }
}
.contents ul.btns li {
  text-align: center;
  margin-left: 30px;
  display: inline-block;
  position: relative;
}
@media only screen and (max-width: 767px) {
  .contents ul.btns li {
    display: block;
    margin: 0 0 20px;
  }
}
.contents ul.btns li:first-child {
  margin-left: 0;
}

.aligned {
  margin: 0 auto 0 !important;
}

/*------------------------------------------------
content_page
------------------------------------------------*/
table {
  width: 640px;
  margin: 0 auto 40px;
  border: none;
}
@media only screen and (max-width: 900px) {
  table {
    width: 80%;
  }
}
@media only screen and (max-width: 767px) {
  table {
    width: 100%;
  }
}

table td,
table th {
  text-align: left;
  font-weight: normal;
  line-height: 1.1;
  vertical-align: middle;
  padding: 1.6em 1.2em;
  border-bottom: solid 1px #ccc;
  position: relative;
}
@media only screen and (max-width: 767px) {
  table td,
  table th {
    padding: 1.2em 0.6em;
  }
}
table th {
  width: 30%;
  font-size: 10px;
}
@media only screen and (max-width: 767px) {
  table th {
    width: 30%;
  }
}
table th {
  font-size: 12px;
}
@media only screen and (max-width: 767px) {
  table th {
    font-size: 10px;
  }
}
table tr:last-child th,
table tr:last-child td {
  border-bottom: none;
}
table.wide {
  width: 1024px;
}
table.wide tr td {
  text-align: center;
}

.wide_box {
  width: 100%;
  overflow-x: auto;
}
@media only screen and (max-width: 767px) {
  .wide_box {
    overflow-x: auto;
    white-space: nowrap;
  }
  .wide_box table.wide {
    width: 640px;
  }
  .wide_box h4.wide {
    width: 767px;
  }
}

/*------------------------------------------------
user_page
------------------------------------------------*/
.user_page {
  background-color: #fff;
}

/*------------------------------------------------
admin_page
------------------------------------------------*/
.admin_page {
  background-color: #e2e2e2;
}

.admin_page input[type="checkbox"]:checked ~ label .bar {
  background-color: #000;
}
.admin_page h4 {
  position: sticky;
  left: 0;
  width: 100%;
}
.admin_page table.wide {
  width: 100%;
}
.admin_page table.wide tr td {
  min-width: 6em;
  line-break: anywhere;
}

#manager_menu-contents .btn {
  width: 400px;
}
@media only screen and (max-width: 767px) {
  #manager_menu-contents .btn {
    width: 280px;
    font-size: 12px;
  }
}

/*------------------------------------------------
Form
------------------------------------------------*/
form input {
  -webkit-appearance: none;
}
form input,
form select,
form textarea,
form label {
  font-family:
    "Noto Sans JP", Avenir, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
form input[type="radio"],
form input[type="checkbox"] {
  margin-left: 5px;
}
form input,
form input[type="text"] {
  width: 87%;
  font-size: 12px;
  font-weight: normal;
  line-height: 100%;
  text-align: left;
  color: #444;
  height: 40px;
  margin: 0;
  border: solid 1px #666;
  padding: 0 10px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 3px;
  display: inline-block;
  overflow: hidden;
}
@media only screen and (max-width: 767px) {
  form input,
  form input[type="text"] {
    width: 78%;
    font-size: 9px;
  }
}
form input[type="checkbox"] {
  margin: 0 5px;
}
form select {
  font-size: 12px;
  margin-right: 20px;
  padding: 0.2em 0.8em;
  display: inline-block;
}
form label {
  font-size: 9px;
  display: inline-block;
  line-height: 1.6;
  padding: 0;
  margin: 0 1em 0 0;
}
form .err_msg {
  font-size: 9px;
  color: #ff0004;
  font-weight: bold;
  display: inline-block;
  line-height: 1.6;
  padding: 0 0.6em;
}
form .noerr_msg {
  font-size: 9px;
  color: #000000;
  font-weight: bold;
  display: inline-block;
  line-height: 1.6;
  padding: 0 0.6em;
}
form .err_msg_s {
  font-size: 10px;
  color: #ff0004;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}
form .mgn_lr10 {
  margin-right: 10px;
}

form img#passwordImg,
form img#passwordImg2 {
  width: 48px;
  height: 48px;
  line-height: 0;
  display: inline-block;
  position: absolute;
  top: 50%;
  margin-top: -24px;
}
@media only screen and (max-width: 767px) {
  form img#passwordImg,
  form img#passwordImg2 {
    position: relative;
    top: auto;
    margin-top: 0;
    margin-bottom: -24px;
  }
}

#tag_create_card_token {
  vertical-align: top;
  padding: 32px 14.4px;
}

.cardregist {
  margin: auto;
  text-align: center;
}

#payjp_checkout_box {
  width: 220px;
  margin: auto;
  text-align: center;
}

textarea {
  width: 722px;
  resize: vertical;
}

.input_day {
  width: 75px;
}

.mailsend {
  width: 1000px;
  margin: auto;
  overflow-x: auto;
}

.withErrMsg {
  vertical-align: top;
  padding: 0 0;
}

input,
input[type="text"] {
  height: 22px;
}

.td-usage {
  display: flex;
  align-content: center;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;
}

.btn-usage {
  margin-bottom: 0 !important;
}

/* 退会完了ページ：文字の大きさ調整 */
.line_message_small {
  /* 明朝体（Noto Serif JP）を指定し、太字を解除 */
  font-family: "Noto Serif JP", serif !important;
  font-size: 15px !important; /* 16pxよりわずかに小さく調整 */
  font-weight: normal !important; /* 太字(bold)を解除 */
  color: #333 !important;

  /* 中央配置 */
  display: block !important;
  text-align: center !important;
  line-height: 2 !important; /* 明朝体に合わせて行間を少し広めに */

  /* 上下のライン設定 */
  margin: 60px auto !important;
  padding: 35px 0 !important;
  position: relative !important;
  width: 90% !important;
  max-width: 500px !important; /* ラインの幅を少しスリムに */
}

/* 上側のライン（グレー） */
.line_message_small::before {
  content: "" !important;
  width: 100% !important;
  height: 1px !important;
  background: #ccc !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}

/* 下側のライン（グレー） */
.line_message_small::after {
  content: "" !important;
  width: 100% !important;
  height: 1px !important;
  background: #ccc !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
}

/* アニメーションと透明度の解除（確実に表示） */
.line_message_small {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/*====================
  YORIDOKO　CUSTOMIZE
======================*/

/* ヘッダー全体のレイアウト（ロゴを中央に） */
.header-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
}

/* ロゴ本体の設定
   HTMLのクラス名「.logo-img-css」に直接アニメーションをかけます
*/
.logo-img-css {
  display: block;
  width: 500px;
  /* max-width: 85%; */
  height: 170px;
  background: url("../img/yoridoko_logo1024.png") no-repeat center / contain;
  margin: 0 auto;

  /* フェードアニメーションを追加 */
  opacity: 0;
  animation: logoFadeIn 1.5s ease-out forwards;
}

/* レンダリングのアンチエイリアスを統一(+周辺の文字の影響を排除) */
/* .logo-img-css {
  display: block !important;
  box-sizing: border-box !important;
  line-height: 0 !important;
  transform: translateZ(0);
} */

/* コンテンツ全体の余白調整 */
.contents {
  padding-top: 0 !important;
}

/* ロゴ専用のアニメーション定義 */
@keyframes logoFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TOPボタン等、もし他の要素がある場合の共通設定 */
.layer-1,
.toppage-img {
  opacity: 0;
  animation: logoFadeIn 1.5s ease-out forwards;
}

/* レイアウト調整用 */
.header-layered {
  position: relative;
  width: 100%;
  text-align: center;
}
