@charset "UTF-8";
/* =============================================================
   アベノドライ（abenodc.jp）サイト固有の CSS

   旧テーマ appointment 3.5.5（Bootstrap 5.3.6 同梱）の見た目を、
   テーマに頼らない自前の CSS で再現する。親テーマ hello-elementor の
   CSS は functions.php で読み込みを止めている。
   値は 2026-10-14 に旧テーマの表示（PC 1440px）から測ったもの

   1. 基本（リセット・文字・見出し・リンク・表）
   2. 外枠（コンテナ）
   3. ヘッダー・メニュー・検索
   4. 固定ページ（青い帯・本文とサイドバー）
   5. フッター
   6. 本文の旧 HTML（Bootstrap 3 前提の列・Bootstrap の基本）
   7. 旧テーマの「追加 CSS」から移した指定
   8. スマートフォン・タブレット
   ============================================================= */

:root {
    --adc-blue: #036eb8;
    --adc-blue-dark: #005590;
    --adc-text: #727272;
    --adc-heading: #242526;
    --adc-gutter: 12px;
}

/* =============================================================
   1. 基本
   ============================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: #fff;
    color: var(--adc-text);
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 25px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 20px;
    color: var(--adc-heading);
    font-family: "Open Sans";
    line-height: 1.2;
}
h1 { font-size: 40px; font-weight: 400; }
h2 { font-size: 32px; font-weight: 400; }
h3 { font-size: 28px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

p { margin: 0 0 20px; letter-spacing: .2px; }

/* 旧テーマでは見出し・段落・リンク・強調の書体を "Open Sans" だけで指定していた。
   日本語はこの指定から OS 標準の書体に置き換わるため、予備の書体を並べると文字幅が変わる */
p, a, strong { font-family: "Open Sans"; }

a { color: var(--adc-blue); text-decoration: underline; }
a:hover { color: var(--adc-blue); }

b, strong { font-weight: bolder; }

ul, ol { margin: 0 0 20px; padding-left: 20px; }
ol { padding-left: 22px; }
li { padding: 6px 0; font-weight: 500; vertical-align: top; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }

dl { margin: 0 0 25px; }
dt { font-weight: 700; }
dd { margin: 0 0 .5rem; }
dl dt { margin-bottom: 10px; }
dl dd { margin: 0 0 20px 15px; }

img { max-width: 100%; height: auto; vertical-align: middle; border-style: none; }

table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    border-top: 1px solid #e9e9e9;
    letter-spacing: .5px;
}
th, td { padding: 5px 10px; border-top: 1px solid #e8e7e7; vertical-align: middle; }
th { font-weight: 700; text-align: inherit; }

hr { margin: 16px 0; border: 0; border-top: 1px solid; opacity: .25; }

blockquote { margin: 0 0 20px; padding: 15px 25px; font-size: 18px; line-height: 30px; letter-spacing: 1px; }

button, input, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
label { display: inline-block; }

/* フォーム（お問い合わせ・Contact Form 7）。入力欄は本文の幅いっぱい、送信ボタンは青い */
.adc-legacy input[type="text"],
.adc-legacy input[type="tel"],
.adc-legacy input[type="email"] { padding: 1px 2px; font-size: 15px; line-height: 24px; }
.adc-legacy textarea { padding: 2px; font-size: 15px; line-height: 24px; }
.adc-legacy .wpcf7 form > p { margin-bottom: 0; }
.adc-legacy .wpcf7 form > p > br { display: none; }
.adc-legacy .wpcf7 label { display: block; margin-bottom: 28px; }
.adc-legacy .wpcf7-form-control-wrap { display: block; margin-top: 4px; }
.adc-legacy .wpcf7 input[type="text"],
.adc-legacy .wpcf7 input[type="tel"],
.adc-legacy .wpcf7 input[type="email"],
.adc-legacy .wpcf7 textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px 12px; }
.adc-legacy .wpcf7 textarea { resize: vertical; }
.adc-legacy .midashi6 + .wpcf7 { margin-top: 28px; padding: 0 12px; }
@media (min-width: 768px) { .adc-legacy .midashi6 + .wpcf7 { padding: 0 32px; } }
.adc-legacy input[type="submit"] {
    margin: 0 0 3px;
    padding: 12px 34px;
    background: var(--adc-blue);
    border: 0;
    border-radius: 3px;
    box-shadow: 0 3px 0 0 var(--adc-blue-dark);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
}
.skip-link:focus {
    top: 8px;
    left: 8px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 20px;
    clip: auto;
    background: #fff;
    color: var(--adc-blue);
}

