* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  color: #172019;

  background:
    linear-gradient(
      180deg,
      #f7faf7 0%,
      #f1f5f2 100%
    );

  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* ========================================
   MAIN
======================================== */

.page-wrap {
  max-width: 900px;

  margin: 0 auto;

  padding: 34px 18px 80px;
}



/* ========================================
   HERO
======================================== */

.activity-hero {
  padding: 30px 32px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  border: 1px solid #e0e8e2;

  border-radius: 20px;

  background: #ffffff;

  box-shadow:
    0 12px 32px
    rgba(18, 55, 31, 0.06);
}

.eyebrow {
  color: #08733d;

  font-size: 11px;

  font-weight: 950;

  letter-spacing: 0.22em;
}

.activity-hero h1 {
  margin: 7px 0 3px;

  font-size: 32px;

  letter-spacing: -0.05em;
}

.activity-hero p {
  margin: 0;

  color: #738078;

  font-size: 13px;
}

.hero-post-btn {
  min-width: 155px;

  min-height: 58px;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #ffffff;

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #18d36b,
      #11b957
    );

  font-size: 14px;

  font-weight: 950;

  box-shadow:
    0 12px 25px
    rgba(24, 201, 100, 0.18);
}

/* ========================================
   LOADING / EMPTY
======================================== */

.loading-card,
.empty-card {
  min-height: 320px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  border: 1px solid #e1e8e3;

  border-radius: 18px;

  background: #ffffff;

  color: #78837b;
}

.loader {
  width: 44px;

  height: 44px;

  margin-bottom: 18px;

  border: 5px solid #e5eee8;

  border-top-color: #16c961;

  border-radius: 50%;

  animation:
    spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.empty-icon {
  font-size: 40px;
}

.empty-card h2 {
  margin: 14px 0 4px;

  color: #233128;

  font-size: 20px;
}

.empty-card p {
  margin: 0 0 20px;

  font-size: 12px;
}

.empty-btn {
  padding: 12px 18px;

  color: #ffffff;

  border-radius: 11px;

  background: #16bf5b;

  font-size: 12px;

  font-weight: 900;
}



/* ========================================
   REPORT CARD
======================================== */

.report-list {
  border: 1px solid #e0e7e2;

  border-radius: 18px;

  overflow: hidden;

  background: #ffffff;

  box-shadow:
    0 10px 30px
    rgba(20, 50, 30, 0.05);
}

.report-card {
  padding: 24px 26px;

  border-bottom: 1px solid #e6ebe7;
}

.report-card:last-child {
  border-bottom: 0;
}

.report-head {
  display: flex;

  align-items: center;

  gap: 11px;
}

.report-avatar {
  width: 46px;

  height: 46px;

  flex: 0 0 auto;

  display: flex;

  align-items: center;

  justify-content: center;

  color: #ffffff;

  border-radius: 12px;

  background:
    linear-gradient(
      135deg,
      #61d27d,
      #19ba57
    );

  font-size: 20px;

  font-weight: 950;
}

.report-author-area {
  min-width: 0;
}

.report-author {
  display: block;

  color: #1671c5;

  font-size: 14px;

  font-weight: 900;
}

.report-date {
  display: block;

  margin-top: 2px;

  color: #8b958e;

  font-size: 10px;
}

.report-meta {
  margin-top: 14px;

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 8px;
}

.report-service,
.report-area {
  min-height: 29px;

  padding: 0 10px;

  display: inline-flex;

  align-items: center;

  border-radius: 8px;

  font-size: 11px;

  font-weight: 850;
}

.report-area {
  color: #5f6c64;

  background: #f1f4f2;
}

.service-uber {
  color: #ffffff;
  background: #5fc86c;
}

.service-demae {
  color: #ffffff;
  background: #e34b4b;
}

.service-rocket {
  color: #ffffff;
  background: #f18b2b;
}

.service-menu {
  color: #242424;
  background: #f2d34c;
}

.service-other {
  color: #ffffff;
  background: #528cf3;
}

.report-body {
  margin: 18px 0 2px;

  color: #1d251f;

  font-size: 15px;

  line-height: 1.75;

  white-space: pre-wrap;

  overflow-wrap: anywhere;
}

/* ========================================
   CREATE
======================================== */

.simple-header {
  min-height: 72px;

  padding: 0 20px;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  border-bottom: 1px solid #e3e9e5;

  background: #ffffff;
}

.simple-header strong {
  font-size: 17px;
}

.simple-back {
  color: #08733d;

  font-size: 13px;

  font-weight: 850;
}

.simple-home {
  justify-self: end;

  color: #08733d;

  font-size: 13px;

  font-weight: 850;
}

.create-wrap {
  max-width: 680px;

  margin: 0 auto;

  padding: 35px 18px 80px;
}

.create-card {
  padding: 34px;

  border: 1px solid #e1e8e3;

  border-radius: 22px;

  background: #ffffff;

  box-shadow:
    0 12px 35px
    rgba(18, 55, 31, 0.06);
}

.create-card h1 {
  margin: 7px 0;

  font-size: 29px;
}

.create-lead {
  margin: 0 0 30px;

  color: #7a867e;

  font-size: 12px;

  line-height: 1.7;
}

.form-group {
  margin-top: 24px;
}

.form-group label {
  margin-bottom: 8px;

  display: block;

  font-size: 13px;

  font-weight: 900;
}

.form-group label span {
  margin-left: 6px;

  color: #ffffff;

  padding: 2px 6px;

  border-radius: 5px;

  background: #19bd59;

  font-size: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  border: 1px solid #dce5df;

  border-radius: 12px;

  color: #1e2922;

  background: #ffffff;

  outline: none;
}

.form-group input,
.form-group select {
  min-height: 49px;

  padding: 0 14px;
}

.form-group textarea {
  min-height: 190px;

  padding: 14px;

  resize: vertical;

  line-height: 1.7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #18c964;

  box-shadow:
    0 0 0 3px
    rgba(24, 201, 100, 0.09);
}

.form-group small {
  margin-top: 6px;

  display: block;

  color: #8a958e;

  font-size: 10px;
}

.char-row {
  margin-top: 7px;

  display: flex;

  justify-content: space-between;

  gap: 15px;

  color: #8a958e;

  font-size: 9px;
}

.author-box {
  margin-top: 26px;

  padding: 14px 16px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  border-radius: 12px;

  background: #f5f8f6;

  font-size: 12px;
}

.form-message {
  margin-top: 18px;

  padding: 12px 14px;

  border-radius: 10px;

  color: #a13b3b;

  background: #fff3f3;

  font-size: 11px;

  font-weight: 700;
}

.create-actions {
  margin-top: 28px;

  display: grid;

  grid-template-columns:
    1fr 2fr;

  gap: 10px;
}

.cancel-btn,
.submit-btn {
  min-height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 12px;

  font-size: 12px;

  font-weight: 900;
}

.cancel-btn {
  color: #637067;

  border: 1px solid #dce4df;

  background: #ffffff;
}

.submit-btn {
  border: 0;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #18d36b,
      #11b957
    );

  cursor: pointer;
}

