| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442 |
- :host {
- position: relative;
- display: block;
- min-height: 100vh;
- background: #f6f0e7;
- color: #2f2720;
- }
-
- .danka-detail-page {
- display: grid;
- grid-template-columns: 172px minmax(0, 1fr);
- gap: 20px;
- padding: 0 38px 36px 0;
- background: #f6f0e7;
- }
-
- .danka-detail-main {
- min-width: 0;
- box-sizing: border-box;
- }
-
- .detail-panel {
- min-height: 760px;
- padding: 34px 42px 40px;
- background: #fffdf9;
- border: 2px solid #d8caba;
- border-radius: 64px;
- box-sizing: border-box;
- }
-
- .page-title-row {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- gap: 24px;
- margin-bottom: 22px;
- }
-
- .page-title-row h1 {
- margin: 0 0 18px;
- color: #2f2720;
- font-size: 34px;
- line-height: 1.1;
- font-weight: 800;
- letter-spacing: 0;
- }
-
- .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: 54px;
- 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: 22px;
- padding: 14px 24px;
- border: 2px solid #d8caba;
- border-radius: 8px;
- background: #fbf7f0;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- }
-
- .family-name-area {
- display: flex;
- align-items: center;
- gap: 18px;
- }
-
- .family-summary-mark {
- width: 42px;
- height: 42px;
- border-radius: 999px;
- background: #8a6543;
- color: #ffffff;
- font-weight: 800;
- display: flex;
- align-items: center;
- justify-content: center;
- flex: 0 0 auto;
- }
-
- .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: 54px;
- 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: 54px;
- 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) 420px;
- gap: 20px;
- align-items: start;
- }
-
- .basic-info-section {
- padding: 24px 20px 22px;
- border: 2px solid #d8caba;
- border-radius: 12px;
- background: #fffdf9;
- box-sizing: border-box;
- }
-
- .section-heading {
- margin-bottom: 14px;
- }
-
- .section-heading h2 {
- margin: 0;
- color: #2f2720;
- font-size: 22px;
- font-weight: 800;
- line-height: 1.3;
- }
-
- .section-heading p {
- margin: 3px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- }
-
- .info-form {
- width: 100%;
- }
-
- .info-pair-row {
- border-top: 1px solid #eadfce;
- }
-
- .info-pair-row:first-child {
- border-top: 0;
- }
-
- .info-two-column {
- display: grid;
- grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
- gap: 18px;
- }
-
- .info-row {
- display: grid;
- grid-template-columns: 154px 1fr;
- align-items: center;
- margin-top: 0;
- min-height: 62px;
- padding: 6px 0;
- box-sizing: border-box;
- }
-
- .info-form > .info-row {
- margin-top: 10px;
- }
-
- .info-label {
- min-height: 42px;
- padding: 0 14px;
- border-radius: 6px;
- background: #f3eee8;
- color: #4b3c31;
- font-size: 16px;
- font-weight: 800;
- display: flex;
- align-items: center;
- box-sizing: border-box;
- }
-
- .info-value {
- min-height: 42px;
- padding: 8px 18px;
- border: 0;
- border-radius: 0;
- background: transparent;
- color: #2f2720;
- font-size: 16px;
- font-weight: 700;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- }
-
- .phone-row {
- align-items: start;
- min-height: 104px;
- }
-
- .phone-row .info-label {
- min-height: 104px;
- align-items: flex-start;
- padding-top: 16px;
- }
-
- .phone-table {
- width: 100%;
- padding: 8px 18px;
- box-sizing: border-box;
- }
-
- .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: 36px;
- padding: 0;
- border: 0;
- border-radius: 0;
- border-top: 1px solid #eadfce;
- background: transparent;
- color: #2f2720;
- font-size: 16px;
- box-sizing: border-box;
- }
-
- .phone-item:first-child {
- border-top: 0;
- }
-
- .phone-note {
- min-height: 28px;
- width: fit-content;
- min-width: 88px;
- border-radius: 6px;
- background: #f3eee8;
- display: flex;
- align-items: center;
- justify-content: center;
- justify-self: start;
- padding: 0 14px;
- box-sizing: border-box;
- }
-
- .note-info-row {
- align-items: center;
- }
-
- .note-info-row .info-label {
- margin-top: 0;
- }
-
- .note-info-value {
- align-items: center;
- min-height: 64px;
- white-space: pre-wrap;
- }
-
- .status-panel {
- min-height: 100%;
- padding: 26px 20px 24px;
- border: 2px solid #d8caba;
- border-radius: 12px;
- background: #fffdf9;
- box-sizing: border-box;
- }
-
- .status-panel h2 {
- margin: 0 0 24px;
- color: #2f2720;
- font-size: 22px;
- font-weight: 800;
- line-height: 1.3;
- display: flex;
- align-items: center;
- gap: 12px;
- }
-
- .panel-heading-icon {
- color: #8a6543;
- font-weight: 800;
- }
-
- .status-card-list {
- display: grid;
- grid-template-columns: 1fr 1fr;
- gap: 16px;
- margin-bottom: 28px;
- }
-
- .status-card {
- min-height: 126px;
- padding: 18px 16px;
- border: 2px solid #d8caba;
- border-radius: 8px;
- 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;
- text-align: center;
- }
-
- .status-count {
- margin: 10px 0 0;
- color: #2f2720;
- font-size: 32px;
- font-weight: 800;
- line-height: 1.1;
- text-align: center;
- }
-
- .status-link {
- margin: 10px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- text-align: center;
- }
-
- .next-memorial {
- margin-bottom: 20px;
- }
-
- .next-memorial h3 {
- margin: 0 0 16px;
- color: #4b3c31;
- font-size: 18px;
- font-weight: 800;
- display: flex;
- align-items: center;
- gap: 12px;
- }
-
- .memorial-card {
- min-height: 116px;
- padding: 24px 18px;
- border: 2px solid #d8caba;
- border-radius: 8px;
- background: #ffffff;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- justify-content: center;
- text-align: center;
- }
-
- .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: 22px;
- line-height: 1.3;
- font-weight: 800;
- }
- }
-
- .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: 22px;
- line-height: 1.3;
- font-weight: 800;
- }
- }
-
- /* =========================
- 家系図タブ
- ========================= */
-
- .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: 1100px) {
- .danka-detail-page {
- grid-template-columns: 1fr;
- padding: 0 24px 32px;
- }
-
- .detail-panel {
- min-height: auto;
- border-radius: 28px;
- padding: 28px 24px 32px;
- }
-
- .detail-content {
- grid-template-columns: 1fr;
- }
-
- .page-title-row {
- flex-direction: column;
- }
-
- .edit-button,
- .add-button,
- .family-page-add-button {
- margin-top: 0;
- }
- }
-
- /* 家族表が狭い画面では横スクロール */
- @media (max-width: 800px) {
- .detail-content,
- .info-two-column {
- grid-template-columns: 1fr;
- }
-
- .info-row {
- grid-template-columns: 1fr;
- gap: 8px;
- }
-
- .phone-row .info-label {
- min-height: 42px;
- }
-
- .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;
- }
|