/* =============================================================
   2. 外枠（Bootstrap 5 の .container と同じ幅）
   ============================================================= */
.adc-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--adc-gutter);
}
@media (min-width: 576px)  { .adc-container { max-width: 540px; } }
@media (min-width: 768px)  { .adc-container { max-width: 720px; } }
@media (min-width: 992px)  { .adc-container { max-width: 960px; } }
@media (min-width: 1200px) { .adc-container { max-width: 1140px; } }
@media (min-width: 1400px) { .adc-container { max-width: 1320px; } }

/* =============================================================
   3. ヘッダー・メニュー・検索
   ============================================================= */
.adc-header { position: relative; z-index: 50; background: #fff; }

.adc-header__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-height: 93px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.adc-header__logo { display: block; flex: 0 0 auto; margin-top: 6px; margin-right: auto; line-height: 0; }
.adc-header__logo-img { width: 300px; max-width: 100%; height: auto; }

.adc-nav { display: flex; align-items: center; }

.adc-menu { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.adc-menu li { position: relative; padding: 0; font-weight: inherit; }

.adc-menu > li > a {
    display: block;
    padding: 9px 17px;
    border-radius: 3px;
    color: #1b1b1b;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 600;
    line-height: 25px;
    letter-spacing: .5px;
}
.adc-menu > li > a:hover,
.adc-menu > li > a:focus,
.adc-menu > li.current-menu-item > a,
.adc-menu > li.current-menu-ancestor > a,
.adc-menu > li.current-menu-parent > a {
    background: var(--adc-blue);
    color: #fff;
}

/* ドロップダウン（法人向けサービスの下） */
.adc-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 60;
    display: none;
    min-width: 160px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--adc-blue);
    border: 1px solid rgba(0, 0, 0, .176);
    border-radius: 6px;
    overflow: hidden;
}
.adc-menu li:hover > .sub-menu,
.adc-menu li:focus-within > .sub-menu { display: block; }
.adc-menu .sub-menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid var(--adc-blue-dark);
    color: #fff;
    font-family: "Open Sans";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .5px;
    white-space: nowrap;
}
.adc-menu .sub-menu li:last-child > a { border-bottom: 0; }
.adc-menu .sub-menu a:hover,
.adc-menu .sub-menu a:focus { background: var(--adc-blue-dark); }

/* 検索（虫めがねを押すとフォームが開く） */
.adc-search { position: relative; }
.adc-search__toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 32px;
    height: 25px;
    margin-left: 0;
    padding: 0 0 0 4px;
    background: none;
    border: 0;
    color: #1b1b1b;
    font-size: 13px;
    cursor: pointer;
}
.adc-search__caret {
    display: inline-block;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}
