@charset "UTF-8";
/* resset.dev • v5.0.2 */
/* # =================================================================
   # Global selectors
   # ================================================================= */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%; /* Prevent adjustments of font size after orientation changes in iOS */
  word-break: normal;
  -moz-tab-size: 4;
  tab-size: 4;
}

*,
::before,
::after {
  background-repeat: no-repeat; /* Set `background-repeat: no-repeat` to all elements and pseudo elements */
  box-sizing: inherit;
}

::before,
::after {
  text-decoration: inherit; /* Inherit text-decoration and vertical align to ::before and ::after pseudo elements */
  vertical-align: inherit;
}

* {
  padding: 0; /* Reset `padding` and `margin` of all elements */
  margin: 0;
}

/* # =================================================================
   # General elements
   # ================================================================= */
hr {
  overflow: visible; /* Show the overflow in Edge and IE */
  height: 0; /* Add the correct box sizing in Firefox */
  color: inherit; /* Correct border color in Firefox. */
}

details,
main {
  display: block; /* Render the `main` element consistently in IE. */
}

summary {
  display: list-item; /* Add the correct display in all browsers */
}

small {
  font-size: 80%; /* Set font-size to 80% in `small` elements */
}

[hidden] {
  display: none; /* Add the correct display in IE */
}

abbr[title] {
  border-bottom: none; /* Remove the bottom border in Chrome 57 */
  /* Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */
  text-decoration: underline;
  text-decoration: underline dotted;
}

a {
  background-color: transparent; /* Remove the gray background on active links in IE 10 */
}

a:active,
a:hover {
  outline-width: 0; /* Remove the outline when hovering in all browsers */
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace; /* Specify the font family of code elements */
}

pre {
  font-size: 1em; /* Correct the odd `em` font sizing in all browsers */
}

b,
strong {
  font-weight: bolder; /* Add the correct font weight in Chrome, Edge, and Safari */
}

/* https://gist.github.com/unruthless/413930 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  border-color: inherit; /* Correct border color in all Chrome, Edge, and Safari. */
  text-indent: 0; /* Remove text indentation in Chrome, Edge, and Safari */
}

iframe {
  border-style: none;
}

/* # =================================================================
   # Forms
   # ================================================================= */
input {
  border-radius: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto; /* Correct the cursor style of increment and decrement buttons in Chrome */
}

[type=search] {
  -webkit-appearance: textfield; /* Correct the odd appearance in Chrome and Safari */
  outline-offset: -2px; /* Correct the outline style in Safari */
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none; /* Remove the inner padding in Chrome and Safari on macOS */
}

textarea {
  overflow: auto; /* Internet Explorer 11+ */
  resize: vertical; /* Specify textarea resizability */
}

button,
input,
optgroup,
select,
textarea {
  font: inherit; /* Specify font inheritance of form elements */
}

optgroup {
  font-weight: bold; /* Restore the font weight unset by the previous rule */
}

button {
  overflow: visible; /* Address `overflow` set to `hidden` in IE 8/9/10/11 */
}

button,
select {
  text-transform: none; /* Firefox 40+, Internet Explorer 11- */
}

/* Apply cursor pointer to button elements */
button,
[type=button],
[type=reset],
[type=submit],
[role=button] {
  cursor: pointer;
}

/* Remove inner padding and border in Firefox 4+ */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Replace focus style removed in the border reset above */
button:-moz-focusring,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  outline: 1px dotted ButtonText;
}

button,
html [type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button; /* Correct the inability to style clickable types in iOS */
}

/* Remove the default button styling in all browsers */
button,
input,
select,
textarea {
  background-color: transparent;
  border-style: none;
}

a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
  outline-width: 0;
}

/* Style select like a standard input */
select {
  -moz-appearance: none; /* Firefox 36+ */
  -webkit-appearance: none; /* Chrome 41+ */
}

select::-ms-expand {
  display: none; /* Internet Explorer 11+ */
}

select::-ms-value {
  color: currentColor; /* Internet Explorer 11+ */
}

legend {
  border: 0; /* Correct `color` not being inherited in IE 8/9/10/11 */
  color: inherit; /* Correct the color inheritance from `fieldset` elements in IE */
  display: table; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge and IE */
  white-space: normal; /* Correct the text wrapping in Edge and IE */
  max-width: 100%; /* Correct the text wrapping in Edge 18- and IE */
}

