.phe{--phe-green:#24473c;--phe-paper:#fffdf7;--phe-line:#e1dccf;color:#263f35;font:14px/1.65 'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;letter-spacing:.02em}.phe *{box-sizing:border-box}.phe [hidden]{display:none!important}.phe button{font:inherit;cursor:pointer}.phe button:focus-visible,.phe a:focus-visible{outline:3px solid #ae894b;outline-offset:3px}.phe button:disabled{opacity:.35;cursor:default}
.phe-month-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 27px;margin-bottom:20px;border-radius:13px;background:#24473c;background:linear-gradient(115deg,#1f3b32,#325446);color:#fffaf0;box-shadow:inset 0 0 0 1px #c3a96f26;position:relative}.phe-month-bar:after{content:'';position:absolute;bottom:0;left:42%;right:42%;height:2px;background:#c7b17b}.phe .phe-month-title{display:flex;align-items:center;gap:15px;margin:0;padding:0;border:0;background:none;line-height:1;color:#fffaf0;box-shadow:none}.phe-month-title:before,.phe-month-title:after{display:none!important}.phe-year{font-size:13px;font-weight:500;letter-spacing:.08em;color:#e2d7bb;padding-right:15px;border-right:1px solid #d6c39455}.phe-month-number{font:48px/1.05 Georgia,'Times New Roman',serif;letter-spacing:-.045em}.phe-month-number small{font:13px/1 sans-serif;letter-spacing:0;margin-left:8px}.phe .phe-month-nav{display:grid;place-items:center;border:1px solid #e9dfc655;border-radius:50%;width:38px;height:38px;padding:0;background:#ffffff09;color:#fffaf0;font-size:19px;transition:background .18s,border-color .18s}.phe .phe-month-nav:hover:not(:disabled){background:#ffffff20;border-color:#d5c499}
.phe-legend{display:flex;justify-content:center;gap:17px;flex-wrap:wrap;margin:0 0 16px}.phe-legend span{display:inline-flex;align-items:center;gap:6px;background:transparent!important;font-size:11px;font-weight:600;color:#5b685e}.phe-legend span:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--phe-accent)}.phe-type-tournament{--phe-accent:#466b56;background:#e1ebe2;color:#2f523c}.phe-type-lesson{--phe-accent:#b1934d;background:#f0e7cc;color:#725a25}.phe-type-special{--phe-accent:#a7717a;background:#f0dfe1;color:#814b56}.phe-type-other{--phe-accent:#758087;background:#e7eaeb;color:#515f65}
.phe-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.phe-weekday{text-align:center;font-size:12px;font-weight:600;padding:3px 0 9px;color:#7c867c}.phe-weekday.is-sunday{color:#a3646b}.phe-weekday.is-saturday{color:#688091}.phe .phe-day{display:flex;flex-direction:column;align-items:stretch;gap:5px;text-align:left;min-height:90px;padding:8px 6px;border:1px solid var(--phe-line);border-radius:8px;background:#fffdf8;color:#304737;min-width:0;overflow:hidden;transition:background .18s,box-shadow .18s,border-color .18s}.phe .phe-day.is-sunday{background:#fcf6f2}.phe .phe-day.is-saturday{background:#f5f7f3}.phe-day-number{font:600 19px/1.15 Georgia,'Times New Roman',serif;font-variant-numeric:tabular-nums;padding:0 2px}.phe-day.is-sunday .phe-day-number{color:#9f646a}.phe-day.is-saturday .phe-day-number{color:#658092}.phe .phe-day.is-today .phe-day-number{display:flex;align-items:center;gap:5px}.phe .phe-day.is-today .phe-day-number:after{content:'';width:4px;height:4px;background:#aa8445;border-radius:50%}.phe .phe-day.is-selected{border-color:#3f624e;box-shadow:inset 0 0 0 1px #3f624e;background:#eaf0e6}.phe .phe-day:hover{background:#eeeedd;border-color:#9ca989}.phe-day-event{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.5;font-weight:500;padding:3px 5px;border-radius:3px;border-left:2px solid var(--phe-accent);overflow-wrap:anywhere}.phe-day small{font-size:10px;color:#69776d;padding-left:3px}.phe-tip{font-size:12px;text-align:center;color:#788176;margin:15px 0!important;letter-spacing:.03em}
.phe-day-info{padding:23px;background:#f3f0e6;border:1px solid #e3dcca;border-radius:12px;margin-top:17px;scroll-margin-top:130px}.phe .phe-date-title{font-size:16px;font-weight:700;border:0;background:none;margin:0 0 14px;color:#24473c;padding:0;letter-spacing:.04em}.phe-date-title:before,.phe-date-title:after{display:none!important}.phe-event-card{padding:16px 18px;background:#fffdf8;border:1px solid #e7dfcd;border-radius:9px}.phe-event-card+.phe-event-card{margin-top:10px}.phe-event-type{display:inline-block;border-radius:99px;padding:2px 9px;font-size:10px;font-weight:600}.phe .phe-event-card h5{font-size:19px;margin:9px 0 5px;color:#24473c;line-height:1.6;border:0;background:none;padding:0;overflow-wrap:anywhere}.phe-event-card h5:before,.phe-event-card h5:after{display:none!important}.phe-event-card p{margin:5px 0!important;font-size:14px;line-height:1.8}.phe-event-time{font-weight:600;color:#697564;letter-spacing:.05em}.phe-event-detail{white-space:pre-line;overflow-wrap:anywhere}.phe .phe-event-link{display:inline-block;margin-top:10px;border-bottom:1px solid currentColor;color:#24473c;font-weight:700}.phe-cancelled{margin-left:8px;color:#a34143;font-weight:700}.phe-empty{font-size:14px;color:#647267;line-height:1.8}.phe-month-empty{text-align:center;padding:16px 12px;margin:14px 0 0!important;background:#f3f0e8;border-radius:8px}
.phe-calendar-image{text-align:center}.phe .phe-image-button{display:block;padding:0;border:0;border-radius:9px;background:transparent;max-width:100%;width:100%;overflow:hidden}.phe .phe-image-button img{display:block;width:auto;max-width:100%;height:auto!important;max-height:760px;margin:auto;object-fit:contain}.phe-image-hint{font-size:12px;margin:10px 0 0!important;color:#647267}.phe-dialog{border:1px solid #c9ccbe;border-radius:14px;padding:28px;background:#fffdf7;color:#24473c;max-width:min(92vw,1000px);max-height:90vh;overflow:auto}.phe-dialog::backdrop{background:#15281fcc}.phe-image-dialog img{display:block;max-width:100%;height:auto!important;margin-top:18px}.phe-close{display:block;margin-left:auto;position:sticky;top:0;background:#24473c;color:white;width:36px;height:36px;border:0;border-radius:50%;font-size:25px;line-height:1;cursor:pointer}.phe-reload{border:1px solid #c4c7b9;border-radius:8px;background:var(--phe-paper);color:var(--phe-green);padding:5px 15px;font-size:14px}.phe[aria-busy=true]{opacity:.65}
@media(max-width:767px){.phe-month-bar{gap:12px;padding:16px 13px;margin-bottom:15px;border-radius:10px}.phe .phe-month-title{gap:10px}.phe-year{font-size:11px;padding-right:10px}.phe-month-number{font-size:40px}.phe-month-number small{font-size:11px;margin-left:5px}.phe .phe-month-nav{width:32px;height:32px;font-size:17px}.phe-legend{gap:8px;margin-bottom:12px}.phe-legend span{gap:3px;font-size:9px}.phe-legend span:before{width:4px;height:4px}.phe-grid{gap:3px}.phe .phe-day{min-height:69px;padding:6px 2px;border-radius:5px;gap:4px}.phe-day-number{font-size:16px;padding-left:2px}.phe-day-event{font-size:10px;line-height:1.4;padding:2px 2px;border-left-width:1px}.phe-day-info{padding:14px}.phe-event-card{padding:13px}.phe .phe-event-card h5{font-size:16px}.phe-event-card p{font-size:13px}.phe .phe-image-button img{max-height:none}.phe-dialog{padding:15px}}
@media(prefers-reduced-motion:reduce){.phe *{transition:none!important}}

.phe-event-period{color:#697564;font-weight:500}.phe-event-period+.phe-event-time{font-weight:400}

.phe .phe-preparing{padding:32px 18px;text-align:center;background:#fbf8ee;border:1px solid #ded8c8;border-radius:12px;margin-top:18px;color:#29473b}.phe .phe-preparing-title{font-size:20px;font-weight:700;line-height:1.7;margin:0}.phe .phe-preparing-copy{font-size:14px;line-height:1.8;margin:9px 0 0;color:#647063}@media(max-width:600px){.phe .phe-preparing{padding:25px 16px}.phe .phe-preparing-title{font-size:17px}.phe .phe-preparing-copy{font-size:13px}}
