@charset "utf-8";
/* =====================================================================
   2026年11月 改修分（税理士・社労士統合）
   既存CSSの後に読み込み、上書き・追加する
   ※既存CSSは * { font-size:0; width:100% } のため、新しい要素は
     文字サイズと幅を明示している
   ===================================================================== */

.nw { white-space: nowrap; font-size: inherit; width: auto; }

/* ---------- ヘッダー：ロゴ画像 → 2事務所名の文字 ---------- */
header hgroup .headerlogo { top: 18px; width: auto; }
header hgroup .headerlogo a { display: block; text-decoration: none; width: auto; text-align: left; }
header hgroup .headerlogo .logo_sub {
    display: inline-block; width: auto; text-align: left;
    font: normal normal normal 11px/18px hiragino-w6, sans-serif;
    color: #fff; background: #1891D0; border-radius: 3px;
    padding: 1px 8px; margin-bottom: 4px; letter-spacing: .5px;
}
header hgroup .headerlogo .logo_name {
    display: block; width: auto; text-align: left;
    font: normal normal bold 19px/27px hiragino-w6, sans-serif;
    color: #343434; letter-spacing: 1px;
}
header hgroup .headerlogo .logo_name + .logo_name { color: #1891D0; }

@media only screen and (max-width:1024px) {
    header hgroup .headerlogo .logo_name { font-size: 16px; line-height: 23px; }
}
@media only screen and (max-width:640px) {
    header hgroup .headerlogo { width: 62%; margin: 6px auto 6px 10px; }
    header hgroup .headerlogo .logo_sub { font-size: 8px; line-height: 13px; padding: 0 5px; margin-bottom: 2px; }
    header hgroup .headerlogo .logo_name { font-size: 12.5px; line-height: 17px; letter-spacing: 0; }
}

/* ---------- フッター：写真を廃して横長の2段組 ---------- */
footer #footercontents02 { padding: 48px 0; }
footer #footercontents02 .footerwide {
    width: 1000px; max-width: 92%; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 0 48px;
}
footer #footercontents02 .fw_col { width: auto; text-align: left; }
footer #footercontents02 .fw_names {
    flex: 1 1 auto; display: flex; gap: 0 40px;
    padding-right: 48px; border-right: 1px solid rgba(255,255,255,.55);
}
footer #footercontents02 .fw_office { width: auto; text-align: left; }
footer #footercontents02 .fw_cat {
    display: inline-block; width: auto;
    font: normal normal normal 12px/20px hiragino-w6, sans-serif; color: #1891D0;
    background: #fff; border-radius: 3px; padding: 0 8px; margin-bottom: 6px;
}
footer #footercontents02 .fw_title {
    text-align: left; font: normal normal bold 19px/29px hiragino-w6, sans-serif;
    letter-spacing: 1.2px; color: #fff; white-space: nowrap;
}
footer #footercontents02 .fw_sub {
    text-align: left; font: normal normal normal 13px/22px hiragino-w4, sans-serif;
    letter-spacing: .5px; color: #fff;
}
footer #footercontents02 .fw_info { flex: 0 0 auto; }
footer #footercontents02 .fw_msg {
    text-align: left; font: normal normal normal 14px/23px hiragino-w4, sans-serif;
    letter-spacing: 1px; color: #fff; margin-bottom: 14px;
}
footer #footercontents02 .fw_link {
    display: inline-block; width: auto;
    font: normal normal normal 14px/24px hiragino-w4, sans-serif;
    color: #fff; border: 1px solid #fff; padding: 4px 14px; text-decoration: none;
}
footer .copy { font-size: 12px; }

@media only screen and (max-width:1024px) {
    footer #footercontents02 .footerwide { flex-direction: column; align-items: flex-start; gap: 28px 0; }
    footer #footercontents02 .fw_names { padding-right: 0; border-right: none; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.55); width: 100%; }
}
@media only screen and (max-width:640px) {
    footer #footercontents02 { padding: 36px 0; }
    footer #footercontents02 .fw_names { flex-direction: column; gap: 20px 0; }
    footer #footercontents02 .fw_title { font-size: 17px; line-height: 26px; white-space: normal; }
    footer #footercontents02 .fw_sub { font-size: 12px; line-height: 20px; }
    footer #footercontents02 .fw_msg { font-size: 13px; line-height: 22px; letter-spacing: .5px; }
}

