/*******************************/
/*** good-day section   ***/
/*******************************/
.morning-section {
  background-color: var(--color-primary);
  padding: 80px 0; /* 高さが確保される */
  height: auto;
}

.morning2-section {
  background-color: var(--color-pink);
  padding: 80px 0; /* 高さが確保される */
  height: auto;
}

.evening-section {
  background-color: var(--color-white);
  padding: 80px 0; /* 高さが確保される */
  height: auto;
}

.evening2-section {
  background-color: var(--color-yellow);
  padding: 0px 0; /* 高さが確保される */
  height: auto;
}

.time-top {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 100%;
}

.time-left,
.time-left2,
.time-left3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  width: auto;
  position: absolute;
}

.time-left .text-lg,
.time-left2 .text-lg,
.time-left3 .text-lg {
  margin-top: 7px;
}

.box-0 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 50px;
  margin-bottom: 50px;
}

.box-right-img {
  align-items: center;
}

.box-left-img {
  align-items: start;
}

.p-box {
  border-radius: 999px;
  padding: 5px 20px;
  display: inline-block;
  width: auto;
}

.p-box {
  border-radius: 999px;
  padding: 5px 20px;
  display: inline-block;
  width: auto;
}

.p-box2 {
  border-radius: 999px;
  padding: 3px 20px;
  display: inline-block;
  width: auto;
}

.icon-img {
  width: 25px;
  height: auto;
  margin-right: 0px;
  margin-bottom: 10px;
  margin-top: 0px;
}

.icon-img2 {
  width: 25px;
  height: auto;
  margin-right: 0px;
  margin-top: 0px;
}

.box-right {
  width: 50%;
}
.box-left {
  width: 50%;
}

.box-99 {
  padding: 25px 50px;
  margin-bottom: 50px;
}

.reco-flex {
  display: flex;
  flex-direction: column;
}

.reco-box-detail {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: start;
  gap: 30px;
}

.reco-box-left {
  width: 60%;
}

.reco-box-right {
  width: 40%;
}

.reco-box-left div p {
  margin-bottom: 10px;
}

.reco-flex {
  display: flex;
  flex-direction: row; /* 横並びにする */
  flex-wrap: wrap;
}

.reco-flex > * {
  flex-shrink: 0; /* 子要素が縮小しないように */
  flex-grow: 0; /* 子要素が伸びないように */
  flex-wrap: wrap;
}

.reco-imgbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  grid-template-rows: repeat(2, auto); /* 2行・高さ固定 */
  gap: 10px;
  max-width: 500px;
  max-width: 800px;
  margin-bottom: 20px;
}

.img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 配置設定 */
.reco-imgbox .img-wrap:nth-child(1) {
  grid-column: 1 / span 2; /* 左2列 */
  grid-row: 1 / span 2; /* 上下2行 */
}

.reco-imgbox .img-wrap:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.reco-imgbox .img-wrap:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}

.elvis-imgbox {
  max-width: 500px;
  max-width: 800px;
  margin-bottom: 20px;
}

/***  Daytime-section  ***/

.time-12 {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: start;
}

.time-12-btm {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.box-v {
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: start;
}

.box-v-btm {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.time-box {
  padding-bottom: 30px;
}

/**************************/
/*** absoluteで 使用 ***/
/**************************/
.z-index-10 {
  position: relative; /* ← これが必須！ */
  z-index: 2;
}

.wave-img {
  position: absolute;
  left: 23%;
  top: 70px;
  width: 750px;
}

.wave-img img {
  width: 100%;
}

.seagull-1 {
  position: absolute;
  left: -50%;
  top: 100px;
  width: 40%;
}

.seagull img {
  max-width: 100%;
  height: auto;
  display: block; /* 余計な隙間防止 */
}

.days8-14-01 {
  position: absolute;
  right: -150px;
  bottom: -200px;
  width: 200px;
}

.starfish {
  position: absolute;
  left: -150px;
  width: 100px;
}

.starfish img {
  width: 100%;
}

.days8-14-02 {
  position: absolute;
  left: -130px;
  bottom: -50px;
  width: 200px;
}

.days8-14-03 {
  position: absolute;
  right: -130px;
  bottom: -270px;
  width: 200px;
}

.days8-14-04 {
  position: absolute;
  right: -120px;
  top: -100px;
}

.floatring {
  position: absolute;
  right: -130px;
  bottom: 0px;
}

.anchor {
  position: absolute;
  right: -15%;
  top: -20px;
}

.seagull-2 {
  position: absolute;
  left: -200px;
  top: 10px;
  z-index: 100;
}

.lighthouse {
  position: absolute;
  top: -100px;
  right: 150px;
  z-index: -1;
}

.relative-wrapper {
  position: relative;
  height: 200px;
}

.lighthouse {
  position: absolute;
  top: -23px;
  right: 5%;
  transform: translateX(-50%);
  z-index: 0; /* 背面に */
}

.seagull-3 {
  position: absolute;
  right: -50px;
  top: -50px;
  z-index: 100;
  width: 30%;
  display: none;
}

.days8-14-02-s {
  position: absolute;
  top: -200px;
  right: -50px;
  transform: rotate(-10deg);
  display: none;
}

.days8-14-02-s img {
  width: 70%;
}

.seagull-4 {
  position: absolute;
  right: -10px;
  top: -50px;
  display: none;
}

.seagull-4 img {
  width: 70%;
}

.days8-14-04-s {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: -230px;
  display: none;
}

.days8-14-04-s img {
  width: 70%;
}

.seagull-5 {
  position: absolute;
  right: 70px;
  bottom: -70px;
  display: none;
}

.seagull-5 img {
  width: 50%;
}

.lighthouse2 {
  position: absolute;
  top: -15px;
  width: 80px;
  right: 30px;
}

.seagull-footer {
  position: absolute;
  top: -20px;
  right: 100px;
  z-index: 5;
  width: 70px;
}

.clock {
  width: 100px;
}

.clock-12 .clock-wrapper {
  width: 100px;
  height: auto;
}

.clock-12 .clock-wrapper img {
  width: 100%;
  height: auto;
  max-width: none; /* 念のため解除 */
}
