/*全体-------------------------------------*/
#campaign {
width: 100%;/* 2つのボタン合わせた左右の幅 */
margin: auto;
background-color: #f7fafe;
padding-bottom: 40px;
}

/*2列リンクボタン-------------------------------------*/	

.button-container {
  width: 60%;/* 2つのボタン合わせた左右の幅 */
  margin: 0 auto;
  display: flex; /* 親要素をflexコンテナにする */
　justify-content: space-evenly;/* 隣接するアイテム同士の間隔、最初のアイテムの前の余白、最後のアイテムの後の余白は、まったく同じ幅 */
  flex-wrap: wrap; /* 必要に応じて折り返しを許可 */
}

.button-container a {
  flex: 1; /* ボタンを均等に分配する */
  width: 50%; /* 幅を50%にする（2列ボタンの場合）*/
  margin:40px 5%;
  padding: 1.5em;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
  background-color: #c8d9ef;
}

.button-2 {
  justify-content: center;
  align-items: center;
  width: 100%;/* aタグに対してテキスト幅100％*/
　margin:0 auto;
  border: none;
  background-color: #c8d9ef;
  color: #15335a;
  font-weight: 600;
  font-size: 1em;
}

/*タイトル画像「第３のうるおいバリア発想で敏感肌にアプローチ」------------------------------*/	
.title-1 {
  width: 1200px;
  text-align: center;
  margin:40px auto;
}

/*バリアライズ撮影画像------------------------------*/	
.title-2 {
  width: 44%;
  text-align: center;
  margin:40px auto;
}

/*バリアライズを詳しく見る1列リンクボタン(>あり)------------------------------*/	

.button-1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44%;/* 1200pxに対してのボタン幅％*/
    margin:60px auto;
    padding: 1.7em 0em;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 3px rgb(0 0 0 / 25%), 0 2px 3px -2px rgb(0 0 0 / 15%);
    background-color: #c8d9ef;
    color: #15335a;
    font-weight: 600;
    font-size: 1.2em;
}

.button-1::after {
    transform: rotate(45deg);
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-top: 2px solid #15335a;
    border-right: 2px solid #15335a;
    content: '';
}

/*5列画像ボタン------------------------------*/	
.image-container {
  width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-evenly;/* 各アイテムは、配置コンテナーの中で主軸方向に均等に配置されます。隣接するアイテム同士の間隔、最初のアイテムの前の余白、最後のアイテムの後の余白は、まったく同じ幅になります。 */
  flex-wrap: wrap; /* 子要素が折り返す */
  gap: 18px; /* 画像間の隙間 */
}

.image-column5 {
  box-sizing: border-box; /* 隙間を含めて幅を計算 */
  margin-bottom: 20px; /* 画像下の隙間 */
}

/*ふわっと浮き上がらせたい画像の動きcss-----------------------------*/
.fadeIn {
  transform: translate3d(0, 50px, 0);
  transition: 1s;
  opacity: 0;
}
.fadeIn.animated {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

/*キャンペーンメイン画像中央寄せ-----------------------------*/
#visual-1{
width: 1200px;
text-align: center;
margin:auto;	
}

/*トレカプレゼントメイン画像中央寄せ-----------------------------*/
#visual-2{
width: 1200px;
text-align: center;
margin:auto;	
}
/*#投稿キャンペーン参加方法画像中央寄せ-----------------------------*/
#visual-4{
width: 1200px;
position: relative;
text-align: center;
margin:auto;	
}

/*#投稿キャンペーンメインビジュアル-----------------------------*/
#visual-3{
width: 1200px;
text-align: center;
margin:auto;
margin-top:80px;	
}