::-webkit-file-upload-button {
  /* Correct the inability to style clickable types in iOS and Safari */
  -webkit-appearance: button;
  color: inherit;
  font: inherit; /* Change font properties to `inherit` in Chrome and Safari */
}

/* Replace pointer cursor in disabled elements */
[disabled] {
  cursor: default;
}

/* # =================================================================
   # Specify media element style
   # ================================================================= */
img {
  border-style: none; /* Remove border when inside `a` element in IE 8/9/10 */
}

/* Add the correct vertical alignment in Chrome, Firefox, and Opera */
progress {
  vertical-align: baseline;
}

/* # =================================================================
   # Accessibility
   # ================================================================= */
/* Specify the progress cursor of updating elements */
[aria-busy=true] {
  cursor: progress;
}

/* Specify the pointer cursor of trigger elements */
[aria-controls] {
  cursor: pointer;
}

/* Specify the unstyled cursor of disabled, not-editable, or otherwise inoperable elements */
[aria-disabled=true] {
  cursor: default;
}

/*-------------------------------------
  @media
---------------------------------------*/
/*-------------------------------------
  color
---------------------------------------*/
/*----------------------------------------
variables
----------------------------------------*/
/*-------------------------------------
  入力欄の共通の見た目（枠線・角丸・フォーカス時の水色の輪）
---------------------------------------*/
/*----------------------------------------
font-family
----------------------------------------*/
html {
  font-family: "Inter", "Noto Sans JP", sans-serif;
}

/*------------------------------------------
  Base Style
-------------------------------------------*/
html {
  font-size: 62.5%;
  overscroll-behavior: none;
  overflow-y: scroll;
}

body {
  font-feature-settings: "palt";
  letter-spacing: 0.04em;
  color: #0f1419;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  max-height: 100%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
a:hover {
  opacity: 0.7;
}

/* デフォルトのbuttonスタイルをリセット */
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  margin: 0;
  outline: none;
  padding: 0;
  vertical-align: middle;
}

a:focus-visible,
button:focus-visible,
input[type=submit]:focus-visible,
label:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #00B0FF;
  outline-offset: 2px;
}

.u-text-center {
  text-align: center;
}

.l-header__wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}
@media screen and (max-width: 580px) {
  .l-header__wrapper {
    padding: 16px;
  }
}
.l-header__logo {
  width: 160px;
}
@media screen and (max-width: 580px) {
  .l-header__logo {
    width: 120px;
  }
}
.l-header__logo img {
  width: 100%;
}

.l-main {
  width: 100%;
}

/* ==========================================================================
   コンポーネント - ログイン・登録などのフォーム画面
   ========================================================================== */
.c-account__wrapper {
  background-color: #f5f7f9;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
}
.c-account__inner {
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 20px;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
}
@media screen and (max-width: 580px) {
  .c-account__inner {
    padding: 32px 20px;
  }
}
.c-account__container {
  margin-bottom: 24px;
}
.c-account__logo {
  width: 140px;
  margin: 0 auto 20px;
}
.c-account__title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.c-account__text {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #536471;
  text-align: center;
}
.c-account__text + .c-account__text {
  margin-top: 8px;
}
.c-account__google-info {
  font-size: 1.4rem;
  text-align: center;
  padding: 12px;
  margin-bottom: 24px;
  border-radius: 12px;
  background-color: #f5f7f9;
}
.c-account__form-item {
  margin-bottom: 16px;
}
.c-account__label {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #536471;
  margin-bottom: 6px;
}
.c-account__label .required {
  color: #e5484d;
  margin-left: 2px;
}
.c-account__input {
  border: 1px solid #e7ecf0;
  border-radius: 12px;
  background-color: #fff;
  font-size: 1.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
}
.c-account__input::placeholder {
  color: #9aa5ae;
}
.c-account__input:focus {
  outline: none;
  border-color: #00B0FF;
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.2);
}
.c-account__help-text {
  font-size: 1.3rem;
  color: #536471;
}
.c-account__error {
  color: #e5484d;
  font-size: 1.3rem;
  line-height: 1.6;
  margin-top: 6px;
}
.c-account__error--block {
  margin: 0 0 16px;
}
.c-account__code {
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  color: #00B0FF;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.c-account__links {
  margin-top: 20px;
}
.c-account__error-list {
  width: fit-content;
  margin: 8px auto 0;
  padding-left: 1.5em;
  font-size: 1.4rem;
  line-height: 1.8;
  text-align: left;
  list-style: disc;
  color: #536471;
}
.c-account__btn-area {
  margin: 24px 0 20px;
}
.c-account__link {
  display: block;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 12px;
  color: #536471;
}
.c-account__link:hover {
  opacity: 1;
  color: #00B0FF;
}

