@charset "UTF-8";
/*! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-tap-highlight-color: transparent;
  /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
  /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type=checkbox] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px;
  /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit;
  /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

a,
span {
  display: inline-block;
}

@media screen and (max-width: 1439px) and (min-width: 480px) {
  html {
    font-size: calc(16 / 1440 * 100vw);
  }
}
@media screen and (max-width: 374px) {
  html {
    font-size: calc(16 / 375 * 100vw);
  }
}

body {
  color: #313131;
  font-family: "Noto Sans JP", "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt";
}

a {
  text-decoration: none;
  transition: opacity 0.3s ease;
  color: inherit;
}
@media (hover: hover) {
  a:hover {
    cursor: pointer;
    opacity: 0.7;
  }
}
@media (min-width: 600px) {
  a[href^="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}

picture,
img,
a,
span {
  display: inline-block;
}

video,
img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  appearance: none;
}

input,
textarea,
select {
  font: inherit;
  max-width: 100%;
  appearance: none;
}

:focus-visible {
  outline: 2px solid #0C59F2;
  outline-offset: 2px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

::selection {
  background: rgba(253, 122, 35, 0.2);
}

/* 基本
***************************************************************/
html {
  font-size: 16px;
}

@media (min-width: 960px) {
  body {
    min-width: 1200px;
  }
}
/* セクション幅
***************************************************************/
section {
  padding: 80px 0;
}

.inner {
  padding: 0 20px;
}

@media (min-width: 960px) {
  section {
    padding: 100px 0;
  }
  .inner {
    padding: 0;
  }
}
/* PC・SP 非表示
***************************************************************/
.sp_only {
  display: block !important;
}

.pc_only {
  display: none !important;
}

@media (min-width: 960px) {
  .sp_only {
    display: none !important;
  }
  .pc_only {
    display: block !important;
  }
}
/* 共通パーツ (全ページ)
***************************************************************/
.section_title {
  text-align: center;
}

.section_title .en {
  font-size: 10px;
  display: block;
}

.section_title .ja {
  font-size: 24px;
  font-weight: bold;
  position: relative;
  display: block;
}

.section_title .ja::before {
  content: "";
  display: inline-block;
  width: 26px;
  border-top: 2px solid #000;
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translate(-50%, 0);
}

@media (min-width: 960px) {
  .section_title .en {
    font-size: 12px;
  }
  .section_title .ja {
    font-size: 30px;
  }
  .section_title .ja::before {
    width: 30px;
    bottom: -20px;
  }
}
.fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.7);
  transition: 0.3s;
}

