/*
タグ機能の表示
なしにする場合：コメントアウト解除
ありにする場合：コメントアウト
*/
/* ここから */
.ambassador__tag-area,
.ambassador__tag-list{
  display: none!important;
}
/* ここまで */


.p-touch_wrap * {
  box-sizing: border-box;
}

.mod-SNSButtons {
  margin-left: 0;
  margin-right: 0;
}

.p-touch_wrap,
.st_globalLink_inner {
  overflow: hidden;
}

body.noscroll {
  overflow: hidden;
}

/* モーダルオーバーレイ */
.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background: grey;
  opacity: .6;
  display: none;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
}

.overlay.open {
  display: block;
}





/* メインビジュアル */
.main-visual {
  width: 100%;
  background-size: auto auto;
  background-color: rgba(240, 230, 218, 1);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(237, 225, 211, 1) 20px, rgba(237, 225, 211, 1) 25px );
}

.main-visual__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.main-visual__img {
  padding: 60px 25px;
  width: min(50%,600px);
}
.main-visual__wrapper::before,
.main-visual__wrapper::after {
  content: '';
  width: max(25%,calc(100% - 600px / 2));
}
.main-visual__wrapper::before{
  background: url('../img/main-visual_left.png') center right;
  background-size: cover;
  background-repeat: no-repeat;
}
.main-visual__wrapper::after{
  background: url('../img/main-visual_right.png') center left;
  background-size: cover;
  background-repeat: no-repeat;
}
.main-visual__wrapper .productname__img{
  width: min(300px,22%);
  position: absolute;
  top: 30px;
  left: 0;
  padding: 15px 30px;
  background: #000;
}
.main-visual__wrapper .productname__img img{
  max-width: 100%;
  height: auto;
  width /***/: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .main-visual {
    overflow: hidden;
  }
  .main-visual__img {
    width: min(60%,600px);
    padding: 30px 15px;
  }
  .main-visual__wrapper::before,
  .main-visual__wrapper::after {
    content: '';
    width: max(20%,calc(100% - 600px / 2));
  }
  .main-visual__wrapper .productname__img{
    padding: 10px;
  }
}

@media screen and (max-width: 540px) {
  .main-visual__img {
    width: min(76%,600px);
  }
  .main-visual__wrapper::before,
  .main-visual__wrapper::after {
    content: '';
    width: max(12%,calc(100% - 600px / 2));
  }
  .main-visual__wrapper .productname__img{
    top: 0;
    width: 100px;
  }
}


/* アンバサダー紹介 */
.ambassador img {
  display: block;
  width: 100%;
  max-width: 100%;
  vertical-align: bottom;
}

.ambassador__inner {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
}

@media screen and (max-width: 768px) {
  .ambassador__inner {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.ambassador {
  padding-top: 30px;
}

.ambassador__title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  padding-top: 40px;
  padding-bottom: 40px;
  line-height: 1.4;
}

.ambassador__title span {
  position: relative;
}

.ambassador__title span span{
  display: inline-block;
}

.ambassador__title img {
  max-width: 200px;
  /* width: 20%; */
  position: absolute;
  top: 10px;
  right: 0;
  transform: translate(calc(100% + 20px), -50%);
}

.ambassador__more-btn {
  display: block;
  text-align: center;
  padding-top: 26px;
  padding-bottom: 15px;
  margin-top: -20px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  background: url('../img/more_bg.png') top center;
  position: relative;
  z-index: 1;
}

.ambassador__more-btn.open_position{
  margin-top: -70px;
}
.ambassador__more-btn.close_position{
  margin-top: 0;
}

.ambassador__more-btn .open_link::before {
  position: relative;
  z-index: 2;
  content: "More";
}
.ambassador__more-btn .close_link::before {
  position: relative;
  z-index: 2;
  content: "Close";
}
@media screen and (max-width: 480px) {
  .ambassador__more-btn .open_link::before {
    content: "More ▼";
  }
}

.ambassador__more-btn img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 55px;
}

.ambassador__lists-area{
  padding-bottom: 50px;
}

.ambassador__lists {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  transition: all .3s;
  /* border-right: 1px solid #b1a89e;
  border-left: 1px solid #b1a89e;
  border-bottom: 1px solid #b1a89e; */
}

.ambassador__lists.close {
  height: 1050px;
  transition: all .3s;
}

.ambassador__list {
  padding: 20px;
  border: 1px solid #b1a89e;
  width: 25%;
}

.ambassador__tag-inner {
  padding-top: 10px;
  padding-bottom: 10px;
}

.ambassador__tag-list {
  display: flex;
  justify-content: center;
  border-top: 2px solid #b1a89e;
  border-bottom: 2px solid #b1a89e;
  margin-bottom: -1px;
}

.ambassador__modal {
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 50px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  display: none;
  z-index: 50;
  background-size: auto auto;
  background-color: rgba(240, 230, 218, 1);
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(237, 225, 211, 1) 20px, rgba(237, 225, 211, 1) 25px );
}

.ambassador__modal.open {
  display: block;
}

.ambassador__tag {
  display: inline-block;
  padding: 0 8px;
  background-color: #D3EDFB;
  color: #000;
  text-align: center;
  border-radius: 100vh;
  cursor: pointer;
  font-weight: bold;
  margin-right: 10px;
  font-size: 13px;
}

/* .ambassador__tag-btn {
  display: inline-block;
  padding: 0 16px;
  border: 1px solid #231815;
  color: #000;
  font-weight: bold;
  text-align: center;
  border-radius: 100vh;
  cursor: pointer;
  margin-right: 10px;
  font-size: 13px;
} */

.ambassador__list img {
  cursor: pointer;
  transition: all 0.3s;
  width: 65%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 16px;
}