/* allauth（ログイン機能の部品）の画面: 中身は allauth が作るので、要素ごとにこのサイトの見た目を当てる */
.c-account__inner--allauth h1 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.c-account__inner--allauth h2 {
  font-size: 1.6rem;
  margin: 20px 0 8px;
}
.c-account__inner--allauth p,
.c-account__inner--allauth li {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #536471;
}
.c-account__inner--allauth > p {
  text-align: center;
}
.c-account__inner--allauth form p,
.c-account__inner--allauth form > div {
  margin-bottom: 16px;
}
.c-account__inner--allauth label {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #536471;
  margin-bottom: 6px;
}
.c-account__inner--allauth input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]) {
  border: 1px solid #e7ecf0;
  border-radius: 12px;
  background-color: #fff;
  font-size: 1.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
  width: 100%;
  height: 48px;
  padding: 0 16px;
}
.c-account__inner--allauth input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit])::placeholder {
  color: #9aa5ae;
}
.c-account__inner--allauth input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]):focus {
  outline: none;
  border-color: #00B0FF;
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.2);
}
.c-account__inner--allauth button,
.c-account__inner--allauth input[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 24px;
  margin: 4px 4px 4px 0;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  background-color: #00B0FF;
  cursor: pointer;
}
.c-account__inner--allauth a:not(.c-account__link) {
  color: #00B0FF;
}
.c-account__inner--allauth .errorlist {
  list-style: none;
  color: #e5484d;
  font-size: 1.3rem;
}

/* ==========================================================================
   コンポーネント - ボタン
   ========================================================================== */
.c-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.c-btn:hover {
  opacity: 1;
}
.c-btn--top {
  max-width: 360px;
  min-height: 56px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.7rem;
}
.c-btn--sign-up, .c-btn--account {
  background-color: #00B0FF;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 176, 255, 0.3);
}
.c-btn--sign-up:hover, .c-btn--account:hover {
  background-color: #009be0;
}
.c-btn--login {
  background-color: #fff;
  color: #00B0FF;
  border: 1.5px solid #00B0FF;
}
.c-btn--login:hover {
  background-color: rgba(0, 176, 255, 0.06);
}

.c-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: bold;
  background-color: #00B0FF;
  color: #fff;
  border: 1.5px solid #00B0FF;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.c-home-btn:hover {
  opacity: 1;
  background-color: #009be0;
}
@media screen and (max-width: 768px) {
  .c-home-btn {
    font-size: 1.4rem;
    padding: 8px 20px;
  }
}
.c-home-btn--cancel, .c-home-btn--edit {
  background-color: #fff;
  color: #0f1419;
  border-color: #e7ecf0;
}
.c-home-btn--cancel:hover, .c-home-btn--edit:hover {
  background-color: rgba(15, 20, 25, 0.06);
}