.home .fixed {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.home .fixed.active {
  opacity: 1;
  visibility: visible;
}

.fixed.none {
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.fixed_content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.fixed_link {
  color: #fff;
  text-align: center;
  background: #333;
  padding: 10px 0;
  border-radius: 30px;
  font-size: 14px;
}

@media (min-width: 960px) {
  .fixed {
    display: none;
  }
}
/* 共通パーツ(下層)
***************************************************************/
.page_fv {
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.page_fv_title {
  font-size: 20px;
  font-weight: bold;
}

@media (min-width: 960px) {
  .page_fv {
    padding: 120px 0;
  }
  .page_fv_title {
    font-size: 40px;
  }
}
/*===================================================
ヘッダー
===================================================*/
/*===================================================
フッター
===================================================*/
/* お問い合わせ
***************************************************************/
.contact {
  background: #ccc;
}

.contact_form {
  max-width: 900px;
  background: #fff;
  margin: 80px auto 0;
  padding: 60px;
}

.contact_list {
  display: flex;
  flex-flow: column;
  gap: 37px;
}

.contact_item {
  display: flex;
  align-items: flex-start;
}

.contact_item_title {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 235px;
  padding-top: 10px;
}

.contact_item:nth-of-type(5) .contact_item_title {
  padding-top: 0;
}

.req {
  font-size: 12px;
  letter-spacing: 0.1em;
  line-height: 18px;
  width: 60px;
  padding: 4px 10px;
  border-radius: 4px;
  text-align: center;
  background: #D23E3E;
  color: #fff;
}

.contact_area {
  flex: 1;
}

.contact_area span {
  width: 100%;
}

.contact_area input {
  width: 100%;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px 10px;
}

.contact_area textarea {
  width: 100%;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 5px 10px;
  height: 245px;
  resize: none;
}

.wpcf7-checkbox {
  display: flex;
  gap: 30px;
}

.wpcf7-checkbox .wpcf7-list-item {
  width: auto;
  margin: 0;
}

.contact_area label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.contact_area label input {
  width: 15px;
  height: 15px;
  border: unset;
  padding: 0;
  background: unset;
}

.contact_area label span {
  width: auto;
}

.contact_privacy {
  overflow-y: scroll;
  border: 1px solid #CBCBCB;
  margin-top: 64px;
}

.contact_privacy_scroll {
  height: 240px;
  padding: 40px 24px;
}

.contact_privacy_title {
  text-align: center;
  font-weight: bold;
}

.contact_privacy_list {
  display: flex;
  flex-flow: column;
  gap: 16px;
  margin-top: 16px;
  padding-bottom: 40px;
}

.contact_check {
  text-align: center;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact_check input {
  width: 24px;
  height: 24px;
}

.contact_check a {
  color: #333;
  text-decoration: underline;
}

.contact_submit {
  margin: 50px auto 0;
  width: 360px;
  text-align: center;
  font-size: 20px;
  position: relative;
  background: #333;
  border: 2px solid #333;
  border-radius: 40px;
  color: #fff;
  transition: 0.3s;
}

.contact_submit input {
  width: 100%;
  border: unset;
  padding: 12px 0;
}

.wpcf7-spinner {
  display: none;
}

.thanks {
  background: #fff;
  text-align: center;
  padding: 75px 0;
}

.thanks_title {
  font-size: 40px;
  letter-spacing: 0.1em;
  font-weight: 900;
}

.thanks_text {
  margin-top: 20px;
}

.thanks_btn {
  margin: 50px auto 0;
  width: 360px;
  text-align: center;
  font-size: 20px;
  position: relative;
  background: #333;
  border: 2px solid #333;
  border-radius: 40px;
  color: #fff;
  padding: 12px 0;
  transition: 0.3s;
}

@media screen and (min-width: 681px) {
  .contact_submit:hover,
  .thanks_btn:hover {
    background: #fff;
    color: #333;
  }
}
@media screen and (max-width: 680px) {
  .contact_form {
    padding: 5.333vw;
  }
  .contact_list {
    flex-flow: column;
    gap: 8vw;
  }
  .contact_item {
    flex-flow: column;
    gap: 2.667vw;
  }
  .contact_item_title {
    font-size: 3.733vw;
    gap: 3.467vw;
    padding-top: 0;
    width: 100%;
  }
  .req {
    width: 10.667vw;
    font-size: 2.667vw;
    line-height: 4.8vw;
    padding: 0.533vw 0;
  }
  .contact_area input {
    font-size: 3.733vw;
    border-radius: 1.067vw;
    padding: 2.667vw;
  }
  .contact_area textarea {
    font-size: 3.733vw;
    border-radius: 1.067vw;
    padding: 2.667vw;
    height: 65.333vw;
  }
  .contact_privacy {
    margin-top: 10.667vw;
  }
  .contact_privacy_scroll {
    height: 48vw;
    padding: 5.333vw 4vw;
  }
  .contact_privacy_title {
    font-size: 3.733vw;
  }
  .contact_privacy_list {
    font-size: 3.733vw;
    gap: 3.733vw;
    margin-top: 3.733vw;
    padding-bottom: 5.333vw;
  }
  .wpcf7-checkbox {
    flex-flow: column;
    gap: 2.667vw;
    margin-top: 2.667vw;
  }
  .contact_check {
    font-size: 3.2vw;
    margin-top: 8vw;
    gap: 1.333vw;
  }
  .contact_check input {
    width: 5.867vw;
    height: 5.867vw;
  }
  .contact_submit {
    margin: 13.333vw auto 0;
    width: 78.667vw;
    font-size: 4vw;
  }
  .contact_submit::after {
    width: 3.733vw;
    height: 1.867vw;
    right: 24vw;
  }
  .thanks {
    padding: 5.333vw 0;
  }
  .thanks_title {
    font-size: 5.333vw;
  }
  .thanks_text {
    margin-top: 5.333vw;
    font-size: 3.467vw;
  }
  .thanks_btn {
    margin: 5.333vw auto 0;
    width: 78.667vw;
    font-size: 4vw;
  }
}
/*===================================================
トップページ
===================================================*/
/* ダミー */
section {
  padding: 200px 0;
  width: 100%;
  background: #ccc;
}

section h1,
section h2 {
  text-align: center;
}

@media screen and (max-width: 680px) {
  section {
    padding: vw(100) 0;
  }
}
/* /ダミー */
/* FV
***************************************************************/
/* About
***************************************************************/
/* Service
***************************************************************/
/* Company
***************************************************************/
/* News
***************************************************************/
/* section1
***************************************************************/
/* section2
***************************************************************/
/* section3
***************************************************************/
/* section4
***************************************************************/
/* 会計ページではヘッダー/フッターを消す（セレクタは環境により微調整） */
.page-template-accounting header,
.page-template-accounting footer {
  display: none !important;
}

/* 消した分、余白も不要に */
.page-template-accounting .accounting-app {
  padding: 0 !important;
}

/**
 * ========================================
 * 収支管理システム スタイル
 * ========================================
 */
/* ========== 変数定義 ========== */
/* ========== コンテナ ========== */
.acc-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

/* ========== ヘッダー ========== */
.acc-header {
  text-align: center;
  margin-bottom: 30px;
}

.acc-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 8px 0;
  color: #333;
}

.acc-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ========== ロゴ ========== */
.acc-logo {
  font-size: 48px;
  margin-bottom: 12px;
}

/* ========== 戻るリンク ========== */
.acc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 8px 16px;
  color: #2c5aa0;
  background: rgba(44, 90, 160, 0.1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s;
}
.acc-back-link:hover {
  background: rgba(44, 90, 160, 0.15);
}
.acc-back-link:active {
  transform: scale(0.98);
}
.acc-back-link i {
  font-size: 14px;
}

/* ========== アクションボタン（アイコン付き） ========== */
.acc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.acc-btn i {
  font-size: 18px;
}
.acc-btn:active {
  transform: scale(0.97);
}

.acc-btn-success {
  background: linear-gradient(135deg, #4caf50 0%, #3d8b40 100%);
  color: #fff;
  border-color: #357a38;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
.acc-btn-success:hover {
  background: linear-gradient(135deg, #449d48 0%, #357a38 100%);
}

.acc-btn-secondary {
  background: #fff;
  color: #666;
  border-color: #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.acc-btn-secondary:hover {
  background: #f5f5f5;
}

.acc-btn-block {
  width: 100%;
}

/* ========== フォームアクション ========== */
.acc-form-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

/* ========== カードアイコン（Font Awesome用） ========== */
.acc-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: rgba(0, 0, 0, 0.6);
}

/* ========== 総合計の改善 ========== */
.acc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: #666;
  margin: 4px 0;
}
.acc-total-row.acc-total-main {
  font-size: 20px !important;
  font-weight: bold !important;
  color: #333 !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.acc-total-divider {
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  color: #999;
  margin: 8px 0;
}

/* ========== 読み込み中 ========== */
.acc-loading {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 16px;
}

/* ========== サマリーカード ========== */
.acc-summary {
  margin-bottom: 30px;
}

.acc-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.acc-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.acc-card:active {
  transform: scale(0.98);
}

.acc-card-income {
  background: linear-gradient(135deg, #e8f5e9 0%, #fafdfa 100%);
  border-color: #b3deb6;
}

.acc-card-expense {
  background: linear-gradient(135deg, #ffebee 0%, white 100%);
  border-color: #ff9fad;
}

.acc-card-balance {
  background: linear-gradient(135deg, #e3f2fd 0%, #fbfdff 100%);
  border-color: #9cd1f8;
}

.acc-card-icon {
  font-size: 48px;
  line-height: 1;
}

.acc-card-content {
  flex: 1;
}

.acc-card-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

.acc-card-value {
  font-size: 28px;
  font-weight: bold;
  color: #333;
}

/* ========== 総合計 ========== */
.acc-total {
  background: linear-gradient(135deg, #fff9c4 0%, #fffcde 100%);
  border: 2px solid #ffef5e;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.acc-total div {
  margin: 4px 0;
  font-size: 14px;
  color: #666;
}

.acc-total-main {
  font-size: 24px !important;
  font-weight: bold !important;
  color: #333 !important;
  margin-top: 8px !important;
}

/* ========== アクションボタン ========== */
.acc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
}

.acc-btn {
  display: inline-block;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.acc-btn:active {
  transform: scale(0.97);
}

.acc-btn-primary {
  background: linear-gradient(135deg, #2c5aa0 0%, #214478 100%);
  color: #fff;
  border-color: #1c3864;
  box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}
.acc-btn-primary:hover {
  background: linear-gradient(135deg, #274f8c 0%, #1c3864 100%);
}

.acc-btn-secondary {
  background: #fff;
  color: #333;
  border-color: #e0e0e0;
}
.acc-btn-secondary:hover {
  background: #f5f5f5;
}

/* ========== フォーム ========== */
.acc-form {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.acc-field {
  margin-bottom: 20px;
}
.acc-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 15px;
}
.acc-field input[type=date],
.acc-field input[type=text],
.acc-field input[type=number],
.acc-field select,
.acc-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
.acc-field input[type=date]:focus,
.acc-field input[type=text]:focus,
.acc-field input[type=number]:focus,
.acc-field select:focus,
.acc-field textarea:focus {
  outline: none;
  border-color: #2c5aa0;
}
.acc-field textarea {
  resize: vertical;
  min-height: 80px;
}
.acc-field small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #999;
}

.acc-field-inline label {
  display: flex;
  align-items: center;
  font-weight: normal;
}
.acc-field-inline label input[type=checkbox] {
  width: auto;
  margin-right: 8px;
}

.required {
  color: #f44336;
  font-weight: bold;
}

/* ========== メッセージ ========== */
.form-message {
  margin-top: 20px;
  padding: 16px;
  border-radius: 8px;
  font-size: 15px;
  text-align: center;
}
.form-message.success {
  background: #d4edda;
  border: 2px solid #c3e6cb;
  color: #155724;
}
.form-message.error {
  background: #f8d7da;
  border: 2px solid #f5c6cb;
  color: #721c24;
}

/* ========== レスポンシブ（タブレット以上） ========== */
@media (min-width: 768px) {
  .acc-container {
    padding: 40px 20px;
  }
  .acc-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .acc-actions {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
.acc-error {
  padding: 20px;
  background: #ffebee;
  border: 2px solid #f44336;
  border-radius: 8px;
  color: #c62828;
  text-align: center;
}

/* ========== 帳元専用ページ ========== */
.acc-logout-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  color: #666;
  background: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: all 0.3s;
}
.acc-logout-link:hover {
  background: #e0e0e0;
}
.acc-logout-link i {
  font-size: 13px;
}

.acc-unpaid-summary {
  background: linear-gradient(135deg, #fff9c4 0%, #fff59d 100%);
  border: 2px solid #ffd54f;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  gap: 30px;
  align-items: center;
}

.acc-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acc-summary-label {
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.acc-summary-value {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.acc-unpaid-list {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.acc-unpaid-item {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.acc-unpaid-item:last-child {
  border-bottom: none;
}

.acc-unpaid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.acc-unpaid-person {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.acc-unpaid-date {
  font-size: 14px;
  color: #999;
}

.acc-unpaid-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.acc-unpaid-amount {
  font-size: 22px;
  font-weight: bold;
  color: #f44336;
}

.acc-empty-state {
  background: #fff;
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.acc-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.acc-empty-text {
  font-size: 16px;
  color: #999;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .acc-unpaid-summary {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
/* ========== 帳元専用リンク ========== */
.acc-treasurer-link {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.acc-link-secondary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: #666;
  font-weight: 500;
  transition: all 0.3s;
}
.acc-link-secondary:hover {
  background: #e8e8e8;
  border-color: #c7c7c7;
}
.acc-link-secondary:active {
  transform: scale(0.98);
}
.acc-link-secondary i:first-child {
  font-size: 18px;
  margin-right: 12px;
}
.acc-link-secondary span {
  flex: 1;
}
.acc-link-secondary i:last-child {
  font-size: 14px;
  opacity: 0.5;
}

/* ========== 画像アップロード ========== */
.acc-file-input {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.3s;
}
.acc-file-input:hover {
  border-color: #c7c7c7;
}
.acc-file-input:focus {
  outline: none;
  border-color: #2c5aa0;
}

.acc-image-preview {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.acc-image-preview img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  transition: transform 0.2s, border-color 0.2s;
}
.acc-image-preview img:hover {
  transform: scale(1.05);
  border-color: #adadad;
}

/* ========== 会計区分タブ ========== */
.acc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.acc-tab {
  flex: 1;
  min-width: 80px;
  padding: 12px 16px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.acc-tab:hover {
  background: #f5f5f5;
  border-color: #bdbdbd;
}
.acc-tab.active {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%);
  border-color: #1e4080;
  color: #fff;
}
.acc-tab:active {
  transform: scale(0.97);
}

.acc-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s;
}

/* バッジのデフォルト状態（件数0） */
.acc-tab-badge.no-items {
  background: #e0e0e0;
  color: #999;
}

/* バッジに件数がある場合 */
.acc-tab-badge.has-items {
  background: #f44336;
  color: #fff;
  animation: badge-pulse 2s ease-in-out infinite;
}

/* アクティブなタブのバッジ */
.acc-tab.active .acc-tab-badge {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.acc-tab.active .acc-tab-badge.no-items {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* バッジのアニメーション */
@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
/* ========== 会計区分バッジ（リスト内） ========== */
.acc-account-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

.acc-account-badge-juugo {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #90caf9;
}

.acc-account-badge-town {
  background: #fff3e0;
  color: #f57c00;
  border: 1px solid #ffb74d;
}

.acc-account-badge-federation {
  background: #f3e5f5;
  color: #7b1fa2;
  border: 1px solid #ba68c8;
}

/* ========== レスポンシブ（モバイル） ========== */
@media (max-width: 600px) {
  .acc-tabs {
    gap: 6px;
  }
  .acc-tab {
    min-width: 70px;
    padding: 10px 12px;
    font-size: 13px;
  }
  .acc-tab-badge {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }
}
.treasurer-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.treasurer-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.treasurer-menu-item:hover {
  border-color: #2c5aa0;
  box-shadow: 0 4px 16px rgba(44, 90, 160, 0.15);
  transform: translateY(-2px);
}
.treasurer-menu-item:active {
  transform: scale(0.98);
}

.treasurer-menu-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 24px;
  background: rgba(44, 90, 160, 0.1);
  color: #2c5aa0;
  flex-shrink: 0;
}

.treasurer-menu-content {
  flex: 1;
}

.treasurer-menu-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.treasurer-menu-desc {
  font-size: 14px;
  color: #888;
}

.treasurer-menu-arrow {
  font-size: 16px;
  color: #ccc;
}

.fee-summary-card {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
  border: 2px solid #a5d6a7;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.fee-summary-rate {
  margin-bottom: 12px;
}

.fee-progress-bar {
  width: 100%;
  height: 12px;
  background: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 8px;
}

.fee-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #66bb6a);
  border-radius: 6px;
  transition: width 0.5s ease;
}

.fee-rate-text {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}
.fee-rate-text span {
  font-size: 14px;
  font-weight: normal;
  color: #666;
}

.fee-summary-amount {
  font-size: 14px;
  color: #666;
}

.fee-paid {
  font-weight: bold;
  color: #4caf50;
  font-size: 18px;
}

.fee-search {
  margin-bottom: 16px;
}

.fee-search-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 16px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}
.fee-search-input:focus {
  outline: none;
  border-color: #2c5aa0;
}

.fee-member-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 80px;
}

.fee-member-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: border-color 0.3s;
}

.fee-card-complete {
  border-left: 4px solid #4caf50;
}

.fee-card-unpaid {
  border-left: 4px solid #ff9800;
}

.fee-card-header {
  margin-bottom: 10px;
}

.fee-card-name {
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.fee-cat-tag {
  font-size: 13px;
  font-weight: normal;
  color: #888;
  margin-left: 4px;
}

.fee-first-year-badge {
  font-size: 12px;
  background: #fff3e0;
  color: #e65100;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid #ffcc80;
  margin-left: 6px;
  font-weight: 500;
}

.fee-card-birthday {
  font-size: 13px;
  color: #999;
  margin-top: 2px;
}

.fee-card-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.fee-status-item {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.fee-status-item.paid {
  background: #e8f5e9;
  color: #2e7d32;
}
.fee-status-item.unpaid {
  background: #fff3e0;
  color: #e65100;
}
.fee-status-item.exempt {
  background: #f5f5f5;
  color: #999;
}
.fee-status-item.ohana {
  background: #fce4ec;
  color: #c62828;
}

.fee-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.fee-record-btn {
  padding: 8px 16px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
}

.fee-bottom-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 20px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid #e0e0e0;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 100;
}
.fee-bottom-actions .acc-btn {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
}

.fee-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fee-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.fee-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px 16px 0 0;
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  animation: feeSlideUp 0.3s ease;
}

@keyframes feeSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.fee-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}
.fee-modal-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.fee-modal-close {
  font-size: 28px;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.fee-modal-body {
  padding: 20px;
}

.fee-modal-info {
  padding: 12px 16px;
  background: #f5f5f5;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 15px;
}

.fee-modal-footer {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid #eee;
}
.fee-modal-footer .acc-btn {
  flex: 1;
}

.fee-transfer-card {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3f9ff 100%);
  border: 2px solid #90caf9;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.fee-transfer-title {
  font-size: 16px;
  font-weight: 600;
  color: #1565c0;
  margin-bottom: 12px;
}

.fee-transfer-detail {
  margin-bottom: 16px;
}

.fee-transfer-bank {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.fee-transfer-account {
  font-size: 20px;
  font-weight: bold;
  color: #1565c0;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.fee-transfer-holder {
  font-size: 16px;
  color: #555;
}

.fee-copy-btn {
  width: 100%;
  margin-top: 8px;
}

.fee-amounts-card {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.fee-amounts-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.fee-amounts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  color: #555;
}

.fee-report-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fee-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f9f9f9;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}
.fee-checkbox-label:has(input:checked) {
  background: #e8f5e9;
  border-color: #4caf50;
}
.fee-checkbox-label input[type=checkbox] {
  width: 20px;
  height: 20px;
}
.fee-checkbox-label span {
  font-size: 16px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .fee-modal {
    align-items: center;
  }
  .fee-modal-content {
    border-radius: 16px;
    max-height: 80vh;
  }
}
/* ========== HIG: ナビゲーションバー ========== */
.acc-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  margin-bottom: 20px;
  border-bottom: 1px solid #e5e5ea;
}

.acc-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #007aff;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  padding: 8px 4px;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.acc-nav-back:hover {
  opacity: 0.7;
}

.acc-nav-back:active {
  opacity: 0.5;
}

.acc-nav-back i {
  font-size: 14px;
}

.acc-nav-title {
  font-size: 17px;
  font-weight: 600;
  color: #1c1c1e;
  text-align: center;
  flex: 1;
  margin: 0;
}

.acc-nav-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #8e8e93;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50%;
  transition: background 0.2s;
}

.acc-nav-action:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* ========== HIG: セグメントコントロール ========== */
.acc-segment-control {
  display: flex;
  background: #e5e5ea;
  border-radius: 9px;
  padding: 2px;
  margin-bottom: 16px;
}

.acc-segment {
  flex: 1;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 500;
  color: #1c1c1e;
  background: transparent;
  border: none;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.acc-segment:active {
  transform: scale(0.97);
}

.acc-segment.active {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  color: #1c1c1e;
  font-weight: 600;
}

/* ========== HIG: インフォバー ========== */
.acc-info-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px;
  background: #f2f2f7;
  border-radius: 12px;
  margin-bottom: 16px;
}

.acc-info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.acc-info-label {
  font-size: 12px;
  color: #8e8e93;
  font-weight: 500;
}

.acc-info-value {
  font-size: 22px;
  font-weight: 700;
  color: #1c1c1e;
}

.acc-info-divider {
  width: 1px;
  height: 36px;
  background: #d1d1d6;
}

/* ========== HIG: セクションノート ========== */
.acc-section-note {
  font-size: 13px;
  color: #8e8e93;
  text-align: center;
  margin-bottom: 12px;
}

/* ========== HIG: アラート ========== */
.acc-alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.acc-alert-error {
  background: #ffebee;
  border: 1.5px solid #ff3b30;
  color: #c62828;
}

.acc-alert-success {
  background: #e8f5e9;
  border: 1.5px solid #34c759;
  color: #1b5e20;
}

/* ========== HIG: ローディングスピナー ========== */
.acc-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 20px;
  color: #8e8e93;
  font-size: 14px;
}

.acc-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #e5e5ea;
  border-top-color: #007aff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ========== OOUI: 帳元メニューカード ========== */
.treasurer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.treasurer-menu-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1.5px solid #e5e5ea;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.treasurer-menu-card:hover {
  border-color: #c7c7cc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.treasurer-menu-card:active {
  transform: scale(0.98);
  background: #f9f9f9;
}

.treasurer-card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 22px;
  flex-shrink: 0;
}

.treasurer-icon-blue {
  background: rgba(0, 122, 255, 0.1);
  color: #007aff;
}

.treasurer-icon-green {
  background: rgba(52, 199, 89, 0.1);
  color: #34c759;
}

.treasurer-card-body {
  flex: 1;
  min-width: 0;
}

.treasurer-card-title {
  font-size: 17px;
  font-weight: 600;
  color: #1c1c1e;
  margin-bottom: 3px;
}

.treasurer-card-desc {
  font-size: 13px;
  color: #8e8e93;
  line-height: 1.3;
}

.treasurer-card-arrow {
  color: #c7c7cc;
  font-size: 14px;
  flex-shrink: 0;
}

/* ========== HIG: 検索バー改善 ========== */
.fee-search-field {
  position: relative;
}

.fee-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8e8e93;
  font-size: 14px;
  pointer-events: none;
}

.fee-search-field .fee-search-input {
  padding-left: 40px;
  background: #e5e5ea;
  border: none;
  border-radius: 10px;
  height: 38px;
  font-size: 15px;
  width: 100%;
  transition: background 0.2s;
}

.fee-search-field .fee-search-input:focus {
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.fee-search-field .fee-search-input::placeholder {
  color: #8e8e93;
}

/* ========== HIG: シート型モーダル ========== */
.fee-modal-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px 14px 0 0;
  z-index: 1001;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  animation: sheetSlideUp 0.3s ease-out;
}

@keyframes sheetSlideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.fee-modal-handle {
  width: 36px;
  height: 5px;
  background: #d1d1d6;
  border-radius: 2.5px;
  margin: 8px auto 4px;
}

.fee-modal-sheet .fee-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 0.5px solid #e5e5ea;
}

.fee-modal-sheet .fee-modal-header h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1c1c1e;
  margin: 0;
  text-align: center;
  flex: 1;
}

.fee-modal-header-btn {
  font-size: 15px;
  color: #007aff;
  background: none;
  border: none;
  padding: 6px 2px;
  cursor: pointer;
  font-weight: 400;
  min-width: 70px;
}

.fee-modal-header-btn-primary {
  font-weight: 600;
}

.fee-modal-header-btn:disabled {
  color: #c7c7cc;
}

.fee-modal-sheet .fee-modal-body {
  padding: 16px;
}

/* モーダル内の組員情報 */
.fee-modal-member {
  padding: 14px 16px;
  background: #f2f2f7;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: #1c1c1e;
}

/* ========== OOUI: 組員カード改善 ========== */
.fee-member-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fee-member-card {
  background: #fff;
  border: 1.5px solid #e5e5ea;
  border-radius: 14px;
  padding: 16px;
  transition: border-color 0.2s;
}

.fee-card-complete {
  border-left: 4px solid #34c759;
}

.fee-card-unpaid {
  border-left: 4px solid #ff9500;
}

.fee-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.fee-card-name {
  font-size: 16px;
  font-weight: 600;
  color: #1c1c1e;
}

.fee-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.fee-cat-tag i {
  font-size: 10px;
}

.fee-cat-local {
  background: #e3f2fd;
  color: #1565c0;
}

.fee-cat-external {
  background: #fff3e0;
  color: #e65100;
}

.fee-first-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

.fee-first-year-badge i {
  font-size: 9px;
}

.fee-card-birthday {
  font-size: 12px;
  color: #8e8e93;
}

/* ステータスピル */
.fee-card-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}

.fee-card-fees {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fee-card-ohana {
  flex-shrink: 0;
}

.fee-ohana-amount {
  font-size: 13px;
  font-weight: 600;
  color: #c62828;
  background: #fce4ec;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* 旧クラスとの互換 */
.fee-card-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.fee-status-item {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.fee-status-item.paid {
  background: #e8f5e9;
  color: #2e7d32;
}

.fee-status-item.unpaid {
  background: #fff3e0;
  color: #e65100;
}

.fee-status-item.exempt {
  background: #f5f5f5;
  color: #9e9e9e;
}

.fee-status-item.ohana {
  background: #fce4ec;
  color: #c62828;
}

.fee-card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.fee-record-btn {
  font-size: 13px;
  padding: 8px 16px;
}

/* 完納表示 */
.fee-all-done {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #34c759;
  padding: 8px 16px;
  background: rgba(52, 199, 89, 0.08);
  border-radius: 20px;
}

/* 完納サマリーグリッド */
.fee-summary-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 16px;
}

.fee-summary-card {
  background: #fff;
  border: 1.5px solid #e5e5ea;
  border-radius: 14px;
  padding: 16px;
}

.fee-summary-main {
  min-width: 0;
}

.fee-summary-ohana {
  min-width: 100px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fee-summary-label {
  font-size: 12px;
  font-weight: 600;
  color: #8e8e93;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.fee-summary-ohana .fee-summary-label {
  justify-content: center;
}

.fee-summary-rate {
  margin-bottom: 12px;
}

.fee-progress-bar {
  height: 8px;
  background: #e5e5ea;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.fee-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #34c759, #30d158);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.fee-rate-text {
  font-size: 28px;
  font-weight: 700;
  color: #1c1c1e;
  line-height: 1;
}

.fee-rate-detail {
  font-size: 13px;
  color: #8e8e93;
  margin-top: 2px;
}

.fee-summary-amount {
  font-size: 13px;
  color: #8e8e93;
  margin-top: 8px;
}

.fee-paid {
  font-weight: 600;
  color: #34c759;
}

.fee-ohana-total {
  font-size: 22px;
  font-weight: 700;
  color: #c62828;
  line-height: 1;
}

.fee-ohana-detail {
  font-size: 12px;
  color: #8e8e93;
  margin-top: 4px;
}

@media (max-width: 400px) {
  .fee-summary-grid {
    grid-template-columns: 1fr;
  }
  .fee-summary-ohana {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: left;
  }
  .fee-summary-ohana .fee-summary-label {
    justify-content: flex-start;
    margin-bottom: 0;
  }
}
/* ========== レスポンシブ ========== */
@media (max-width: 600px) {
  .acc-segment {
    font-size: 12px;
    padding: 7px 2px;
  }
  .acc-navbar {
    padding: 8px 0;
  }
  .acc-nav-title {
    font-size: 16px;
  }
  .treasurer-card-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
  .treasurer-card-title {
    font-size: 16px;
  }
}/*# sourceMappingURL=style.css.map */