@charset "UTF-8";

/* =============================
      共通（初期化）
============================= */
body{
    padding: 0;
    font-size: 16px;
    font-weight: normal;
    line-break: strict;
}
p{
    margin: 0;
    padding: 0;
}


/* =============================
      main
============================= */

.main{
    text-align: center;
    background-color: #FFF7EE !important;
}
.top {
    max-width: 100%;
    margin-bottom:50px;
}
.what1{ 
    display: flex; 
    justify-content: center; 
    margin-bottom: 100px; 
}
.what1 img{
    width: 100%;
    height: auto;
    max-width: 450px; /* 元サイズ。調整可 */
}
.what2{
    max-width: 400px;
    margin: 50px 0 0 50px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.what2 img {
    max-width: 100%;
    margin-bottom: 20px;
}
.what2 p {
    margin: 0;
    font-size: large;
    text-align: left;
}
.step img{
    display: block;
    max-width: 100%;
    margin: 30px auto; 
}
.how{
    max-width: 100%;
    margin: 50px 0 50px 0;
}
.add4{
	padding: 20px 0;
}
.add5{
    display: none;
}
/* ここから */
.parent-box {
  margin: auto;
  max-width: 750px;
  display: flex;
  align-items: center;   /* 縦位置を揃える */
  gap: 38px;             /* 左右の余白 */
  padding: 20px 0;
}
.left-text {
  max-width: 360px;
  font-size: 1em;
}

.qr-wrap {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 0;
}

.qr-item {
  text-align: center;
}

.qr-img {
  width: 140px;   
  display: block;
  margin: 0 auto;
}

.qr-label {
  font-size: 16px;
  margin: 8px 0 12px;
  color: #333;
}

.store-btn {
  width: 150px;  
  display: block;
  margin: 0 auto;
}
/* ここまで */


.button{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 80px;
}
.button img{
    max-width: 100%;
}
.app p{
    margin-right: 0 10px 0 0;
    text-align: left;
}
.sp-br {
  display: none;
}
.contact{
    margin: 80px 0 80px 0;
}
.title{
    color: #B54365;
    font-weight: bold;
    margin-bottom: 20px;
}
.contact1{
    font-size: 1.5em;
    font-weight: bold;
}
.contact2{
    display: flex;
    justify-content: center;
}
.box{
    width: 1000px;
    max-width: 100%;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap:20px;
    display: flex;             /* ← 追加 */
    justify-content: center;   /* 横中央 */
    align-items: center;       /* 縦中央に配置！ */
}
.box1 {
    background: #ffffff;
    padding: 40px 10px;   /* 上下左右の余白 */
    border-radius: 20px;  /* 角丸 */
    text-align: center;   /* 中のボタンを中央寄せ */
    margin: 10px 0 50px 0;       /* ページ中央に配置 */
    flex: 1;
    position: relative; /* ← これが必須！ */
    min-height: 200px;    /* ← ここを大きくする（自由に調整） */
}
.box1 a img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* ← 完全中央配置 */
}
.phone{
    font-size: 1.5em;
    font-weight: bold;
}
.add3{
	font-weight: bold;
    font-size: 1.2em;
	color:#ff0000;
}
/* =============================
 ウインドウ幅が750px以下のとき
============================= */
@media (max-width : 750px) {
.main{
    padding: 0 10px;
}
.what1 {
    flex-direction: column; 
    align-items: center;     
    gap: 20px;               
}
  /* 子要素をスマホ幅に合わせる */
  .what1 > img,
  .what2 {
    width: 90%;
    max-width: 400px;
}
.what2 {
    margin: 0; /* 上の margin-left を消す */
}
.down{
	max-width: 50%;
}
.add{
    font-size: 0.6em;
    text-align: left;
}
.add2{
    font-size: 0.8em;
    text-align: left;
    overflow-wrap: anywhere;
}
.add3{
    font-size: 1.5em;
    text-align: left;
    overflow-wrap: anywhere;
}
.add4{
    display: none;
}
.add5{
	display: inline;
	padding: 50px 0;
}
.button {
    flex-direction: column;   /* ← 縦並びにする */
    align-items: center;      /* 中央寄せ（任意） */
    gap: 15px;                /* 余白調整（任意） */
}
.app {
    flex-direction: column;
    align-items: center; /* 中央揃えに */
    text-align: center;  /* p の文章も中央寄せにしたいなら */
}
.app p {
    flex: none;
}
.sp-br {
    display: inline;
}
.images {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: static; /* ←絶対配置を解除 */
    margin-top: 15px;
}
    /* 位置指定は不要になるのでリセット */
.apple{
    position: static;
    width: 140px;  
}
.google {
    position: static;
    width: 180px;  
}
.box {
    flex-direction: column;  
    align-items: center; 
    gap: 10px;   
}

.box1 {
    width: 90%;               /* スマホで横幅そろえる */
    max-width: 500px;
    position: relative; /* ← これが必須！ */
    min-height: 200px;    /* ← ここを大きくする（自由に調整） */
}
.qr-img{
    display: none;
}
.qr-label {
    display: none;
  }
.qr-wrap{
	gap:10px;
}
.parent-box {
    display: flex;
    flex-direction: column; /* left-text を上に、qr を下に */
    gap: 20px;
  }
}