body,td,th {
    font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 12px;
	color: #000000;
	line-height: 150%;
}
body {
	background-color: #FFFF00;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	background-attachment: fixed;
	background-image: url(../img/total/back2.gif?1);
	background-repeat: repeat-y;
	background-position: center top;
}
h2 {
	font-family: "ＭＳ Ｐゴシック", Osaka, "ヒラギノ角ゴ Pro W3";
	font-size: 18px;
	font-weight: bold;
	line-height: 150%;
	color: #FF6600;
}
.px12 {
	font-size: 12px;
	line-height: 14px;
}

.tatle {
	font-size: 14px;
	line-height: 14px;
}
.tatle2 {
	font-size: 12px;
	line-height: 16px;
}

a:link {
	color: #FF0000;
}
a:visited {
	color: #FF0000;
}
a:hover {
	color: #FF0000;
}
a:active {
	color: #FF0000;
	font-size: 16px;
}
p { margin: 0; }

ul,li,dl,dt,dd{ margin:0px; padding:0px;}
ul,li{ list-style: none;}

.gals_list{ width:100%;}
.gals_list li{ float:left; width:25%; height:180px; text-align:center;}

.clearfloat { clear:both;}
.sinwaku{
	border:3px solid #090;
	background:url(../img/total/hidarihaikei.jpg);
}
.sinwaku2{
	border:3px solid #090;
}

.sinwaku4{
	border:3px solid #0066cc;
}

.sinwaku5{
	border:3px solid #41b73d;
}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/* ====================
   グローバルなリセットと基本スタイル
   ==================== */
body {
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8; /* 背景色も考慮 */
}

/* 画像のデフォルト設定 */
img {
    max-width: 100%; /* 親要素の幅に合わせて縮小 */
    height: auto;    /* アスペクト比を維持 */
    display: block;  /* 必要に応じてブロック要素に */
}

/* リストのデフォルトスタイルをリセット */
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* リンクのデフォルトスタイルをリセット */
a {
    text-decoration: none;
    color: inherit; /* 親要素の色を継承 */
}

/* clearfix のモダンな代替 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ====================
   メインレイアウト（PC版ファースト）
   ==================== */
.pcNone {
    display: none;
}
.spNone {
    display: block;
}
.site-header {
    display: flex; /* Flexboxで2カラムレイアウト */
    justify-content: center; /* 中央寄せ */
    max-width: 750px; /* 元のtableの幅 */
    margin: 0 auto;
    background-color: #FFFFFF; /* 元のbgcolor */
    padding: 0; /* paddingは子要素で調整 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 必要であれば影を追加 */	
}

.site-footer {
	display: flex; /* Flexboxで2カラムレイアウト */
    justify-content: center; /* 中央寄せ */
    max-width: 750px; /* 元のtableの幅 */
    margin: 0 auto;
    background-color: #FFFFFF; /* 元のbgcolor */
    padding: 0; /* paddingは子要素で調整 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 必要であれば影を追加 */	
}

.site-main-wrapper {
    display: flex; /* Flexboxで2カラムレイアウト */
    justify-content: center; /* 中央寄せ */
    max-width: 750px; /* 元のtableの幅 */
    margin: 0 auto;
    background-color: #FFFFFF; /* 元のbgcolor */
    padding: 0; /* paddingは子要素で調整 */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* 必要であれば影を追加 */
}

.sidebar {
    width: 210px; /* 元のtableのtdの幅 */
    padding: 0px; /* サイドバー内の余白 */
    background-color: #FFFFFF; /* 個別の背景色 */
    box-sizing: border-box; /* paddingを幅に含める */
}

/* メインコンテンツとサイドバーの間のスペース */
/* HTML側で .main-content と .sidebar の間に .spacer-column などのdivを挟んでも良い */
/* 今回は、メインコンテンツの左パディングで代用 */
.top-image {
    width:1140px;
}
.main-content {
    flex-grow: 1; /* 残りのスペースを埋める */
    width: 540px; /* 元のtableのtdの幅 */
    padding: 0px; /* 左側に間隔（元の10pxのtdをイメージ） */
    margin-left:10px;
    background-color: #FFFFFF;
    box-sizing: border-box;
}
    .admin_scheduler-content {
        margin:0 auto;
    }
/* セクションの共通スタイル */
.sidebar-section,
.main-section {
    margin-bottom: 0px; /* 各セクション間の余白 */
}
.sidebar-section:last-child,
.main-section:last-child {
    margin-bottom: 0; /* 最後のセクションは余白なし */
}

.section-title-img {
    width: 100%; /* 親要素に合わせて調整 */
    height: 30px;
    margin-bottom: 0px; /* タイトル画像の下の余白 */
}

/* --- トップへ戻るボタンのスタイル --- */
.page-top-btn {
    display: block;
    float: right;
    background-color: #999;
    color: white !important;
    padding: 4px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    opacity: 0; /* 初期透明度0 */
    visibility: hidden; /* 初期状態ではクリックもできないように */
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out; /* フェードイン/アウト用 */
    z-index: 999; /* 他のコンテンツの上に表示 */
}


/* ボタンが表示されるときのスタイル */
.page-top-btn.show {
    opacity: 1;
    visibility: visible;
}


/* ハンバーガー - メニュー */

