| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309 |
- :host {
- position: relative;
- display: block;
- min-height: 100vh;
- background: #f6f0e7;
- color: #2f2720;
- }
-
- .danka-edit-page {
- display: grid;
- grid-template-columns: 172px minmax(0, 1fr);
- gap: 20px;
- padding: 0 38px 36px 0;
- background: #f6f0e7;
- }
-
- .danka-edit-main {
- min-width: 0;
- box-sizing: border-box;
- }
-
- .edit-panel {
- min-height: 760px;
- padding: 34px 42px 40px;
- background: #fffdf9;
- border: 2px solid #d8caba;
- border-radius: 64px;
- box-sizing: border-box;
- }
-
- .page-title-area {
- margin-bottom: 22px;
- }
-
- .page-title-area h1 {
- margin: 0;
- color: #2f2720;
- font-size: 34px;
- line-height: 1.1;
- font-weight: 800;
- }
-
- .edit-form {
- display: block;
- width: 100%;
- margin: 0;
- color: #2f2720;
- }
-
- .edit-form input,
- .edit-form select,
- .edit-form textarea,
- .edit-form button {
- font-family: inherit;
- }
-
- .edit-content {
- display: grid;
- grid-template-columns: 1fr;
- gap: 16px;
- align-items: start;
- }
-
- .basic-edit-section,
- .family-tree-edit-section {
- overflow: hidden;
- padding: 0 22px 24px;
- border: 2px solid #d8caba;
- border-radius: 12px;
- background: #fffdf9;
- box-sizing: border-box;
- }
-
- .basic-edit-section h2,
- .family-tree-edit-section h2,
- .section-heading h2 {
- margin: 0 -22px 18px;
- padding: 12px 22px;
- background: #eadfce;
- border-bottom: 2px solid #d8caba;
- color: #2f2720;
- font-size: 22px;
- line-height: 1.3;
- font-weight: 800;
- }
-
- .section-heading {
- margin-bottom: 18px;
- }
-
- .section-heading p {
- margin: 3px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- }
-
- .section-description {
- margin: 6px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- line-height: 1.6;
- }
-
- .form-list {
- width: min(100%, 620px);
- margin-top: 14px;
- }
-
- .form-row {
- display: grid;
- grid-template-columns: 150px minmax(0, 1fr);
- align-items: center;
- gap: 14px;
- margin-bottom: 12px;
- }
-
- .form-row label {
- color: #4b3c31;
- font-size: 15px;
- font-weight: 800;
- }
-
- .form-field {
- width: 100%;
- }
-
- .form-row input,
- .form-row select,
- .form-row textarea {
- width: 100%;
- border: 2px solid #d8caba;
- border-radius: 8px;
- background: #fffdf9;
- color: #2f2720;
- font-size: 16px;
- font-weight: 600;
- font-family: inherit;
- box-sizing: border-box;
- outline: none;
- }
-
- .form-row input,
- .form-row select {
- height: 46px;
- padding: 0 14px;
- }
-
- .form-row textarea {
- min-height: 112px;
- padding: 12px 14px;
- resize: vertical;
- line-height: 1.6;
- }
-
- .form-row input:focus,
- .form-row select:focus,
- .form-row textarea:focus {
- border-color: #8a6543;
- background: #ffffff;
- box-shadow: 0 0 0 3px rgba(138, 101, 67, 0.15);
- }
-
- .form-row input[readonly] {
- background: #f6efe6;
- color: #7b6b5c;
- }
-
- .error-message {
- margin: 6px 0 0;
- color: #9a3f32;
- font-size: 13px;
- font-weight: 700;
- }
-
- .form-row-heading {
- margin: 24px 0 14px;
- align-items: start;
- }
-
- .form-row-heading label {
- padding-top: 0;
- }
-
- .sub-section-title {
- margin: 0;
- color: #2f2720;
- font-size: 17px;
- font-weight: 800;
- }
-
- .sub-section-description {
- margin: 6px 0 0;
- color: #7b6b5c;
- font-size: 14px;
- line-height: 1.6;
- }
-
- .set-householder-button {
- width: auto;
- min-width: 170px;
- height: 46px;
- border: 2px solid #d8caba;
- border-radius: 6px;
- background: #ffffff;
- color: #2f2720;
- font-size: 16px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .set-householder-button:hover {
- background: #f6efe6;
- }
-
- .bottom-actions {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- gap: 12px;
- margin-top: 28px;
- }
-
- .delete-button,
- .cancel-button,
- .save-button {
- min-width: 116px;
- height: 46px;
- border-radius: 8px;
- font-size: 16px;
- font-weight: 800;
- cursor: pointer;
- box-sizing: border-box;
- }
-
- .delete-button,
- .cancel-button {
- border: 2px solid #d8caba;
- background: #ffffff;
- color: #2f2720;
- }
-
- .delete-button:hover {
- border-color: #9a3f32;
- color: #9a3f32;
- }
-
- .cancel-button:hover {
- background: #f6efe6;
- }
-
- .save-button {
- border: 2px solid #8a6543;
- background: #8a6543;
- color: #ffffff;
- }
-
- .save-button:hover {
- background: #765639;
- }
-
- .save-button:disabled {
- opacity: 0.5;
- cursor: not-allowed;
- }
-
- /* 画面幅が狭い場合 */
- @media (max-width: 1100px) {
- .danka-edit-page {
- grid-template-columns: 1fr;
- padding: 0 24px 32px;
- }
-
- .edit-panel {
- min-height: auto;
- border-radius: 28px;
- padding: 28px 24px 32px;
- }
-
- .edit-content {
- grid-template-columns: 1fr;
- }
- }
-
- @media (max-width: 800px) {
- .page-title-area h1 {
- font-size: 26px;
- }
-
- .form-row {
- grid-template-columns: 1fr;
- row-gap: 6px;
- }
-
- .form-row label {
- padding-top: 0;
- }
-
- .bottom-actions {
- flex-direction: column;
- align-items: stretch;
- }
-
- .delete-button,
- .cancel-button,
- .save-button {
- width: 100%;
- }
- }
|