/* ---------- 料金ページ ---------- */
.price_contents02 .centermessage.sub,
.price_contents05 .centermessage.sub {
    font: normal normal normal 13px/22px hiragino-w4, sans-serif;
    color: #343434; margin: -50px auto 40px; text-align: center;
}
.price_contents05 { width: 100%; padding: 120px 0 127px; background: #F2F8FC; }
.price_contents05#sharoushi { margin-top: 0; }
.price_contents05 .title { margin-bottom: 30px; }
.price_contents05 .centermessage {
    width: 100%; text-align: center; font: normal normal normal 16px/29px hiragino-w4, sans-serif;
    color: #343434; margin: 0 auto 60px;
}
.price_contents05 .centermessage.sub { margin: -44px auto 40px; }
.price_contents05 .centerimg { width: 100%; margin: 0 auto; text-align: center; }
.price_contents05 .centerimg img { width: 100%; }
.price_contents05 .centerimg.next { margin-top: 56px; }
.price_contents05 .subtitle_sha {
    font: normal normal bold 26px/38px hiragino-w6, sans-serif; color: #D95D96; margin: 90px auto 26px;
}
@media only screen and (max-width:1024px) {
    .price_contents05 .centerimg.wd880 { width: 90% !important; }
}
@media only screen and (max-width:640px) {
    .price_contents02 .centermessage.sub { margin: 0 auto 26px; width: 88%; font-size: 12px; line-height: 20px; }
    .price_contents05 { padding: 70px 0 70px; }
    .price_contents05 .centermessage { width: 88%; text-align: justify; margin: 0 auto 14px; font-size: 15px; line-height: 27px; }
    .price_contents05 .centermessage.sub { margin: 0 auto 28px; width: 88%; font-size: 12px; line-height: 20px; text-align: left; }
    .price_contents05 .centerimg { width: 92%; }
    .price_contents05 .centerimg.next { margin-top: 36px; }
    .price_contents05 .subtitle_sha { font-size: 21px; line-height: 30px; margin: 56px auto 18px; }
}

/* ---------- サービス内容：事例4〜6（社労士）・考え方6項目 ---------- */
.service_contents05 .taioubox .boxlabel {
    display: block; width: 480px; margin: 18px auto -14px; text-align: left;
}
.service_contents05 .taioubox .boxlabel::before { content: none; }
.service_contents05 .taioubox.sharoushi .boxlabel {
    font: normal normal normal 13px/24px hiragino-w6, sans-serif; color: #2E8B5F;
}
.service_contents03 .servicebox li { vertical-align: top; }
@media only screen and (max-width:640px) {
    .service_contents05 .taioubox .boxlabel { width: 90%; margin: 14px auto -10px; }
}

/* ---------- 事務所紹介：概要と地図を同じ横幅でそろえる ---------- */
.about_contents01 .gaiyoubox { width: 860px; margin: 70px auto 0; }
.about_contents01 .gaiyoulist { width: 100%; border-top: 1px solid #1891D0; }
.about_contents01 .gaiyoulist .g_row {
    display: flex; width: 100%; border-bottom: 1px solid #1891D0; padding: 12px 0;
}
.about_contents01 .gaiyoulist dt {
    flex: 0 0 130px; width: 130px; text-align: center;
    font: normal normal bold 16px/28px hiragino-w6, sans-serif; color: #1891D0;
}
.about_contents01 .gaiyoulist dd {
    flex: 1 1 auto; width: auto; text-align: left;
    font: normal normal normal 16px/28px hiragino-w4, sans-serif; color: #343434;
}
.about_contents01 .gaiyoumap { width: 100%; margin: 36px auto 0; }
.about_contents01 .gaiyoumap iframe {
    display: block; width: 100%; height: 380px; margin: 0; border: 1px solid #707070 !important;
}
.about_contents02 .daihyouarea .msg1.qual {
    font-size: 14px; line-height: 24px; color: #1891D0; margin-bottom: 12px; text-align: left;
}
@media only screen and (max-width:1024px) {
    .about_contents01 .gaiyoubox { width: 90%; }
}
@media only screen and (max-width:640px) {
    .about_contents01 .gaiyoubox { width: 90%; margin: 30px auto 0; }
    .about_contents01 .gaiyoulist .g_row { display: block; padding: 10px 0; }
    .about_contents01 .gaiyoulist dt { width: 100%; text-align: left; font-size: 14px; line-height: 22px; }
    .about_contents01 .gaiyoulist dd { width: 100%; font-size: 15px; line-height: 25px; }
    .about_contents01 .gaiyoumap { margin-top: 24px; }
    .about_contents01 .gaiyoumap iframe { height: 300px; }
    .about_contents02 .daihyouarea .msg1.qual { font-size: 12px; line-height: 20px; }
}

/* ---------- トップ：ファーストビューの5つ星バッジ ---------- */
#main .freee5badge {
    width: 930px; margin: 0 auto 22px; text-align: left; display: block;
}
#main .freee5badge span { display: inline-block; width: auto; vertical-align: middle; }
#main .freee5badge .b_lab {
    font: normal normal bold 16px/34px hiragino-w6, sans-serif; color: #fff; background: #1891D0;
    padding: 0 14px; border-radius: 17px 0 0 17px;
}
#main .freee5badge .b_top,
#main .freee5badge .b_star,
#main .freee5badge .b_num {
    background: #fff; border-top: 2px solid #1891D0; border-bottom: 2px solid #1891D0;
    font: normal normal bold 16px/30px hiragino-w6, sans-serif; color: #343434; padding: 0 6px;
}
#main .freee5badge .b_top { padding-left: 12px; }
#main .freee5badge .b_star { color: #F2B705; letter-spacing: 2px; font-size: 18px; }
#main .freee5badge .b_num {
    color: #1891D0; font-size: 20px; padding-right: 16px;
    border-right: 2px solid #1891D0; border-radius: 0 17px 17px 0;
}
@media only screen and (max-width:1024px) { #main .freee5badge { width: 800px; } }
@media only screen and (max-width:640px) {
    #main .freee5badge { width: 92%; margin: 0 auto 12px; }
    #main .freee5badge .b_lab { font-size: 11px; line-height: 26px; padding: 0 8px; border-radius: 13px 0 0 13px; }
    #main .freee5badge .b_top, #main .freee5badge .b_star, #main .freee5badge .b_num { font-size: 11px; line-height: 22px; padding: 0 3px; }
    #main .freee5badge .b_star { font-size: 12px; letter-spacing: 0; }
    #main .freee5badge .b_num { font-size: 13px; padding-right: 9px; border-radius: 0 13px 13px 0; }
}

/* ---------- トップ：freee5つ星の帯 ---------- */
#freee5 { width: 100%; background: #1891D0; padding: 56px 0; }
#freee5 .f5_inner { width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 0 48px; }
#freee5 .f5_badge {
    flex: 0 0 220px; width: 220px; height: 220px; border-radius: 50%;
    background: #fff; border: 6px solid #FFDA5C; display: flex; flex-direction: column; justify-content: center;
}
#freee5 .f5_badge p { width: 100%; text-align: center; color: #1891D0; }
#freee5 .f5_b1 { font: normal normal bold 14px/22px hiragino-w6, sans-serif; color: #343434 !important; }
#freee5 .f5_b2 { font: normal normal bold 18px/26px hiragino-w6, sans-serif; margin-top: 4px; }
#freee5 .f5_b3 { font: normal normal normal 24px/30px sans-serif; color: #F2B705 !important; letter-spacing: 2px; }
#freee5 .f5_b4 { font: normal normal bold 40px/48px hiragino-w6, sans-serif; }
#freee5 .f5_text { flex: 1 1 auto; width: auto; text-align: left; }
#freee5 .f5_title { text-align: left; font: normal normal bold 28px/42px hiragino-w6, sans-serif; color: #fff; }
#freee5 .f5_msg { text-align: left; font: normal normal normal 16px/29px hiragino-w4, sans-serif; color: #fff; margin: 14px 0 20px; }
#freee5 .f5_points { display: flex; gap: 12px; width: 100%; }
#freee5 .f5_points li {
    flex: 1 1 0; width: auto; background: #fff; border-radius: 10px; padding: 12px 10px; text-align: center;
    font: normal normal normal 14px/22px hiragino-w4, sans-serif; color: #343434;
}
#freee5 .f5_points li span {
    display: block; width: 100%; font: normal normal bold 17px/26px hiragino-w6, sans-serif; color: #1891D0;
}
@media only screen and (max-width:1024px) { #freee5 .f5_inner { width: 90%; } }
@media only screen and (max-width:640px) {
    #freee5 { padding: 40px 0; }
    #freee5 .f5_inner { flex-direction: column; gap: 24px 0; }
    #freee5 .f5_badge { flex: 0 0 170px; width: 170px; height: 170px; }
    #freee5 .f5_b1 { font-size: 11px; line-height: 18px; }
    #freee5 .f5_b2 { font-size: 15px; line-height: 22px; }
    #freee5 .f5_b3 { font-size: 19px; line-height: 24px; }
    #freee5 .f5_b4 { font-size: 32px; line-height: 40px; }
    #freee5 .f5_title { font-size: 21px; line-height: 32px; text-align: center; }
    #freee5 .f5_msg { font-size: 15px; line-height: 27px; text-align: justify; }
    #freee5 .f5_points { flex-direction: column; gap: 8px; }
}

/* ---------- トップ：給与計算（社労士） ---------- */
#kyuyo { width: 100%; padding: 110px 0 120px; background: #F2F8FC; }
#kyuyo .ky_lead {
    display: inline-block; width: auto; font: normal normal bold 14px/28px hiragino-w6, sans-serif;
    color: #fff; background: #2E8B5F; border-radius: 14px; padding: 0 16px; margin-bottom: 14px;
}
#kyuyo .title { margin-bottom: 26px; }
#kyuyo .ky_msg { width: 900px; margin: 0 auto 50px; font: normal normal normal 16px/29px hiragino-w4, sans-serif; color: #343434; }
#kyuyo .ky_list { width: 1080px; margin: 0 auto; display: flex; gap: 20px; }
#kyuyo .ky_list li {
    flex: 1 1 0; width: auto; background: #fff; border: 1px solid #1891D0; padding: 26px 22px; text-align: left;
}
#kyuyo .ky_no { text-align: left; font: normal normal bold 30px/36px hiragino-w6, sans-serif; color: #FFDA5C; -webkit-text-stroke: 1px #E3B800; }
#kyuyo .ky_t { text-align: left; font: normal normal bold 19px/28px hiragino-w6, sans-serif; color: #1891D0; margin: 6px 0 10px; }
#kyuyo .ky_d { text-align: justify; font: normal normal normal 15px/27px hiragino-w4, sans-serif; color: #343434; }
#kyuyo .ky_price {
    width: 820px; margin: 50px auto 36px; background: #fff; border: 2px solid #1891D0; border-radius: 12px; padding: 20px 24px;
}
#kyuyo .ky_pt { font: normal normal bold 15px/24px hiragino-w6, sans-serif; color: #1891D0; }
#kyuyo .ky_pv { font: normal normal normal 17px/32px hiragino-w4, sans-serif; color: #343434; }
#kyuyo .ky_pv b { font: normal normal bold 22px/32px hiragino-w6, sans-serif; color: #ED6B00; }
#kyuyo .ky_pv .ky_plus { font-size: 20px; margin: 0 10px; color: #1891D0; }
#kyuyo .ky_pv .ky_tax { font-size: 14px; }
@media only screen and (max-width:1024px) {
    #kyuyo .ky_msg, #kyuyo .ky_list, #kyuyo .ky_price { width: 90%; }
    #kyuyo .ky_list { flex-wrap: wrap; }
    #kyuyo .ky_list li { flex: 1 1 40%; }
}
@media only screen and (max-width:640px) {
    #kyuyo { padding: 60px 0 70px; }
    #kyuyo .ky_lead { font-size: 12px; line-height: 24px; }
    #kyuyo .ky_msg { font-size: 15px; line-height: 27px; text-align: justify; margin-bottom: 30px; }
    #kyuyo .ky_list { flex-direction: column; gap: 12px; }
    #kyuyo .ky_list li { padding: 18px 18px; }
    #kyuyo .ky_no { font-size: 24px; line-height: 28px; }
    #kyuyo .ky_t { font-size: 17px; }
    #kyuyo .ky_d { font-size: 14px; line-height: 25px; }
    #kyuyo .ky_price { margin: 32px auto 26px; padding: 16px; }
    #kyuyo .ky_pv { font-size: 14px; line-height: 26px; }
    #kyuyo .ky_pv b { font-size: 17px; line-height: 26px; }
    #kyuyo .ky_pv .ky_plus { display: block; margin: 0; }
}