.c-post {
  background-color: #fff;
  max-width: 600px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  gap: 0 14px;
  margin-bottom: 12px;
  transition: box-shadow 0.3s;
}
.c-post:hover {
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}
@media screen and (max-width: 768px) {
  .c-post {
    padding: 16px;
    gap: 0 12px;
  }
}
.c-post__owner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0 8px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
  max-width: 600px;
}
.c-post__action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0 6px;
  padding: 6px 16px;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 999px;
  border: 1px solid currentColor;
  background-color: #fff;
  transition: background-color 0.3s;
}
.c-post__action-btn:hover {
  opacity: 1;
}
.c-post__action-btn svg {
  width: 16px;
  height: 16px;
}
.c-post__action-btn--edit {
  color: #00B0FF;
}
.c-post__action-btn--edit:hover {
  background-color: rgba(0, 176, 255, 0.08);
}
.c-post__action-btn--delete {
  color: #e5484d;
}
.c-post__action-btn--delete:hover {
  background-color: rgba(229, 72, 77, 0.06);
}
.c-post--empty {
  height: 160px;
  justify-content: center;
  align-items: center;
}
.c-post--empty:hover {
  box-shadow: none;
}
.c-post__empty-message {
  padding: 0 8px;
  font-size: 1.5rem;
  line-height: 1.7;
  text-align: center;
  color: #536471;
}
.c-post__author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #f5f7f9;
}
@media screen and (max-width: 580px) {
  .c-post__author-img {
    width: 40px;
    height: 40px;
  }
}
.c-post__author-img a {
  display: block;
  width: 100%;
  height: 100%;
}
.c-post__author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-post__container {
  width: 100%;
  min-width: 0;
}
.c-post__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 8px;
  margin-bottom: 4px;
}
.c-post__author-name {
  font-size: 1.5rem;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.c-post__detail-link:hover {
  opacity: 1;
}
.c-post__time {
  flex-shrink: 0;
  font-size: 1.3rem;
  color: #536471;
}
@media screen and (max-width: 580px) {
  .c-post__time {
    font-size: 1.2rem;
  }
}
.c-post__contents {
  margin-bottom: 8px;
}
.c-post__text {
  font-size: 1.5rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.c-post__text strong {
  background-color: rgba(45, 212, 167, 0.3);
  border-radius: 2px;
}
.c-post__img {
  display: block;
  margin-top: 12px;
  max-height: 480px;
  border-radius: 12px;
  border: 1px solid #e7ecf0;
  object-fit: cover;
}
.c-post__action {
  display: flex;
  gap: 0 32px;
  margin-left: -8px;
}
.c-post__action-item {
  display: flex;
  align-items: center;
  gap: 0 6px;
  padding: 6px 8px;
  border-radius: 999px;
  transition: background-color 0.3s;
}
.c-post__action-item:hover {
  opacity: 1;
  background-color: rgba(0, 176, 255, 0.08);
}
.c-post__action-icon {
  width: 20px;
  height: 20px;
  color: #536471;
  transition: color 0.3s;
}
.c-post__action-icon img, .c-post__action-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.c-post__action-icon .is-on {
  display: none;
}
.c-post__action-icon.is-active .is-on {
  display: block;
}
.c-post__action-icon.is-active .is-off {
  display: none;
}
.c-post__action-icon--like.is-active {
  color: #f6339a;
}
.c-post__action-icon--bookmark.is-active {
  color: #00B0FF;
}
.c-post__action-item:hover .c-post__action-icon {
  color: #00B0FF;
}
.c-post__action-item:hover .c-post__action-icon--like {
  color: #f6339a;
}
.c-post__count {
  font-size: 1.3rem;
  color: #536471;
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
  コンポーネント - 確認モーダル（ログアウト・削除の確認）
  ボタン: --primary は水色（主な操作）、--danger は赤（取り消せない操作）、--cancel は白（やめる）
========================================================================== */
.c-modal {
  display: none;
}
.c-modal--open {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  padding: 16px;
  background-color: rgba(15, 20, 25, 0.4);
  z-index: 1000;
}
.c-modal__inner {
  background-color: #fff;
  padding: 32px 28px 24px;
  border-radius: 20px;
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
}
@media screen and (max-width: 580px) {
  .c-modal__inner {
    padding: 28px 20px 20px;
  }
}
.c-modal__title {
  font-size: 2rem;
  margin-bottom: 12px;
}
.c-modal__message {
  font-size: 1.4rem;
  line-height: 1.7;
  color: #536471;
  margin-bottom: 24px;
}
.c-modal__action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  margin-bottom: 12px;
  border-radius: 999px;
  font-size: 1.5rem;
  font-weight: bold;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s;
}
.c-modal__action:last-child {
  margin-bottom: 0;
}
.c-modal__action:hover {
  opacity: 1;
}
.c-modal__action--primary {
  background-color: #00B0FF;
  color: #fff;
}
.c-modal__action--primary:hover {
  background-color: #009be0;
}
.c-modal__action--danger {
  background-color: #e5484d;
  color: #fff;
}
.c-modal__action--danger:hover {
  background-color: #e0242a;
}
.c-modal__action--cancel {
  background-color: #fff;
  color: #0f1419;
  border-color: #e7ecf0;
}
.c-modal__action--cancel:hover {
  background-color: rgba(15, 20, 25, 0.06);
}
.c-modal form {
  margin-bottom: 12px;
}

/* ==========================================================================
   プロジェクト
   ========================================================================== */
.p-home {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  /* ヘッダー部分（PCのサイドバー／SPのドロワー） */
  /* メイン部分 */
}
@media screen and (max-width: 768px) {
  .p-home {
    display: block;
  }
}
.p-home__header {
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  width: 280px;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  flex-shrink: 0;
  background-color: #fff;
  border-right: 1px solid #e7ecf0;
  transition: transform 0.3s ease-in-out;
}
@media screen and (max-width: 960px) {
  .p-home__header {
    width: 240px;
  }
}
@media screen and (max-width: 768px) {
  .p-home__header {
    position: fixed;
    width: 280px;
    transform: translateX(-100%);
    z-index: 101;
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
  }
  .p-home__header.is-active {
    transform: translateX(0);
  }
}
.p-home__header-sp {
  display: none;
}
@media screen and (max-width: 768px) {
  .p-home__header-sp {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e7ecf0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
  }
}
.p-home__header-sp-left, .p-home__header-sp-center, .p-home__header-sp-right {
  width: 33.3333333333%;
}
.p-home__header-sp-left {
  display: flex;
}
.p-home__header-sp-right {
  display: flex;
  justify-content: flex-end;
}
.p-home__account-img {
  display: block;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #e7ecf0;
  cursor: pointer;
}
.p-home__account-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-home__logo-sp {
  width: 32px;
  height: 32px;
  margin: 0 auto;
}
.p-home__nav-sp {
  width: 24px;
  height: 24px;
}
.p-home__nav-sp .p-home__menu-icon {
  width: 24px;
  height: 24px;
}
.p-home__logo {
  width: 40px;
  margin: 4px 0 24px 12px;
}
.p-home__menu-list {
  margin-bottom: 24px;
}
.p-home__menu-list li {
  margin-bottom: 4px;
}
.p-home__menu-list a {
  display: flex;
  align-items: center;
  gap: 0 16px;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 1.7rem;
  transition: background-color 0.3s;
}
.p-home__menu-list a:hover {
  opacity: 1;
  background-color: rgba(15, 20, 25, 0.06);
}
.p-home__menu-list .is-current a {
  font-weight: bold;
  background-color: rgba(0, 176, 255, 0.1);
}
.p-home__menu-icon {
  display: block;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.p-home__post-btn {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 14px 16px;
  background-color: #00B0FF;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 176, 255, 0.3);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.p-home__post-btn:hover {
  opacity: 1;
  background-color: #009be0;
  box-shadow: 0 6px 16px rgba(0, 176, 255, 0.4);
}
.p-home__main {
  width: 100vw;
  min-height: 100vh;
  margin-right: calc(50% - 50vw);
  padding-right: calc(50vw - 50%);
  padding-bottom: 40px;
  background-color: #f5f7f9;
}
@media screen and (max-width: 768px) {
  .p-home__main {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
    padding-top: 56px;
  }
}
.p-home__page-title {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 16px;
  background-color: rgba(245, 247, 249, 0.85);
  backdrop-filter: blur(12px);
}
@media screen and (max-width: 768px) {
  .p-home__page-title {
    display: none;
  }
}
.p-home__page-title--static {
  position: static;
  margin-bottom: 0;
}
.p-home__page-title-text {
  max-width: 600px;
  margin: 0 auto;
  padding: 18px 0;
  font-size: 1.9rem;
  font-weight: bold;
}
.p-home__main-wrapper {
  margin: 0 24px;
}
@media screen and (max-width: 768px) {
  .p-home__main-wrapper {
    margin: 0 12px;
    padding-top: 12px;
  }
}
.p-home .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 20, 25, 0.4);
  z-index: 100;
  display: none;
}
@media screen and (max-width: 768px) {
  .p-home .overlay {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  .p-home .overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}

.p-timeline {
  margin: 0 24px;
}
@media screen and (max-width: 768px) {
  .p-timeline {
    margin: 12px 12px 0;
  }
}

/* ==========================================================================
   プロジェクト - トップページ
   ========================================================================== */
body:has(.l-top) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

.l-top {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0 48px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}
@media screen and (max-width: 960px) {
  .l-top {
    flex-direction: column;
    justify-content: center;
    gap: 40px 0;
    padding: 24px 16px;
  }
}
.l-top__mv {
  flex: 1;
}
@media screen and (max-width: 960px) {
  .l-top__mv {
    order: 2;
    width: 100%;
  }
}
.l-top__mv img {
  display: block;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  object-fit: contain;
}
@media screen and (max-width: 960px) {
  .l-top__mv img {
    max-width: 420px;
  }
}
@media screen and (max-width: 580px) {
  .l-top__mv img {
    max-width: 280px;
  }
}
.l-top__contents {
  flex: 1;
  text-align: center;
}
@media screen and (max-width: 960px) {
  .l-top__contents {
    order: 1;
    width: 100%;
  }
}
.l-top__label {
  display: inline-flex;
  align-items: center;
  gap: 0 8px;
  margin-bottom: 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
.l-top__label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #2DD4A7;
}
.l-top__lead {
  color: #0f1419;
  font-size: 1.5rem;
  font-weight: bold;
}
.l-top__title {
  font-size: 4rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}
@media screen and (max-width: 960px) {
  .l-top__title {
    font-size: 3.2rem;
    margin-bottom: 32px;
  }
}
@media screen and (max-width: 580px) {
  .l-top__title {
    font-size: 2.6rem;
  }
}
.l-top__sign-up-wrapper {
  margin-bottom: 32px;
}
.l-top__account-text {
  font-size: 1.4rem;
  color: #536471;
  margin-bottom: 12px;
}

/* ==========================================================================
   プロジェクト - 投稿作成・投稿編集（カードと入力欄は共通）
   ========================================================================== */
.p-post-create__inner,
.p-post-update__inner {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  gap: 0 14px;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
}
@media screen and (max-width: 768px) {
  .p-post-create__inner,
  .p-post-update__inner {
    padding: 16px;
    gap: 0 12px;
  }
}
.p-post-create__form,
.p-post-update__form {
  width: 100%;
  min-width: 0;
}
.p-post-create__form textarea,
.p-post-update__form textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 10px 0;
  resize: none;
  font-size: 1.7rem;
  line-height: 1.75;
  outline: none;
}
.p-post-create__form textarea::placeholder,
.p-post-update__form textarea::placeholder {
  color: #9aa5ae;
}

#file-sent {
  display: none;
}