.submit-btn:disabled {
  opacity: 0.55;

  cursor: default;
}



/* ========================================
   SMARTPHONE
======================================== */

@media (max-width: 640px) {

  .page-wrap {
    padding:
      26px 15px 65px;
  }


  .activity-hero {
    padding:
      25px 22px;

    align-items:
      center;
  }


  .activity-hero h1 {
    font-size:
      27px;
  }


  .activity-hero p {
    font-size:
      10px;
  }


  .hero-post-btn {
    min-width:
      123px;

    min-height:
      58px;

    font-size:
      12px;
  }

  .report-card {
    padding:
      22px 20px;
  }


  .report-avatar {
    width:
      43px;

    height:
      43px;
  }


  .report-body {
    font-size:
      14px;
  }


  .create-card {
    padding:
      27px 20px;
  }


  .create-card h1 {
    font-size:
      25px;
  }


  .create-actions {
    grid-template-columns:
      1fr;
  }


  .submit-btn {
    order:
      -1;
  }

}

/* ========================================
   稼働報告フィルター
   掲示板と同じ配置
======================================== */

.service-filter.filter-btn {
  font-size: 10px;
  font-weight: 800;
}


/* スマホ */

@media (max-width: 640px) {

  .filter-bar {
    width: 100%;

    display: flex;

    flex-wrap: nowrap;

    gap: 6px;

    overflow: visible;
  }


  .service-filter.filter-btn {
    flex: 1 1 0;

    min-width: 0;

    padding:
      7px 5px;

    line-height: 1.6;

    white-space: normal;

    word-break: normal;

    text-align: center;
  }

}

/* ========================================
   稼働報告フィルター上下余白
======================================== */

.filter-bar {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* ========================================
   稼働報告プロフィールアイコン
======================================== */

.report-avatar {
  overflow: hidden;
  flex-shrink: 0;
}


.report-avatar img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;
}

