@charset "UTF-8";

/**
 * ----------------------------------------------------------------------------
 * CM page
 * ----------------------------------------------------------------------------
*/

html {
	font-size: 16px;
}

#cm {
  --color-black: #333;
  --color-white: #fff;
  --color-main: #026BC1;
  --color-sub: #37ACDE;
  --color-bg: #CEEDFF;

  position: relative;
  padding: 0;
  margin: 0;
}
#cm .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cm-header {
  position: relative;
}
.cm-header-title {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1400 / 560;
  background-color: var(--color-main);
	margin-bottom: 0;
}
.cm-header-title img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cm-header-nav {
  background-color: var(--color-white);
  padding: clamp(1.75rem, 1.490rem + 1.154vw, 2.5rem) 0;
}

.cm-header-nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.125rem, 0.736rem + 1.731vw, 2.25rem);
  margin-left: auto;
  margin-right: auto;
}

.cm-header-nav-item {
	width: calc(100% / 3);
	max-width: 310px;
}


.cm-header-nav-link {
	display: block;
	width: 100%;
	padding: 0.6em 1em;
	font-size: clamp(1.063rem, 0.954rem + 0.481vw, 1.375rem);
	position: relative;
}

.cm-header-nav-link::before {
	content: "";
	width: calc(12 / 18 * 1em);
	height: calc(12 / 18 * 1em);
	border-bottom: 2px solid var(--color-white);
	border-left: 2px solid var(--color-white);
	rotate: -45deg;
	position: absolute;
	top: 50%;
	translate: 0 -65%;
	right: calc(16 / 16 * 1em);
}

.cm-header-nav-link {
  display: block;
  width: 100%;
  font-weight: 500;
  text-align: center;
  color: var(--color-white) !important;
  background-color: var(--color-main);
}

.cm-main {
	background-color: var(--color-bg);
	background-image: url(../img/lp/cm-gallery/main-bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-size: 100% auto;
	padding-top: clamp(2rem, 0.269rem + 7.692vw, 7rem);
	position: relative;
}

.cm-wrap {
	max-width: 760px;
	width: calc(330 / 360 * 100vw);
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
.cm-wrap + .cm-wrap {
	margin-top: clamp(3.75rem, 2.538rem + 5.385vw, 7.25rem);
}

.cm-title {
	position: relative;
	text-align: center;
	margin-bottom: clamp(1.375rem, 0.769rem + 2.692vw, 3.125rem);
	line-height: 1;
}
.cm-title-sub {
	display: inline-block;
	padding: calc(8 / 23 * 1em) calc(28 / 23 * 1em);
	background-color: var(--color-main);
	color: var(--color-white);
	font-weight: 500;
	font-size: clamp(0.625rem, 0.344rem + 1.25vw, 1.438rem);
	margin-bottom: calc(12 / 23 * 1em);
	border-radius: calc(5 / 23 * 1em);
	line-height: 1.2;
}

.cm-title-main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-align: center;
}
.cm-title-main::before,
.cm-title-main::after {
	content: "";
	display: inline-block;
  width: clamp(2.5rem, -0.096rem + 11.538vw, 10rem);
	height: clamp(0.125rem, 0.082rem + 0.192vw, 0.25rem);
	background-color: var(--color-main);
}
.cm-title-main span {
	display: block;
	width: calc( (760 - 160 - 160) / 760 * 100%);
	margin-left: auto;
	margin-right: auto;
	color: var(--color-black);
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
	font-size: clamp(1rem, 0.524rem + 2.115vw, 2.375rem);
}

.cm-list {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: clamp(2.188rem, 0.781rem + 6.25vw, 6.25rem);
}

.cm-list-item {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.cm-list-item iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}


.cm-contact {
  width: 100%;
  position: relative;
  background-color: var(--color-sub);
  padding-top: clamp(1.75rem, 0.841rem + 4.038vw, 4.375rem);
  padding-bottom: clamp(2rem, 1.070rem + 4.135vw, 4.688rem);
	margin-top: clamp(3.75rem, 2.019rem + 7.692vw, 8.75rem);
}

.cm-contact-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 664px;
  width: calc(267 / 360 * 100vw);
  height: auto;
}

.cm-contact-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 973px;
  width: calc(267 / 360 * 100vw);
}
.cm-contact-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.cm-contact-tel {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: clamp(1rem, 0.351rem + 2.885vw, 2.875rem);
  width: calc(267 / 360 * 100vw);
  max-width: 648px;
}

.cm-contact-tel img {
  width: 100%;
  display: block;
  height: auto;
}


.cm-footer {
  position: relative;
  background-color: var(--color-white);
  padding-top: clamp(1.625rem, 0.716rem + 4.038vw, 4.25rem);
  padding-bottom: clamp(2.125rem, 1.238rem + 3.942vw, 4.688rem);
}

.cm-footer-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 336px;
}

.cm-footer-logo-link {
  display: block;
}

.cm-footer-logo-img {
  display: block;
  width: 100%;
  height: auto;
}

.cm-footer-copyright {
  text-align: center;
  margin-top: clamp(1.125rem, 0.995rem + 0.577vw, 1.5rem);
  color: var(--color-black);
  font-size: clamp(0.625rem, 0.560rem + 0.288vw, 0.813rem);
  font-weight: 400;
}

/**
 * ----------------------------------------------------------------------------
 * レスポンシブ
 * ----------------------------------------------------------------------------
*/

@media(max-width:768px){
  .cm-header-title {
    aspect-ratio: 360 / 440;
  }
  .cm-header-nav-list {
    flex-direction: column;
    align-items: center;
  }
  .cm-header-nav-item {
    width: calc(250 / 360 * 100vw);
  }
  .cm-footer-logo {
    width: calc(183 / 360 * 100vw);
  }
}


/**
 * ----------------------------------------------------------------------------
 * Hover
 * ----------------------------------------------------------------------------
*/

.cm-header-nav-link {
  transition: 0.2s all ease-out !important;
}
@media (hover: hover) {
  .cm-header-nav-link:hover {
		scale: 0.95;
  	opacity: 1;
  }
}