.p-post-create__preview {
  margin: 8px 0 12px;
}
.p-post-create__preview .preview-img {
  position: relative;
  display: inline-block;
}
.p-post-create__preview .preview-img img {
  display: block;
  max-height: 400px;
  border-radius: 12px;
  border: 1px solid #e7ecf0;
  object-fit: contain;
}
.p-post-create__preview .preview-img .delete-button {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
.p-post-create__preview .preview-img .delete-button img {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
}
.p-post-create__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 8px;
  padding-top: 12px;
  border-top: 1px solid #e7ecf0;
}
.p-post-create__add-img {
  display: inline-flex;
  align-items: center;
  gap: 0 6px;
  padding: 6px 10px 6px 6px;
  margin-left: -6px;
  border-radius: 999px;
  color: #00B0FF;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}
.p-post-create__add-img:hover {
  background-color: rgba(0, 176, 255, 0.08);
}
.p-post-create__add-icon {
  display: block;
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   プロジェクト - コメント入力欄
   ========================================================================== */
.p-comment-form {
  max-width: 600px;
  margin: 0 auto 16px;
  padding: 16px 24px;
  display: flex;
  gap: 0 14px;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
}
@media screen and (max-width: 768px) {
  .p-comment-form {
    padding: 16px;
    gap: 0 12px;
  }
}
.p-comment-form__author-img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}
@media screen and (max-width: 580px) {
  .p-comment-form__author-img {
    width: 40px;
    height: 40px;
  }
}
.p-comment-form__author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-comment-form__form {
  flex: 1;
  min-width: 0;
}
.p-comment-form__textarea {
  border: 1px solid #e7ecf0;
  border-radius: 12px;
  background-color: #fff;
  font-size: 1.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 1.5rem;
  line-height: 1.6;
  resize: none;
}
.p-comment-form__textarea::placeholder {
  color: #9aa5ae;
}
.p-comment-form__textarea:focus {
  outline: none;
  border-color: #00B0FF;
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.2);
}
.p-comment-form__btn-area {
  margin-top: 12px;
  text-align: right;
}