/* header-innerを常に上部に固定 */
.header-inner.pcNone {
    width: 100%; /* 幅を画面いっぱいに */
    background-color: #3C0; /* 背景色 */
    color: white; /* テキスト色 */
    padding: 10px 20px; /* 内部の余白 */
    display: flex;
    justify-content: flex-end; /* ハンバーガーアイコンを右端に寄せる */
    align-items: center;
    box-sizing: border-box; /* paddingを含めてwidth: 100%にする */

    /* 固定表示のプロパティ */
    position: fixed; /* 画面に固定 */
    top: 0; /* 上端に配置 */
    left: 0; /* 左端に配置 */
    z-index: 1000; /* 他のコンテンツの上に表示されるように高いz-indexを設定 */
    transition: transform 0.3s ease-out; /* スライドアニメーション用 */

}
/* ヘッダーが非表示になる状態 */
.header-inner.pcNone.hidden {
    transform: translateY(-100%); /* 自身の高さ分、上に移動して非表示 */
}
/* --- PC版（デフォルト）のナビゲーションスタイル --- */
/* ロゴがないため、PC版ではこのmain-navは表示しないかもしれません。
   もしPC版で別の通常のナビゲーションがある場合は、
   そちらのCSSを別途定義し、この.main-navをPCでは非表示にする必要があります。
   例: @media (min-width: 769px) { .header-inner.pcNone .main-nav { display: none; } }
   以下はスマホでハンバーガーメニューが開いたときのメニュー表示用です。
*/


/* --- ハンバーガーアイコンとチェックボックスはPCでは非表示 --- */
.menu-toggle,
.hamburger-icon {
    display: none; /* デフォルト（PC）では非表示 */
}


/* --- スマートフォン向けのスタイル (例: 768px以下) --- */
@media (max-width: 768px) {
    .header-inner.pcNone {
        /* スマホ時も固定は維持 */
        justify-content: flex-end; /* ロゴがないので、ハンバーガーアイコンだけ右に */
        height: 56px; /* 固定ヘッダーの高さ。padding-topと合わせる */
    }

    /* --- 電話アイコンの表示 --- */
    .header-tel {
        display: block; /* スマホで表示 */
        width: 32px;
        height: 32px;
        position: absolute; /* バーの配置基準 */
        top:8px;
        left:10px;
        cursor: pointer;
        background-image: url('../img/common/tel.png');
        z-index: 1001; /* メニューよりさらに手前 */
    }
    /* --- ハンバーガーアイコンの表示 --- */
    .header-inner.pcNone .hamburger-icon {
        display: block; /* スマホで表示 */
        width: 36px;
        height: 28px;
        position: relative; /* バーの配置基準 */
        cursor: pointer;
        z-index: 1001; /* メニューよりさらに手前 */
    }
    .spmenu-name {
        font-size: 10px;
        position: relative;
        top: 22px; 
        width:40px;
        white-space: nowrap;
    }
    .spmenu-tel {
        font-size: 12px;
        position: relative;
        text-align: center;
        display: block;
        top: 30px;
        color: #fff;
        white-space: nowrap;
    }

    .header-inner.pcNone .hamburger-icon .bar {
        display: block;
        width: 100%;
        height: 3px;
        background-color: white;
        border-radius: 2px;
        position: absolute;
        left: 0;
        transition: all 0.3s ease;
    }

    .header-inner.pcNone .hamburger-icon .bar:nth-child(1) { top: 0; }
    .header-inner.pcNone .hamburger-icon .bar:nth-child(2) { top: 8.5px; }
    .header-inner.pcNone .hamburger-icon .bar:nth-child(3) { top: 17px; }

    /* --- ハンバーガーメニュー開閉時のアイコンアニメーション --- */
    .header-inner.pcNone #menu-toggle:checked + .hamburger-icon .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 8.5px;
    }
    .header-inner.pcNone #menu-toggle:checked + .hamburger-icon .bar:nth-child(2) {
        opacity: 0;
    }
    .header-inner.pcNone #menu-toggle:checked + .hamburger-icon .bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 8.5px;
    }

    /* --- メニューリストのスタイル（スマホ版） --- */
    .header-inner.pcNone .main-nav {
        /* fixed要素の下にメニューを配置するために
           width: 100vw; でビューポートの幅に合わせる
           height: 100vh; でビューポートの高さに合わせる
           top: 60px; でヘッダーの下から開始 */
        position: fixed; /* ビューポートに固定 */
        top: 56px; /* header-innerの高さに合わせて調整 */
        left: 0;
        width: 100vw; /* ビューポートの幅いっぱいに */
        height: calc(100vh - 40px); /* ビューポートの高さからヘッダー高さを引く */
        max-height: 0; /* 初期状態では高さを0にして非表示 */
        overflow-y: auto; /* メニューが多い場合にスクロール可能にする */
        transition: max-height 0.4s ease-out; /* スムーズな開閉アニメーション */
        background-color: rgba(0, 0, 0, 0.9); /* 半透明の黒背景など、目立つ色に */
        z-index: 999; /* ハンバーガーアイコンより低いz-index */
    }

    .header-inner.pcNone .main-nav ul {
        flex-direction: column; /* 縦並びに変更 */
        padding: 12px 24px; /* メニュー上下の余白 */
        text-align: right;
    }

    .header-inner.pcNone .main-nav li {
        margin: 8px 0; /* 各メニュー項目の上下の余白 */
    }

    .header-inner.pcNone .main-nav a {
        padding: 0;
        display: block;
        font-size: 1.6em; /* メニュー項目のフォントサイズ */
        color: white; /* メニュー項目のテキスト色 */
        text-indent:0;
    }
    .header-inner.pcNone .main-nav a span {
        font-size:1em;
    }


    /* --- チェックが入ったらメニューを表示 --- */
    .header-inner.pcNone #menu-toggle:checked ~ .main-nav {
        max-height: 100vh; /* メニューが全画面に開くように */
    }
}

