/* ==========================================================================
   LAYOUT STYLES - レイアウト、グリッド、構造
   ========================================================================== */

/* Main Wrapper */
#wrapper {
    -moz-transition: opacity 0.5s ease;
    -webkit-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Main Content Area */
#main {
    background-color: #ffffff;
    position: relative;
    margin: 0 auto;
    width: calc(100% - 4rem);
    max-width: 72rem;
    z-index: 2;
}

.btn { -moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -moz-transform 0.5s ease, visibility 0.5s;　-webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -webkit-transform 0.5s ease, visibility 0.5s;
	-ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, -ms-transform 0.5s ease, visibility 0.5s;	transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
	display: inline-block;width: 200px;height: 80px;text-align: center;text-decoration: none;line-height: 54px;outline: none;position: relative;z-index: 2;background-color: #fff;border: 2px solid #333;color: #333;overflow: hidden; margin:0 auto;	border-style: solid; border-color: #333; border-width: 2px !important;
			font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'MS UI Gothic', sans-serif; font-size: 1.75rem;	font-weight: 800; letter-spacing: 0.075em; line-height: 1.4em;	padding: 20px 30px;	text-transform: uppercase;
			visibility: visible;
		margin-left: 1%;}
.btn:hover {border-color: #18bfef !important; color: #18bfef; }	

@media screen and (min-width: 1300px) {
    #main {
        width: 100%;
        max-width: 1300px;
    }
}

#main > * {
    padding: 4rem 4rem 2rem 4rem;
    border-top: solid 2px #eeeeee;
    margin: 0;
}

#main > *:first-child {
    border-top: 0;
}

#main > .post {
    padding: 4rem 6rem 2rem 6rem;
}

#main > .post2 {
    padding: 1rem 6rem 6rem 6rem;
}

#main > .post.featured {
    text-align: center;
}

/* Header */
header {
    cursor: default;
}

header.major {
    margin: 0 0 0 0;
    text-align: center;
}

header.major > :last-child {
    margin-bottom: 0;
}

/* Step Components */
#step {
    padding: 3% 5% 1% 5%;
    margin: 1% 0 2% 0%;
    border: 2px solid #757676;
}

#stepnum {
    background-color: #001e43;
    padding: 1% 0 1% 0%;
    color: #fff;
    border: 2px solid #001e43;
    font-size: 120%;
    font-weight: bold;
    text-align: center;
    margin-top: 2%;
}

#bank {
    margin-bottom: 4%;
    padding: 3%;
    border: 1px solid #ccc;
}

.arrow {
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top: 20px solid #333;
    margin: auto;
    margin-bottom: -1.7rem;
}