/* ==========================================================================
   プロジェクト - タブ（コメント／いいねしたユーザー）
   ========================================================================== */
.p-tab {
  max-width: 600px;
  margin: 0 auto 24px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
}
.p-tab__labels {
  display: flex;
  border-bottom: 1px solid #e7ecf0;
}
.p-tab__label {
  flex: 1;
  position: relative;
  padding: 16px 8px;
  text-align: center;
  font-size: 1.5rem;
  color: #536471;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.p-tab__label:hover {
  background-color: rgba(15, 20, 25, 0.06);
}
@media screen and (max-width: 580px) {
  .p-tab__label {
    font-size: 1.4rem;
  }
}
.p-tab__label--active {
  color: #0f1419;
  font-weight: bold;
}
.p-tab__label--active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background-color: #00B0FF;
  transform: translateX(-50%);
}
.p-tab__content {
  display: none;
}
.p-tab__content--active {
  display: block;
}
.p-tab__content li + li {
  border-top: 1px solid #e7ecf0;
}

/* ==========================================================================
   コンポーネント - コメント・ユーザーの1行
   ========================================================================== */
.c-comment-item,
.c-user-item {
  display: flex;
  gap: 0 12px;
  padding: 16px 20px;
}
.c-comment-item--empty,
.c-user-item--empty {
  justify-content: center;
  align-items: center;
  min-height: 112px;
  font-size: 1.4rem;
  color: #536471;
}
.c-comment-item__author-img,
.c-user-item__author-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}
.c-comment-item__author-img img,
.c-user-item__author-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.c-comment-item__contents,
.c-user-item__contents {
  flex: 1;
  min-width: 0;
}
.c-comment-item__header,
.c-user-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0 8px;
  margin-bottom: 4px;
}
.c-comment-item__author, .c-comment-item__name,
.c-user-item__author,
.c-user-item__name {
  font-size: 1.4rem;
  font-weight: bold;
}
.c-comment-item__time,
.c-user-item__time {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: #536471;
}
.c-comment-item__text, .c-comment-item__introduction,
.c-user-item__text,
.c-user-item__introduction {
  font-size: 1.4rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.c-comment-item__introduction,
.c-user-item__introduction {
  color: #536471;
}

/* ==========================================================================
   プロジェクト - 投稿編集（カードと入力欄は _post-create.scss と共通）
   ========================================================================== */
.p-post-update__field {
  margin-bottom: 12px;
}
.p-post-update__current-img {
  display: block;
  max-height: 320px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 1px solid #e7ecf0;
}
.p-post-update__btns {
  display: flex;
  justify-content: flex-end;
  gap: 0 8px;
  padding-top: 12px;
  border-top: 1px solid #e7ecf0;
}

/* ==========================================================================
   プロジェクト - 検索
   ========================================================================== */
.p-search {
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 16px;
  padding: 16px 24px;
  background-color: rgba(245, 247, 249, 0.85);
  backdrop-filter: blur(12px);
}
@media screen and (max-width: 768px) {
  .p-search {
    top: 56px;
    padding: 12px;
    margin-bottom: 0;
  }
}
.p-search__inner {
  display: flex;
  align-items: center;
  gap: 0 8px;
  max-width: 600px;
  margin: 0 auto;
}
.p-search__input-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0 10px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e7ecf0;
  border-radius: 999px;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.p-search__input-box:focus-within {
  border-color: #00B0FF;
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.2);
}
.p-search__icon {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #536471;
}
.p-search__input {
  flex: 1;
  width: 100%;
  min-width: 0;
  font-size: 1.6rem;
  outline: none;
}
.p-search__input::placeholder {
  color: #9aa5ae;
}
.p-search__back {
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #536471;
}
.p-search__back svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   プロジェクト - プロフィール（自分・他人共通）
   ========================================================================== */