/* PCで.pcNoneを完全に非表示にしたい場合 (もしそうなら) */
@media (min-width: 769px) {
    .header-inner.pcNone {
        display: none;
    }
}

/* 左サイドバー - メニュー */
.main-nav ul {
    display: flex;
    flex-direction: column; /* 縦並び */
    gap: 0px; /* ボタン間のスペース */
    margin-bottom:12px;
}
.main-nav ul li a img {
    width: 100%; /* ボタン画像を親要素いっぱいに */
    height: auto;
    display: block; /* 余白除去 */
    transition: opacity 0.3s ease; /* ホバーエフェクト */
}
.main-nav ul li a:hover img {
    opacity: 0.8; /* ホバーで少し透明に */
}
/* ====================
   メインナビゲーションのスタイル
   ==================== */
.main-nav ul {
    display: flex;
    flex-direction: column; /* 縦並び */
    gap: 0px; /* ボタン間のスペース */
}

.main-nav ul li a {
    display: block; /* リンク全体をブロック要素にしてクリック可能範囲を広げる */
    width: 200px; /* PC版のボタン画像幅 */
    height: 40px; /* PC版のボタン画像高さ（必要に応じて調整） */
    /* big_1.gif のような高さが異なる画像は個別に指定するか、
       background-size: contain; で対応 */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* 背景画像を要素サイズに合わせてカバー */
    text-indent: -9999px; /* テキストを隠す（SEO・アクセシビリティ対応） */
    overflow: hidden; /* 隠したテキストがはみ出さないように */
    transition: background-image 0.3s ease; /* ホバー時の滑らかな切り替え */
}

/* 各ボタンのデフォルト画像 */
.main-nav ul li .info-link {
    background-image: url('../img/total/newbottan_1.gif');
    height: 40px; /* 元の画像高さ */
}
.main-nav ul li .system-link {
    background-image: url('../img/total/newbottan_big_1.gif');
    height: 60px; /* 元の画像高さ */
}
.main-nav ul li .gals-link {
    background-image: url('../img/total/newbottan_3.gif');
    height: 40px; /* 元の画像高さ */
}
.main-nav ul li .schedule-link {
    background-image: url('../img/total/newbottan_5.gif');
    height: 40px; /* 元の画像高さ */
}
.main-nav ul li.recruit-link {
    background-image: url('https://kanto.qzin.jp/510109/?v=official'); /* このパスはURLなので注意 */
    /* recruit-link はもしかしたら画像ではなくテキストリンクかもしれません。
       もし画像であれば、正しいパスを設定してください。
       今回は '../img/total/newbottan_7.gif' を仮定します。
    */
    background-image: url('../img/total/newbottan_7.gif');
    background-repeat: no-repeat;
    height: 40px; /* 元の画像高さ */
}

/* 各ボタンのホバー時の画像 */
.main-nav ul li .info-link:hover {
    background-image: url('../img/total/newbottan_2.gif');
}
.main-nav ul li .system-link:hover {
    background-image: url('../img/total/newbottan_big_2.gif');
}
.main-nav ul li .gals-link:hover {
    background-image: url('../img/total/newbottan_4.gif');
}
.main-nav ul li .schedule-link:hover {
    background-image: url('../img/total/newbottan_6.gif');
}
.main-nav ul li.recruit-link:hover {
    background-image: url('../img/total/newbottan_8.gif');
}

/* 無料メール会員の部分 */
.mailmagazine-box .mailmagazine-content {
    background-color: #FFFF00; /* 元のbgcolor */
    border: 3px solid #00CC00; /* 元のborder */
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    margin-bottom:12px;
}
.mailmagazine-box .mail-title {
    font-size: 24px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.1em;
    color: red; /* .tt16red */
}
.mailmagazine-box .mail-address {
    font-size: 12px;
    color: red; /* .tt16red */
    word-break: break-all; /* 長いメールアドレスの改行 */
}
.mailmagazine-box .mail-instruction,
.mailmagazine-box .benefit-list {
    font-size: 15px; /* .point, .tt12m */
}
.mailmagazine-box .point-text {
    font-size: 11px;
    color: red;
}
.mailmagazine-box .qr-code {
    width: 100px; /* QRコードの元の幅 */
    height: 100px; /* QRコードの元の高さ */
    margin: 10px auto; /* 上下の余白と中央寄せ */
}

/* スマホサイト/携帯サイトのセクション */
.smartphone-site .site-info,
.mobile-site .site-info {
    border: 4px solid #FF9900; /* .sinwaku の色 */
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    font-size: 12px; /* .tatle2 */
}
.smartphone-site .qr-code,
.mobile-site .qr-code {
    width: 76px;
    height: 76px;
    margin: 10px auto;
}

/* ブログリンク */
.blog-links .blog-img {
    margin-top: 0px; /* vspace="10" 相当 */
    margin-bottom: 10px;
}