.adc-search__panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 60;
    display: none;
    width: 280px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .176);
    border-radius: 6px;
}
.adc-search.is-open .adc-search__panel { display: block; }
.adc-search__panel form { display: flex; gap: 6px; }
.adc-search__panel input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 6px 10px; border: 1px solid #ccc; border-radius: 3px; }
.adc-search__panel input[type="submit"],
.adc-search__panel button[type="submit"] { padding: 6px 12px; background: var(--adc-blue); border: 0; border-radius: 3px; color: #fff; cursor: pointer; }

/* スマートフォン用のメニューボタン（992px 未満で出る） */
.adc-nav-toggle {
    display: none;
    margin-right: var(--adc-gutter);
    padding: 6px 12px;
    background: none;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 6px;
    color: #1b1b1b;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

/* =============================================================
   4. 固定ページ
   ============================================================= */
/* メニューの下の青い帯（旧テーマの page-title-section） */
.adc-titlebar { height: 20px; background: var(--adc-blue); }

.adc-page { padding-top: 20px; }

.adc-page__row { display: flex; flex-wrap: wrap; align-items: flex-start; margin: 0 calc(var(--adc-gutter) * -1); }
.adc-page__main,
.adc-page__side { width: 100%; padding: 0 var(--adc-gutter); }

@media (min-width: 768px) {
    .adc-page__main { width: 66.66666667%; }
    .adc-page__side { width: 33.33333333%; }
    .adc-page__row--full .adc-page__main { width: 100%; }
}

.adc-page__side .widget { margin: 0; }

/* =============================================================
   5. フッター
   ============================================================= */
/* 本文の終わりからフッターまでの間隔（旧テーマに合わせる） */
.adc-footer { margin-top: 25px; border-top: 5px solid var(--adc-blue); }
.adc-footer__copyright { margin: 0; padding: 0 var(--adc-gutter); color: var(--adc-text); font-weight: 400; line-height: 25px; letter-spacing: normal; }

/* =============================================================
   6. 本文の旧 HTML
   本文（2022 年作成・クラシックエディタ）は Bootstrap 3 の前提で書かれている。
   旧テーマの Bootstrap 5 では列が同じ高さに伸びて写真やボタンが崩れていたため、
   列は中身の高さに戻す（align-items: flex-start）
   ============================================================= */
.adc-legacy .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-right: calc(var(--adc-gutter) * -1);
    margin-left: calc(var(--adc-gutter) * -1);
}
.adc-legacy .row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: var(--adc-gutter);
    padding-left: var(--adc-gutter);
}
@media (min-width: 768px) {
    /* 列のあいだに置かれた余白用の空の div（スマホで縦に並んだときの余白）。
       Bootstrap 3 の回り込みでは並びに影響しなかったが、横並び（flex）では1行分の幅を取り、
       右の列が下へ押し出される（設備一覧の1・3段目）。PC 幅では並びから外す */
    .adc-legacy .row > div:empty:not([class*="col-"]) { display: none; }

    .adc-legacy [class*="col-md-"] { flex: 0 0 auto; }
    .adc-legacy .col-md-1  { width: 8.33333333%; }
    .adc-legacy .col-md-2  { width: 16.66666667%; }
    .adc-legacy .col-md-3  { width: 25%; }
    .adc-legacy .col-md-4  { width: 33.33333333%; }
    .adc-legacy .col-md-5  { width: 41.66666667%; }
    .adc-legacy .col-md-6  { width: 50%; }
    .adc-legacy .col-md-7  { width: 58.33333333%; }
    .adc-legacy .col-md-8  { width: 66.66666667%; }
    .adc-legacy .col-md-9  { width: 75%; }
    .adc-legacy .col-md-10 { width: 83.33333333%; }
    .adc-legacy .col-md-11 { width: 91.66666667%; }
    .adc-legacy .col-md-12 { width: 100%; }
}

.adc-legacy .wp-block-group { margin: 0; }
/* WordPress がグループブロックの中に自動で入れる 24px の間隔（旧テーマでは出ていなかった）を消す */
.adc-legacy .is-layout-flow > * { margin-block-start: 0; }

/* =============================================================
   7. 旧テーマの「追加 CSS」（appointmentChild のカスタマイザー）から移した指定
   旧テーマではテーマごとの設定に入っていたため、テーマを替えると消える。
   中身は変えずに移した（画像の URL だけ、サイトのルートからのパスにした）
   ============================================================= */
p {
    padding: 0;
    color: #333;
    font-weight: 300;
    font-size: 1em;
    line-height: 1.6em;
    font-feature-settings: "palt";
}

.frame { display: inline-block; position: relative; }
.frame:after {
    position: absolute;
    content: "";
    box-shadow: 0 15px 10px rgba(0, 0, 0, .5);
    transform: rotate(3deg);
    right: 5px;
    left: auto;
    top: auto;
    bottom: 15px;
    z-index: -1;
    width: 50%;
    height: 20%;
}

.midashi7 h4 {
    position: relative;
    background: url(/wp-content/uploads/2022/03/hojin_ico_wash.png) no-repeat 0 center / 50px auto;
    padding: 20px 10px 10px 60px;
}
.midashi7 h4:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: '';
    background-image: linear-gradient(to left, #8ae1e3 0%, #036eb8 100%);
}

.midashi6 h3 {
    font-size: 2rem;
    border-left: #036eb8 10px solid;
    display: inline-block;
    padding: 5px 0 5px 20px;
    font-feature-settings: "palt";
    font-weight: 600;
}

.midashi5 h4 {
    font-size: 2rem;
    border-bottom: #036eb8 3px dotted;
    display: inline-block;
    padding-bottom: 5px;
    font-feature-settings: "palt";
    font-weight: 600;
}

