/* =============================================
   SECTION HEADINGS
   ============================================= */

h2.sec-ttl { font-size: 32px; text-align: center; margin-bottom: 60px; }
h2.sec-ttl em { display: block; font-style: normal; font-size: 12px; margin-bottom: 5px; color: #C21E86; }
h2.sec-ttl::after { content: ""; margin: auto; display: block; position: relative; top: 12px; width: 40px; height: 2px; background: #C21E86; }
h2.sec-ttl.left { text-align: left; }
h2.sec-ttl.left::after { left: 0; margin: 0; }

/* =============================================
   BUTTONS
   ============================================= */

.btn-area { display: inline-block; }

.button-round {
  position: relative;
  min-width: 200px;
  margin-top: 60px;
  padding: 14px 44px 14px 28px;
  border: 2px solid #fff;
  background-color: transparent;
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.1em;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-round:hover { background-color: #fff; color: #C21E86; }
.button-round i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); transition: right 0.2s ease; }
.button-round:hover i { right: 10px; }

.link-button {
  background-color: #C21E86;
  color: #fff;
  border-radius: 18px;
  font-size: 12px;
  display: block;
  padding: 10px 15px;
  position: relative;
  max-width: 300px;
}

.link-button.center { text-align: center; margin: auto; }
.link-button::after {
  position: absolute;
  right: 15px;
  font-family: "Font Awesome 5 Free";
  content: "\f061";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  line-height: 1.5;
}

/* =============================================
   IMG BOX
   ============================================= */

.img-box { width: 100%; padding-top: 56.25%; position: relative; }
.img-box img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; right: 0; margin: auto; }

/* =============================================
   TABLES
   ============================================= */

table { width: 100%; border-spacing: 0; line-height: 2; }
table tr th { border: 1px solid #AAA; padding: 15px; vertical-align: top; background-color: #C21E86; text-align: left; width: 240px; color: #fff; max-width: 100%; border-top: 0; }
table tr td { border: 1px solid #AAA; padding: 15px; border-top: 0; border-left: 0; }
table tr:first-of-type th, table tr:first-of-type td { border-top: 1px solid #AAA; }

/* =============================================
   FORMS & Contact Form 7
   ============================================= */

form input, form textarea {
  display: block;
  max-width: 100%;
  width: 100%;
  box-shadow: none;
  border: 1px solid #AAA;
  padding: .5em 1em;
}

.form-row { margin-bottom: 24px; }
form label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 14px; }
.required { color: #C21E86; margin-left: 4px; }
form select { display: block; width: 100%; border: 1px solid #AAA; padding: .5em 1em; background: #fff; }
form input[type="checkbox"], form input[type="radio"] { display: inline; width: auto; margin-right: 8px; }
th.requid:after { content: "※"; color: red; padding-left: 10px; }

form input[type="submit"] {
  max-width: 250px;
  background-color: #C21E86;
  color: #fff;
  font-weight: bold;
  padding: 14px 40px;
  margin: 40px auto 0;
  cursor: pointer;
}

.wpcf7-not-valid-tip { color: #c00; font-size: 12px; margin-top: 4px; display: block; }
.wpcf7-response-output { margin: 20px 0; padding: 12px 16px; font-size: 14px; }
.wpcf7-mail-sent-ok { border: 1px solid #C21E86; color: #9B1868; background: #FDE8F4; }
.wpcf7-validation-errors, .wpcf7-acceptance-missing { border: 1px solid #c00; color: #c00; background: #fff0f0; }

/* =============================================
   PAGINATION
   ============================================= */

.pagination { margin: 40px auto 0; display: flex; align-items: center; justify-content: center; }
.wp-pagenavi a, .wp-pagenavi span { color: #333; padding: 3px 9px; }
.bottom-border { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #9B1868; }

/* =============================================
   ARTICLE DETAIL
   ============================================= */

.single-article { max-width: 800px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.article-meta time { color: #888; font-size: 14px; }
.article-category { display: inline-block; padding: 3px 14px; border-radius: 20px; background-color: #FDE8F4; color: #C21E86; font-size: 12px; }
.article-title { font-size: 28px; margin: 0 0 40px; padding-bottom: 20px; border-bottom: 2px solid #FDE8F4; line-height: 1.6; }
.article-body { font-size: 15px; line-height: 2; margin-bottom: 60px; }
.article-back { border-top: 1px solid #DCDCDC; padding-top: 30px; margin-top: 20px; }
.article-back a { color: #C21E86; font-size: 14px; font-weight: bold; }
.article-back a:hover { opacity: 0.7; }

/* =============================================
   INFORMATION LIST
   ============================================= */

#information ul { margin: auto; max-width: 800px; }
#information ul li { border-top: 1px solid #DCDCDC; border-bottom: 1px solid #DCDCDC; padding: 2em; }
#information ul li a { color: #333; }
#information ul li a:hover { color: #C21E86; }
#information ul li time { display: inline-block; color: #333; margin-right: 1em; }
#information ul li span { display: inline-block; color: #fff; background-color: #afafaf; padding: .25em .5em; margin-right: 1em; }

/* =============================================
   MISC
   ============================================= */

.jump-links { display: flex; justify-content: center; align-items: center; gap: 40px; }
.map { margin-top: 60px; }
.map iframe { width: 100%; max-height: 320px; border: 0; }

.disc-list { list-style: disc; padding-left: 1.5em; }
.post-date { text-align: right; }
.privacypolicy { font-size: 12px; margin: auto; text-align: center; display: block; }

dl.list { background-color: #fff; width: 48%; display: flex; align-items: center; padding: 25px; box-shadow: 0 0 10px rgba(0,0,0,.3); margin-bottom: 4%; }
dl.list h3 { font-size: 32px; }
dl.list h4 { font-size: 24px; }
dl.list dt, dl.list dd { width: 50%; margin: auto; text-align: left; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media screen and (max-width: 767px) {
  h2.sec-ttl { font-size: 32px; }
  h2.sec-ttl em { font-size: 12px; }
  h2.sec-ttl::after { width: 80px; }
  table tr th, table tr td { width: 100%; display: block; border: 1px solid #AAA; }
  .jump-links { flex-wrap: wrap; gap: 0; row-gap: 40px; }
  dl.list { width: 100%; flex-wrap: wrap; }
  dl.list h3 { margin: 20px auto 0; }
  dl.list dt, dl.list dd { width: 100%; }
  .button-round { min-width: inherit; max-width: 240px; width: 100%; padding: 10px 20px; margin-top: 30px; }
  #information ul li time { display: block; }
  #information ul li span { display: none; }
}