.tour-points-title {
    background: linear-gradient(135deg, #532a14, #8b5a3c, #ffdda8);
    margin-bottom: 25px;
    padding: 18px 25px;
    border-radius: 20px;
    border: 3px solid #532a14;
    color: #fff;
    font-weight: bold;
    font-size: 1.4em;
    text-align: center;
    box-shadow: 
        0 8px 20px rgba(83, 42, 20, 0.25),
        inset 0 2px 5px rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
	margin-top: 10px;
}

.tour-points-title::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

.tour-points-container {
  background-color: #ffffdd;
  color: #532a14;
  text-align: left;
  padding: 20px;
  border-radius: 8px; /* optionalで角丸 */
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", sans-serif;
	margin-top: 40px;
	 display: flex;               /* 横並びにする */
  justify-content: center;     /* 横方向の中央寄せ */
  flex-wrap: wrap;             /* 画面幅が狭いと折り返す */
  gap: 10px;                   /* 画像同士の間隔を10pxに */
}

.tour-points-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.tour-points-list {
  display: flex;           /* 横並び */
  justify-content: space-around; /* 画像の間隔を均等に */
  align-items: center;     /* 高さを揃える */
  flex-wrap: wrap;         /* 折り返し可能 */
  list-style: none;
  padding: 0;
  margin: 0;
}

.tour-points-container p {
font-weight: bold;
}

.img_1 {
  margin: 20px;   /* 画像の間隔 */
	text-align: center;
	display: block;
   max-width: 250px; /* 画像の最大幅 */
  width: 100%;      /* 画面に応じて縮小 */
	height: auto;}

.img_2 {
  margin: 20px;   /* 画像の間隔 */
	text-align: center;
	display: block;
   max-width: 350px; /* 画像の最大幅 */
  width: 100%;      /* 画面に応じて縮小 */
	height: auto;}



/* Logo */
.kntlogo {
    float: right;
    margin-bottom: 15px;
}

/* 吹き出し＋LOVOT全体背景 */
.scene {
  position: relative;
  background:
    radial-gradient(#cfe8c8 4px, transparent 4px),
    #f6fbf4;
  background-size: 36px 36px;
  padding: 60px 40px;
  min-height: 420px;
}

/* 吹き出し本体 */
.speech-bubble {
  position: relative;
  max-width: 800px;      /* 少し大きく */
  margin-right: auto;     /* 右寄せ */
  background: #ffffff;
  border-radius: 44px;   /* 丸みアップ */
  padding: 40px 44px;    /* 内側を広めに */
  box-shadow: 0 10px 26px rgba(0,0,0,0.2);
  color: #532a14;
  line-height: 1.9;
  overflow: visible;
}

.speech-bubble p {
  margin: 0 0 10px;
	padding: 5px;
  font-size: 25px;
  font-weight: bold;
}

 /* 絵文字 */
.speech-bubble .item {
  display: flex;
  align-items: flex-start;
}

.speech-bubble .icon {
  width: 2em;
  padding: 5px 0;
  font-size: 25px;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  position: relative;
  top: 2px;   /* ← 数値で視覚的に合わせる */
}

.speech-bubble .text {
  padding: 5px;
  line-height: 1.4;
}

.speech-bubble .note {
  color: red;
  font-size: 15px;
  font-weight: normal;
}

/* 右側のしっぽ */
.speech-bubble::before {
  content: "";
  position: absolute;
  right: -56px;
  bottom: 116px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.35); /* ←影を濃く */
}

/* 右側のしっぽ（大） */
.speech-bubble::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: 126px;
  width: 26px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35); /* ←影を濃く */
}

/* LOVOTキャラクター */
.lovot {
  position: absolute;
  right: 40px;
  bottom: 20px;
  z-index: 2;
}

.lovot img {
  width: 180px;
}

/* Responsive Layout */
@media screen and (max-width: 1280px) {
    #main > .post {
        padding: 6rem 4rem 4rem 4rem;
    }
    #main > .post2 {
        padding: 1rem 4rem 2rem 4rem;
    }
}

@media screen and (max-width: 736px) {
    #main > .post {
        padding: 4rem 2rem 2rem 2rem;
    }
    #main > .post2 {
        padding: 1rem 2rem 1rem 2rem;
    }
    #main > * {
        padding: 2rem 2rem 0.1rem 2rem;
    }
    header.major {
        margin: 0 0 0 0;
    }
}

@media screen and (max-width: 480px) {
    #main {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .table_outer {
        display: block;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    #main > .post {
        padding: 0em;
    }
    
    #main > .post2 {
        padding: 1rem 1rem 3rem 1rem;
    }
    
    .t_in {
        padding: 0rem 1rem 0rem 1rem;
    }
}

@media (max-width: 768px) {
    .kntlogo {
        float: none;
    }
    
.scene {
    padding: 40px 20px 240px;
  }

  .lovot {
    right: 50%;
    transform: translateX(50%);
	  bottom: 1px;
  }
	
   .speech-bubble {
    margin-top: 0;
  }

  /* しっぽだけ消す */
  .speech-bubble::before,
  .speech-bubble::after {
    display: none;
  }
	  .tour-points-container {
    flex-direction: column;   /* 縦並びに変更 */
    align-items: center;      /* 中央揃え */
    gap: 15px;                /* 上下の間隔を少し広め */
  }

  .img_1 {
    max-width: 60%;           /* 横幅を少し狭くして中央に収める */
  }
	
	.img_2 {
    max-width: 80%;           /* 横幅を少し狭くして中央に収める */
  }
	
.speech-bubble p {
  margin: 0 0 10px;
	padding: 5px;
  font-size: 18px;
  font-weight: bold;
}


}