| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306 |
- :host {
- position: relative;
- display: block;
- min-height: 100vh;
- background: #f4eee4;
- color: #2f2720;
- }
-
- .danka-detail-page {
- display: flex;
- align-items: flex-start;
- gap: 8px;
- background: #f4eee4;
- }
-
- .danka-detail-main {
- flex: 1;
- padding-right: 34px;
- box-sizing: border-box;
- }
-
- .detail-panel {
- min-height: 650px;
- padding: 26px 34px 36px;
- background: #ffffff;
- border: 2px solid #d8caba;
- border-radius: 76px;
- box-sizing: border-box;
- }
-
- .page-title-row {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- margin-bottom: 20px;
- }
-
- .page-title-row h1 {
- margin: 0 0 8px;
- color: #2f2720;
- font-size: 32px;
- line-height: 1.2;
- font-weight: 800;
- letter-spacing: 0.02em;
- }
-
- .tab-list {
- display: flex;
- align-items: center;
- gap: 8px;
- }
-
- .tab-button {
- width: 150px;
- height: 42px;
- border: 2px solid #d8caba;
- border-radius: 6px;
- background: #f1e7d8;
- color: #2f2720;
- font-size: 16px;
- font-weight: 700;
- text-decoration: none;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
-
- .tab-button.active {
- background: #8a6543;
- border-color: #8a6543;
- color: #ffffff;
- }
-
- .tab-button:hover {
- background: #eadfce;
- }
-
- .tab-button.active:hover {
- background: #765639;
- }
-
- .edit-button {
- width: 140px;
- height: 46px;
- margin-top: 36px;
- border: 2px solid #8a6543;
- border-radius: 6px;
- background: #ffffff;
- color: #8a6543;
- font-size: 18px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .edit-button:hover {
- background: #f6efe6;
- }
-
- .family-summary {
- min-height: 64px;
- margin-bottom: 28px;
- padding: 12px 22px;
- border: 2px solid #d8caba;
- border-radius: 14px;
- background: #eadfce;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- }
-
- .family-name-area {
- display: flex;
- align-items: baseline;
- gap: 18px;
- }
-
- .family-name {
- margin: 0;
- color: #2f2720;
- font-size: 28px;
- font-weight: 800;
- line-height: 1.1;
- }
-
- .family-head {
- margin: 0;
- color: #6f6257;
- font-size: 16px;
- }
-
- .family-address p {
- margin: 2px 0;
- color: #2f2720;
- font-size: 16px;
- }
-
- .memo-button {
- width: 150px;
- height: 40px;
- border: 2px solid #d8caba;
- border-radius: 6px;
- background: #ffffff;
- color: #2f2720;
- font-size: 16px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .memo-button:hover {
- background: #f6efe6;
- }
-
- .add-button {
- width: 140px;
- height: 46px;
- margin-top: 36px;
- border: 2px solid #8a6543;
- border-radius: 6px;
- background: #ffffff;
- color: #8a6543;
- font-size: 18px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .add-button:hover {
- background: #f6efe6;
- }
-
- .family-page-add-button {
- width: 140px;
- height: 46px;
- margin-top: 36px;
- border: 2px solid #8a6543;
- border-radius: 6px;
- background: #ffffff;
- color: #8a6543;
- font-size: 18px;
- font-weight: 800;
- text-decoration: none;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
-
- .family-page-add-button:hover {
- background: #f6efe6;
- }
-
-
- .detail-content {
- display: grid;
- grid-template-columns: minmax(0, 1fr) 460px;
- gap: 28px;
- align-items: start;
- }
-
- .basic-info-section {
- padding-left: 0;
- }
-
- .section-heading {
- margin-bottom: 8px;
- }
-
- .section-heading h2 {
- margin: 0;
- color: #2f2720;
- font-size: 22px;
- font-weight: 800;
- }
-
- .section-heading p {
- margin: 3px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- }
-
- .info-form {
- width: 100%;
- }
-
- .info-pair-row {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 14px;
- margin-top: 10px;
- }
-
- .info-row {
- display: grid;
- grid-template-columns: 96px 1fr;
- align-items: center;
- margin-top: 0;
- }
-
- .info-form > .info-row {
- margin-top: 10px;
- }
-
- .info-label {
- color: #4b3c31;
- font-size: 17px;
- font-weight: 800;
- }
-
- .info-value {
- min-height: 40px;
- padding: 8px 12px;
- border: 2px solid #d8caba;
- border-radius: 6px;
- background: #fffdf9;
- color: #2f2720;
- font-size: 17px;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- }
-
- .phone-row {
- align-items: start;
- }
-
- .phone-row .info-label {
- padding-top: 8px;
- }
-
- .phone-table {
- width: 100%;
- }
-
- .phone-header,
- .phone-item {
- display: grid;
- grid-template-columns: 1fr 1fr;
- align-items: center;
- }
-
- .phone-header {
- min-height: 36px;
- padding: 0 10px;
- border: 2px solid #d8caba;
- border-radius: 6px;
- background: #eadfce;
- color: #5a4a3c;
- font-size: 15px;
- font-weight: 800;
- box-sizing: border-box;
- }
-
- .phone-item {
- min-height: 52px;
- margin-top: 4px;
- padding: 0 10px;
- border: 2px solid #d8caba;
- border-radius: 8px;
- background: #fffdf9;
- color: #2f2720;
- font-size: 16px;
- box-sizing: border-box;
- }
-
- .status-panel {
- min-height: 382px;
- padding: 24px 22px 22px;
- border: 2px solid #d8caba;
- border-radius: 62px;
- background: #fffdf9;
- box-sizing: border-box;
- }
-
- .status-panel h2 {
- margin: 0 0 18px;
- color: #2f2720;
- font-size: 22px;
- font-weight: 800;
- }
-
- .status-card-list {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 14px;
- margin-bottom: 20px;
- }
-
- .status-card {
- min-height: 104px;
- padding: 14px 18px;
- border: 2px solid #d8caba;
- border-radius: 14px;
- background: #ffffff;
- color: #2f2720;
- text-decoration: none;
- box-sizing: border-box;
- }
-
- .status-card:hover {
- background: #f6efe6;
- }
-
- .status-label {
- margin: 0;
- color: #7b6b5c;
- font-size: 16px;
- }
-
- .status-count {
- margin: 2px 0 0;
- color: #2f2720;
- font-size: 32px;
- font-weight: 800;
- line-height: 1.1;
- }
-
- .status-link {
- margin: 4px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- }
-
- .next-memorial {
- margin-bottom: 20px;
- }
-
- .next-memorial h3 {
- margin: 0 0 8px;
- color: #4b3c31;
- font-size: 17px;
- font-weight: 800;
- }
-
- .memorial-card {
- min-height: 72px;
- padding: 14px 20px;
- border: 2px solid #d8caba;
- border-radius: 10px;
- background: #ffffff;
- box-sizing: border-box;
- }
-
- .memorial-title {
- margin: 0;
- color: #2f2720;
- font-size: 16px;
- font-weight: 800;
- }
-
- .memorial-text {
- margin: 4px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- }
-
- .status-button-list {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 14px;
- }
-
- .status-button {
- height: 48px;
- border: 2px solid #d8caba;
- border-radius: 8px;
- background: #ffffff;
- color: #2f2720;
- font-size: 16px;
- font-weight: 800;
- text-decoration: none;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
-
- .status-button:hover {
- background: #f6efe6;
- }
-
- .bottom-note {
- width: 700px;
- margin: 18px 0 22px 36px;
- padding: 4px 12px;
- border: 2px solid #d8caba;
- border-radius: 4px;
- background: #eadfce;
- color: #7b6b5c;
- font-size: 14px;
- box-sizing: border-box;
- }
-
- /* =========================
- 家族タブ
- ========================= */
-
- .family-tab-content {
- margin-top: 24px;
- }
-
- .family-tab-content .section-heading {
- margin-bottom: 16px;
-
- h2 {
- margin: 0;
- font-size: 20px;
- font-weight: 700;
- }
- }
-
- .family-list-summary {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 16px;
- padding: 14px 18px;
- margin-bottom: 20px;
- background: #efe4d6;
- border: 2px solid #d8c2aa;
- border-radius: 12px;
- }
-
- .family-search-box {
- flex: 1;
- min-width: 0;
- display: grid;
- grid-template-columns: 96px minmax(0, 1fr);
- gap: 12px;
- align-items: center;
- }
-
- .family-search-label {
- color: #4b3c31;
- font-size: 16px;
- font-weight: 800;
- }
-
- .family-search-box input {
- width: 100%;
- height: 42px;
- padding: 0 14px;
- border: 2px solid #d8c2aa;
- border-radius: 8px;
- background: #fffdf9;
- color: #2f2720;
- font-size: 15px;
- font-weight: 700;
- box-sizing: border-box;
- }
-
- .family-table-section {
- margin-top: 16px;
- }
-
- .family-table {
- display: grid;
- gap: 8px;
- }
-
- .family-table-header,
- .family-table-row {
- display: grid;
- grid-template-columns: 1.1fr 1.1fr 0.8fr 0.6fr 1fr 1.2fr 80px;
- gap: 10px;
- align-items: center;
- }
-
- .family-table-action {
- display: flex;
- justify-content: center;
- align-items: center;
- }
-
- .family-edit-link {
- width: 64px;
- height: 34px;
- border: 2px solid #8a6543;
- border-radius: 6px;
- background: #ffffff;
- color: #8a6543;
- font-size: 14px;
- font-weight: 800;
- text-decoration: none;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
-
- .family-edit-link:hover {
- background: #f6efe6;
- }
-
- .event-status-select {
- width: 84px;
- height: 34px;
- padding: 0 8px;
- border: 2px solid #d8c2aa;
- border-radius: 6px;
- background: #ffffff;
- color: #6f6256;
- font-size: 13px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- outline: none;
- }
-
- .event-status-select.sent {
- border-color: #8a6543;
- background: #f1e7d8;
- color: #8a6543;
- }
-
- .event-status-select:focus {
- border-color: #8a6543;
- box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.15);
- }
-
- .family-table-header {
- padding: 12px 14px;
- background: #efe4d6;
- border: 2px solid #d8c2aa;
- border-radius: 10px;
- font-size: 14px;
- font-weight: 700;
- color: #111111;
- }
-
- .family-table-row {
- min-height: 56px;
- padding: 12px 14px;
- background: #fffaf3;
- border: 2px solid #d8c2aa;
- border-radius: 10px;
- font-size: 15px;
- color: #111111;
- }
-
- .family-table-row:hover {
- background: #fff4e8;
- }
-
- /* 既存の .family-name と名前がかぶるので、家族表の中だけに効かせる */
- .family-table-row .family-person-name {
- margin: 0;
- font-size: 15px;
- font-weight: 700;
- color: #111111;
- }
-
- .family-member-table {
- gap: 0;
- border: 2px solid #d8c2aa;
- border-radius: 8px;
- overflow: hidden;
- }
-
- .family-member-table .family-table-header,
- .family-member-table .family-table-row {
- grid-template-columns: 1.35fr 0.75fr 1.05fr 1fr 1.2fr 168px;
- gap: 12px;
- border: 0;
- border-radius: 0;
- }
-
- .family-member-table .family-table-header {
- min-height: 46px;
- padding: 0 14px;
- background: #efe4d6;
- }
-
- .family-member-table .family-table-row {
- min-height: 78px;
- padding: 10px 14px;
- background: #fffdf9;
- border-top: 1px solid #d8c2aa;
- }
-
- .family-member-table .family-table-row:hover {
- background: #fff8ee;
- }
-
- .family-person-sub,
- .family-person-date {
- margin: 0;
- }
-
- .family-person-sub {
- margin-top: 4px;
- color: #111111;
- font-size: 13px;
- line-height: 1.35;
- }
-
- .family-person-date {
- color: #111111;
- font-size: 15px;
- }
-
- .family-member-table .family-table-action {
- justify-content: center;
- gap: 8px;
- }
-
- .family-member-table .family-table-header > div:last-child {
- text-align: center;
- }
-
- .family-member-table .family-edit-link {
- width: 74px;
- }
-
- .kakocho-member-table .family-table-header,
- .kakocho-member-table .family-table-row {
- grid-template-columns: 1.25fr 1.15fr 1.05fr 0.65fr 0.6fr 1.1fr 82px;
- }
-
- .event-member-table .family-table-header,
- .event-member-table .family-table-row {
- grid-template-columns: 1.35fr 1fr 0.75fr 1.05fr 0.95fr 96px;
- }
-
- .event-member-table .event-status-select {
- width: 90px;
- }
-
- .event-member-table .family-table-header > div:last-child,
- .event-member-table .family-table-row > div:last-child {
- text-align: center;
- }
-
- .empty-family-message {
- padding: 20px;
- background: #fffaf3;
- border: 2px solid #d8c2aa;
- border-radius: 12px;
- color: #6f6256;
- font-weight: 700;
- }
-
- .family-support-area {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 18px;
- margin-top: 24px;
- }
-
- .support-card {
- padding: 18px 20px;
- background: #fffaf3;
- border: 2px solid #d8c2aa;
- border-radius: 14px;
-
- h2 {
- margin: 0 0 8px;
- font-size: 17px;
- font-weight: 700;
- color: #5d3b24;
- }
-
- p {
- margin: 0;
- font-size: 14px;
- color: #6f6256;
- line-height: 1.7;
- }
- }
-
- .coming-soon-section {
- margin-top: 24px;
- }
-
- .coming-soon-section .section-heading {
- margin-bottom: 16px;
-
- h2 {
- margin: 0;
- font-size: 20px;
- font-weight: 700;
- }
- }
-
- /* =========================
- 家系図タブ
- ========================= */
-
- .family-tree-tab-content {
- margin-top: 24px;
- }
-
- .family-tree-tab-content .section-heading {
- margin-bottom: 16px;
- }
-
- .family-tree-layout {
- display: grid;
- grid-template-columns: minmax(0, 1fr) 360px;
- gap: 24px;
- align-items: start;
- }
-
- .family-tree-area {
- min-height: 460px;
- padding: 22px;
- background: #fffaf3;
- border: 2px solid #d8c2aa;
- border-radius: 18px;
- box-sizing: border-box;
- }
-
- .family-tree-toolbar {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- gap: 18px;
- margin-bottom: 22px;
- }
-
- .family-tree-title {
- margin: 0;
- color: #2f2720;
- font-size: 20px;
- font-weight: 800;
- }
-
- .family-tree-caption {
- margin: 4px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- line-height: 1.6;
- }
-
- .family-tree-action-list {
- display: flex;
- gap: 10px;
- flex-shrink: 0;
- }
-
- .tree-action-button {
- min-width: 112px;
- height: 38px;
- padding: 0 14px;
- border: 2px solid #d8caba;
- border-radius: 6px;
- background: #ffffff;
- color: #2f2720;
- font-size: 14px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .tree-action-button:hover {
- background: #f6efe6;
- }
-
- .family-tree-card-list {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
- gap: 14px;
- }
-
- .family-tree-card {
- min-height: 112px;
- padding: 16px 18px;
- border: 2px solid #d8c2aa;
- border-radius: 14px;
- background: #ffffff;
- color: #2f2720;
- text-align: left;
- cursor: pointer;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- gap: 6px;
- }
-
- .family-tree-card:hover {
- background: #f6efe6;
- }
-
- .family-tree-card.active {
- border-color: #8a6543;
- background: #eadfce;
- box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.16);
- }
-
- .tree-card-name {
- color: #5d3b24;
- font-size: 18px;
- font-weight: 800;
- }
-
- .tree-card-relationship {
- color: #2f2720;
- font-size: 14px;
- font-weight: 700;
- }
-
- .tree-card-birth {
- color: #7b6b5c;
- font-size: 13px;
- }
-
- .family-tree-side-panel {
- min-height: 460px;
- padding: 24px 22px;
- background: #fffdf9;
- border: 2px solid #d8caba;
- border-radius: 36px;
- box-sizing: border-box;
- }
-
- .family-tree-side-panel h3 {
- margin: 0 0 16px;
- color: #2f2720;
- font-size: 20px;
- font-weight: 800;
- }
-
- .selected-person-card {
- margin-bottom: 18px;
- padding: 16px 18px;
- background: #eadfce;
- border: 2px solid #d8caba;
- border-radius: 14px;
- box-sizing: border-box;
- }
-
- .selected-person-name {
- margin: 0;
- color: #2f2720;
- font-size: 22px;
- font-weight: 800;
- line-height: 1.2;
- }
-
- .selected-person-sub {
- margin: 4px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- }
-
- .selected-info-list {
- display: grid;
- gap: 10px;
- }
-
- .selected-info-row {
- display: grid;
- grid-template-columns: 82px 1fr;
- gap: 10px;
- align-items: start;
- padding: 10px 12px;
- background: #ffffff;
- border: 2px solid #d8caba;
- border-radius: 8px;
- box-sizing: border-box;
- }
-
- .selected-info-row span {
- color: #7b6b5c;
- font-size: 14px;
- font-weight: 700;
- }
-
- .selected-info-row strong {
- color: #2f2720;
- font-size: 15px;
- font-weight: 800;
- line-height: 1.6;
- }
-
- .children-row strong {
- display: flex;
- flex-wrap: wrap;
- gap: 6px;
- }
-
- .child-name {
- display: inline-flex;
- align-items: center;
- min-height: 26px;
- padding: 2px 8px;
- border-radius: 999px;
- background: #f1e7d8;
- color: #5d3b24;
- font-size: 13px;
- font-weight: 800;
- }
-
- .marriage-summary-panel {
- margin-top: 18px;
- padding: 14px 16px;
- background: #fffaf3;
- border: 2px solid #d8caba;
- border-radius: 12px;
- box-sizing: border-box;
- }
-
- .marriage-summary-panel h4 {
- margin: 0 0 12px;
- color: #2f2720;
- font-size: 16px;
- font-weight: 800;
- }
-
- .marriage-summary-block + .marriage-summary-block {
- margin-top: 14px;
- }
-
- .marriage-summary-label {
- margin: 0 0 8px;
- color: #7b6b5c;
- font-size: 13px;
- font-weight: 800;
- }
-
- .marriage-history-list {
- display: grid;
- gap: 8px;
- }
-
- .marriage-person-button {
- width: 100%;
- min-height: 40px;
- padding: 8px 10px;
- border: 2px solid #8a6543;
- border-radius: 8px;
- background: #ffffff;
- color: #2f2720;
- font-size: 14px;
- font-weight: 800;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 8px;
- box-sizing: border-box;
- }
-
- .marriage-person-button:hover {
- background: #f6efe6;
- }
-
- .marriage-person-button small {
- color: #7b6b5c;
- font-size: 12px;
- font-weight: 800;
- }
-
- .marriage-person-button.secondary {
- border-color: #d8caba;
- }
-
- .marriage-empty-text {
- margin: 0;
- color: #7b6b5c;
- font-size: 14px;
- font-weight: 700;
- }
-
- .selected-person-actions {
- display: grid;
- gap: 10px;
- margin-top: 18px;
- }
-
- .selected-person-button {
- min-height: 42px;
- border: 2px solid #8a6543;
- border-radius: 6px;
- background: #8a6543;
- color: #ffffff;
- font-size: 15px;
- font-weight: 800;
- text-decoration: none;
- cursor: pointer;
- display: flex;
- align-items: center;
- justify-content: center;
- box-sizing: border-box;
- }
-
- .selected-person-button:hover {
- background: #765639;
- }
-
- .selected-person-button.secondary {
- background: #ffffff;
- color: #8a6543;
- }
-
- .selected-person-button.secondary:hover {
- background: #f6efe6;
- }
-
- /* =========================
- 家系図 図式レイアウト
- ========================= */
-
- .family-tree-diagram {
- min-height: 330px;
- padding: 28px 18px;
- background: #fffdf9;
- border: 2px dashed #d8c2aa;
- border-radius: 18px;
- box-sizing: border-box;
- display: grid;
- gap: 34px;
- }
-
- .tree-generation {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 18px;
- position: relative;
- }
-
- .parent-generation {
- padding-bottom: 8px;
- }
-
- .main-generation {
- padding: 8px 0;
- }
-
- .child-generation {
- padding-top: 8px;
- flex-wrap: wrap;
- }
-
- .family-tree-card.small {
- min-height: 86px;
- max-width: 180px;
- }
-
- .family-tree-card.main-person {
- min-width: 210px;
- }
-
- .family-tree-card.spouse-person {
- min-width: 190px;
- }
-
- /* 本人と配偶者の間の線 */
- .main-generation .main-person::after {
- content: "";
- position: absolute;
- top: 50%;
- right: -20px;
- width: 20px;
- height: 2px;
- background: #8a6543;
- }
-
- /* カードを線の基準にする */
- .main-generation .family-tree-card {
- position: relative;
- }
-
- /* 親世代から本人世代への縦線 */
- .parent-generation::after {
- content: "";
- position: absolute;
- bottom: -28px;
- left: 50%;
- width: 2px;
- height: 28px;
- background: #d8c2aa;
- transform: translateX(-50%);
- }
-
- /* 本人世代から子世代への縦線 */
- .main-generation::after {
- content: "";
- position: absolute;
- bottom: -30px;
- left: 50%;
- width: 2px;
- height: 30px;
- background: #d8c2aa;
- transform: translateX(-50%);
- }
-
- /* 子どもがいない場合の文言 */
- .tree-empty-text {
- margin: 0;
- padding: 12px 18px;
- background: #ffffff;
- border: 2px solid #d8c2aa;
- border-radius: 10px;
- color: #7b6b5c;
- font-size: 14px;
- font-weight: 700;
- }
-
- .family-tree-member-list {
- margin-top: 18px;
- padding: 16px 18px;
- background: #ffffff;
- border: 2px solid #d8c2aa;
- border-radius: 14px;
- box-sizing: border-box;
- }
-
- .member-list-title {
- margin: 0 0 10px;
- color: #5d3b24;
- font-size: 15px;
- font-weight: 800;
- }
-
- .member-chip-list {
- display: flex;
- flex-wrap: wrap;
- gap: 8px;
- }
-
- .member-chip {
- min-height: 34px;
- padding: 6px 12px;
- border: 2px solid #d8caba;
- border-radius: 999px;
- background: #fffdf9;
- color: #2f2720;
- font-size: 14px;
- font-weight: 700;
- cursor: pointer;
- }
-
- .member-chip:hover {
- background: #f6efe6;
- }
-
- .member-chip.active {
- border-color: #8a6543;
- background: #8a6543;
- color: #ffffff;
- }
-
- /* 家族表が狭い画面では横スクロール */
- @media (max-width: 800px) {
- .family-list-summary {
- align-items: flex-start;
- flex-direction: column;
- }
-
- .family-search-box {
- width: 100%;
- grid-template-columns: 1fr;
- }
-
- .family-table {
- overflow-x: auto;
- }
-
- .family-table-header,
- .family-table-row {
- min-width: 880px;
- }
-
- .family-support-area {
- grid-template-columns: 1fr;
- }
-
- //家系図タブ
- .family-tree-layout {
- grid-template-columns: 1fr;
- }
-
- .family-tree-toolbar {
- flex-direction: column;
- }
-
- .family-tree-action-list {
- width: 100%;
- flex-direction: column;
- }
-
- .tree-action-button {
- width: 100%;
- }
-
- .family-tree-side-panel {
- border-radius: 28px;
- }
-
- .selected-info-row {
- grid-template-columns: 1fr;
- gap: 4px;
- }
-
- .family-tree-diagram {
- padding: 22px 12px;
- gap: 26px;
- }
-
- .tree-generation {
- flex-direction: column;
- gap: 12px;
- }
-
- .family-tree-card.small,
- .family-tree-card.main-person,
- .family-tree-card.spouse-person {
- width: 100%;
- max-width: none;
- min-width: 0;
- }
-
- .main-generation .main-person::after {
- display: none;
- }
-
- .parent-generation::after,
- .main-generation::after {
- height: 20px;
- bottom: -22px;
- }
- }
-
- .family-tree-svg-container {
- width: 100%;
- height: 700px;
-
- overflow: auto;
-
- border: 1px solid #ddd;
- }
- .family-tree-svg-container {
-
- width: 100%;
-
- height: 700px;
-
- overflow: hidden;
-
- border: 1px solid #ddd;
- }
- .family-node {
-
- cursor: pointer;
-
- }
-
- .family-text {
-
- cursor: pointer;
-
- }
-
- .family-tree-svg-container svg {
- width: 100%;
- height: 100%;
- }
-
- .family-text {
- writing-mode: vertical-rl;
- text-orientation: upright;
- }
|