/* ---------- トップ：料金欄の社労士料金 ---------- */
#contents03 .sha_mini {
    width: 770px; margin: 40px auto 0; background: #fff; border: 2px solid #2E8B5F; border-radius: 12px; padding: 18px 20px;
}
#contents03 .sha_mini .sm_t { font: normal normal bold 17px/28px hiragino-w6, sans-serif; color: #2E8B5F; }
#contents03 .sha_mini .sm_v { font: normal normal normal 17px/32px hiragino-w4, sans-serif; color: #343434; }
#contents03 .sha_mini .sm_v b { font: normal normal bold 21px/32px hiragino-w6, sans-serif; color: #ED6B00; }
#contents03 .sha_mini .sm_n { font: normal normal normal 13px/22px hiragino-w4, sans-serif; color: #555; }
@media only screen and (max-width:640px) {
    #contents03 .sha_mini { width: 90%; padding: 14px; margin-top: 26px; }
    #contents03 .sha_mini .sm_t { font-size: 15px; }
    #contents03 .sha_mini .sm_v { font-size: 14px; line-height: 26px; }
    #contents03 .sha_mini .sm_v b { font-size: 17px; line-height: 26px; display: inline-block; width: auto; }
    #contents03 .sha_mini .sm_n { font-size: 12px; line-height: 20px; }
}