/* メインコンテンツ - お知らせやその他の情報画像 */
.main-content .info-list img.info-image,
.main-content .info-image {
    margin-bottom: 5px;
}
.page-title {
    margin:0;
    padding:0;
}

/* ピックアップギャルリスト */
.pick-up-gals .gal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}
.pick-up-gals .gal-list li {
    width: calc(33.33% - 7px);
    text-align: center;
    box-sizing: border-box;
}
.pick-up-gals .gal-list li img {
    border: 1px solid #eee;
    margin-bottom: 5px;
}
.pick-up-gals .gal-list li p {
    font-size: 14px;
    line-height: 1.4;
}

/* Google Map埋め込み */
.map-section .google-map-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 のアスペクト比 (高さ / 幅 * 100%) */
    height: 0;
    overflow: hidden;
    margin-top: 10px;
}
.map-section .google-map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px !important;
    border: 0;
}
.map-section small .map-link {
    display: block;
    margin-top: 5px;
    text-align: center;
    color: #0000FF;
    font-size: 16px;
}

/* 割引チケット */
.discount-tickets .discount-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* お断り・禁止事項 */
.rules-and-prohibitions .rule-content {
    font-size: 17px;
    line-height: 1;
    margin-top: 10px;
}
.rules-and-prohibitions .rule-content p {
    margin-bottom: 1em;
}
.rules-and-prohibitions .rule-content .important-notice {
    text-align: center;
    font-size: 17px;
    margin-top: 1em;
    margin-bottom:24px;
}


/* ====================
   求人情報セクションのスタイル
   ==================== */
.recruit-info-section {
    /* main-sectionの共通スタイルが適用されます */
}

.recruit-block {
    margin-bottom: 20px; /* 各求人ブロック間の余白 */
}

.recruit-image-box {
    margin-bottom: 10px;
    text-align: center; /* 画像を中央寄せにする場合 */
}
.recruit-image-box .recruit-main-img {
    width: 100%; /* 親要素に合わせる */
    height: auto;
}

.contact-methods {
    border: 3px solid #00CC00; /* .sinwaku3 の色 */
    padding: 10px;
    text-align: center;
    box-sizing: border-box;
    background-color: #FFFFFF; /* 明示的に背景色を白に */
    margin-top: 5px; /* 元の style="margin-top:5px;" */
}

.contact-methods .contact-links {
    display: flex;
    justify-content: center; /* 画像を横並びで中央寄せ */
    gap: 10px; /* 画像間のスペース */
}
.contact-methods .contact-links img {
    width: auto; /* 画像本来の幅を使うか、固定幅にする */
    height: auto;
    max-width: 100%;
    margin: 0; /* 親のFlexboxで制御するため */
}

.recruit-message .message-box {
    border: 3px solid #00CC00; /* .sinwaku3 の色 */
    padding: 10px;
    background-color: #ffd8e4; /* 元のbgcolor */
    text-align: center;
    box-sizing: border-box;
    margin-top: 5px; /* 元の style="margin-top:5px;" */
}
.recruit-message .message-box p {
    font-size: 16px; /* 元のインラインスタイル */
    line-height: 1.25; /* 元のインラインスタイル */
    margin: 0; /* 段落のデフォルトマージンをリセット */
}
.recruit-message .message-box a {
    color: inherit; /* リンク色を親から継承 */
    text-decoration: underline; /* リンクであることを示す */
}


/* 求人詳細リスト（dl要素のスタイル） */
.recruit-details-list {
    border: 1px solid #00CC00; /* 元のtableのborder */
    background-color: #FFFF00; /* 元のbgcolor */
    padding: 5px; /* 元のcellpadding */
    margin-top: 3px; /* 元のstyle="margin-top:3px;" */
    box-sizing: border-box;
    /* display: grid; で2カラムレイアウトを構築することも可能 */
    /* grid-template-columns: auto 1fr; */
}

.recruit-details-list .recruit-item {
    display: flex; /* Flexboxでdtとddを横並びにする */
    align-items: flex-start; /* 上揃え */
    padding: 5px 0; /* 各項目間のパディング */
    border-bottom: 1px dashed #ccc; /* 各項目間の区切り線 */
}
.recruit-details-list .recruit-item:last-child {
    border-bottom: none; /* 最後の項目は下線なし */
}

.recruit-details-list dt {
    flex-shrink: 0; /* 幅を固定 */
    width: 96px; /* 元のtdの幅 */
    font-weight: bold;
    color: #333;
    font-size: 20px; /* .size20 */
    padding-right: 10px; /* ddとの隙間 */
    box-sizing: border-box;
}

.recruit-details-list dd {
    flex-grow: 1; /* 残りの幅を埋める */
    font-size: 20px; /* .size20 */
    margin-left: 0; /* dlのデフォルトマージンをリセット */
    color: #333;
    word-break: break-word; /* 長い文字列の改行 */
}

.recruit-details-list .highlight {
    font-weight: bold;
    /* .style1 は通常太字のみの指定が多いので、boldにする */
}

/* 「女の子在籍一覧」セクション */
.gals-list-section .gal-list {
    display: grid; /* Gridレイアウトを使用 */
    grid-template-columns: repeat(4, 1fr); /* 3列表示 */
    gap: 8px; /* 要素間の隙間 */
    padding: 0;
    list-style: none;
}

.gals-list-section .gal-list li {
    text-align: center;
    box-sizing: border-box;
}

