@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap";*{box-sizing:border-box}body{margin:0;font-family:Noto Sans JP,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select{font:inherit}.app{justify-content:center;min-height:100vh;padding:60px 20px;display:flex}.hero{text-align:center;width:100%;max-width:480px}.logo{margin-bottom:60px;font-size:24px;font-weight:700}h1{margin-bottom:24px;font-size:32px;line-height:1.5}.description{margin-bottom:40px;line-height:1.8}.start-button{cursor:pointer;border:0;border-radius:12px;width:100%;padding:18px;font-size:16px;font-weight:700}.note{margin-top:24px;font-size:13px;line-height:1.8}.form-label{text-align:left;margin-bottom:32px;font-weight:700;display:block}.form-input{border:1px solid #ddd;border-radius:10px;width:100%;margin-top:10px;padding:16px}.create-screen .logo,.create-screen h1{text-align:center}.form-title{margin-bottom:10px;font-weight:700}.member-input{margin-top:0}.remove-button{cursor:pointer;background:0 0;border:0;flex:0 0 42px;width:42px;height:42px;font-size:24px}.add-member-button{cursor:pointer;background:0 0;border:0;padding:8px 0;font-weight:700}.group-header .logo{margin-bottom:20px}.group-header h1{margin:0}.balance-section,.history-section{margin-bottom:32px}.balance-section h2,.history-section h2{margin-bottom:16px;font-size:16px}.balance-list{border:1px solid #eee;border-radius:12px;overflow:hidden}.balance-row{border-bottom:1px solid #eee;justify-content:space-between;padding:16px;display:flex}.settlement-button,.final-button{cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:12px;width:100%;padding:16px;font-weight:700}.empty-history{text-align:center;border:1px solid #eee;border-radius:12px;padding:32px 16px}.empty-history p{margin:0 0 8px;font-weight:700}.empty-history span{font-size:13px}.amount-input .form-input{flex:1}.check-row{cursor:pointer;border-bottom:1px solid #eee;align-items:center;gap:12px;padding:12px 0;display:flex}.check-row input{width:20px;height:20px}.history-list{border:1px solid #eee;border-radius:12px;overflow:hidden}.history-row>div{gap:4px;display:grid}.history-row span{font-size:12px}.history-row>.history-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;display:flex}.settlement-arrow{text-align:center;margin:-12px 0 12px;font-size:24px}.final-screen>.logo,.final-screen>h1,.final-screen>h2{text-align:center}.final-screen>.logo{margin-bottom:20px}.final-screen>h1{margin-bottom:8px}.final-screen>h2{margin-bottom:32px;font-size:18px}.final-row{border:1px solid #eee;border-radius:12px;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;padding:20px 16px;display:grid}.final-row>strong:last-child{text-align:right}.final-transfer{align-items:center;gap:8px;display:flex}.final-transfer span:first-child{font-weight:700}.settled-message{text-align:center;border:1px solid #eee;border-radius:12px;padding:32px 16px}.settled-message p{margin:8px 0 0;font-size:13px}.share-button{width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:12px;margin-top:24px;padding:14px 16px}.history-actions{flex-direction:column;flex-shrink:0;align-items:flex-end;display:flex}.history-action-buttons{flex-flow:row;justify-content:flex-end;align-items:center;display:flex}.history-edit-button,.history-delete-button{min-height:44px;font:inherit;white-space:nowrap;cursor:pointer;background:0 0;border:0;justify-content:center;align-items:center;padding:0 6px;font-size:.8rem;display:inline-flex}.history-edit-button{color:#666}.history-delete-button{color:#c65b5b}.history-edit-button:hover,.history-delete-button:hover{text-decoration:underline}.site-header{background:#fff;border-bottom:1px solid #eee;width:100%}.header-inner{justify-content:space-between;align-items:center;width:100%;max-width:1100px;height:80px;margin:0 auto;padding:0 24px;display:flex}.header-logo{line-height:0;display:block}.header-logo img{width:140px;height:auto;display:block}.header-nav{align-items:center;gap:32px;display:flex}.header-nav a{color:#333;font-size:14px;text-decoration:none}.header-nav a:hover{color:#00b8ad}.header-create-button{color:#fff;font:inherit;cursor:pointer;background:#00b8ad;border:0;border-radius:12px;padding:13px 22px;font-size:14px;font-weight:700}.menu-button{color:#222;cursor:pointer;background:0 0;border:0;padding:8px;font-size:24px;display:none}.mobile-menu{display:none}.home{color:#222;text-align:center;min-height:100vh;padding:80px 20px 0}.home .hero{width:100%;max-width:640px;margin:0 auto}.hero-logo{width:240px;max-width:65%;height:auto;margin:0 auto 48px;display:block}.home h1{letter-spacing:.02em;margin:0 0 28px;font-size:clamp(32px,5vw,48px);line-height:1.5}.home .description{margin:0 0 40px;font-size:17px;line-height:1.9}.home .start-button{color:#fff;cursor:pointer;background:#00b8ad;border:0;border-radius:14px;width:100%;max-width:520px;padding:20px;font-size:18px;font-weight:700;transition:opacity .2s,transform .2s}.home .start-button:hover{opacity:.9}.home .start-button:active{transform:translateY(1px)}.home .note{color:#555;margin:24px 0 0;font-size:14px;line-height:1.8}.features{grid-template-columns:repeat(3,1fr);gap:32px;width:100%;max-width:760px;margin:72px auto 96px;display:grid}.feature{text-align:center}.feature-icon{color:#00b8ad;background:#eefafa;border-radius:50%;justify-content:center;align-items:center;width:80px;height:80px;margin:0 auto 18px;font-size:32px;display:flex}.feature-icon svg{width:30px;height:30px}.feature h2{margin:0 0 10px;font-size:17px}.feature p{color:#555;margin:0;font-size:14px;line-height:1.8}.how-to{border-top:1px solid #eee;width:100%;max-width:900px;margin:0 auto 96px;padding-top:80px}.section-heading{text-align:center;margin-bottom:48px}.section-heading>span{color:#00b8ad;letter-spacing:.12em;margin-bottom:8px;font-size:12px;font-weight:700;display:block}.section-heading h2{margin:0 0 12px;font-size:28px}.section-heading p{color:#555;margin:0;font-size:14px}.steps{grid-template-columns:repeat(4,1fr);display:grid}.step{text-align:center;padding:0 24px;position:relative}.step:not(:last-child):after{content:"";background:#e5e5e5;width:1px;height:72px;position:absolute;top:18px;right:0}.step-number{color:#00b8ad;letter-spacing:.08em;margin-bottom:16px;font-size:12px;font-weight:700;display:block}.step h3{margin:0 0 10px;font-size:16px}.step p{color:#555;margin:0;font-size:13px;line-height:1.8}.faq{border-top:1px solid #eee;width:100%;max-width:720px;margin:0 auto 96px;padding-top:80px}.faq-list{border-top:1px solid #eee}.faq-item{border-bottom:1px solid #eee}.faq-item summary{text-align:left;cursor:pointer;justify-content:space-between;align-items:center;gap:24px;padding:22px 4px;font-size:15px;font-weight:700;list-style:none;display:flex}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary svg{color:#00b8ad;flex-shrink:0;font-size:14px;transition:transform .2s}.faq-item[open] summary svg{transform:rotate(180deg)}.faq-item>p{color:#555;text-align:left;margin:0;padding:0 40px 22px 4px;font-size:14px;line-height:1.9}.home-footer{text-align:center;border-top:1px solid #e5e5e5;width:100%;max-width:900px;margin:0 auto;padding:40px 20px 32px}.footer-logo{width:130px;height:auto;margin:0 auto 24px;display:block}.footer-nav{flex-wrap:wrap;justify-content:center;gap:12px 28px;margin-bottom:20px;display:flex}.footer-nav a{color:#555;font-size:13px;text-decoration:none}.footer-nav a:hover{text-decoration:underline}.version,.copyright{color:#777;margin:6px 0 0;font-size:12px}.compact-footer{text-align:center;border-top:1px solid #eee;margin-top:24px;padding:28px 16px 24px}.compact-footer .footer-nav{flex-wrap:wrap;justify-content:center;gap:10px 20px;margin-bottom:14px;display:flex}.compact-footer .footer-nav a{color:#667085;font-size:.78rem;text-decoration:none}.compact-footer .footer-nav a:hover{color:#00a99f}.compact-footer .copyright{color:#98a2b3;margin:0;font-size:.72rem}@media (width<=600px){.site-header{border-bottom-color:#eee}.header-inner{height:68px;padding:0 20px}.header-logo img{width:120px}.header-nav{display:none}.menu-button{justify-content:center;align-items:center;display:flex}.mobile-menu{background:#fff;border-top:1px solid #eee;padding:8px 20px 20px;display:none}.mobile-menu.is-open{display:grid}.mobile-menu a{color:#333;border-bottom:1px solid #eee;padding:16px 4px;font-size:15px;text-decoration:none}.mobile-menu a:hover{color:#00b8ad}.mobile-create-button{color:#fff;width:100%;font:inherit;cursor:pointer;background:#00b8ad;border:0;border-radius:12px;margin-top:20px;padding:16px;font-weight:700}.home{padding:32px 20px 0}.home .hero{max-width:420px}.hero-logo{width:150px;margin-bottom:24px}.home h1{margin-bottom:20px;font-size:30px;line-height:1.5}.home .description{margin-bottom:28px;font-size:15px}.home .start-button{padding:18px 14px;font-size:16px}.home .note{margin-top:18px}.features{grid-template-columns:1fr;gap:0;max-width:420px;margin:40px auto 56px}.feature{text-align:left;border-bottom:1px solid #eee;grid-template-rows:auto auto;grid-template-columns:68px 1fr;column-gap:18px;padding:20px 0;display:grid}.feature:last-child{border-bottom:0}.feature-icon{grid-row:1/3;width:68px;height:68px;margin:0;font-size:28px}.feature h2{align-self:end;margin-bottom:4px}.feature p{align-self:start}.how-to{margin-bottom:64px;padding-top:56px}.section-heading{margin-bottom:32px}.section-heading h2{font-size:24px}.steps{grid-template-columns:1fr}.step{padding:20px 0}.step:not(:last-child){border-bottom:1px solid #eee}.step:not(:last-child):after{display:none}.step-number{margin-bottom:8px}.step h3{margin-bottom:6px}.faq{margin-bottom:64px;padding-top:56px}.faq .section-heading{margin-bottom:28px}.faq-item summary{padding:20px 4px;font-size:15px}.faq-item>p{padding:0 32px 20px 4px;font-size:13px}.home-footer{padding:32px 0 24px}.footer-nav{gap:10px 18px}}.legal-page{background:#fff;min-height:100vh;padding:72px 20px 96px}.legal-container{color:#263238;width:min(100%,800px);margin:0 auto;line-height:1.9}.legal-heading{text-align:center;margin-bottom:48px}.legal-heading span{letter-spacing:.12em;margin-bottom:6px;font-size:.75rem;font-weight:700;display:block}.legal-heading h1{margin:0;font-size:2rem;line-height:1.4}.legal-container>p{margin:0 0 1em}.legal-container section{margin-top:48px}.legal-container h2{margin:0 0 16px;font-size:1.15rem;line-height:1.6}.legal-container section p{margin:0}.legal-container ol{margin:0;padding-left:1.6em}.legal-container li{margin-bottom:8px;padding-left:.3em}.legal-meta{border-top:1px solid #e5e5e5;margin-top:64px;padding-top:24px;font-size:.9rem}.legal-meta p{margin:4px 0}@media (width<=600px){.legal-page{padding:48px 24px 72px}.legal-heading{margin-bottom:36px}.legal-heading h1{font-size:1.7rem}.legal-container{font-size:.95rem;line-height:1.85}.legal-container section{margin-top:40px}.legal-container h2{font-size:1.05rem}}.group-error-page{background:#f7f8f8;justify-content:center;align-items:center;min-height:calc(100vh - 140px);padding:24px;display:flex}.group-error-card{text-align:center;background:#fff;border-radius:20px;width:min(100%,480px);padding:48px 32px;box-shadow:0 8px 32px #0000000f}.group-error-logo{width:180px;height:auto;margin-bottom:36px}.group-error-card h1{margin:0 0 16px;font-size:1.5rem}.group-error-card p{color:#5f6b70;margin:0 0 32px;line-height:1.8}.group-error-card button{font:inherit;cursor:pointer;color:#fff;background:#08b5a6;border:0;border-radius:999px;padding:12px 28px;font-weight:700}@media (width<=600px){.group-error-card{padding:40px 24px}.group-error-logo{width:160px}.group-error-card h1{font-size:1.3rem}}.group-screen{text-align:left}.group-header{text-align:center;margin-bottom:48px}.group-logo{width:220px;max-width:70%;height:auto;margin:0 auto 28px;display:block}.group-header h1{margin:0;font-size:1.8rem;line-height:1.5}.balance-section{margin-bottom:32px}.balance-section h2,.history-section h2{margin:0 0 14px;font-size:.95rem}.balance-list{background:#fff;border:1px solid #e7e7e7;border-radius:14px;overflow:hidden}.balance-row{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;gap:16px;padding:17px 18px;display:flex}.balance-row:last-child{border-bottom:0}.balance-row strong{font-size:1rem}.action-buttons{gap:12px;margin-bottom:48px;display:grid}.group-screen .start-button{color:#fff;font:inherit;cursor:pointer;background:#00b8ad;border:0;border-radius:14px;padding:17px 16px;font-weight:700;transition:opacity .2s,transform .2s}.group-screen .start-button:hover{opacity:.9}.group-screen .start-button:active{transform:translateY(1px)}.settlement-button{color:#008f87;font:inherit;cursor:pointer;background:#fff;border:1px solid #00b8ad;border-radius:14px;padding:16px;font-weight:700}.history-section{margin-bottom:48px}.history-list{background:#fff;border:1px solid #e7e7e7;border-radius:14px;overflow:hidden}.history-row{border-bottom:1px solid #eee;justify-content:space-between;gap:20px;padding:18px;display:flex}.history-row:last-child{border-bottom:0}.history-row>div:first-child{min-width:0}.history-row>div:first-child>strong{font-size:.95rem}.history-row span{color:#666;font-size:.78rem}.history-actions>strong{font-size:.95rem}.history-edit-button,.history-delete-button{min-height:36px}.share-button{color:#444;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:14px;margin:0 0 12px;padding:15px 16px}.final-button{color:#fff;width:100%;font:inherit;cursor:pointer;background:#1d2939;border:0;border-radius:14px;padding:17px 16px;font-weight:700}@media (width<=600px){.app{padding:36px 20px 56px}.group-header{margin-bottom:36px}.group-logo{width:180px;margin-bottom:22px}.group-header h1{font-size:1.55rem}.balance-row,.history-row{padding:16px}.action-buttons,.history-section{margin-bottom:40px}}.create-screen{text-align:left}.form-logo{width:200px;max-width:65%;height:auto;margin:0 auto 24px;display:block}.create-screen h1{text-align:center;margin:0 0 44px;font-size:1.7rem;line-height:1.5}.back-button{color:#667085;min-height:44px;font:inherit;cursor:pointer;background:#f5f6f7;border:0;border-radius:12px;align-items:center;gap:8px;margin-bottom:12px;padding:0 14px;font-size:.9rem;font-weight:500;transition:background-color .2s,color .2s;display:inline-flex}.back-button svg{font-size:.8rem}.back-button:hover{color:#00a99f;background:#f5f7f7}.form-label{margin-bottom:28px;font-weight:700;display:block}.form-input{color:#222;width:100%;font:inherit;background:#fff;border:1px solid #ddd;border-radius:12px;outline:none;margin-top:10px;padding:15px 16px;font-weight:400;transition:border-color .2s,box-shadow .2s}.form-input:focus{border-color:#00b8ad;box-shadow:0 0 0 3px #00b8ad1a}.amount-input{align-items:center;gap:12px;display:flex}.amount-input .form-input{flex:1;width:0;min-width:0}.amount-input>span{flex-shrink:0;width:1.5em;font-weight:400}.participants{margin-bottom:36px}.form-title{margin:0 0 10px;font-weight:700}.check-row{cursor:pointer;border-bottom:1px solid #eee;align-items:center;gap:14px;min-height:52px;padding:12px 4px;display:flex}.check-row input{accent-color:#00b8ad;width:20px;height:20px;margin:0}.create-screen>.start-button{color:#fff;width:100%;font:inherit;cursor:pointer;background:#00b8ad;border:0;border-radius:14px;padding:17px 16px;font-weight:700}@media (width<=600px){.form-logo{width:170px;margin-bottom:20px}.create-screen h1{margin-bottom:36px;font-size:1.5rem}.back-button{margin-bottom:12px}.form-label{margin-bottom:24px}}.settlement-arrow{text-align:center;color:#00b8ad;margin:-12px 0 12px;font-size:1.4rem;font-weight:700}.final-screen{text-align:left}.final-screen>h1{text-align:center;margin:0 0 8px;font-size:1.7rem}.final-screen>h2{text-align:center;color:#666;margin:0 0 40px;font-size:1rem;font-weight:500}.final-list{gap:14px;display:grid}.final-row{background:#fff;border:1px solid #e7e7e7;border-radius:14px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:18px;padding:22px 20px;display:grid}.final-row>strong{overflow-wrap:anywhere;min-width:0;font-size:1rem}.final-row>span:last-child{text-align:right;overflow-wrap:anywhere;min-width:0;font-weight:700}.final-transfer{color:#00a99f;white-space:nowrap;align-items:center;gap:10px;font-weight:700;display:flex}.final-transfer>span:first-child{font-size:1.15rem}.transfer-arrow{font-size:1.3rem}.settled-message{text-align:center;background:#f2fbfa;border:1px solid #bcebe7;border-radius:16px;padding:36px 24px}.settled-message strong{color:#008f87;font-size:1.1rem;display:block}.settled-message p{color:#666;margin:10px 0 0;font-size:.9rem}@media (width<=600px){.final-screen>h1{font-size:1.5rem}.final-screen>h2{margin-bottom:32px}.final-row{gap:10px;padding:20px 16px}.final-transfer{gap:6px}.final-transfer>span:first-child{font-size:1rem}}.members{margin-bottom:36px}.members .form-title{margin-bottom:10px}.member-row{align-items:center;gap:10px;margin-bottom:10px;display:flex}.member-input{flex:1;width:0;min-width:0;margin-top:0}.remove-button{color:#777;cursor:pointer;background:#f7f7f7;border:0;border-radius:50%;flex-shrink:0;width:44px;height:44px;padding:0;font-size:1.3rem;line-height:1}.remove-button:hover{color:#d65a5a;background:#fff1f1}.add-member-button{color:#008f87;width:100%;font:inherit;cursor:pointer;background:#fff;border:1px dashed #00b8ad;border-radius:12px;margin-top:6px;padding:14px 16px;font-weight:700}.add-member-button:hover{background:#f2fbfa}
