Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

danka-detail.scss 21KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306
  1. :host {
  2. position: relative;
  3. display: block;
  4. min-height: 100vh;
  5. background: #f4eee4;
  6. color: #2f2720;
  7. }
  8. .danka-detail-page {
  9. display: flex;
  10. align-items: flex-start;
  11. gap: 8px;
  12. background: #f4eee4;
  13. }
  14. .danka-detail-main {
  15. flex: 1;
  16. padding-right: 34px;
  17. box-sizing: border-box;
  18. }
  19. .detail-panel {
  20. min-height: 650px;
  21. padding: 26px 34px 36px;
  22. background: #ffffff;
  23. border: 2px solid #d8caba;
  24. border-radius: 76px;
  25. box-sizing: border-box;
  26. }
  27. .page-title-row {
  28. display: flex;
  29. justify-content: space-between;
  30. align-items: flex-start;
  31. margin-bottom: 20px;
  32. }
  33. .page-title-row h1 {
  34. margin: 0 0 8px;
  35. color: #2f2720;
  36. font-size: 32px;
  37. line-height: 1.2;
  38. font-weight: 800;
  39. letter-spacing: 0.02em;
  40. }
  41. .tab-list {
  42. display: flex;
  43. align-items: center;
  44. gap: 8px;
  45. }
  46. .tab-button {
  47. width: 150px;
  48. height: 42px;
  49. border: 2px solid #d8caba;
  50. border-radius: 6px;
  51. background: #f1e7d8;
  52. color: #2f2720;
  53. font-size: 16px;
  54. font-weight: 700;
  55. text-decoration: none;
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. box-sizing: border-box;
  60. }
  61. .tab-button.active {
  62. background: #8a6543;
  63. border-color: #8a6543;
  64. color: #ffffff;
  65. }
  66. .tab-button:hover {
  67. background: #eadfce;
  68. }
  69. .tab-button.active:hover {
  70. background: #765639;
  71. }
  72. .edit-button {
  73. width: 140px;
  74. height: 46px;
  75. margin-top: 36px;
  76. border: 2px solid #8a6543;
  77. border-radius: 6px;
  78. background: #ffffff;
  79. color: #8a6543;
  80. font-size: 18px;
  81. font-weight: 800;
  82. cursor: pointer;
  83. box-sizing: border-box;
  84. }
  85. .edit-button:hover {
  86. background: #f6efe6;
  87. }
  88. .family-summary {
  89. min-height: 64px;
  90. margin-bottom: 28px;
  91. padding: 12px 22px;
  92. border: 2px solid #d8caba;
  93. border-radius: 14px;
  94. background: #eadfce;
  95. display: flex;
  96. align-items: center;
  97. box-sizing: border-box;
  98. }
  99. .family-name-area {
  100. display: flex;
  101. align-items: baseline;
  102. gap: 18px;
  103. }
  104. .family-name {
  105. margin: 0;
  106. color: #2f2720;
  107. font-size: 28px;
  108. font-weight: 800;
  109. line-height: 1.1;
  110. }
  111. .family-head {
  112. margin: 0;
  113. color: #6f6257;
  114. font-size: 16px;
  115. }
  116. .family-address p {
  117. margin: 2px 0;
  118. color: #2f2720;
  119. font-size: 16px;
  120. }
  121. .memo-button {
  122. width: 150px;
  123. height: 40px;
  124. border: 2px solid #d8caba;
  125. border-radius: 6px;
  126. background: #ffffff;
  127. color: #2f2720;
  128. font-size: 16px;
  129. font-weight: 800;
  130. cursor: pointer;
  131. box-sizing: border-box;
  132. }
  133. .memo-button:hover {
  134. background: #f6efe6;
  135. }
  136. .add-button {
  137. width: 140px;
  138. height: 46px;
  139. margin-top: 36px;
  140. border: 2px solid #8a6543;
  141. border-radius: 6px;
  142. background: #ffffff;
  143. color: #8a6543;
  144. font-size: 18px;
  145. font-weight: 800;
  146. cursor: pointer;
  147. box-sizing: border-box;
  148. }
  149. .add-button:hover {
  150. background: #f6efe6;
  151. }
  152. .family-page-add-button {
  153. width: 140px;
  154. height: 46px;
  155. margin-top: 36px;
  156. border: 2px solid #8a6543;
  157. border-radius: 6px;
  158. background: #ffffff;
  159. color: #8a6543;
  160. font-size: 18px;
  161. font-weight: 800;
  162. text-decoration: none;
  163. display: flex;
  164. align-items: center;
  165. justify-content: center;
  166. box-sizing: border-box;
  167. }
  168. .family-page-add-button:hover {
  169. background: #f6efe6;
  170. }
  171. .detail-content {
  172. display: grid;
  173. grid-template-columns: minmax(0, 1fr) 460px;
  174. gap: 28px;
  175. align-items: start;
  176. }
  177. .basic-info-section {
  178. padding-left: 0;
  179. }
  180. .section-heading {
  181. margin-bottom: 8px;
  182. }
  183. .section-heading h2 {
  184. margin: 0;
  185. color: #2f2720;
  186. font-size: 22px;
  187. font-weight: 800;
  188. }
  189. .section-heading p {
  190. margin: 3px 0 0;
  191. color: #7b6b5c;
  192. font-size: 14px;
  193. }
  194. .info-form {
  195. width: 100%;
  196. }
  197. .info-pair-row {
  198. display: grid;
  199. grid-template-columns: 1fr 1fr;
  200. gap: 14px;
  201. margin-top: 10px;
  202. }
  203. .info-row {
  204. display: grid;
  205. grid-template-columns: 96px 1fr;
  206. align-items: center;
  207. margin-top: 0;
  208. }
  209. .info-form > .info-row {
  210. margin-top: 10px;
  211. }
  212. .info-label {
  213. color: #4b3c31;
  214. font-size: 17px;
  215. font-weight: 800;
  216. }
  217. .info-value {
  218. min-height: 40px;
  219. padding: 8px 12px;
  220. border: 2px solid #d8caba;
  221. border-radius: 6px;
  222. background: #fffdf9;
  223. color: #2f2720;
  224. font-size: 17px;
  225. box-sizing: border-box;
  226. display: flex;
  227. align-items: center;
  228. }
  229. .phone-row {
  230. align-items: start;
  231. }
  232. .phone-row .info-label {
  233. padding-top: 8px;
  234. }
  235. .phone-table {
  236. width: 100%;
  237. }
  238. .phone-header,
  239. .phone-item {
  240. display: grid;
  241. grid-template-columns: 1fr 1fr;
  242. align-items: center;
  243. }
  244. .phone-header {
  245. min-height: 36px;
  246. padding: 0 10px;
  247. border: 2px solid #d8caba;
  248. border-radius: 6px;
  249. background: #eadfce;
  250. color: #5a4a3c;
  251. font-size: 15px;
  252. font-weight: 800;
  253. box-sizing: border-box;
  254. }
  255. .phone-item {
  256. min-height: 52px;
  257. margin-top: 4px;
  258. padding: 0 10px;
  259. border: 2px solid #d8caba;
  260. border-radius: 8px;
  261. background: #fffdf9;
  262. color: #2f2720;
  263. font-size: 16px;
  264. box-sizing: border-box;
  265. }
  266. .status-panel {
  267. min-height: 382px;
  268. padding: 24px 22px 22px;
  269. border: 2px solid #d8caba;
  270. border-radius: 62px;
  271. background: #fffdf9;
  272. box-sizing: border-box;
  273. }
  274. .status-panel h2 {
  275. margin: 0 0 18px;
  276. color: #2f2720;
  277. font-size: 22px;
  278. font-weight: 800;
  279. }
  280. .status-card-list {
  281. display: grid;
  282. grid-template-columns: 1fr 1fr;
  283. gap: 14px;
  284. margin-bottom: 20px;
  285. }
  286. .status-card {
  287. min-height: 104px;
  288. padding: 14px 18px;
  289. border: 2px solid #d8caba;
  290. border-radius: 14px;
  291. background: #ffffff;
  292. color: #2f2720;
  293. text-decoration: none;
  294. box-sizing: border-box;
  295. }
  296. .status-card:hover {
  297. background: #f6efe6;
  298. }
  299. .status-label {
  300. margin: 0;
  301. color: #7b6b5c;
  302. font-size: 16px;
  303. }
  304. .status-count {
  305. margin: 2px 0 0;
  306. color: #2f2720;
  307. font-size: 32px;
  308. font-weight: 800;
  309. line-height: 1.1;
  310. }
  311. .status-link {
  312. margin: 4px 0 0;
  313. color: #7b6b5c;
  314. font-size: 14px;
  315. }
  316. .next-memorial {
  317. margin-bottom: 20px;
  318. }
  319. .next-memorial h3 {
  320. margin: 0 0 8px;
  321. color: #4b3c31;
  322. font-size: 17px;
  323. font-weight: 800;
  324. }
  325. .memorial-card {
  326. min-height: 72px;
  327. padding: 14px 20px;
  328. border: 2px solid #d8caba;
  329. border-radius: 10px;
  330. background: #ffffff;
  331. box-sizing: border-box;
  332. }
  333. .memorial-title {
  334. margin: 0;
  335. color: #2f2720;
  336. font-size: 16px;
  337. font-weight: 800;
  338. }
  339. .memorial-text {
  340. margin: 4px 0 0;
  341. color: #7b6b5c;
  342. font-size: 14px;
  343. }
  344. .status-button-list {
  345. display: grid;
  346. grid-template-columns: 1fr 1fr;
  347. gap: 14px;
  348. }
  349. .status-button {
  350. height: 48px;
  351. border: 2px solid #d8caba;
  352. border-radius: 8px;
  353. background: #ffffff;
  354. color: #2f2720;
  355. font-size: 16px;
  356. font-weight: 800;
  357. text-decoration: none;
  358. display: flex;
  359. align-items: center;
  360. justify-content: center;
  361. box-sizing: border-box;
  362. }
  363. .status-button:hover {
  364. background: #f6efe6;
  365. }
  366. .bottom-note {
  367. width: 700px;
  368. margin: 18px 0 22px 36px;
  369. padding: 4px 12px;
  370. border: 2px solid #d8caba;
  371. border-radius: 4px;
  372. background: #eadfce;
  373. color: #7b6b5c;
  374. font-size: 14px;
  375. box-sizing: border-box;
  376. }
  377. /* =========================
  378. 家族タブ
  379. ========================= */
  380. .family-tab-content {
  381. margin-top: 24px;
  382. }
  383. .family-tab-content .section-heading {
  384. margin-bottom: 16px;
  385. h2 {
  386. margin: 0;
  387. font-size: 20px;
  388. font-weight: 700;
  389. }
  390. }
  391. .family-list-summary {
  392. display: flex;
  393. justify-content: space-between;
  394. align-items: center;
  395. gap: 16px;
  396. padding: 14px 18px;
  397. margin-bottom: 20px;
  398. background: #efe4d6;
  399. border: 2px solid #d8c2aa;
  400. border-radius: 12px;
  401. }
  402. .family-search-box {
  403. flex: 1;
  404. min-width: 0;
  405. display: grid;
  406. grid-template-columns: 96px minmax(0, 1fr);
  407. gap: 12px;
  408. align-items: center;
  409. }
  410. .family-search-label {
  411. color: #4b3c31;
  412. font-size: 16px;
  413. font-weight: 800;
  414. }
  415. .family-search-box input {
  416. width: 100%;
  417. height: 42px;
  418. padding: 0 14px;
  419. border: 2px solid #d8c2aa;
  420. border-radius: 8px;
  421. background: #fffdf9;
  422. color: #2f2720;
  423. font-size: 15px;
  424. font-weight: 700;
  425. box-sizing: border-box;
  426. }
  427. .family-table-section {
  428. margin-top: 16px;
  429. }
  430. .family-table {
  431. display: grid;
  432. gap: 8px;
  433. }
  434. .family-table-header,
  435. .family-table-row {
  436. display: grid;
  437. grid-template-columns: 1.1fr 1.1fr 0.8fr 0.6fr 1fr 1.2fr 80px;
  438. gap: 10px;
  439. align-items: center;
  440. }
  441. .family-table-action {
  442. display: flex;
  443. justify-content: center;
  444. align-items: center;
  445. }
  446. .family-edit-link {
  447. width: 64px;
  448. height: 34px;
  449. border: 2px solid #8a6543;
  450. border-radius: 6px;
  451. background: #ffffff;
  452. color: #8a6543;
  453. font-size: 14px;
  454. font-weight: 800;
  455. text-decoration: none;
  456. display: flex;
  457. align-items: center;
  458. justify-content: center;
  459. box-sizing: border-box;
  460. }
  461. .family-edit-link:hover {
  462. background: #f6efe6;
  463. }
  464. .event-status-select {
  465. width: 84px;
  466. height: 34px;
  467. padding: 0 8px;
  468. border: 2px solid #d8c2aa;
  469. border-radius: 6px;
  470. background: #ffffff;
  471. color: #6f6256;
  472. font-size: 13px;
  473. font-weight: 800;
  474. cursor: pointer;
  475. box-sizing: border-box;
  476. outline: none;
  477. }
  478. .event-status-select.sent {
  479. border-color: #8a6543;
  480. background: #f1e7d8;
  481. color: #8a6543;
  482. }
  483. .event-status-select:focus {
  484. border-color: #8a6543;
  485. box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.15);
  486. }
  487. .family-table-header {
  488. padding: 12px 14px;
  489. background: #efe4d6;
  490. border: 2px solid #d8c2aa;
  491. border-radius: 10px;
  492. font-size: 14px;
  493. font-weight: 700;
  494. color: #111111;
  495. }
  496. .family-table-row {
  497. min-height: 56px;
  498. padding: 12px 14px;
  499. background: #fffaf3;
  500. border: 2px solid #d8c2aa;
  501. border-radius: 10px;
  502. font-size: 15px;
  503. color: #111111;
  504. }
  505. .family-table-row:hover {
  506. background: #fff4e8;
  507. }
  508. /* 既存の .family-name と名前がかぶるので、家族表の中だけに効かせる */
  509. .family-table-row .family-person-name {
  510. margin: 0;
  511. font-size: 15px;
  512. font-weight: 700;
  513. color: #111111;
  514. }
  515. .family-member-table {
  516. gap: 0;
  517. border: 2px solid #d8c2aa;
  518. border-radius: 8px;
  519. overflow: hidden;
  520. }
  521. .family-member-table .family-table-header,
  522. .family-member-table .family-table-row {
  523. grid-template-columns: 1.35fr 0.75fr 1.05fr 1fr 1.2fr 168px;
  524. gap: 12px;
  525. border: 0;
  526. border-radius: 0;
  527. }
  528. .family-member-table .family-table-header {
  529. min-height: 46px;
  530. padding: 0 14px;
  531. background: #efe4d6;
  532. }
  533. .family-member-table .family-table-row {
  534. min-height: 78px;
  535. padding: 10px 14px;
  536. background: #fffdf9;
  537. border-top: 1px solid #d8c2aa;
  538. }
  539. .family-member-table .family-table-row:hover {
  540. background: #fff8ee;
  541. }
  542. .family-person-sub,
  543. .family-person-date {
  544. margin: 0;
  545. }
  546. .family-person-sub {
  547. margin-top: 4px;
  548. color: #111111;
  549. font-size: 13px;
  550. line-height: 1.35;
  551. }
  552. .family-person-date {
  553. color: #111111;
  554. font-size: 15px;
  555. }
  556. .family-member-table .family-table-action {
  557. justify-content: center;
  558. gap: 8px;
  559. }
  560. .family-member-table .family-table-header > div:last-child {
  561. text-align: center;
  562. }
  563. .family-member-table .family-edit-link {
  564. width: 74px;
  565. }
  566. .kakocho-member-table .family-table-header,
  567. .kakocho-member-table .family-table-row {
  568. grid-template-columns: 1.25fr 1.15fr 1.05fr 0.65fr 0.6fr 1.1fr 82px;
  569. }
  570. .event-member-table .family-table-header,
  571. .event-member-table .family-table-row {
  572. grid-template-columns: 1.35fr 1fr 0.75fr 1.05fr 0.95fr 96px;
  573. }
  574. .event-member-table .event-status-select {
  575. width: 90px;
  576. }
  577. .event-member-table .family-table-header > div:last-child,
  578. .event-member-table .family-table-row > div:last-child {
  579. text-align: center;
  580. }
  581. .empty-family-message {
  582. padding: 20px;
  583. background: #fffaf3;
  584. border: 2px solid #d8c2aa;
  585. border-radius: 12px;
  586. color: #6f6256;
  587. font-weight: 700;
  588. }
  589. .family-support-area {
  590. display: grid;
  591. grid-template-columns: 1fr 1fr;
  592. gap: 18px;
  593. margin-top: 24px;
  594. }
  595. .support-card {
  596. padding: 18px 20px;
  597. background: #fffaf3;
  598. border: 2px solid #d8c2aa;
  599. border-radius: 14px;
  600. h2 {
  601. margin: 0 0 8px;
  602. font-size: 17px;
  603. font-weight: 700;
  604. color: #5d3b24;
  605. }
  606. p {
  607. margin: 0;
  608. font-size: 14px;
  609. color: #6f6256;
  610. line-height: 1.7;
  611. }
  612. }
  613. .coming-soon-section {
  614. margin-top: 24px;
  615. }
  616. .coming-soon-section .section-heading {
  617. margin-bottom: 16px;
  618. h2 {
  619. margin: 0;
  620. font-size: 20px;
  621. font-weight: 700;
  622. }
  623. }
  624. /* =========================
  625. 家系図タブ
  626. ========================= */
  627. .family-tree-tab-content {
  628. margin-top: 24px;
  629. }
  630. .family-tree-tab-content .section-heading {
  631. margin-bottom: 16px;
  632. }
  633. .family-tree-layout {
  634. display: grid;
  635. grid-template-columns: minmax(0, 1fr) 360px;
  636. gap: 24px;
  637. align-items: start;
  638. }
  639. .family-tree-area {
  640. min-height: 460px;
  641. padding: 22px;
  642. background: #fffaf3;
  643. border: 2px solid #d8c2aa;
  644. border-radius: 18px;
  645. box-sizing: border-box;
  646. }
  647. .family-tree-toolbar {
  648. display: flex;
  649. justify-content: space-between;
  650. align-items: flex-start;
  651. gap: 18px;
  652. margin-bottom: 22px;
  653. }
  654. .family-tree-title {
  655. margin: 0;
  656. color: #2f2720;
  657. font-size: 20px;
  658. font-weight: 800;
  659. }
  660. .family-tree-caption {
  661. margin: 4px 0 0;
  662. color: #7b6b5c;
  663. font-size: 14px;
  664. line-height: 1.6;
  665. }
  666. .family-tree-action-list {
  667. display: flex;
  668. gap: 10px;
  669. flex-shrink: 0;
  670. }
  671. .tree-action-button {
  672. min-width: 112px;
  673. height: 38px;
  674. padding: 0 14px;
  675. border: 2px solid #d8caba;
  676. border-radius: 6px;
  677. background: #ffffff;
  678. color: #2f2720;
  679. font-size: 14px;
  680. font-weight: 800;
  681. cursor: pointer;
  682. box-sizing: border-box;
  683. }
  684. .tree-action-button:hover {
  685. background: #f6efe6;
  686. }
  687. .family-tree-card-list {
  688. display: grid;
  689. grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  690. gap: 14px;
  691. }
  692. .family-tree-card {
  693. min-height: 112px;
  694. padding: 16px 18px;
  695. border: 2px solid #d8c2aa;
  696. border-radius: 14px;
  697. background: #ffffff;
  698. color: #2f2720;
  699. text-align: left;
  700. cursor: pointer;
  701. box-sizing: border-box;
  702. display: flex;
  703. flex-direction: column;
  704. gap: 6px;
  705. }
  706. .family-tree-card:hover {
  707. background: #f6efe6;
  708. }
  709. .family-tree-card.active {
  710. border-color: #8a6543;
  711. background: #eadfce;
  712. box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.16);
  713. }
  714. .tree-card-name {
  715. color: #5d3b24;
  716. font-size: 18px;
  717. font-weight: 800;
  718. }
  719. .tree-card-relationship {
  720. color: #2f2720;
  721. font-size: 14px;
  722. font-weight: 700;
  723. }
  724. .tree-card-birth {
  725. color: #7b6b5c;
  726. font-size: 13px;
  727. }
  728. .family-tree-side-panel {
  729. min-height: 460px;
  730. padding: 24px 22px;
  731. background: #fffdf9;
  732. border: 2px solid #d8caba;
  733. border-radius: 36px;
  734. box-sizing: border-box;
  735. }
  736. .family-tree-side-panel h3 {
  737. margin: 0 0 16px;
  738. color: #2f2720;
  739. font-size: 20px;
  740. font-weight: 800;
  741. }
  742. .selected-person-card {
  743. margin-bottom: 18px;
  744. padding: 16px 18px;
  745. background: #eadfce;
  746. border: 2px solid #d8caba;
  747. border-radius: 14px;
  748. box-sizing: border-box;
  749. }
  750. .selected-person-name {
  751. margin: 0;
  752. color: #2f2720;
  753. font-size: 22px;
  754. font-weight: 800;
  755. line-height: 1.2;
  756. }
  757. .selected-person-sub {
  758. margin: 4px 0 0;
  759. color: #7b6b5c;
  760. font-size: 14px;
  761. }
  762. .selected-info-list {
  763. display: grid;
  764. gap: 10px;
  765. }
  766. .selected-info-row {
  767. display: grid;
  768. grid-template-columns: 82px 1fr;
  769. gap: 10px;
  770. align-items: start;
  771. padding: 10px 12px;
  772. background: #ffffff;
  773. border: 2px solid #d8caba;
  774. border-radius: 8px;
  775. box-sizing: border-box;
  776. }
  777. .selected-info-row span {
  778. color: #7b6b5c;
  779. font-size: 14px;
  780. font-weight: 700;
  781. }
  782. .selected-info-row strong {
  783. color: #2f2720;
  784. font-size: 15px;
  785. font-weight: 800;
  786. line-height: 1.6;
  787. }
  788. .children-row strong {
  789. display: flex;
  790. flex-wrap: wrap;
  791. gap: 6px;
  792. }
  793. .child-name {
  794. display: inline-flex;
  795. align-items: center;
  796. min-height: 26px;
  797. padding: 2px 8px;
  798. border-radius: 999px;
  799. background: #f1e7d8;
  800. color: #5d3b24;
  801. font-size: 13px;
  802. font-weight: 800;
  803. }
  804. .marriage-summary-panel {
  805. margin-top: 18px;
  806. padding: 14px 16px;
  807. background: #fffaf3;
  808. border: 2px solid #d8caba;
  809. border-radius: 12px;
  810. box-sizing: border-box;
  811. }
  812. .marriage-summary-panel h4 {
  813. margin: 0 0 12px;
  814. color: #2f2720;
  815. font-size: 16px;
  816. font-weight: 800;
  817. }
  818. .marriage-summary-block + .marriage-summary-block {
  819. margin-top: 14px;
  820. }
  821. .marriage-summary-label {
  822. margin: 0 0 8px;
  823. color: #7b6b5c;
  824. font-size: 13px;
  825. font-weight: 800;
  826. }
  827. .marriage-history-list {
  828. display: grid;
  829. gap: 8px;
  830. }
  831. .marriage-person-button {
  832. width: 100%;
  833. min-height: 40px;
  834. padding: 8px 10px;
  835. border: 2px solid #8a6543;
  836. border-radius: 8px;
  837. background: #ffffff;
  838. color: #2f2720;
  839. font-size: 14px;
  840. font-weight: 800;
  841. cursor: pointer;
  842. display: flex;
  843. align-items: center;
  844. justify-content: space-between;
  845. gap: 8px;
  846. box-sizing: border-box;
  847. }
  848. .marriage-person-button:hover {
  849. background: #f6efe6;
  850. }
  851. .marriage-person-button small {
  852. color: #7b6b5c;
  853. font-size: 12px;
  854. font-weight: 800;
  855. }
  856. .marriage-person-button.secondary {
  857. border-color: #d8caba;
  858. }
  859. .marriage-empty-text {
  860. margin: 0;
  861. color: #7b6b5c;
  862. font-size: 14px;
  863. font-weight: 700;
  864. }
  865. .selected-person-actions {
  866. display: grid;
  867. gap: 10px;
  868. margin-top: 18px;
  869. }
  870. .selected-person-button {
  871. min-height: 42px;
  872. border: 2px solid #8a6543;
  873. border-radius: 6px;
  874. background: #8a6543;
  875. color: #ffffff;
  876. font-size: 15px;
  877. font-weight: 800;
  878. text-decoration: none;
  879. cursor: pointer;
  880. display: flex;
  881. align-items: center;
  882. justify-content: center;
  883. box-sizing: border-box;
  884. }
  885. .selected-person-button:hover {
  886. background: #765639;
  887. }
  888. .selected-person-button.secondary {
  889. background: #ffffff;
  890. color: #8a6543;
  891. }
  892. .selected-person-button.secondary:hover {
  893. background: #f6efe6;
  894. }
  895. /* =========================
  896. 家系図 図式レイアウト
  897. ========================= */
  898. .family-tree-diagram {
  899. min-height: 330px;
  900. padding: 28px 18px;
  901. background: #fffdf9;
  902. border: 2px dashed #d8c2aa;
  903. border-radius: 18px;
  904. box-sizing: border-box;
  905. display: grid;
  906. gap: 34px;
  907. }
  908. .tree-generation {
  909. display: flex;
  910. justify-content: center;
  911. align-items: center;
  912. gap: 18px;
  913. position: relative;
  914. }
  915. .parent-generation {
  916. padding-bottom: 8px;
  917. }
  918. .main-generation {
  919. padding: 8px 0;
  920. }
  921. .child-generation {
  922. padding-top: 8px;
  923. flex-wrap: wrap;
  924. }
  925. .family-tree-card.small {
  926. min-height: 86px;
  927. max-width: 180px;
  928. }
  929. .family-tree-card.main-person {
  930. min-width: 210px;
  931. }
  932. .family-tree-card.spouse-person {
  933. min-width: 190px;
  934. }
  935. /* 本人と配偶者の間の線 */
  936. .main-generation .main-person::after {
  937. content: "";
  938. position: absolute;
  939. top: 50%;
  940. right: -20px;
  941. width: 20px;
  942. height: 2px;
  943. background: #8a6543;
  944. }
  945. /* カードを線の基準にする */
  946. .main-generation .family-tree-card {
  947. position: relative;
  948. }
  949. /* 親世代から本人世代への縦線 */
  950. .parent-generation::after {
  951. content: "";
  952. position: absolute;
  953. bottom: -28px;
  954. left: 50%;
  955. width: 2px;
  956. height: 28px;
  957. background: #d8c2aa;
  958. transform: translateX(-50%);
  959. }
  960. /* 本人世代から子世代への縦線 */
  961. .main-generation::after {
  962. content: "";
  963. position: absolute;
  964. bottom: -30px;
  965. left: 50%;
  966. width: 2px;
  967. height: 30px;
  968. background: #d8c2aa;
  969. transform: translateX(-50%);
  970. }
  971. /* 子どもがいない場合の文言 */
  972. .tree-empty-text {
  973. margin: 0;
  974. padding: 12px 18px;
  975. background: #ffffff;
  976. border: 2px solid #d8c2aa;
  977. border-radius: 10px;
  978. color: #7b6b5c;
  979. font-size: 14px;
  980. font-weight: 700;
  981. }
  982. .family-tree-member-list {
  983. margin-top: 18px;
  984. padding: 16px 18px;
  985. background: #ffffff;
  986. border: 2px solid #d8c2aa;
  987. border-radius: 14px;
  988. box-sizing: border-box;
  989. }
  990. .member-list-title {
  991. margin: 0 0 10px;
  992. color: #5d3b24;
  993. font-size: 15px;
  994. font-weight: 800;
  995. }
  996. .member-chip-list {
  997. display: flex;
  998. flex-wrap: wrap;
  999. gap: 8px;
  1000. }
  1001. .member-chip {
  1002. min-height: 34px;
  1003. padding: 6px 12px;
  1004. border: 2px solid #d8caba;
  1005. border-radius: 999px;
  1006. background: #fffdf9;
  1007. color: #2f2720;
  1008. font-size: 14px;
  1009. font-weight: 700;
  1010. cursor: pointer;
  1011. }
  1012. .member-chip:hover {
  1013. background: #f6efe6;
  1014. }
  1015. .member-chip.active {
  1016. border-color: #8a6543;
  1017. background: #8a6543;
  1018. color: #ffffff;
  1019. }
  1020. /* 家族表が狭い画面では横スクロール */
  1021. @media (max-width: 800px) {
  1022. .family-list-summary {
  1023. align-items: flex-start;
  1024. flex-direction: column;
  1025. }
  1026. .family-search-box {
  1027. width: 100%;
  1028. grid-template-columns: 1fr;
  1029. }
  1030. .family-table {
  1031. overflow-x: auto;
  1032. }
  1033. .family-table-header,
  1034. .family-table-row {
  1035. min-width: 880px;
  1036. }
  1037. .family-support-area {
  1038. grid-template-columns: 1fr;
  1039. }
  1040. //家系図タブ
  1041. .family-tree-layout {
  1042. grid-template-columns: 1fr;
  1043. }
  1044. .family-tree-toolbar {
  1045. flex-direction: column;
  1046. }
  1047. .family-tree-action-list {
  1048. width: 100%;
  1049. flex-direction: column;
  1050. }
  1051. .tree-action-button {
  1052. width: 100%;
  1053. }
  1054. .family-tree-side-panel {
  1055. border-radius: 28px;
  1056. }
  1057. .selected-info-row {
  1058. grid-template-columns: 1fr;
  1059. gap: 4px;
  1060. }
  1061. .family-tree-diagram {
  1062. padding: 22px 12px;
  1063. gap: 26px;
  1064. }
  1065. .tree-generation {
  1066. flex-direction: column;
  1067. gap: 12px;
  1068. }
  1069. .family-tree-card.small,
  1070. .family-tree-card.main-person,
  1071. .family-tree-card.spouse-person {
  1072. width: 100%;
  1073. max-width: none;
  1074. min-width: 0;
  1075. }
  1076. .main-generation .main-person::after {
  1077. display: none;
  1078. }
  1079. .parent-generation::after,
  1080. .main-generation::after {
  1081. height: 20px;
  1082. bottom: -22px;
  1083. }
  1084. }
  1085. .family-tree-svg-container {
  1086. width: 100%;
  1087. height: 700px;
  1088. overflow: auto;
  1089. border: 1px solid #ddd;
  1090. }
  1091. .family-tree-svg-container {
  1092. width: 100%;
  1093. height: 700px;
  1094. overflow: hidden;
  1095. border: 1px solid #ddd;
  1096. }
  1097. .family-node {
  1098. cursor: pointer;
  1099. }
  1100. .family-text {
  1101. cursor: pointer;
  1102. }
  1103. .family-tree-svg-container svg {
  1104. width: 100%;
  1105. height: 100%;
  1106. }
  1107. .family-text {
  1108. writing-mode: vertical-rl;
  1109. text-orientation: upright;
  1110. }