.gals-list-section .gal-list li a {
    display: block; /* リンク全体をブロック要素に */
    margin-bottom: 5px; /* 画像とテキストの間隔 */
}

.gals-list-section .gal-list li img {
    max-width: 100%; /* 画像がはみ出さないように */
    height: auto;
    border: 1px solid #eee; /* 必要であれば */
}

.gals-list-section .gal-list li p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0; /* 段落のデフォルトマージンをリセット */
}

.gals-list-section .gal-list li .status-icon {
    display: inline-block; /* アイコンをテキストの横に表示 */
    width: auto; /* アイコンの元の幅を維持 */
    height: 14px; /* アイコンの高さ例 */
    vertical-align: middle; /* テキストと縦位置を合わせる */
    margin-left: 3px; /* テキストとの隙間 */
    border: none; /* アイコンに不要なボーダーをつけない */
}
/* ====================
   「New」と「おすすめ」の装飾
   ==================== */

/* 共通のバッジスタイル（必要であれば） */
.name,
.status-badges {
    display: inline-block;
    color:#000;
    font-size:11px;
    white-space: nowrap;
}
.attendance {
    color:#000;
}

table.attmgr_guide_weekly td.current a {
    color:#0000ff;
}
.status-badge {
    display: inline-block;
    padding: 2px;
    margin-left: 0px;
    font-weight: bold;
    font-size: 9px;
    line-height: 1;
    border-radius: 3px;
    white-space: nowrap;
}

/* New: 赤背景の白文字 */
.new-badge {
    background-color: #ff0000; /* 赤っぽい背景色 */
    color: #ffffff; /* 白文字 */
}

/* おすすめ: 単純に赤文字 */
.recommend-text {
    background-color: transparent;
    color: #d90000;
    border: none;
    padding: 0;
    font-size: 9px;
    font-weight: bold;
    margin-left: 0px;
}
/* 各種サイズ表記 */
.gal-body-info {
    color:#000;
    font-size:11px;
}
.body-tall,
.body-bast,
.body-cup,
.body-west {
    margin-right:2px;
}
/* ====================
   個別ページ（Gals詳細）のスタイル
   ==================== */
.gal-detail-section {
    /* main-sectionの共通スタイルが適用されます */
}

.gal-profile-article {
    background-color: #FFFFFF;
    padding: 20px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.gal-name-title {
    font-size: 32px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.gal-profile-meta {
    width:52%;
    float:right;
    display: block;
    margin-bottom: 30px;
}
.gal-profile-banner {
    background-image: url('../img/gals/gals_header.gif');
    height:58px;
}
.gal-profile-banner.clearfix {
    background-size: 100%;
    height:70px;
    background-repeat: no-repeat;
}
.gal-profile-bannerfooter {
    background-image: url('../img/gals/gals_footer.gif');
    height:20px;
    clear: both;
    display: block;    
}
.gal-profile-data {
    display: grid;
    grid-template-columns: 150px 1fr; /* PCでは項目名と値を2列で表示 */
    gap: 10px 20px; /* 行と列の隙間 */
    padding: 15px;
    border-radius: 5px;
}

.gal-profile-item {
    display: contents; /* dlの構造を保ちつつGridレイアウトを適用 */
}

.gal-profile-data dt {
    font-weight: bold;
    color: #555;
    text-align: left; /* 項目名を右寄せ */
    border-bottom: 2px dotted #66cc00;
    width:100%;
}
.userdata .gal-profile-data dd {
    margin-left: -40%; /* ddのデフォルトマージンをリセット */
  
}
.gal-profile-data dd {
    margin-left: -9%; /* ddのデフォルトマージンをリセット */
    border-bottom: 2px dotted #66cc00;
    color: #333;
}

.gal-comment-section {
    margin-bottom: 30px;
}
.gal-comment-section h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #eee; /* 下線 */
    padding-bottom: 5px;
}

.gal-comment-section p {
    font-size: 16px;
    line-height: 1.8;
    margin:16px 0;
}

.gal-blog-link {
    text-align: center;
    margin-top: 20px;
}
.gal-blog-link a {
    display: inline-block;
    background-color: #d90000; /* 青色のボタン */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.gal-blog-link a:hover {
    background-color: #d93333;
}

.gal-image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列で画像を表示 */
    gap: 15px;
    margin-top: 30px;
}
.gal-image-gallery .gal-gallery-img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* ====================
   画像ギャラリー（Swiper）のスタイル
   ==================== */
.gal-image-gallery {
    /* Swiperのコンテナの幅と高さの調整 */
    width: 48%; /* 親要素の幅いっぱいに */
    float:left;
    height: auto; /* 高さはコンテンツに合わせる */
    overflow: hidden; /* はみ出しを隠す */
    margin-top: 0px; /* 上の余白 */
    margin-bottom: 0px; /* 下の余白 */
}

.gal-image-gallery .swiper-slide {
    display: flex; /* 画像を中央寄せにするため */
    justify-content: center;
    align-items: center;
}

.gal-image-gallery .gal-gallery-img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.gal-thumbs-gallery .swiper-slide {
    width: 80px; /* サムネイルの幅（調整してください） */
    height: 80px; /* サムネイルの高さ（調整してください） */
    opacity: 0.5; /* 非アクティブなサムネイルは少し透明に */
    transition: opacity 0.3s ease, border-color 0.3s ease;
    cursor: pointer; /* カーソルをポインターに */
    border: 2px solid transparent; /* アクティブ時のボーダー用 */
    box-sizing: border-box;
    display: flex; /* サムネイル画像を中央に配置 */
    justify-content: center;
    align-items: center;
}
/* ====================
   サムネイルギャラリー（Swiper Thumbs）のスタイル
   ==================== */
