:root {
	--blue: #00bbed;
	--deep-blue: #0486FA;
	--pink: #FD5085;
	--text: #000;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--text);
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.7;
	background-size: contain;
	background-color: #74d6fa;
	background-image: url(../img/bg-hawaii.jpg);
	background-position: center top;
	background-size: cover;
	background-attachment: fixed;
	min-width: 320px;
}

img {
	display: block;
	max-width: 100%;
}

.p-trip {
	width: 100%;
	max-width: 390px;
	min-height: 100vh;
	margin: 0 auto;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 0 22px rgba(0, 84, 120, 0.18);
}

.p-trip__header {
	display: flex;
	position: relative;
	z-index: 5;
	align-items: center;
	justify-content: space-between;
	height: 40px;
	padding: 0 8px;
	background: #fff;
	gap: 10px;
}

.p-trip__logo {
	display: block;
	width: 161px;
}

.p-trip__logo-img {
	width: 100%;
}

.p-trip__hero {
	position: relative;
	overflow: hidden;
}

.p-trip__hero-main {
	width: 100%;
	object-fit: cover;
}

.p-trip__hero-main {
	top: 0;
}

.p-trip__intro,
.p-trip__outline,
.p-trip__diary,
.p-trip__interview {
	padding-right: 25px;
	padding-left: 25px;
}

.p-trip__intro {
	padding-top: 22px;
	padding-bottom: 28px;
}

.p-trip__intro-body {
	display: flex;
	flex-wrap: wrap;
	align-items: start;
}

.p-trip__text {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.66;
	flex: 1 0 55%;
	min-width: 150px;
}

.p-trip__intro-photo {
	margin-top: -11px;
	margin-right: -20px;
	min-width: 147px;
	flex: 1 0 25%;
}

.p-trip__outline {
	padding-bottom: 34px;
	padding-top: 8px;
}

.p-trip__diary,
.p-trip__interview {
	padding-bottom: 26px;
}

.p-trip__diary {
	padding-left: 20px;
	padding-right: 20px;
}

.p-trip__interview .c-section-heading {
	margin-bottom: 15px;
}

.p-trip__message {
	position: relative;
	padding: 0 5% 0;
	margin-bottom: -50px;
}

.p-trip__message-body {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
}

.p-trip__message-text {
	position: relative;
	z-index: 2;
	flex: 1 1 auto;
	flex: 1;
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.41;
	min-width: 150px;
}

.p-trip__message-photo {
	margin-right: -31px;
	margin-top: -38px;
	margin-left: -10px;
	min-width: 160px;
	width: 56%;
}

.p-trip__recruit {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 392px;
	padding: 0 5% 85px;
	color: #fff;
	text-align: center;
	background: url("../img/cta-bg.png") center / cover no-repeat;
}

.p-trip__recruit-content {
	width: 100%;
}

.p-trip__recruit-title {
	margin: 0 0 10px;
	font-size: 2rem;
	font-weight: 600;
}

.p-trip__recruit-text {
	margin: 0 0 42px;
	font-size: 1.2rem;
	line-height: 1.41;
}

.c-recruit-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	background: var(--pink);
	border-radius: 999px;
}

.c-recruit-link--header {
	min-width: 163px;
	min-height: 24px;
	padding: 3px 14px;
	font-size: 1rem;
}

.c-recruit-link--main {
	width: 247px;
	min-height: 40px;
	padding: 0px 20px;
	font-size: 1.5rem;
	gap: 5px;
	border: 2px solid #fff;
	padding-left: 35px;
}

.c-section-heading {
	display: flex;
	align-items: center;
	gap: 3px;
	margin-bottom: 5px;
}

.c-section-heading--interview {
	padding-bottom: 8px;
	border-bottom: 4px solid #cdf4fb;
}

.c-section-heading__image {
	height: auto;
	flex-shrink: 0;
	margin-left: -16px;
}

.c-section-heading__image--prologue {
	width: 112px;
	margin-left: -16px;
}

.c-section-heading__image--trip,
.c-section-heading__image--interview {
	width: 110px;
}

.c-section-heading__image--diary {
	width: 135px;
}

.c-section-heading__title {
	margin: 0;
	padding-bottom: 2px;
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.4;
	position: relative;
	margin-bottom: 10px;
}

.c-section-heading__title::after {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	background-color: #CBF2F9;
	position: absolute;
	top: 90%;
	left: 0;
}

.c-trip-outline {
	position: relative;
}

.c-trip-outline__leaf {
	position: absolute;
	top: -10px;
	right: -5px;
	width: 60px;
}

.c-day {
	padding: 15px 0;
	border-bottom: 1px solid #dceff4;
}

.c-day__head {
	display: grid;
	position: relative;
	grid-template-columns: auto minmax(0, 1fr);
}

.c-day__number {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	color: #0444A6;
	font-weight: 900;
	line-height: 1;
	margin-right: 20px;
}

.c-day__number-label {
	font-size: 1.4rem;
}

.c-day__number-value {
	font-family: 'Oleo Script Swash Caps', sans-serif;
	font-size: 3.6rem;
}

.c-day__date {
	font-size: 0.8rem;
}

.c-day__body {
	margin-top: -3px;
}

.c-day__title {
	margin: 0 0 5px;
	color: #0444A6;
	font-size: 1.4rem;
	font-weight: 900;
	line-height: 1.5;
}

.c-day__title-accent {
	margin-right: 4px;
	color: #FC1681;
}

.c-day__text {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.66;
}

.c-day__flower {
	position: absolute;
	top: 0;
	right: 0;
	width: 26px;
}

.c-day__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 7px;
	margin-top: 10px;
}

.c-day__photo {
	height: 78px;
	margin: 0;
	padding: 5px;
	background: #fff;
	border: 1px solid #e3e3e3;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.c-day__photo-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.c-interview {
	display: grid;
	gap: 8px;
}

.c-interview__item {
	padding: 11px 10px;
	background: #fff;
	border: 1px solid #EBEBEB;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 80, 110, 0.08);
}

.c-interview__row {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 4px;
	align-items: start;
}

.c-interview__row+.c-interview__row {
	margin-top: 13px;
}

.c-interview__icon {
	width: 30px;
	height: 30px;
}

.c-interview__question {
	margin: 0;
	padding-top: 4px;
	color: var(--deep-blue);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.66;
}

.c-interview__answer {
	margin: 0;
	padding-top: 3px;
	font-size: 1.2rem;
	line-height: 1.7;
}

.c-day__photo-img {
  cursor: zoom-in;
}

/* モーダル */
.c-image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 3%;
  background: rgba(0, 0, 0, 0.9);

  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.c-image-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.c-image-modal__img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* 閉じるボタン */
.c-image-modal__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 1;

  width: 48px;
  height: 48px;

  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;

  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}

/* モーダル表示中は背景スクロール禁止 */
body.is-modal-open {
  overflow: hidden;
}

.u-ib {
	display: inline-block;
}