.ambassador__list .ambassador__img:hover {
  transform: rotate(-5deg);
}

.ambassador__tag-area {
  margin-bottom: 16px;
}

.ambassador__name {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 16px;
}
@media screen and (max-width: 1100px) {
  .ambassador__modal{
    padding: 20px 30px;
  }
}
@media screen and (max-width: 1000px) {
  .ambassador{
    padding-top: 0;
    margin-top: -30px;
  }
  .ambassador__title{
    padding-top: 0;
  }
  .ambassador__title img {
    position: relative;
    display: block;
    margin-left: auto;
    transform: translate(0, 0);
    transform: rotate(-4deg);
  }
}

@media screen and (max-width: 768px) {
  .ambassador__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .ambassador__title {
    font-size: 24px;
  }

  .ambassador__title img {
    display: block;
    max-width: 200px;
    margin-bottom: 5px;
  }

  .ambassador__lists {
    padding-bottom: 20px;
  }

  .ambassador__list {
    padding: 20px;
    width: 50%;
  }

  .ambassador__list:nth-of-type(2n) {
    border-right: none;
    margin-left: -1px;
  }

  /* .ambassador__list:nth-of-type(4n) {
    margin-left: 0;
  } */

  .ambassador__title {
    padding-bottom: 20px;
  }

  .ambassador__name {
    font-size: 16px;
  }

  .ambassador__modal {
    padding: 25px;
  }
}

@media screen and (max-width: 540px) {
  .ambassador__list {
    padding: 10px;
  }

  .ambassador__text {
    font-size: 14px;
  }
}

/* アンバサダーモーダル */
.ambassador-modal__container {
  display: flex;
}

.ambassador-modal__info {
  width: 30%;
  margin-right: 3%;
}

.ambassador-modal__content {
  padding-top: 35px;
  width: 67%;
}

.ambassador-modal__name {
  font-size: 24px;
  line-height: 1.3;
  font-weight: bold;
  margin-bottom: 10px;
}

.ambassador-modal__img {
  margin-bottom: 15px;
}

.ambassador-modal__logos {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.ambassador-modal__logos .ambassador-modal__instagram {
  width: 35px;
}
.ambassador-modal__logos .ambassador-modal__instagram:hover{
  opacity: 1;
}

.ambassador-modal__instagram {
  margin-right: 16px;
}

.ambassador-modal__images {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 2%;
}

.ambassador-modal__images img {
  width: 32%;
}

.ambassador-modal__linkdetail{
  margin-top: 10px;
}

.ambassador-modal__linkdetail img{
  display: inline-block;
  margin: 0;
  vertical-align: middle;
}

.ambassador-modal__close {
  text-align: right;
  margin-bottom: 24px;
  position: absolute;
  top: 20px;
  right: 20px;
}

.ambassador-modal__close span {
  cursor: pointer;
  background-color: #B6B1C7;
  padding: 2px 16px;
  border-radius: 100vh;
  color: #fff;
}

.ambassador-modal__text {
  margin-bottom: 15px;
}

.ambassador-modal__name--sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .ambassador-modal__container {
    flex-direction: column;
  }

  .ambassador-modal__info {
    width: 100%;
    display: flex;
    align-items: center;
  }
  .modal__profile {
    width: 40%;
    min-width: 160px;
    margin-right: 24px;
  }

  .ambassador-modal__name--pc {
    display: none;
  }

  .ambassador-modal__name--sp {
    display: block;
  }

  .ambassador-modal__name {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .ambassador-modal__logos {
    margin-bottom: 8px;
  }

  .ambassador-modal__content {
    width: 100%;
    padding-top: 0;
  }

  .ambassador-modal__text {
    font-size: 14px;
  }
}

@media screen and (max-width: 540px) {
  .ambassador-modal__info {
    margin-right: 0;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 16px;
  }

  .ambassador-modal__img {
    margin-bottom: 10px;
  }
}


/* ハッシュタグ */
.hashtag__inner {
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hashtag__inner img {
  width: 70px;
  margin-right: 40px;
}

.hashtag__text {
  font-size: 20px;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .hashtag__inner {
    padding-top: 20px;
  }

  .hashtag__inner img {
    width: 50px;
    margin-right: 20px;
  }

  .hashtag__text {
    font-size: 16px;
  }
}


/* ブラザー公式インスタ */
.brother-ptouch_insta{
  padding: 50px 20px 0 20px;
  margin-bottom: -30px;
}
.brother-ptouch_insta a.brother-ptouch_insta__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: auto;
}
.brother-ptouch_insta a.brother-ptouch_insta__inner:hover{
  opacity: 1;
}
.brother-ptouch_insta img{
  display: block;
  width: 100%;
  max-width: 100%;
  vertical-align: bottom;
}
.brother-ptouch_insta .snsicon{
  width: 70px;
  margin: 35px;
}
.brother-ptouch_insta .brother-ptouch_instainfo{
  width: calc(100% - 105px);
  max-width: 370px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.brother-ptouch_insta .brother-ptouch_instainfo p{
  width: 100%;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.brother-ptouch_insta .brother-ptouch_instainfo p span{
  display: inline-block;
}
.brother-ptouch_insta .brother-ptouch_instaicon{
  width: 45px;
  margin-right: 15px;
}
.brother-ptouch_insta .brother-ptouch_instaname{
  width: calc(100% - 60px);
  font-size: clamp(1rem,3.6vw,1.5rem);
  font-weight: bold;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .brother-ptouch_insta{
    margin-bottom: 0;
  }
}
@media screen and (max-width: 480px) {
  .brother-ptouch_insta .snsicon {
    width: 50px;
    margin: 25px 25px 25px 5px;
  }
  .brother-ptouch_insta .brother-ptouch_instainfo {
    width: calc(100% - 80px);
  }
}