.gal-thumbs-gallery {
    width: 100%;
    height: 100px; /* サムネイルの高さ（調整してください） */
    margin-top: 10px; /* メインスライドとの間隔 */
    margin-bottom: 0px;
    box-sizing: border-box;
    overflow: hidden; /* はみ出しを隠す */
    padding: 0 20px; /* 左右の余白（両端のサムネイルが見えるように） */
}

.gal-thumbs-gallery .swiper-wrapper {
    /* 必要に応じて調整 */
}
.gal-thumbs-gallery .swiper-slide-thumb-active {
    opacity: 1; /* アクティブなサムネイルは不透明に */
    border-color: #d90000; /* アクティブなサムネイルのボーダー色（青） */
}

.gal-thumbs-gallery .gal-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* 画像をサムネイル枠に合わせてトリミング */
    display: block;
}
/* ページネーション（ドット）の色の調整など */
.swiper-pagination-bullet {
    background-color: #ccc; /* 通常時の色 */
}
.swiper-pagination-bullet-active {
    background-color: #333; /* アクティブ時の色 */
}

/* ナビゲーションボタンの色の調整など */
.swiper-button-prev,
.swiper-button-next {
    color: #d90000 !important; /* ボタンの色 */
}

/* 休業日のお知らせボックス全体 */
.holiday-notice {
    width: 100%; /* 親要素いっぱいに広がるように */
    max-width: 530px; /* 画像の元の幅に合わせるか、適宜調整 */
    background-color: #fdc7c7; /* 薄い赤色の背景 #FFDDE6に近い色 */
    border: 5px solid #ff4c4e; /* 濃い赤色の枠線 #FF6699に近い色 */
    padding: 15px 10px; /* 上下の余白と左右の余白 */
    text-align: center; /* テキストを中央寄せ */
    box-sizing: border-box; /* paddingとborderを幅に含める */
    margin: 6px auto; /* 上下の余白と中央寄せ */
    border-radius: 5px; /* 角を少し丸める（任意） */
}

/* 「休業日のお知らせ」テキスト */
.holiday-notice__text {
    font-size: 28px; /* フォントサイズ */
    font-weight: bold; /* 太字 */
    color: #f92154; /* 濃い赤色の文字色 */
    margin: 0 0 5px 0; /* 下に少し余白 */
    line-height: 1.2; /* 行の高さ */
}

/* 「5/20(火)」日付テキスト */
.holiday-notice__date {
    font-size: 36px; /* フォントサイズを大きく */
    font-weight: bold; /* 太字 */
    color: #f92154; /* 濃い赤色の文字色 */
    margin: 0; /* 余白をリセット */
    line-height: 1.2; /* 行の高さ */
}
/* ====================
   404ページ固有のスタイル
   ==================== */
.error-404 {
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 40px auto; /* 中央寄せと上下の余白 */
    max-width: 700px; /* ボックスの最大幅 */
    box-sizing: border-box;
}

.error-404 .page-title {
    font-size: 36px;
    color: #d9534f; /* エラーを示す色 */
    margin-bottom: 20px;
    line-height: 1.2;
}

.error-404 .page-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.error-404 .page-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.error-404 .page-content ul li {
    font-size: 15px;
    margin-bottom: 5px;
    color: #555;
}

.error-404 .return-home-link a {
    display: inline-block;
    background-color: #6c757d; /* 落ち着いたボタン色 */
    color: #fff;
    padding: 12px 25px;
    margin-top: 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.error-404 .return-home-link a:hover {
    background-color: #5a6268;
}
/* モーダルオーバーレイ（背景の暗い部分） */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* 半透明の黒 */
    display: flex; /* コンテンツを中央に配置するため */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 他の要素より手前に表示 */
    opacity: 0; /* 初期状態では非表示 */
    visibility: hidden; /* 初期状態では非表示 */
    transition: opacity 0.3s ease, visibility 0.3s ease; /* フェードイン・アウト */
}

.modal-overlay.is-active {
    opacity: 1; /* 表示時に透明度を上げる */
    visibility: visible; /* 表示時に見えるようにする */
}

/* モーダルコンテンツ（ポップアップ本体） */
.modal-content {
    background-color: #ffff00;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    width:90%;
    max-width: 800px; /* 最大幅 */
    max-height: 90vh; /* ビューポートの高さの90% */
    overflow-y: auto; /* コンテンツがはみ出したらスクロール可能に */
    transform: translateY(20px); /* 登場時のアニメーション用 */
    transition: transform 0.3s ease;
}

.modal-overlay.is-active .modal-content {
    transform: translateY(0); /* 表示時に元の位置に戻す */
}

/* 閉じるボタン */
.modal-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 30px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s ease;
}

.modal-close-button:hover {
    color: #333;
}

/* モーダルボディ（読み込まれたコンテンツのラッパー） */
.modal-body {
    padding: 10px; /* 必要に応じて調整 */
    color: #333;
}

