[v-cloak] {
  display: none;
}

.mypage {
  /* padding-top: 50px; */
  width: 100%;
  height: 600px;
  padding-top: 177px;
}

.inner {
  max-width: 1350px;
  margin: 0 auto;
  overflow: hidden;
}

.address-inner {
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff;
  width: 699px;
}

.address-title {
  font-size: 16px;
  font-weight: bold;
  color: #306d26;
  text-align: center;
}

.address-text {
  display: block;
  font-size: 14px;
  text-align: center;
  padding: 8px 0;
  margin: 0 auto;
  line-height: 2;
  /* color: #306d26; */
}

.address-content {
  width: 699px;
  margin: 0 auto;
  border-top: 1px solid #dddddd;
}

.address-causion {
  padding: 0px 120px;
}

.address-causion p {
  font-size: 12px;
  margin: 12px auto;
}

.address-box {
  padding: 16px 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dddddd;
}

/* .address-box:last-child {
  display: none;
} */

.address-box-title {
  font-size: 14px;
}

.address-box-title p {
  margin: 4px 0;
}

a.address-box-btn,
.address-box-btn {
  display: block;
  min-width:110px;
  height:28px;
  background-color: #fff;
  border: 1px solid #306d26;
  color: #306d26;
  font-size: 15px;
  border-radius: 6px;
  padding: 0 9px;
  cursor: pointer;
  font-weight: bold;
  margin:2px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

a.address-box-btn:active,
a.address-box-btn:visited,
a.address-box-btn:a:link
 {
  color: #306d26;
}



.address-box-active {
  font-size: 15px;
  color: #306d26;
  position: relative;
  font-weight: bold;
}

.address-box-active::before {
  content: url(../../../img/user/check.png);
  display: inline-block;
  vertical-align: middle;
  scale: 0.6;
}

.button {
  display: flex;
  justify-content: center;
}

.back-button a {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 160px;
  padding: 8px;
  font-weight: bold;
  border: 1px solid #306d26;
  color: #306d26;
  border-radius: 4px;
  /* transition: 0.5s; */
  margin: 20px 8px;
  font-size: 14px;
  height: 43px;
  line-height: 1.8;
  cursor: pointer;
}

.change-button button {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 160px;
  padding: 2px 8px 0;
  font-weight: bold;
  border: 1px solid #306d26;
  color: #fff;
  border-radius: 4px;
  /* transition: 0.5s; */
  background: #306d26;
  height: 43px;
  margin: 20px 8px;
  font-size: 14px;
  cursor: pointer;
}
.change-button a {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 160px;
  padding: 2px 8px 0;
  font-weight: bold;
  border: 1px solid #306d26;
  color: #fff;
  border-radius: 4px;
  /* transition: 0.5s; */
  background: #306d26;
  height: 43px;
  margin: 20px 8px;
  font-size: 14px;
  line-height: 2.7;
  cursor: pointer;
}

/* newpayment用 */
.container {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}

.input-container {
  width: 50%;
  padding: 10px;
}

.input-container p {
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 8px;
}

.input-container a {
  color: #306d26;
}

.input-container .link-text {
  margin: 5px auto 0 auto;
}

.input-container input {
  border: 1px solid #dddddd;
  width: 96%;
  height: 36px;
  border-radius: 3px;
  padding-left: 10px;
}

.input-container select {
  border: 1px solid #dddddd;
  width: 100%;
  height: 40px;
  border-radius: 3px;
  padding-left: 10px;
}

.input-container .error {
  color: #c9532f;
  margin-top: 5px;
}

.image-container {
  width: 50%;
  padding: 10px;
  position: relative;
}

.image-container img {
  scale: 0.4;
  position: absolute;
  top: 25%;
  left: -34%;
}

.sample-popup-background {
  /* 画面全体を暗くする透過背景 */
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  left: 0;
  z-index: 1000;
}
.sample-popup-content {
  /* ポップアップ本体 */
  display: inline-block;
  position: fixed;
  width: 320px;
  z-index: 1100;
  background: #fff;
  border-radius: 6px;
  padding: 16px 8px 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.sample-popup-content p {
  text-align: center;
  margin: 8px auto 16px;
  font-weight: bold;
  color: #205618;
}
.sample-popup-close {
  /* ポップアップ内の閉じるボタン */
  display: block;
  color: #205618;
  border: 1px solid #205618;
  padding: 5px;
  border-radius: 3px;
  cursor: pointer;
  margin: 0 auto 4px;
  width:80%;
}

.sample-popup-close.green {
  /* ポップアップ内の閉じるボタン */
  color: #fff;
  background: #205618;
}

#sample-popup-switch:checked ~ .sample-popup-background,
#sample-popup-switch:checked ~ .sample-popup-box {
  /* ポップアップ･透過背景を閉じる */
  display: none;
}

.required-label {
  color: #c9532f;
  font-size: 10px;
  vertical-align: middle;
  padding-left: 5px;
}

@media screen and (max-width: 767px) {
  .mypage {
    padding-top: 149px;
  }

  .address-inner {
    width: 100%;
  }

  .address-title {
    padding-top: 20px;
  }

  .address-content {
    border-top: none;
    width: 100%;
  }

  .address-box-title {
    width: 70%;
  }

  .address-box {
    padding: 16px 24px;
  }
  /* newaddress用 */
  .container {
    display: block;
  }

  .address-causion {
    padding: 0px 40px;
  }

  .input-container {
    width: 100%;
  }

  .input-container select {
    width: 98%;
  }

  .space {
    display: none;
  }

  .image-container {
    padding: 0;
  }

  .image-container img {
    position: relative;
    left: -120px;
    text-align: left;
  }
}

/* hover制御 */
@media (hover: hover) {
  .address-box-btn:hover {
    opacity: 0.6;
  }
  .back-button:hover a {
    opacity: 0.6;
  }
  .change-button:hover button {
    opacity: 0.6;
  }
  .change-button:hover a {
    opacity: 0.6;
  }
}
