/*
 Theme Name: astra Child
 Template: astra
 Description: astra の子テーマ
 Version: 1.0
*/

:root {
  --brand: #0d4a8c; /* 背景の濃い青 */
  --btn: #2570cf; /* ボタン青（以前の指定） */
  --text: #fff;
  --icon-bg: rgba(255, 255, 255, 0.2); /* 丸の薄白 */
}

footer {
  margin: 0;
  font-family: "Source Han Sans JP", "Noto Sans JP", system-ui, -apple-system,
    sans-serif;
  letter-spacing: 0.2rem;
}
.fntc-main p {
  line-height: 1.8;
}

p,
span {
  margin: 0;
  padding: 0;
}

footer.bgc-main {
  padding: 50px 0;
  color: #ffffff;
  font-size: 12px;
  width: 100%;
  background-color: #003f8e;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.ft-wrapper-top {
  width: 96%;
  display: flex; /* 横方向に並べる */
  justify-content: space-between; /* 両端に配置 */
  align-items: center;
  margin: 0 auto;
  padding: 8px;
}

.main-fnt {
  font-size: 3rem;
  font-weight: bold;
  font-family: "Source Han Sans JP", "Noto Sans JP", sans-serif;
  letter-spacing: 10px;
}

.sub-fnt {
  font-size: 2.5rem;
  font-family: "Source Han Sans JP", "Noto Sans JP", sans-serif;
  letter-spacing: 5px;
}

.btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2570cf;
  color: white;
  text-decoration: none;
  padding: 24px 48px;
  border-radius: 4px;
  font-size: 1.6rem;
  font-weight: bold;
  letter-spacing: 10px;
  width: 400px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2168c6;
  color: white;
}

.circle {
  background-color: #4193fa;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dot,
.arrow {
  position: absolute;
  color: white;
  font-size: 18px;
  letter-spacing: 0;
  transition: opacity 0.6s ease;
}

.dot {
  opacity: 1;
}

.arrow {
  opacity: 0;
}

.btn:hover .dot {
  opacity: 0;
}

.btn:hover .arrow {
  opacity: 1;
}

.border {
  margin: 30px auto;
  border: 1px solid #2570cf;
  width: 96%;
}

.ft-sub-wrapper {
  display: flex;
  padding: 10px 20px;
}

.ft-menu {
  width: 90%;
}

.ft-page-top-area {
  width: 10%;
  position: relative;
}

.menu-chilled {
  display: inline-block;
  width: fit-content;
  vertical-align: top;
}

.menu-chilled:not(:first-child) {
  margin-left: 30px;
}

.ft-menu a {
  text-decoration: none;
  color: #ffffff;
}

.ft-menu-item {
  position: relative;
  margin: 10px;
  margin-bottom: 20px;
}

.ft-menu-item a,
.ft-menu-item a::before,
.ft-menu-item a::after {
  transition: 0.2s;
}

.ft-menu-item a {
  padding-left: 30px;
}

.ft-menu-item a::before,
.ft-menu-item a::after {
  content: "";
  position: absolute;
}

.ft-menu-item a::before {
  top: 50%;
  left: 2px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
}

.ft-menu-item a::after {
  top: calc(50% - 2.5px);
  left: 8px;
  transform: rotate(45deg);
  width: 5px;
  height: 5px;
  border-width: 2px 2px 0 0;
  border-style: solid;
  border-color: #003f8e #003f8e transparent transparent;
}

.ft-menu-item a:hover::before {
  border: 2px solid #2570cf;
  background-color: #2570cf;
}

.ft-menu-item a:hover::after {
  border-color: #fff #fff transparent transparent;
}

.ft-menu-item a:hover {
  color: #75acf3;
}

button.ft-page-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  bottom: 20px;
  cursor: pointer;
  border: 0;
  background: none;
  letter-spacing: 3px;
}

.ft-page-top-btn:before {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid #2570cf;
  content: "";
  border-radius: 100%;
  background-color: #2570cf;
  top: 0px;
  right: 10px;
  transition: 0.2s;
}

.ft-page-top-btn:after {
  position: absolute;
  top: 18px;
  right: 26px;
  transform: rotate(-45deg);
  display: block;
  width: 8px;
  height: 8px;
  content: "";
  border: 1px solid #fff;
  border-width: 3px 3px 0px 0px;
}

.ft-page-top-btn:hover:before {
  background-color: #2168c6;
}

.ft-sub-link {
  margin-top: 10px;
}

.ft-sub-link-item {
  display: inline-block;
}

.ft-sub-link a {
  padding: 0 24px 0 0;
  text-decoration: none;
  color: #4193fa;
  transition: 0.2s;
}

.ft-sub-link a:hover {
  color: #64a9fd;
}

.ft-sub-wrapper.sub-3 {
  justify-content: space-between;
  padding-bottom: 0px;
}

.ft-sns-area {
  width: 30%;
}

.sns-icon {
  width: 20px;
  margin: 10px;
  transition: 0.2s;
}

.sns-icon:hover {
  opacity: 0.8;
}

.ft-copyright-area {
  color: #4193fa;
  position: relative;
  width: 70%;
  text-align: right;
  letter-spacing: 3px;
}

.ft-copyright-area p {
  position: absolute;
  bottom: 10px;
  right: 0;
}

@media screen and (max-width: 1200px) {
  .ft-wrapper {
    margin: 0 20px;
  }

  .btn {
    width: 350px;
  }
}

@media screen and (max-width: 1025px) {
  .ft-wrapper-top {
    flex-direction: column;
  }

  .btn {
    margin-top: 30px;
  }
}

@media screen and (max-width: 700px) {
  .ft-sub-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .main-fnt {
    font-size: 2.5rem;
    letter-spacing: 10px;
  }

  .sub-fnt {
    font-size: 2rem;
    letter-spacing: 5px;
  }

  .btn {
    font-size: 1.4rem;
    width: 320px;
  }

  .menu-chilled:not(:first-child) {
    margin-left: 20px;
  }

  .ft-page-top-area {
    height: 70px;
    align-self: flex-end;
  }

  .ft-page-top-btn:before {
    top: 10px;
    right: 25px;
  }

  .ft-page-top-btn:after {
    top: 28px;
    right: 40px;
  }

  .ft-sub-link {
    text-align: center;
  }

  .ft-sub-link-item {
    margin: 5px 10px;
  }

  .ft-sub-link a:last-child {
    padding: 0;
  }

  .ft-copyright-area {
    width: 100%;
    position: static;
  }

  .ft-sns-area {
    width: fit-content;
  }

  .ft-copyright-area p {
    position: static;
    text-align: center;
  }
}

@media screen and (max-width: 620px) {
  .main-fnt {
    font-size: 2rem;
  }

  .sub-fnt {
    font-size: 1.5rem;
  }

  .btn {
    font-size: 1.2rem;
    width: 300px;
    letter-spacing: 6px;
    padding: 18px 46px;
  }

  .circle {
    width: 30px;
    height: 30px;
  }

  .dot,
  .arrow {
    font-size: 11px;
  }

  .menu-chilled {
    display: block;
    margin-left: 20px;
  }
}

@media screen and (max-width: 400px) {
  .main-fnt {
    font-size: 1.8rem;
    letter-spacing: 6px;
  }

  .sub-fnt {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }

  .btn {
    font-size: 1.2rem;
    width: 270px;
  }

  .menu-chilled,
  .menu-chilled:not(:first-child) {
    margin-left: 0;
  }
}