/*出退勤管理関連*/
.attmgr-staff-filter-wrapper {
    text-align:right;
    float:right;
}
form#attmgr_admin_scheduler table.attmgr_admin_scheduler td.portrait img {
    margin:0px 8px !important;
}
form#attmgr_admin_scheduler table.attmgr_admin_scheduler td {
    padding-bottom:8px;
}
    form#attmgr_admin_scheduler   {
        margin-bottom:800px;
    }

/* ====================
   レスポンシブ対応（768px以下）
   ==================== */
@media screen and (max-width: 768px) {
    .pcNone {
        display: block;
    }
    .spNone {
        display: none;
    }
    .top-image {
        width:100%;
    }
    .subtitle {
        background: #3C0;
        color: #FFFFFF;
        font-weight: bold;
        padding: 3px 10px;
        font-size: 130%;
    }
    .site-main-wrapper {
        flex-direction: column; /* 縦方向に積み重ねる */
        max-width: 100%; /* 全幅を使用 */
        margin: 0; /* 中央寄せ解除 */
        padding: 0;
    }

    .sidebar {
        width: 100%; /* サイドバーも全幅に */
        padding: 10px;
    }

    .main-content {
        width: 100%; /* メインコンテンツも全幅に */
        padding: 10px; /* 左右の余白を均等に */
        order: 1; /* モバイルではメインコンテンツを先に表示 */
    }

    .sidebar {
        order: 2; /* サイドバーをメインコンテンツの下に表示 */
        margin-top: 20px; /* メインコンテンツとの間に余白 */
    }

    /* 各セクション間の余白も調整 */
    .sidebar-section,
    .main-section {
        margin-bottom: 15px; /* モバイル向けに調整 */
    }

    .bluesky-timeline-container {
        width:100%;
    }
    /* メインメニューのボタン画像 */
    .main-nav ul li a img {
        width: 100%;
        height: auto;
    }
    .main-nav ul li a {
        width: 100%; /* モバイルでは幅をいっぱいに */
        height: auto; /* 高さは画像のアスペクト比に合わせる */
        background-size: contain; /* モバイルでは画像全体が見えるように */
    }
    /* 高さがバラバラな場合は、モバイルで高さを固定しない方が良いことが多いです。
       もしモバイルで高さを固定したい場合は、個別に指定します。
       例: .main-nav ul li .info-link { height: 50px; }
    */
    .main-nav ul li.recruit-link {
        background-position-x: center;
    }
    /* ピックアップギャルリストの調整 */
    .pick-up-gals .gal-list {
        flex-direction: column; /* 縦並び */
        align-items: center; /* 中央寄せ */
    }
    .pick-up-gals .gal-list li {
        width: 90%; /* 1列表示の例 */
        margin-bottom: 15px;
    }
    .pick-up-gals .gal-list li img {
        width: 100%; /* 画像も100%幅に */
    }

    /* テキストのフォントサイズ調整 */
    body, p, a, span {
        font-size: 14px; /* 全体的に小さく */
    }
    .mailmagazine-box .mail-title {
        font-size: 20px; /* 少し小さく */
    }
    .mailmagazine-box .mail-address,
    .mailmagazine-box .mail-instruction,
    .mailmagazine-box .benefit-list {
        font-size: 14px;
    }
    .smartphone-site .site-info a,
    .mobile-site .site-info a,
    .smartphone-site .site-info p,
    .mobile-site .site-info p {
        font-size: 12px;
    }

    /* 求人詳細リスト（dtとddを縦並びに） */
    .recruit-details-list {
        padding: 10px; /* モバイルでのパディングを調整 */
    }
    .recruit-details-list .recruit-item {
        flex-direction: column; /* 縦並び */
        align-items: stretch; /* 幅いっぱいに広げる */
        padding: 10px 0;
    }
    .recruit-details-list dt {
        width: 100%; /* 幅を100%に */
        padding-right: 0;
        margin-bottom: 5px; /* 下に少し余白 */
        font-size: 18px; /* モバイル向けに調整 */
    }
    .recruit-details-list dd {
        width: 100%; /* 幅を100%に */
        font-size: 16px; /* モバイル向けに調整 */
    }
    .recruit-details-list .highlight {
        font-size: 16px; /* モバイル向けに調整 */
    }

    /* 「女の子在籍一覧」の調整 */
    .gals-list-section .gal-list {
        grid-template-columns: repeat(2, 1fr); /* 2列表示に */
        gap: 10px;
    }

    /* contact-methods の画像 */
    .contact-methods .contact-links {
        flex-direction: column; /* LINE/MAIL画像を縦並びに */
        gap: 5px;
    }
    .contact-methods .contact-links img {
        width: 80%; /* モバイルで画像を少し小さく */
        max-width: 250px; /* 必要に応じて最大幅を設定 */
        margin: 0 auto; /* 中央寄せ */
    }

    /* 各種テキストサイズ調整 */
    .recruit-message .message-box p {
        font-size: 14px;
    }
    .gal-profile-article {
        padding: 15px;
    }

    .gal-name-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .gal-profile-data {
        grid-template-columns: 1fr; /* モバイルでは1列に積み重ねる */
        gap: 5px 0; /* 項目間の隙間 */
        padding: 10px;
    }
    .gal-profile-data dt {
        text-align: left; /* 項目名を左寄せに */
        padding-right: 0;
        border-bottom: 1px dotted #66cc00; /* 各項目間に点線 */
        padding-bottom: 3px;
    }
    .userdata .gal-profile-data dd,
    .gal-profile-data dd {
        padding-bottom: 5px; /* 値の下に少し余白 */
        margin-left:0%;
        border-bottom: 0px;
    }

    .gal-profile-item {
        display: block; /* dtとddを縦に並べる */
    }


    .gal-comment-section h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .gal-comment-section p {
        font-size: 15px;
    }

    .gal-image-gallery {
        width:100%;
        float:none;
        grid-template-columns: 1fr; /* 1列表示に */
        gap: 10px;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .gal-profile-banner {
        background-size:100%;
        background-repeat:no-repeat;
    }
    .gal-profile-banner.clearfix {
        height:50px;
    }
    .gal-thumbs-gallery {
        height: 80px; /* モバイルでのサムネイル高さ */
        padding: 0 10px;
    }
    .gal-thumbs-gallery .swiper-slide {
        width: 60px; /* モバイルでのサムネイル幅 */
        height: 60px; /* モバイルでのサムネイル高さ */
    }
    .gal-profile-meta {
        width:100%;
        float:none;
        margin-bottom:0px;
    }
    .holiday-notice {
        padding: 10px 5px;
        margin: 0px 0px 5px 0px;
        max-width: 530px;
    }
    .holiday-notice__text {
        font-size: 25px;
    }
    .holiday-notice__date {
        font-size: 24px;
    }
    .map-section .google-map-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 220px !important;
        border: 0;
    }
    .error-404 {
        padding: 30px 15px;
        margin: 30px auto;
    }
    .error-404 .page-title {
        font-size: 30px;
    }
    .error-404 .page-content p,
    .error-404 .page-content ul li {
        font-size: 15px;
    }
    .error-404 .search-form .search-field,
    .error-404 .search-form .search-submit {
        font-size: 15px;
        padding: 8px;
    }
    .error-404 .return-home-link a {
        padding: 10px 20px;
        font-size: 15px;
    }
    .modal-content {
        max-width: 90%;
        padding: 20px;
        max-height: 85vh;
    }
    .modal-close-button {
        font-size: 24px;
        top: 5px;
        right: 5px;
    }
    form#attmgr_admin_scheduler table.attmgr_admin_scheduler {
        width:600px !important;
        overflow-x:scroll;
    }
}