.p-user-profile {
  max-width: 600px;
  margin: 0 auto 16px;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
}
@media screen and (max-width: 768px) {
  .p-user-profile {
    padding: 20px 16px;
  }
}
.p-user-profile__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-bottom: 16px;
}
@media screen and (max-width: 580px) {
  .p-user-profile__edit {
    order: 3;
    width: 100%;
  }
}
.p-user-profile__img {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #e7ecf0;
}
@media screen and (max-width: 580px) {
  .p-user-profile__img {
    width: 64px;
    height: 64px;
  }
}
.p-user-profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-user-profile__username {
  flex: 1;
  min-width: 0;
  font-size: 1.9rem;
  font-weight: bold;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 580px) {
  .p-user-profile__username {
    font-size: 1.6rem;
  }
}
.p-user-profile__introduction {
  font-size: 1.5rem;
  line-height: 1.75;
  color: #0f1419;
  white-space: pre-line;
}

/* ==========================================================================
   プロジェクト - プロフィール編集
   ========================================================================== */
.p-profile-edit {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 24px;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
}
@media screen and (max-width: 768px) {
  .p-profile-edit {
    padding: 24px 16px 16px;
  }
}

.p-profile-edit__img-label {
  display: block;
  width: fit-content;
  margin: 0 auto 24px;
  cursor: pointer;
}