.midashi4 h4 { font-size: 2.5rem; color: #5f86a2; font-weight: 600; }

.midashi3 h1 { font-size: 3.2rem; font-feature-settings: "palt"; letter-spacing: .1em; color: #fff; font-weight: 600; }

.midashi2 h1 { font-size: 3.2rem; color: #036eb8; font-feature-settings: "palt"; letter-spacing: .1em; font-weight: 600; text-align: center; }

.midashi1 { font-size: 1.5em; position: relative; padding: .5rem; text-align: center; }
.midashi1 span { font-size: 1.7em; display: block; }
.midashi1:before {
    position: absolute;
    bottom: .1em;
    left: calc(50% - 20px);
    width: 40px;
    height: 4px;
    content: '';
    background: #036eb8;
}

.section-heading-title h3 a,
.media-body h4 a { text-decoration: none; }

.page-builder { margin: 0; padding: 0; }

.callout-btn1 { display: none; }

.video_wrapper { position: relative; width: 100vw; height: 60vh; overflow: hidden; }
.video_wrapper > video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    min-width: 100%;
    min-height: 100%;
}

.slide-text-bg1,
.slide-text-bg2 { text-indent: 101%; white-space: nowrap; overflow: hidden; }

.overlay1 { background: rgba(0, 0, 0, .5); height: 100%; padding: 154px 0 133px 0; position: relative; width: 100%; }

.btn-area h3 a { text-decoration: none; font-size: .8em; margin: 5px; padding: 10px 15px; color: #fff; }

/* 会社概要の並列 */
.gaiyo dl dt { float: left; clear: left; width: 7em; }
.gaiyo dl dd { border-bottom: 1px solid #036eb8; margin-left: 0; padding-bottom: 1em; padding-left: 8em; }

/* 青ボタン（旧テーマでは height:100% で列いっぱいに伸びていたが、列を中身の高さに戻したので外した） */
a.btn-blue {
    color: #fff;
    background-color: #036eb8;
    background-size: 100%;
    font-size: 1em;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 3px;
    box-shadow: inset 0 10px 25px 0 rgba(0, 0, 0, .5);
    display: block;
    width: 100%;
}
a.btn-blue:hover { color: #fff; background: #036eb8; }
a.btn-c i.fa { margin-right: 1rem; }

/* ご利用の流れ（5列の STEP）。スマートフォンで縦に積まれたとき、アイコンと文字を中央に置く */
@media (max-width: 767.98px) {
    .adc-legacy .su-column-size-1-5 img { display: block; margin: 0 auto; }
    .adc-legacy .su-column-size-1-5 .su-column-inner { text-align: center; }
}

/* ウィジェット */
.balloon2-left { position: relative; display: inline-block; margin: 1.5em 0 1.5em 15px; padding: 7px 10px; min-width: 120px; max-width: 100%; color: #036eb8; font-size: 1.4em; background: #fff; border: solid 3px #036eb8; border-radius: 3px; }
.balloon2-left:before { content: ""; position: absolute; top: 50%; left: -24px; margin-top: -12px; border: 12px solid transparent; border-right: 12px solid #fff; z-index: 2; }
.balloon2-left:after { content: ""; position: absolute; top: 50%; left: -30px; margin-top: -14px; border: 14px solid transparent; border-right: 14px solid #036eb8; z-index: 1; }
.balloon2-left p { margin: 0; padding: 0; color: #036eb8; font-weight: 600; }

.shuka_box5 { padding: 20px 20px 0 20px; background: #fff; border: solid 1px #036eb8; border-radius: 10px; width: 100%; margin: 0; }
.shuka_area dl dt { float: left; clear: left; width: 5em; }
.shuka_area dl dd { border-bottom: 1px solid #036eb8; margin-left: 0; padding-bottom: 1em; padding-left: 8em; }

.muryo_bnr { padding: 0; background: #fff; border: solid 1px #D63230; border-radius: 10px; width: 100%; margin: 0; font-feature-settings: "palt"; }

.sdgs_box1 { padding: 20px; background: #fff; border: solid 1px #036eb8; border-radius: 10px; width: 100%; margin: 0; }

/* =============================================================
   8. スマートフォン・タブレット（旧テーマと同じく 992px 未満でメニューを畳む）
   ============================================================= */
@media (max-width: 991.98px) {
    .adc-header__inner { min-height: 0; }
    .adc-nav-toggle { display: block; }

    .adc-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding: 10px var(--adc-gutter) 0;
    }
    .adc-header.is-open .adc-nav { display: flex; }

    .adc-menu { flex-direction: column; align-items: stretch; }
    .adc-menu .sub-menu {
        position: static;
        display: block;
        margin: 0 0 0 16px;
        border: 0;
        border-radius: 0;
        background: none;
    }
    .adc-menu .sub-menu a { padding: 8px 17px; border-bottom: 0; color: #1b1b1b; }
    .adc-menu .sub-menu a:hover,
    .adc-menu .sub-menu a:focus { background: var(--adc-blue); color: #fff; }

    .adc-search { padding: 10px 0; }
    .adc-search__toggle { display: none; }
    .adc-search__panel { position: static; display: block; width: 100%; padding: 0; border: 0; }
}
