@charset "utf-8";@charset "UTF-8";
.image {
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.image img {
	display: block;
	width: 100%;
	height: auto;
}


.box1 {
    padding-top: 8%;
	width: 100%;   /* 佐々木追記 */
    margin: 0 auto; /* 佐々木追記 */
    max-width: 2000px; /* 佐々木追記 */
}

.box2 {
    padding-top: 5%;
    padding-bottom: 5%;
}

/* ボタン*/

.border {
    border: solid 0.5px;
    background-color: #000;
    margin: 0 auto;
    padding: 0% 2% 0% 2%;
    font-size: 0.9em;
    color: #fff;
    letter-spacing: 0.12em;
    border-radius: 4px;
}

/* テキスト */

.text01 {
    font-size: 0.9em;
    font-weight: nomal;
    line-height: 25px;
    width: 90%;
    margin: 0% auto;
    text-align: left;
}

.text02 {
    font-size: 0.9em;
    font-weight: bold;
    line-height: 25px;
    width: 80%;
    margin: 0% auto;
    text-align: right;
}

section {
  max-width: 310px;
  margin: 0 auto;
}

a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: #000;
  font-size: 1.0em;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  font-family: "Playfair Display", serif;
}

a.btn_02:hover {
  background: #000;
  color: #fff;
}

a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #000;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}

a.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}

.banner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    opacity: 0;
    transform: translateY(50px);
    animation: slide-in 2s ease-out forwards;
    padding: 1% 5% 1% 5%;
}

.banner-item {
  width: 50%;
}

.banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.banner-image {
  width: 100%;
  height: auto;
}

.banner-text {
    bottom: 0;
    left: 0;
    width: 100%;
    color: #000;
    text-align: justify;
    padding: 5% 0 0;/* 佐々木修正 */
    letter-spacing: 0.1px;
    line-height: 27px;
    font-family: "Playfair Display", serif;
    font-size: 1.0em;
}

@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
  }

  .banner-item {
    width: 100%;
}
}


/* 下記 佐々木追記分 */
.box1 .banner-container {
  display: flex;
  flex-wrap: wrap;          
  justify-content: space-between;
  align-items: flex-start; 
  /*margin-bottom: 60px;*/
  padding: 1% 5%;
  gap: 2em;               
}

.box1 .banner-item {
  box-sizing: border-box;
  width: 48%;              
  margin-bottom: 40px;
  float: none;
}

/* 画像とテキストはそのままでOK */
.box1 .banner-item img {
  width: 100%;
  height: auto;
  display: block;
}

.box1 .banner-text {
  line-height: 2.2;
 
}






/*===============================================
tablet
===============================================*/
@media (max-width: 768px) {
section {
  max-width: 300px;
  margin: 0 auto;
}
a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: #000;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  font-family: "Playfair Display", serif;
}

a.btn_02:hover {
  background: #000;
  color: #fff;
}

a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #000;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}
a.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}
	
	
/* 下記 佐々木追記分 */	
	@media (max-width: 768px) {
  .box1 .banner-container {
    flex-direction: column;   
    align-items: stretch;    
    padding: 0 5%;
    gap: 40px;
    margin-bottom: 40px;
  }

  .box1 .banner-item {
    width: 100%;             
    margin-bottom: 0;
  }

  .box1 .banner-text {
    padding: 5% 0 0;
  }
}

	
	
}


/*===============================================
SMP
===============================================*/
@media (max-width: 430px) {
section {
  max-width: 310px;
  margin: 0 auto;
}

a.btn_02 {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 1px solid #000;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  padding: 0 6% 0 12%;
  color: #000;
  font-size: 16px;
  text-align: left;
  text-decoration: none;
  position: relative;
  transition-duration: 0.2s;
  font-family: "Playfair Display", serif;
}
a.btn_02:hover {
  background: #000;
  color: #fff;
}

a.btn_02:before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 8px;
  border-color: transparent transparent transparent #000;
  position: absolute;
  top: 50%;
  left: 6%;
  margin-top: -7px;
}

a.btn_02:hover:before {
  border-color: transparent transparent transparent #fff;
}

.banner-container {
    flex-direction: column;
  }

.banner-text {
    bottom: 0;
    left: 0;
    width: 100%;
    color: #000;
    text-align: justify;
    padding: 2% 0 0;
    letter-spacing: 0.1px;
    line-height: 27px;
    font-family: "Playfair Display", serif;
}

.banner-item {
    width: 100%;
}
}
@media (max-width: 430px) {
.box2 {
    padding-top: 8%;
    padding-bottom: 15%;
}
	
/* 下記 佐々木追記分 */
	
@media (max-width: 430px) {
  .box1 .banner-container {
    flex-direction: column;
    align-items: stretch;
  }

  .box1 .banner-item {
    width: 100%;
  }

  .box1 .banner-text {
    line-height: 27px;
  }
}
	
	
	
}