/* ---------- トップ：対応地域 ---------- */
#area { width: 100%; padding: 100px 0 110px; }
#area .title { margin-bottom: 24px; }
#area .ar_msg { width: 900px; margin: 0 auto 46px; font: normal normal normal 16px/29px hiragino-w4, sans-serif; color: #343434; }
#area .ar_list { width: 900px; margin: 0 auto; display: flex; gap: 30px; }
#area .ar_list li {
    flex: 1 1 0; width: auto; border: 2px solid #1891D0; border-radius: 14px; padding: 30px 26px; background: #fff;
}
#area .ar_t {
    font: normal normal bold 26px/36px hiragino-w6, sans-serif; color: #fff; background: #1891D0;
    display: inline-block; width: auto; padding: 2px 26px; border-radius: 24px; margin-bottom: 16px;
}
#area .ar_d { font: normal normal normal 16px/28px hiragino-w4, sans-serif; color: #343434; }
#area .ar_s { font: normal normal bold 14px/24px hiragino-w6, sans-serif; color: #ED6B00; margin-top: 10px; }
#area .ar_note { font: normal normal normal 14px/24px hiragino-w4, sans-serif; color: #555; margin-top: 26px; }
@media only screen and (max-width:1024px) { #area .ar_msg, #area .ar_list { width: 90%; } }
@media only screen and (max-width:640px) {
    #area { padding: 60px 0 70px; }
    #area .ar_msg { font-size: 15px; line-height: 27px; text-align: justify; margin-bottom: 28px; }
    #area .ar_list { flex-direction: column; gap: 16px; }
    #area .ar_list li { padding: 22px 18px; }
    #area .ar_t { font-size: 21px; line-height: 30px; }
    #area .ar_d { font-size: 15px; line-height: 26px; }
    #area .ar_note { width: 90%; font-size: 13px; }
}

/* ---------- トップ：具体的な対応（6事例） ---------- */
#contents05 .taiouarea li:nth-child(n+4) { margin-top: 150px; }
#contents05 .taiouarea li .boxarea .boxlabel {
    display: inline-block; width: auto; font: normal normal bold 12px/22px hiragino-w6, sans-serif;
    color: #fff; background: #2E8B5F; border-radius: 11px; padding: 0 12px; margin-bottom: 10px;
}
@media only screen and (max-width:1024px) {
    #contents05 .taiouarea li:nth-child(n+3) { margin-top: 150px; }
}
@media only screen and (max-width:640px) {
    #contents05 .taiouarea li:nth-child(n+2) { margin-top: 120px; }
    .service_contents05 #taiou4, .service_contents05 #taiou5, .service_contents05 #taiou6 { margin-top: -53px; padding-top: 53px; }
}