/* さらに小さい画面（例: 480px以下）向けの調整 */
@media screen and (max-width: 480px) {
    iframe {
        width: 100% !important; /* 親要素の幅いっぱいに広げる */
        height: auto !important; /* 高さコンテンツに合わせて自動調整（ただし注意点あり） */
        display: block; /* 一部のブラウザで発生する下部の隙間をなくすため */
        border: none; /* デフォルトの枠線を消す場合 */
    }
    .site-logo {
        background: #3C0;
        color: #FFFFFF;
        font-weight: bold;
        padding: 40px 0 0 0;
        width: 100%;
        font-size: 100%;
        display: block;
    }
    .sidebar {
        padding: 0px;
    }
    .main-content {
        padding: 0px;
        margin:0px;
    }
    /* メインコンテンツ - お知らせやその他の情報画像 */
    .main-content .info-list img.info-image,
    .main-content .info-image {
        margin-bottom: 10px;
    }
    body, p, a, span {
        font-size: 13px;
    }
    .section-title-img {
        width:100%;
        height:auto;
    }
    .info-image {
        width:100%;
    }
    .blog-links .blog-img {
        width:50%;
        float:left;
    }
    .mailmagazine-box .mail-title {
        font-size: 18px;
    }
    .recruit-details-list dt {
        font-size: 16px;
    }
    .recruit-details-list dd {
        font-size: 14px;
    }
    .recruit-message .message-box p {
        font-size: 13px;
    }
    /* 「女の子在籍一覧」の調整 */
    .gals-list-section .gal-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0;
    list-style: none;
    }
    .gal-name-title {
        font-size: 24px;
    }
    .gal-profile-data dt,
    .gal-profile-data dd,
    .gal-comment-section p {
        font-size: 14px;
    }
    .gal-comment-section h2 {
        font-size: 18px;
    }
    .holiday-notice {
        padding: 8px 5px;
        margin: 4px auto 10px auto;
    }
    .holiday-notice__text {
        font-size: 16px;
    }
    .holiday-notice__date {
        font-size: 22px;
    }
    .site-info {
        width: 100%;
        background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(68, 68, 68)), color-stop(1, rgb(0, 0, 0)));
        background-image: -moz-linear-gradient(-90deg,rgb(68, 68, 68) 0%,rgb(0, 0, 0) 100%);
        background-image: linear-gradient(-90deg, rgb(68, 68, 68) 0%, rgb(0, 0, 0) 100%);
        color: #fff;
        text-align: center;
        padding: 10px 0;
        font-size: 60%;
    }
    .error-404 {
        padding: 20px 10px;
        margin: 20px auto;
    }
    .error-404 .page-title {
        font-size: 26px;
    }
    .error-404 .page-content p,
    .error-404 .page-content ul li {
        font-size: 14px;
    }
    .error-404 .search-form {
        max-width: 90%;
    }
    .error-404 .search-form .search-field {
        width: 100%; /* モバイルでは検索フィールドを全幅に */
        margin-bottom: 10px;
    }
    .error-404 .search-form .search-submit {
        width: 100%; /* ボタンも全幅に */
    }
}