html,
body,
p,
h1 {
  margin: 0;
  padding: 0;
}
a,
a:hover,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

.main-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

/* header部分 */
.top {
  display: grid;
  grid-template-columns: 156px 220px 1fr;
  align-items: center;
  padding: 0 15px;
  height: 64px;
}

.top img {
  height: 35px;
}

.top span {
  margin-left: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fd7e14;
}
.top-right {
  text-align: right;
}
.top-right a {
  font-size: 14px;
  color: #007fff;
}

.header-bg {
  width: 100%;
  height: 678px;
  margin-top: 135px;
  background-color: #fd7e14;
  border-radius: 100px 0px 100px 0px;
  inset: 0;
  overflow: hidden;
}

.topheader {
  position: relative;
}

.header-bg .left {
  width: 50%;
  float: left;
}

.header-bg .left img {
  position: absolute;
  left: 10%;
  bottom: 0;
  z-index: 2;
  width: 588px;
  height: 882px;
}

.header-bg .right {
  width: 45%;
  float: right;
  color: #ffffff;
}

.header-bg .right p {
  font-family: Lato;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 38px);
  line-height: 50px;
  margin-top: 160px;
  text-indent: 10px;
}

.header-bg .right ul {
  font-family: Lato;
  font-weight: 700;
  font-size: clamp(18px, 1.6vw, 28px);
  line-height: 50px;
}

.header-bg .right .link {
  margin-top: 70px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-bg .right .link a {
  display: inline-block;
  padding: 6px 18px;
  border: solid 1px #66ccff;
  text-align: center;
  border-radius: 12px;
  background-color: #ffffff;
  font-family: Lato;
  font-weight: 600;
  font-size: clamp(16px, 1.2vw, 24px);
  color: #fd7e14;
}

.header-bg .right .link img {
  width: 30%;
}

/* content部分 */
.content {
  width: 100%;
  background-image: url("../img/personal/background.png");
  background-size: contain;
  padding: var(--section-padding) 0;
}

h1 {
  font-family: Lato;
  font-weight: 700;
  font-size: clamp(22px, 2vw, 38px);
  line-height: 40px;
  color: #fd7e14;
  text-align: center;
}

.content-list {
  width: 80%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 1366px) {
  .content-list {
    width: 90%;
  }
}

.content-item {
  width: 50%;
  margin-top: var(--section-padding);
}

.content-item:nth-child(1) {
  max-width: 693px;
}

.content-item:nth-child(2) {
  max-width: 550px;
}

.content-item:nth-child(3),
.content-item:nth-child(4) {
  max-width: 609px;
}

.item-top {
  display: flex;
  gap: 20px;
}

.item-icon img {
  width: 165px;
  height: 155px;
}

.item-title h2,
.item-title ul li {
  font-family: Lato;
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 20px);
  line-height: 40px;
}

.item-title ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-title ul li {
  color: #555555;
  display: flex;
  flex-direction: column;
}

.item-image {
  text-align: center;
  margin-top: 70px;
}

.item-image-1 {
  width: 89%;
  max-width: 544px;
  height: auto;
}

.item-image-2 {
  width: 86%;
  max-width: 526px;
  height: auto;
}

.item-image-3 {
  width: 97%;
  max-width: 591px;
  height: auto;
}

/* sns */
.sns {
  width: 62%;
  margin: 0 auto;
}
.sns h1 {
  padding: var(--section-padding) 0;
}
.sns-share {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-bottom: var(--section-padding);
}

.sns-share img {
  width: 88px;
  height: 88px;
}

.sns-users {
  border: solid 5px #fd7e14;
  width: 100%;
  padding-bottom: var(--section-padding);
}

.user-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-direction: row;
  gap: 75px;
}

.user-item {
  width: 62%;
  height: 198px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fafafa;
  box-shadow: 0px 3.08px 4.62px 0px #00000040;
  border-radius: 12px;
  font-size: clamp(12px, 0.8vw, 16px);
}

.user-item-left {
  margin-left: 20px;
  width: 82%;
}

.item-info,
.user-item-right p {
  font-family: Lato;
  font-weight: 500;
  line-height: 40px;
  color: #555555;
}

.item-info {
  height: 118px;
}

.item-star img {
  width: 21%;
  height: auto;
  margin-top: 10px;
}

.user-item-right {
  margin: 15px 15px 0 0;
  width: 18%;
}

