@charset "UTF-8";
/*
Template: arkhe
Theme Name: Arkhe Child
Theme URI: https://arkhe-theme.com/ja/
Description: Arkhe用子テーマ
Version: 1.0.0
Text Domain: arkhe
License: GNU General Public License
License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ─── 薬局ヒーロー フルブリード ─── */
.el-store-hero--full {
  position: relative;
  width: 100%;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.el-store-hero--full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}

.el-store-hero--full__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.el-store-hero--full__area {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  opacity: 0.85;
  margin-bottom: 8px;
}

.el-store-hero--full__catch {
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  opacity: 0.9;
  margin: 0 0 12px;
}

.el-store-hero--full__name {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .el-store-hero--full { min-height: 300px; }
  .el-store-hero--full__name { font-size: 1.9rem; }
}


/* ─── 薬局 ヒーロー直下 CTA ─── */
.el-store-hero-cta {
  display: flex;
  gap: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.el-btn--tel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--color-main, #1a56a0);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s;
}

.el-btn--tel:hover {
  background: color-mix(in srgb, var(--color-main, #1a56a0) 85%, #000);
}

.el-btn--tel strong { font-size: 1.25rem; display: block; }
.el-btn--tel small  { font-size: 0.75rem; opacity: 0.8; }

.el-btn--fax {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  background: #fff;
  color: var(--color-main, #1a56a0);
  border: 2px solid var(--color-main, #1a56a0);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.el-btn--fax:hover {
  background: var(--color-main, #1a56a0);
  color: #fff;
}

@media (max-width: 768px) {
  .el-store-hero-cta { flex-direction: column; }
  .el-btn--tel, .el-btn--fax { padding: 16px 20px; }
}


/* ─── セクション背景帯 ─── */
.el-ph-band {
  margin: 0 -32px;
  padding: 32px 32px;
}

.el-ph-band--blue { background: #f0f5fc; }
.el-ph-band--gray { background: #f7f7f7; }

@media (max-width: 768px) {
  .el-ph-band { margin: 0 -16px; padding: 24px 16px; }
}


/* ─── 特徴カード ─── */
.el-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.el-feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  border-top: 3px solid var(--color-main, #1a56a0);
}

.el-feature-card__icon {
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}

.el-feature-card__text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .el-feature-cards { grid-template-columns: 1fr; }
}


/* ─── ローディング画面 ─── */
.el-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 1;
  transition: opacity .7s ease;
}

.el-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease; /* JS の FADE_TIME と合わせる */
}

.el-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: el-loader-fadein .8s ease both;
}

@keyframes el-loader-fadein {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.el-loader__logo {
  width: 180px;
  height: auto;
}

.el-loader__company {
  font-size: .8rem;
  color: #888;
  letter-spacing: .1em;
  margin: 0;
}

.el-loader__copy {
  font-size: .9rem;
  color: var(--color-main, #1a56a0);
  letter-spacing: .12em;
  margin: 0;
}

/* ドットスピナー */
.el-loader__dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.el-loader__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-main, #1a56a0);
  animation: el-dot-bounce .9s infinite ease-in-out both;
}

.el-loader__dots span:nth-child(2) { animation-delay: .15s; }
.el-loader__dots span:nth-child(3) { animation-delay: .30s; }

@keyframes el-dot-bounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: .4; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* ヒーロー：ローダー非表示と同時にクロスフェードイン */
body:not(.loader-done) .el-hero {
  opacity: 0;
}
body.loader-done .el-hero {
  opacity: 1;
  transition: opacity .8s ease .1s; /* ローダーフェードより少し遅れて完全に現れる */
}


/* ─── CTAボタン SP間隔修正 ─── */
@media (max-width: 768px) {
  .el-recruit-cta__buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .el-recruit-cta__buttons .el-btn--recruit {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}


/* ─── 採用サブ導線（薬局詳細ページ フッター直前） ─── */
.el-recruit-footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 24px;
  background: #f7f7f7;
  font-size: .85rem;
  color: #666;
}

.el-recruit-footer-link a {
  color: var(--color-main, #1a56a0);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.el-recruit-footer-link a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .el-recruit-footer-link {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}


/* ─── レスポンシブ改行制御 ─── */
/* PC（769px以上）では el-br--sp を非表示 */
.el-br--sp { display: none; }

/* SP（768px以下）では el-br--pc を非表示、el-br--sp を表示 */
@media (max-width: 768px) {
  .el-br--pc { display: none; }
  .el-br--sp { display: inline; }
}


/* ─── お知らせページ ─── */
.el-news-hero {
  padding: 48px 0 32px;
  text-align: center;
}

/* フィルターボタン */
.el-news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.el-news-filter__btn {
  display: inline-block;
  padding: 7px 18px;
  border: 1.5px solid #d0d0d0;
  border-radius: 50px;
  font-size: .85rem;
  color: #555;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}

.el-news-filter__btn:hover,
.el-news-filter__btn.is-active {
  background: var(--color-main, #1a56a0);
  border-color: var(--color-main, #1a56a0);
  color: #fff;
}

/* 記事なし */
.el-news-empty {
  padding: 40px 0;
  text-align: center;
  color: #999;
}

/* ページネーション */
.el-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.el-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  font-size: .9rem;
  color: #555;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.el-pagination .page-numbers.current,
.el-pagination .page-numbers:hover {
  background: var(--color-main, #1a56a0);
  border-color: var(--color-main, #1a56a0);
  color: #fff;
}

.el-pagination .page-numbers.dots {
  border: none;
  background: none;
  color: #999;
}

@media (max-width: 768px) {
  .el-news-filter {
    gap: 6px;
  }
  .el-news-filter__btn {
    padding: 6px 14px;
    font-size: .8rem;
  }
}


/* ─── お問い合わせページ ─── */
.el-inner--narrow {
  max-width: 760px;
  margin-inline: auto;
}

.el-contact-intro {
  text-align: center;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.9;
}

.el-contact-intro a {
  color: var(--color-main, #1a56a0);
  text-decoration: underline;
}

/* ─── Contact Form 7 レイアウト ─── */
.el-contact-form-wrap {
  background: #fff;
  border-radius: 12px;
  padding: 40px 48px;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.el-cf7-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-bottom: 20px;
}

.el-cf7-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.el-cf7-col--full {
  grid-column: 1 / -1;
}

.el-cf7-row label,
.el-cf7-col label {
  font-size: .85rem;
  font-weight: 700;
  color: #333;
}

.el-cf7-row label abbr,
.el-cf7-col label abbr {
  color: #e53935;
  text-decoration: none;
  margin-left: 4px;
  font-size: .75rem;
}

/* CF7 のインプット共通 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  color: #333;
  background: #fafafa;
  transition: border-color .2s;
  box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-main, #1a56a0);
  background: #fff;
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}

.el-cf7-submit {
  text-align: center;
  margin-top: 28px;
}

.wpcf7 input[type="submit"] {
  display: inline-block;
  padding: 14px 60px;
  background: var(--color-main, #1a56a0);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  letter-spacing: .05em;
  transition: background .2s, transform .15s;
}

.wpcf7 input[type="submit"]:hover {
  background: color-mix(in srgb, var(--color-main, #1a56a0) 85%, #000);
  transform: translateY(-2px);
}

/* CF7 バリデーション */
.wpcf7 .wpcf7-not-valid-tip {
  color: #e53935;
  font-size: .8rem;
  margin-top: 4px;
}

.wpcf7 .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: .9rem;
  text-align: center;
}

.wpcf7 .wpcf7-mail-sent-ok {
  border-color: var(--color-main, #1a56a0);
  background: #e8f0fb;
  color: var(--color-main, #1a56a0);
}

.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  border-color: #e53935;
  background: #ffebee;
  color: #c62828;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .el-contact-form-wrap {
    padding: 28px 20px;
  }

  .el-cf7-row {
    grid-template-columns: 1fr;
  }

  .el-cf7-col--full {
    grid-column: 1;
  }
}