/* ---------- トップ：生成AI（金剛くん） ---------- */
#ai { width: 100%; padding: 100px 0 110px; background: #F7F7F7; }
#ai .ai_lead {
    display: inline-block; width: auto; font: normal normal bold 14px/28px hiragino-w6, sans-serif;
    color: #343434; background: #FFDA5C; border-radius: 14px; padding: 0 16px; margin-bottom: 14px;
}
#ai .title { margin-bottom: 44px; }
#ai .ai_inner { width: 1000px; margin: 0 auto; display: flex; align-items: center; gap: 0 46px; }
#ai .ai_img { flex: 0 0 400px; width: 400px; }
#ai .ai_img img { width: 100%; }
#ai .ai_text { flex: 1 1 auto; width: auto; text-align: left; }
#ai .ai_msg { text-align: justify; font: normal normal normal 16px/29px hiragino-w4, sans-serif; color: #343434; }
#ai .ai_msg b { font-family: hiragino-w6, sans-serif; font-weight: bold; color: #1891D0; font-size: 16px; }
#ai .ai_points { width: 100%; margin: 20px 0 26px; }
#ai .ai_points li {
    text-align: left; position: relative; padding-left: 22px; margin-bottom: 6px;
    font: normal normal bold 15px/26px hiragino-w6, sans-serif; color: #343434;
}
#ai .ai_points li::before {
    content: ""; position: absolute; left: 4px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: #1891D0;
}
#ai .ai_btn {
    display: inline-block; width: auto; background: #1891D0; color: #fff; text-decoration: none; border-radius: 8px;
    font: normal normal bold 16px/26px hiragino-w6, sans-serif; padding: 12px 28px;
}
@media only screen and (max-width:1024px) {
    #ai .ai_inner { width: 90%; flex-direction: column; gap: 30px 0; }
    #ai .ai_img { flex: 0 0 auto; width: 360px; }
}
@media only screen and (max-width:640px) {
    #ai { padding: 60px 0 70px; }
    #ai .ai_lead { font-size: 12px; line-height: 24px; }
    #ai .title { margin-bottom: 26px; }
    #ai .ai_img { width: 88%; }
    #ai .ai_msg, #ai .ai_msg b { font-size: 15px; line-height: 27px; }
    #ai .ai_points li { font-size: 14px; line-height: 24px; }
    #ai .ai_btn { display: block; text-align: center; font-size: 15px; padding: 12px 10px; }
}
#contents05 .taiouarea li .boxarea .boxheader .img img { width: 130px; }
#freee5 + #contents01 { padding-top: 70px; }
@media only screen and (max-width:640px) { #freee5 + #contents01 { padding-top: 40px; } }
@media only screen and (max-width:640px) { #main .freee5badge { margin-top: 26px; } #area .ar_note { margin-left: auto; margin-right: auto; } }

/* ---------- 2026-11-28 修正分 ---------- */
#main .mainrow { width: 930px; margin: 0 auto; display: flex; align-items: center; gap: 0 30px; }
#main .mainrow .maintext { width: auto; flex: 1 1 auto; margin: 0; }
#main .mainrow .mainlogo { flex: 0 0 220px; width: 220px; }
#main .mainrow .mainlogo img { width: 100%; }
#main .freee5badge .b_logo { display: inline-block; width: 46px; height: 46px; vertical-align: middle; margin-left: 12px; }
#freee5 .f5_badge { background: none; border: none; border-radius: 0; display: block; height: auto; }
#freee5 .f5_badge img { width: 100%; display: block; }
#contents03 .price_minis { width: 900px; margin: 40px auto 0; display: flex; gap: 24px; }
#contents03 .price_minis .sha_mini { flex: 1 1 0; width: auto; margin: 0; text-align: center; }
#contents03 .sha_mini.zei { border-color: #1891D0; }
#contents03 .sha_mini.zei .sm_t { color: #1891D0; }
#contents03 .sha_mini .sm_s { font-size: 13px; color: #555; }
#ai .ai_core {
    text-align: left; margin-top: 18px; background: #fff; border-left: none; border: 2px solid #1891D0; border-radius: 10px;
    padding: 12px 16px; font: normal normal normal 16px/28px hiragino-w4, sans-serif; color: #343434;
}
#ai .ai_core b { font-family: hiragino-w6, sans-serif; font-weight: bold; color: #1891D0; font-size: 17px; }
@media only screen and (min-width:641px) {
    #contents05 .taiouarea li .boxarea .boxmessage { min-height: 232px; }
}
@media only screen and (max-width:1024px) {
    #main .mainrow { width: 800px; }
    #main .mainrow .mainlogo { flex-basis: 170px; width: 170px; }
    #contents03 .price_minis { width: 90%; }
}
@media only screen and (max-width:640px) {
    #main .mainrow { width: 92%; gap: 0 10px; align-items: flex-end; }
    #main .mainrow .mainlogo { flex: 0 0 26%; width: 26%; margin-bottom: 8px; }
    #main .freee5badge .b_logo { width: 30px; height: 30px; margin-left: 6px; }
    #contents03 .price_minis { flex-direction: column; gap: 14px; margin-top: 26px; }
    #contents03 .price_minis .sha_mini { width: 100%; }
    #ai .ai_core, #ai .ai_core b { font-size: 15px; line-height: 26px; }
}
@media only screen and (max-width:640px) {
    #main .mainrow { position: absolute; top: 15%; left: 0; right: 0; width: 90%; margin: 0 auto; }
    #main .mainrow .maintext { position: static; width: auto; }
    #main .submaintext { font-size: 19px; line-height: 30px; top: 40%; }
}
#main .maintext img.mtlogo { display: inline-block; width: auto; height: 1.4em; vertical-align: -0.38em; margin-right: 6px; }
/* キャッチを1行で */
#main .mainrow { width: 1100px; }
#main .mainrow .maintext { font-size: 44px; line-height: 1.6em; white-space: nowrap; }
#main .mainrow .maintext img.mtlogo { margin-left: 6px; }
#main .freee5badge, #main .submaintext { width: 1100px; }
@media only screen and (max-width:1150px) {
    #main .mainrow, #main .freee5badge, #main .submaintext { width: 820px; }
    #main .mainrow .maintext { font-size: 32px; }
}
@media only screen and (max-width:640px) {
    #main .mainrow, #main .freee5badge, #main .submaintext { width: 92%; }
    #main .mainrow .maintext { font-size: 26px; line-height: 44px; white-space: normal; }
}
@media only screen and (max-width:1150px) and (min-width:641px) { #main .submaintext { font-size: 20px; } }
@media only screen and (max-width:640px) {
    #main .mainrow { top: 16.5%; }
    #main .submaintext { top: 32%; font-size: 18px; line-height: 29px; }
}
/* 代表者写真：白背景なので細い枠を付ける */
.about_contents02 .daihyouarea li .img img { border: 1px solid #d9d9d9; }
/* 当事務所の考え方：見出し部分の高さをそろえ、本文の開始位置を統一 */
.service_contents03 .servicebox li .box img {
    width: auto !important; height: 44px; vertical-align: middle;
}
.service_contents03 .servicebox li .box h2 { line-height: 44px; vertical-align: middle; }
.service_contents03 .servicebox li .box p { margin-top: 18px; }

/* ---------- 料金：社労士顧問料・給与計算に含まれるもの（テキスト版） ---------- */
.price_contents05 .sha_incl { width: 880px; margin: 56px auto 0; text-align: left; }
.price_contents05 .sha_incl .si_head {
    background: #1891D0; color: #fff; text-align: center; letter-spacing: 1px; padding: 16px 10px;
    font: normal normal bold 22px/32px hiragino-w6, "Noto Sans JP", sans-serif;
}
.price_contents05 .sha_incl .si_head span { color: #FFD95E; font-size: inherit; width: auto; display: inline; }
.price_contents05 .si_table { width: 100%; border-collapse: collapse; background: #fff; table-layout: fixed; }
.price_contents05 .si_table th,
.price_contents05 .si_table td { border: 1.5px solid #1891D0; vertical-align: middle; }
.price_contents05 .si_table th {
    background: #BEE0F2; letter-spacing: 6px; padding: 12px; text-align: center;
    font: normal normal normal 16px/24px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434;
}
.price_contents05 .si_table .k { width: 28%; }
.price_contents05 .si_table .d { width: 72%; }
.price_contents05 .si_table td { padding: 16px 18px; }
.price_contents05 .si_table td.k {
    text-align: center; color: #1891D0; font: normal normal bold 17px/26px hiragino-w6, "Noto Sans JP", sans-serif;
}
.price_contents05 .si_table td.d {
    text-align: left; color: #343434; font: normal normal normal 16px/27px hiragino-w4, "Noto Sans JP", sans-serif;
}
.price_contents05 .si_table td.d small {
    display: block; width: 100%; text-align: left; margin-top: 2px;
    font: normal normal normal 13px/22px hiragino-w4, "Noto Sans JP", sans-serif; color: #555;
}
.price_contents05 .si_table td.sec {
    background: #FFD95E; color: #1891D0; text-align: center; padding: 8px;
    font: normal normal bold 16px/24px hiragino-w6, "Noto Sans JP", sans-serif;
}
.price_contents05 .sha_incl .si_note {
    text-align: left; margin-top: 12px; font: normal normal normal 13px/23px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434;
}
@media only screen and (max-width:1024px) { .price_contents05 .sha_incl { width: 90%; } }
@media only screen and (max-width:640px) {
    .price_contents05 .sha_incl { width: 92%; margin-top: 36px; }
    .price_contents05 .sha_incl .si_head { font-size: 17px; line-height: 26px; padding: 12px 8px; }
    .price_contents05 .si_table .k { width: 34%; }
    .price_contents05 .si_table .d { width: 66%; }
    .price_contents05 .si_table th { font-size: 14px; letter-spacing: 3px; padding: 8px; }
    .price_contents05 .si_table td { padding: 12px 10px; }
    .price_contents05 .si_table td.k { font-size: 14px; line-height: 21px; }
    .price_contents05 .si_table td.d { font-size: 14px; line-height: 23px; }
    .price_contents05 .si_table td.d small { font-size: 12px; line-height: 19px; }
    .price_contents05 .si_table td.sec { font-size: 14px; }
    .price_contents05 .sha_incl .si_note { font-size: 12px; line-height: 20px; }
}
/* 含まれるもの：白地の行の高さを均等に */
.price_contents05 .si_table td.k, .price_contents05 .si_table td.d { height: 60px; }
@media only screen and (max-width:640px) {
    .price_contents05 .si_table td.k, .price_contents05 .si_table td.d { height: 96px; }
}

/* =====================================================================
   料金表（画像→テキスト化）
   ===================================================================== */
.pt_band, .pt_band *, .pt_incl, .pt_incl *, .pk_wrap, .pk_wrap *, .sh_grid, .sh_grid * { box-sizing: border-box; }
/* --- 帯型の料金表（月額サポート・決算） --- */
.pt_band { display: table; margin: 0 auto; border-collapse: separate; }
.pt_support { width: 390px; }
.pt_kessan { width: 580px; }
.pt_band .pt_r { display: table-row; }
.pt_band .pt_c { display: table-cell; vertical-align: top; padding: 5px 0; }
.pt_band .pt_tabs .pt_c { padding: 0; vertical-align: bottom; }
.pt_band .pt_lab { width: 50%; }
.pt_kessan .pt_lab { width: 32%; }
.pt_band .pt_val { width: 40%; border-left: 1px solid #1891D0; border-right: 1px solid #1891D0; }
.pt_kessan .pt_val { width: 27%; }
.pt_band .pt_gap { width: 3%; }
.pt_band .pt_tail { width: 7%; }
.pt_kessan .pt_tail { width: 4%; }
.pt_band .pt_tabs .pt_val { border: none; }
.pt_band .pt_r.pt_last .pt_val { padding-bottom: 0; }
.pt_band .pt_r.pt_last .pt_val .pt_in { border-bottom: 1px solid #1891D0; }
.pt_band .pt_r.pt_last .pt_c:not(.pt_val) { padding-bottom: 0; }
.pt_band .pt_in {
    display: flex; align-items: center; justify-content: center; height: 54px; background: #E8F4FA; margin: 0;
    font: normal normal normal 15px/22px hiragino-w6, "Noto Sans JP", sans-serif; color: #343434; letter-spacing: .3px;
}
.pt_band .pt_val .pt_in { margin: 0 -1px; border-left: 1px solid #1891D0; border-right: 1px solid #1891D0; }
.pt_band .pt_lab .pt_in { color: #1891D0; border-radius: 6px 0 0 6px; }
.pt_band .pt_tail .pt_in { border-radius: 0 6px 6px 0; }
.pt_band .pt_in.pt_est { font-family: hiragino-w4, "Noto Sans JP", sans-serif; }
.pt_band .pt_tab {
    margin: 0 -1px; background: #FFDA5C; border-radius: 6px 6px 0 0; padding: 8px 4px; border: 1px solid #FFDA5C; border-bottom: none;
    font: normal normal bold 15px/22px hiragino-w6, "Noto Sans JP", sans-serif; color: #1891D0;
}
.pt_kessan .pt_tab { background: #FFBAC9; border-color: #FFBAC9; }
.pt_band .pt_tab .pt_tag {
    display: inline-block; width: auto; background: #1891D0; color: #fff; margin-left: 8px; padding: 0 8px;
    font: normal normal bold 15px/22px hiragino-w6, "Noto Sans JP", sans-serif;
}
.pt_note { text-align: left; font: normal normal normal 12px/20px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434; margin: 8px auto 0; }
.pt_support + .pt_note { width: 390px; }
.price_contents05 .pt_note { width: 880px; }

/* --- 含まれるもの（青い見出し帯の表） --- */
.pt_incl { width: 880px; margin: 46px auto 0; position: relative; text-align: left; }
.pt_incl .pt_ihead {
    position: relative; background: #1891D0; color: #fff; text-align: center; padding: 14px 10px; letter-spacing: 1px;
    font: normal normal bold 20px/30px hiragino-w6, "Noto Sans JP", sans-serif;
}
.pt_incl .pt_ihead::before {
    content: ""; position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 18px solid #1891D0; width: 0;
}
.pt_incl .pt_ihead .y { color: #FFDA5C; font-size: inherit; width: auto; }
.pt_incl .pt_ihead .p { color: #FFBAC9; font-size: inherit; width: auto; }
.pt_incl .pt_ihead .pt_htag {
    display: inline-block; width: auto; background: #fff; color: #1891D0; padding: 0 10px; margin-right: 10px;
    font: normal normal bold 16px/26px hiragino-w6, "Noto Sans JP", sans-serif; letter-spacing: 0;
}
.pt_itable { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; }
.pt_itable th, .pt_itable td { border: 1px solid #1891D0; vertical-align: middle; text-align: center; }
.pt_itable th {
    background: #BADEF1; padding: 10px 6px; letter-spacing: 6px;
    font: normal normal normal 15px/22px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434;
}
.pt_itable td { padding: 12px 10px; height: 66px; font: normal normal normal 15px/24px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434; }
.pt_itable td.k { font: normal normal normal 16px/24px hiragino-w6, "Noto Sans JP", sans-serif; color: #1891D0; }
.pt_itable td.l { text-align: left; padding-left: 16px; }
.pt_itable td small { display: block; width: 100%; font: normal normal normal 11.5px/18px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434; margin-top: 2px; text-align: inherit; }
.pt_itable td.slash { background: linear-gradient(to top right, transparent calc(50% - .6px), #1891D0 calc(50% - .6px), #1891D0 calc(50% + .6px), transparent calc(50% + .6px)); }
.pt_incl_support .c1 { width: 21%; } .pt_incl_support .c2 { width: 17%; } .pt_incl_support .c3 { width: 13.5%; } .pt_incl_support .c4 { width: 48.5%; }
.pt_incl_support .pt_ihead::before { left: 50%; }
.pt_kincls { width: 580px; margin: 46px auto 0; display: flex; gap: 0 4%; justify-content: flex-end; }
.pt_kincls .pt_incl_k { width: 48%; flex: 0 0 48%; margin: 0; }
.pt_kincls .pt_incl_k .pt_ihead { font-size: 17px; line-height: 26px; padding: 12px 6px; }
.pt_kincls .pt_incl_k .pt_ihead .pt_htag { font-size: 13px; line-height: 22px; margin-right: 6px; padding: 0 6px; }

/* --- ピンクのオプション表 --- */
.pk_wrap {
    width: 880px; margin: 0 auto; background: #F5F5F5; padding: 36px 40px 40px;
    display: flex; flex-wrap: wrap; gap: 30px 40px; align-items: flex-start; text-align: left;
}
.pk_wrap .pk_blk { flex: 1 1 0; width: auto; min-width: 0; }
.pk_wrap .pk_t { text-align: left; font: normal normal bold 21px/30px hiragino-w6, "Noto Sans JP", sans-serif; color: #D95D96; margin-bottom: 14px; }
.pk_table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pk_table th {
    background: #D95D96; color: #fff; padding: 9px 4px; border-right: 2px solid #F5F5F5;
    font: normal normal normal 15px/22px hiragino-w4, "Noto Sans JP", sans-serif;
}
.pk_table th:last-child { border-right: none; }
.pk_table td {
    background: #fff; border-bottom: 1px solid #D95D96; padding: 11px 6px; text-align: center;
    font: normal normal normal 15px/22px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434;
}
.pk_table td.k { background: #FDE6EE; }
.pk_table td small { display: block; width: 100%; font: normal normal normal 12px/18px hiragino-w4, "Noto Sans JP", sans-serif; color: #555; text-align: inherit; margin-top: 2px; }
.pk_table.pk_l td.k { text-align: left; padding-left: 12px; }
.pk_table.pk_l th.v { width: 34%; }
.pk_note { text-align: left; font: normal normal normal 12px/20px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434; margin-top: 8px; }
.pk_bubble {
    position: relative; flex: 0 0 66%; width: 66%; border: 1px solid #D95D96; background: #F5F5F5; padding: 18px 20px;
    display: flex; gap: 0 22px; margin-top: 4px;
}
.pk_bubble::before, .pk_bubble::after { content: ""; position: absolute; left: 50px; width: 0; border-left: 11px solid transparent; border-right: 11px solid transparent; }
.pk_bubble::before { top: -15px; border-bottom: 15px solid #D95D96; }
.pk_bubble::after { top: -13px; border-bottom: 14px solid #F5F5F5; left: 50px; }
.pk_bubble .pk_bcol { flex: 1 1 0; width: auto; }
.pk_bubble .pk_bt { text-align: left; font: normal normal normal 15px/24px hiragino-w6, "Noto Sans JP", sans-serif; color: #D95D96; }
.pk_bubble .pk_bd { text-align: left; font: normal normal normal 14px/26px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434; }
.pk_sha { margin-top: 0; }
.pk_sha .pk_table.pk_l th.v { width: 32%; }

/* --- 社労士 従業員数別の料金表 --- */
.sh_grid { width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; column-gap: 14px; }
.sh_grid .sh_blank { width: auto; }
.sh_grid .sh_tab {
    width: auto; background: #FFDA5C; color: #1891D0; text-align: center; border-radius: 12px 12px 0 0; padding: 10px 6px;
    font: normal normal bold 17px/23px hiragino-w6, "Noto Sans JP", sans-serif;
}
.sh_grid .sh_tab small { display: block; width: 100%; font: normal normal normal 12px/18px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434; }
.sh_grid .sh_c {
    width: auto; height: 64px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; background: #E8F4FA;
    font: normal normal normal 19px/26px hiragino-w6, "Noto Sans JP", sans-serif; color: #343434;
}
.sh_grid .sh_lab { color: #1891D0; border-radius: 8px; }
.sh_grid .sh_v { border-left: 1.5px solid #1891D0; border-right: 1.5px solid #1891D0; }
.sh_grid .sh_v.sh_last { border-bottom: 1.5px solid #1891D0; }
.sh_grid .pt_est { font-family: hiragino-w4, "Noto Sans JP", sans-serif; font-size: 16px; }
.sh_ex {
    width: 880px; margin: 18px auto 0; border: 2px solid #1891D0; border-radius: 10px; padding: 14px 18px; background: #fff; text-align: left;
    font: normal normal normal 15px/27px hiragino-w4, "Noto Sans JP", sans-serif; color: #343434;
}
.sh_ex b { color: #1891D0; font-family: hiragino-w6, sans-serif; font-weight: bold; font-size: 15px; }

@media only screen and (max-width:1024px) {
    .pt_incl, .pk_wrap, .sh_grid, .sh_ex, .price_contents05 .pt_note { width: 92%; }
}
@media only screen and (max-width:640px) {
    .pt_support, .pt_support + .pt_note { width: 92%; }
    .pt_kessan { width: 96%; }
    .pt_band .pt_in { height: 48px; font-size: 12.5px; line-height: 18px; }
    .pt_support .pt_in { font-size: 14px; }
    .pt_band .pt_tab { font-size: 12px; line-height: 18px; padding: 6px 2px; }
    .pt_band .pt_tab .pt_tag { display: block; width: fit-content; margin: 2px auto 0; font-size: 12px; line-height: 18px; }
    .pt_incl { width: 92%; margin-top: 36px; }
    .pt_incl .pt_ihead { font-size: 16px; line-height: 24px; padding: 10px 6px; }
    .pt_incl_support .pt_scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .pt_incl_support .pt_itable { min-width: 760px; }
    .pt_kincls { width: 92%; flex-direction: column; gap: 36px 0; }
    .pt_kincls .pt_incl_k { width: 100%; flex: 0 0 auto; }
    .pt_kincls .pt_incl_k .pt_ihead { font-size: 16px; }
    .pk_wrap { width: 100%; padding: 26px 4%; flex-direction: column; gap: 30px 0; }
    .pk_wrap .pk_blk { width: 100%; flex: 0 0 auto; }
    .pk_wrap .pk_t { font-size: 18px; line-height: 26px; }
    .pk_table th, .pk_table td { font-size: 14px; }
    .pk_bubble { width: 100%; flex: 0 0 auto; flex-direction: column; gap: 14px 0; }
    .sh_grid { width: 96%; grid-template-columns: .95fr 1fr 1fr 1fr; column-gap: 6px; }
    .sh_grid .sh_tab { font-size: 13px; line-height: 18px; padding: 8px 2px; border-radius: 8px 8px 0 0; }
    .sh_grid .sh_tab small { font-size: 10px; line-height: 14px; }
    .sh_grid .sh_c { height: 50px; margin-bottom: 8px; font-size: 14px; }
    .sh_grid .pt_est { font-size: 11px; line-height: 15px; }
    .sh_ex { width: 96%; font-size: 13px; line-height: 23px; padding: 10px 12px; }
    .sh_ex b { font-size: 13px; }
    .price_contents05 .pt_note { width: 96%; }
}
.pk_wrap .pk_blk { flex: 1 1 calc(33.3% - 30px); }
.pk_wrap.pk_sha .pk_blk { flex: 1 1 calc(50% - 20px); }
.pk_table th { text-align: center; }
@media only screen and (max-width:640px) { .pk_wrap .pk_blk, .pk_wrap.pk_sha .pk_blk { flex: 0 0 auto; } }
.pk_wrap:not(.pk_sha) .pk_table td:last-child { white-space: nowrap; letter-spacing: -.2px; }
.pt_scrollnote { display: none; }
.pt_band .pt_unit { font-size: inherit; width: auto; display: inline; }
@media only screen and (max-width:640px) {
    .pt_scrollnote { display: block; text-align: right; font: normal normal normal 11px/18px hiragino-w4, sans-serif; color: #555; margin: 6px 0 2px; }
    .pt_kessan .pt_in { flex-direction: column; font-size: 12.5px; line-height: 16px; }
    .pt_kessan .pt_unit { display: block; font-size: 10.5px; }
    .pt_kessan .pt_lab .pt_in { font-size: 11.5px; }
    .pt_incl_support { overflow: hidden; }
}
/* 決算料金：列幅の合計を100%にし、含まれるものの三角を法人・個人の列の中心に合わせる */
.pt_kessan .pt_lab { width: 34%; }
.pt_kessan .pt_val { width: 28%; }
.pt_kessan .pt_gap { width: 3%; }
.pt_kessan .pt_tail { width: 7%; }
/* 列の中心：法人 48%／個人 79%（表の幅に対して） */
.pt_kincls { display: block; position: relative; height: auto; }
.pt_kincls::after { content: ""; display: block; clear: both; }
.pt_kincls .pt_incl_k { float: left; width: 42%; }
.pt_kincls .pt_incl_k:nth-child(1) { margin-left: 20%; }
.pt_kincls .pt_incl_k:nth-child(2) { margin-left: 4%; margin-right: -8%; }
.pt_kincls .pt_incl_k:nth-child(1) .pt_ihead::before { left: calc((48% - 20%) / 42% * 100%); left: 66.67%; }
.pt_kincls .pt_incl_k:nth-child(2) .pt_ihead::before { left: 30.95%; }
@media only screen and (max-width:640px) {
    .pt_kincls { width: 96%; }
    .pt_kincls .pt_incl_k { float: none; width: 100%; margin: 0 0 36px 0 !important; }
    .pt_kincls .pt_incl_k:nth-child(1) .pt_ihead::before { left: 48%; }
    .pt_kincls .pt_incl_k:nth-child(2) .pt_ihead::before { left: 79%; }
}
@media only screen and (min-width:641px) {
    .pt_kincls .pt_incl_k .pt_ihead { font-size: 14.5px; letter-spacing: 0; padding: 12px 4px; white-space: nowrap; }
    .pt_kincls .pt_incl_k .pt_ihead .pt_htag { font-size: 12px; margin-right: 5px; padding: 0 5px; }
}
/* 料金欄：社労士の枠と見出しもfreee会計と同じ青に */
#contents03 .sha_mini { border-color: #1891D0; }
#contents03 .sha_mini .sm_t { color: #1891D0; }
/* ヘッダー：事務所名の右隣にfreee認定アドバイザー5つ星マーク */
header hgroup .headerlogo { top: 22px; }
header hgroup .headerlogo a { display: flex; align-items: center; gap: 0 12px; width: auto; }
header hgroup .headerlogo .logo_names { display: block; width: auto; }
header hgroup .headerlogo .logo_badge { display: block; width: 58px; height: 58px; flex: 0 0 58px; }
@media only screen and (max-width:640px) {
    header hgroup .headerlogo { top: auto; }
    header hgroup .headerlogo a { gap: 0 6px; }
    header hgroup .headerlogo .logo_badge { width: 34px; height: 34px; flex: 0 0 34px; }
}
/* ページ上部（ヘッダー）：スクロール時に背景が透けて見える半透明に */
header.bg,
.subpage header {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
@media only screen and (max-width:640px) {
    header { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
}