.user-item-right img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.user-item-right p {
  text-align: center;
}

/* footer部分 */
.footer {
  width: 100%;
  background-color: #fd7e14;
  display: flex;
  justify-content: center;
  box-shadow: 0px 4px 6px 0px #00000040;
  padding: 70px 0;
  margin-top: var(--section-padding);
}

.footer-links {
  font-family: Lato;
  font-weight: 700;
  font-size: clamp(14px, 1.1vw, 20px);
  line-height: 40px;
  width: 68%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  gap: 6%;
}

.joyns {
  margin: 60px 0 110px 0;
  display: flex;
  justify-content: center;
}

.joyns img {
  width: 18%;
  height: auto;
}

@media (max-width: 1024px) {
  .header-bg {
    margin-top: 80px;
    height: auto;
    border-radius: 60px 0 60px 0;
    padding-bottom: 40px;
  }

  .header-bg .left img {
    width: 420px;
    height: auto;
    left: 6%;
  }

  .content {
    height: auto;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  .top {
    display: grid;
    padding: 12px;
    margin-top: 0;
    height: auto;
    grid-template-columns: 122px 1fr;
    grid-row-gap: 12px;
    grid-template-areas:
      "head-logo head-link"
      "head-title head-title";
  }
  .top .top-right {
    grid-area: head-link;
    text-align: right;
  }
  .top-right a {
    margin-right: 0;
    font-size: 13px;
  }
  .top .head-title {
    grid-area: head-title;
    text-align: center;
  }
  .header {
    padding: 0 12px;
  }
  .header-bg {
    margin-top: 0;
    border-radius: 36px;
    padding: 24px 12px 28px;
    position: relative;
  }

  .header-bg .left,
  .header-bg .right {
    float: none;
    width: 100%;
  }

  .header-bg .left {
    display: flex;
    justify-content: center;
  }
  .header-bg .left img {
    position: static;
    width: min(320px, 86%);
    height: auto;
    z-index: auto;
  }

  .header-bg .right {
    margin-top: 12px;
    text-align: center;
  }

  .header-bg .right p {
    margin-top: 14px;
    line-height: 1.4;
    text-indent: 0;
  }

  .header-bg .right ul {
    text-align: left;
    line-height: 1.8;
  }

  .header-bg .right .link {
    margin-top: 18px;
    justify-content: center;
    gap: 14px;
  }

  .header-bg .right .link a {
    padding: 10px 18px;
    border-radius: 12px;
  }

  .header-bg .right .link img {
    flex: 1;
  }

  .content-list {
    width: 100%;
    padding: 0 12px;
    flex-direction: column;
    gap: 0;
  }

  .content-item {
    width: 100%;
    max-width: none !important;
    margin-top: 48px;
  }

  .item-top {
    gap: 14px;
    align-items: flex-start;
  }

  .item-icon img {
    width: 88px;
    height: auto;
  }

  .item-title h2,
  .item-title ul li {
    line-height: 1.7;
  }
  .item-title h2 {
    margin-top: 0;
  }

  .item-image {
    margin-top: 18px;
  }

  .sns {
    width: 100%;
    padding: 0 12px;
  }

  .sns-share {
    gap: 18px;
    flex-wrap: wrap;
  }

  .sns-share img {
    width: 64px;
    height: 64px;
  }

  .sns-users {
    border: none;
  }
  .sns-users h1 {
    padding-top: 0;
  }

  .user-list {
    gap: 18px;
    padding: 0 6px;
  }

  .user-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 14px 16px;
    gap: 10px;
  }

  .user-item-left {
    margin-left: 0;
    width: 100%;
  }

  .item-info {
    height: auto;
    line-height: 1.7;
  }

  .item-star img {
    width: 120px;
    margin-top: 10px;
  }

  .user-item-right {
    margin: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .user-item-right img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
  }

  .user-item-right p {
    text-align: left;
    line-height: 1.2;
  }

  /* footer：横排改竖排 */
  .footer {
    height: auto;
    padding: 18px 0;
  }

  .footer-links {
    width: 92%;
    flex-direction: column;
    gap: 10px;
    padding: 8px 0;
    text-align: center;
    line-height: 1.6;
  }

  .joyns {
    margin: 30px 0 60px;
  }

  .joyns img {
    width: 44%;
  }
}