/*セクションタイトルボタン(リンクなし)-----------------------------*/	
.button-02 {
  display: block;
  width: 44%;/* 1200pxに対してのボタン幅％*/
  margin:60px auto;
  color: #333333;
  font-weight: 600;
  font-size: 1.2em;
  letter-spacing: 0.12em;
  border: solid 1px #73aec1;
  border-radius: 5px;
  /* アイコンのスペースを確保したpadding-left、rightを設定する */
  padding: 20px;
  position: relative;
  background-color: #fff;
  /* 折り返しの対応 */
  overflow-wrap: break-word;
/* 左側アイコン */
  &::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: 60px;
    /* top: 50%;と、transform: translateY(-50%) で上下中央に配置 */
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
/* 右側アイコン */	
  &::after {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 60px;
    /* top: 50%;と、transform: translateY(-50%) で上下中央に配置 */
    top: 50%;
    transform: translateY(-50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
	
/* 左側キラキラアイコン(アイコンの画像種類を増やすときのためにclass入れた)*/
  &.twinkle::before {
    background-image: url("/img/usr/freepage/20251001_barrierise_campaign/twinkle.png");
  }
	
/* 右側キラキラアイコン(アイコンの画像種類を増やすときのためにclass入れた) */
  &.twinkle::after {
    background-image: url("/img/usr/freepage/20251001_barrierise_campaign/twinkle.png");
  }
}
/*キャンペーン期間*/
.period {
  font-weight: 600;
  font-size: 1.8em;
  text-align: center;
  line-height: 1.7; /*文の行高*/
  padding: 0.3em 2%; /*前後の文との余白*/
}

.notes {
  font-weight: 300;
  font-size: 0.7em;
  line-height: 1.5; /*文の行高*/
  padding: 0.3em 2%; /*前後の文との余白*/
}
/*対象商品*/
#product {
  width: 40%;
  text-align: left;
  margin:40px auto;
}

.productname {
  font-size: 1.2em;
  line-height: 1.5; /*文の行高*/
  padding: 0.3em 2%; /*前後の文との余白*/
}

/*対象店舗*/
#targetstores {
  width: 40%;
  text-align: left;
  margin:40px auto;
}

.storename {
  font-size: 1.2em;
  line-height: 1.5; /*文の行高*/
  padding: 0.3em 2%; /*前後の文との余白*/
}

/*注意事項*/
#precautionscontainer {
  width: 60%;
  text-align: left;
  margin:40px auto;
}

.precautions {
  font-size: 1.2em;
  line-height: 1.5; /*文の行高*/
  padding: 0.3em 2%; /*前後の文との余白*/
}
/*注意事項*/
#applicationterms {
  width: 70%;
  text-align: left;
  margin:40px auto;
}

.terms {
  font-size: 1.1em;
  line-height: 2.0; /*文の行高*/
  padding: 0.3em 2%; /*前後の文との余白*/
}










/*フッター
-------------------------------------*/
footer {
    background-color: var(--back-color); 
    /*background: url('../img/gray-back.jpg'); gray-back.jpg背景画像を使用したい時にオンにしてください*/
    background-size: cover;
    padding: 5rem 0;
}
footer h4 {
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    border-bottom: 2px solid var(--border-color);
}
footer h4::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--link-color);
}
/*電話
-------------------------------------*/
a.tel {
    display: inline-block;
}
@media screen and (min-width: 768px){
a[href*="tel:"] { /* PC時は電話番号無効 */
    pointer-events: none;
    cursor: default;
}
}
/*お問い合わせ
-------------------------------------*/
.contact-box {
	border: 1px solid var(--border-color);
	text-align: center;
	padding: 2rem 0;
}
.table {
	margin: 4rem 0;
}
.table th {
	width: 150px;
}
input[type="email"], input[type="number"], input[type="search"], input[type="text"], input[type="tel"], input[type="url"], input[type="password"], textarea { 
    background-color: var(--white-color);
}
/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--link-color);
}
.copyright a {
    color: var(--white-color);
    text-decoration: none;
	display: inline;
}


/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}	
.table td {
	display: block;
}
.prpduct {
}
.storebame {
}