.p-profile-edit__img-container {
  position: relative;
  width: 96px;
  height: 96px;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid #e7ecf0;
}
.p-profile-edit__img-container > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-profile-edit__file-icon {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: rgba(15, 20, 25, 0.35);
  transition: background-color 0.3s;
}
.p-profile-edit__img-label:hover .p-profile-edit__file-icon {
  background-color: rgba(15, 20, 25, 0.5);
}
.p-profile-edit__file-icon svg {
  width: 28px;
  height: 28px;
}

.p-profile-edit__file-input {
  display: none;
}

.p-profile-edit__field {
  display: block;
  margin-bottom: 20px;
}

.p-profile-edit__label {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #536471;
  margin-bottom: 6px;
}

.p-profile-edit__input,
.p-profile-edit__textarea {
  border: 1px solid #e7ecf0;
  border-radius: 12px;
  background-color: #fff;
  font-size: 1.6rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  display: block;
  width: 100%;
}
.p-profile-edit__input::placeholder,
.p-profile-edit__textarea::placeholder {
  color: #9aa5ae;
}
.p-profile-edit__input:focus,
.p-profile-edit__textarea:focus {
  outline: none;
  border-color: #00B0FF;
  box-shadow: 0 0 0 3px rgba(0, 176, 255, 0.2);
}

.p-profile-edit__input {
  height: 48px;
  padding: 0 16px;
}

.p-profile-edit__textarea {
  height: 160px;
  padding: 12px 16px;
  line-height: 1.7;
  resize: none;
}

.p-profile-edit__btn-area {
  display: flex;
  justify-content: flex-end;
  gap: 0 8px;
  padding-top: 12px;
  border-top: 1px solid #e7ecf0;
}

/* ==========================================================================
   プロジェクト - 設定
   ========================================================================== */
.p-settings {
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #e7ecf0;
  border-radius: 16px;
}
.p-settings li + li {
  border-top: 1px solid #e7ecf0;
}
.p-settings__item {
  display: flex;
  align-items: center;
  gap: 0 14px;
  padding: 18px 20px;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}
.p-settings__item:hover {
  opacity: 1;
  background-color: rgba(15, 20, 25, 0.06);
}
.p-settings__item--danger {
  color: #e5484d;
}
.p-settings__item--danger:hover {
  background-color: rgba(229, 72, 77, 0.05);
}
.p-settings__icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.u-mb8 {
  margin-bottom: 8px;
}

.u-mb16 {
  margin-bottom: 16px;
}

.u-mb24 {
  margin-bottom: 24px;
}

.u-mb32 {
  margin-bottom: 32px;
}

.u-mb40 {
  margin-bottom: 40px;
}

.u-mb48 {
  margin-bottom: 48px;
}

.u-mt8 {
  margin-top: 8px;
}

.u-mt16 {
  margin-top: 16px;
}

.u-mt24 {
  margin-top: 24px;
}

.u-mt32 {
  margin-top: 32px;
}

.u-mt40 {
  margin-top: 40px;
}
