@charset "utf-8";

:root {
  --bl: #000000;
  --transition: all 0.3s ease-in-out;
  --oversize: calc((100% - 100vw) / 2);
  --grad-01: linear-gradient(135deg, var(--WHT) 0%, transparent 100%);
  --grad-02: linear-gradient(90deg, var(--MAIN) 0%, var(--ACC) 100%);
}

/* ==================================
リセット・調整
===================================== */
:where(img) {
  /* max-width: 100%; */
  height: auto;
  vertical-align: middle;
}

/*---------- アクセシビリティ ----------*/
/* アイコンを読み上げさせない */
i,
[class*="material-icons"],
[class*="material-symbols"] {
  speak: none;
}

/* ==================================
タイポ
===================================== */
.ff-notoserif {
  font-family: "Noto Serif JP", serif;
}
.ff-lato {
  font-family: "Lato", sans-serif;
  /* letter-spacing: 0.05rem; */
}
.ff-oswald {
  font-family: "Oswald", sans-serif;
}
.ff-poppins {
  font-family: "Poppins", sans-serif;
}
.ff-yumincho {
  font-family: "Yu Mincho", "YuMincho", serif;
}
.fw-600 {
  font-weight: 600 !important;
}
.fw-900 {
  font-weight: 900 !important;
}

/* ==================================
ユーティリティー
===================================== */
/*---------- 画像の比率 ----------*/
.u-aspect img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.u-aspect.--contain img {
  object-fit: contain;
}
.u-aspect.--16x9 img {
  aspect-ratio: 16 / 9;
}
.u-aspect.--4x3 img {
  aspect-ratio: 4 / 3;
}
.u-aspect.--21x9 img {
  aspect-ratio: 21 / 9;
}
.u-aspect.--2x1 img {
  aspect-ratio: 2 / 1;
}
.u-aspect.--3x1 img {
  aspect-ratio: 3 / 1;
}
.u-aspect.--1x1 img {
  aspect-ratio: 1 / 1;
}
.u-aspect.--7x8 img {
  aspect-ratio: 7 / 8;
}
.u-aspect.--9x16 img {
  aspect-ratio: 9 / 16;
}
.u-aspect.--3x4 img {
  aspect-ratio: 3 / 4;
}

/*---------- はみ出させる ----------*/
.u-over {
  margin-inline: var(--oversize);
}
/* 右に */
.u-r-over {
  margin-right: var(--oversize);
}
@media (min-width: 768px) {
  .u-r-md-over-50 {
    margin-right: var(--oversize);
    flex-basis: 50%;
    flex-grow: 1;
  }
}
/* 左に */
.u-l-over {
  margin-left: var(--oversize);
}
@media (min-width: 768px) {
  .u-l-md-over-50 {
    margin-left: var(--oversize);
    flex-basis: 50%;
    flex-grow: 1;
  }
}

/* ========================================
パーツ
======================================== */
/*---------- 背景のベース ----------*/
.p-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
.p-bg::before,
.p-bg::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  speak: none;
}
/* 黒透明フィルター */
.p-bg.--bl::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bl);
  opacity: 0.3;
}
/* 白透明フィルター */
.p-bg.--wh::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--WHT);
  opacity: 0.3;
}
/* メインカラーフィルター */
.p-bg.--main::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--MAIN);
  opacity: 0.3;
}
/* アクセントカラーフィルター */
.p-bg.--accent::before {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ACC);
  opacity: 0.3;
}
.p-bg.--md::before {
  opacity: 0.5;
}
.p-bg.--strong::before {
  opacity: 0.7;
}
.p-bg.--strongest::before {
  opacity: 0.9;
}

/*---------- ホバーアクション ----------*/
.c-hover {
  transition: var(--transition);
  color: inherit;
  text-decoration: none;
}
.c-hover:hover {
  text-decoration: none;
}
.c-hover.--underline:hover {
  text-decoration: underline;
}
.c-hover.--bg-lmain:hover {
  background-color: var(--LMAIN);
}
.c-hover.--opacity:hover {
  opacity: 0.8;
}
.c-hover.--up:hover {
  transform: translateY(-0.125rem);
}
.c-hover.--scale-up img {
  transition: var(--transition);
}
.c-hover.--scale-up:hover img {
  transform: scale(1.1);
}

/*---------- 正方形アイコン ----------*/
.c-icon {
  aspect-ratio: 1 / 1;
  speak: none;
}

/*---------- アイコンとテキスト（ボタンによく使う） ----------*/
.c-icon-text {
  display: grid !important;
  grid-template-columns: repeat(2, auto);
  column-gap: 0.5em;
  justify-content: center;
  align-items: center;
}
/* アイコンだけ右寄せ */
.c-icon-text.--r {
  grid-template-columns: 1fr auto;
}
/* アイコンだけ左寄せ */
.c-icon-text.--l {
  grid-template-columns: auto 1fr;
}
@media (min-width: 992px) {
  .c-icon-text {
    column-gap: 1em;
  }
}

/*---------- グラデーション ----------*/
.text-grad-01 {
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background: var(--grad-01);
  display: inline-block;
}
.bg-grad-01 {
  background: var(--grad-01);
}

/* ========================================
TOP
======================================== */
/*---------- MV ----------*/
/* レイアウト */
/* @media (min-width: 992px) { */
.l-mv {
  display: grid;
}
.l-mv .l-text,
.l-mv .l-img,
.l-mv .l-color {
  grid-area: 1 / 1 / 2 / 2;
}
.l-mv .l-text {
  z-index: 6;
}
.l-mv .l-img {
  z-index: 2;
}
.l-mv .l-color {
  z-index: 4;
  pointer-events: none;
  speak: none;
}
.p-bg.--mv-img::before {
  inset: 0;
  background: var(--grad-01);
  z-index: 3;
}
/* } */

/* MV中のテキスト部分 */
.l-mv-textarea {
  /* grid-template-columns: 7fr 5fr; */
  grid-template-columns: 7fr 6fr;
}
.l-mv-textarea .l-bl-1 {
  grid-area: 1 / 1 / 2 / 2;
}
.l-mv-textarea .l-bl-2 {
  grid-area: 1 / 2 / 3 / 3;
}
.l-mv-textarea .l-bl-3 {
  grid-area: 2 / 1 / 3 / 2;
}

.l-mv-ring-text .l-text,
.l-mv-ring-text .l-img {
  grid-area: 1 / 1 / 2 / 2;
}

@media (min-width: 992px) {
  .l-mv-ring-text {
    margin-right: -4rem;
  }
}

/* 「最大最大55%オフ!!」 */
.c-mv-fs-01 {
  font-size: clamp(20px, calc(10.909090909090908px + 2.4242424242424243vw), 40px);
}
/* 「海外旅行で困ってもオフ(海外旅行保険)で解決!?」 */
.c-mv-fs-02 {
  /* font-size: clamp(0.75rem, calc(0.4090909090909091rem + 1.4545454545454546vw), 1.5rem); */
  font-size: clamp(0.5rem, calc(0.21875rem + 1.171875vw), 1.25rem);
}
/* 安心して海外旅行が楽しめます！！ */
.c-mv-fs-04 {
  font-size: clamp(0.75rem, calc(0.28125rem + 1.953125vw), 2rem);
}
.c-mv-text-shadow {
  display: inline-block;
  text-shadow: 2px 2px 1px var(--bl), -2px 2px 1px var(--bl), 2px -2px 1px var(--bl), -2px -2px 1px var(--bl), 2px 0px 1px var(--bl), 0px 2px 1px var(--bl), -2px 0px 1px var(--bl),
    0px -2px 1px var(--bl);
}
.c-mv-rotate {
  display: block;
  transform: rotate(6deg);
}
/* 「出発」と「直前」 */
.c-mv-fs-03 {
  font-size: clamp(1.5rem, calc(0.8181818181818182rem + 2.909090909090909vw), 3rem);
}

/*---------- MVボタン ----------*/
.l-mv-btn {
  display: grid;
  text-align: center;
  grid-template-columns: clamp(2rem, 5vw, 5rem) auto clamp(2rem, 5vw, 5rem);
}
.l-mv-btn .l-text-1 {
  grid-area: 1 / 2 / 2 / 3;
}
.l-mv-btn .l-text-2 {
  grid-area: 2 / 2 / 3 / 3;
}
.l-mv-btn .l-img-1 {
  grid-area: 1 / 1 / 3 / 2;
}
.l-mv-btn .l-img-2 {
  grid-area: 1 / 3 / 3 / 4;
}
/* ホバー時 */
.c-hover--mv-btn [class^="l-img"] img {
  transition: var(--transition);
}
.c-hover--mv-btn [class^="l-img"].--main img {
  opacity: 0;
}
.c-hover--mv-btn:hover [class^="l-img"].--main img {
  opacity: 1;
}
.c-hover--mv-btn:hover [class^="l-img"].--wht img {
  opacity: 0;
}

/*---------- 海外旅行保険について ----------*/
/* タブ切り替え部分 */
.lib-tab__btn {
  background-color: #7a7a7a;
  color: var(--WHT);
  border: 1px solid;
  border-bottom: none;
}
.lib-tab__btn .badge {
  border: 1px solid;
  color: #7a7a7a;
}
.lib-tab__btn[aria-selected="false"]:hover {
  background-color: var(--WHT);
  color: #7a7a7a;
}
.lib-tab__btn[aria-selected="true"] .badge {
  color: var(--MAIN);
}

/* 三角形（背景色敷くと見えなくなるため） */
.p-bg.--bgi-01::after {
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 7rem;
  height: 3.5rem;
  background-color: var(--MAIN);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/*---------- 損保ジャパンなら、offでも代理店経由の
海外旅行保険でもLINEで事故報告できるから簡単！ ----------*/
.u-gridline-01 {
  border-bottom: 1px solid;
}
@media (min-width: 768px) {
  .u-gridline-01 {
    border-bottom: none;
  }
  .u-gridline-02 {
    border-left: 1px solid;
  }
}

/*---------- 事故連絡の流れ ----------*/
.l-flow-card .l-num {
  grid-area: 1 / 1 / 2 / 2;
  z-index: 4;
}
.l-flow-card .l-text {
  grid-area: 2 / 1 / 3 / 3;
  z-index: 2;
}
.l-flow-card .l-img {
  grid-area: 1 / 1 / 2 / 3;
  z-index: 2;
}

/*---------- よくあるご質問 ----------*/
.c-accordion-arrow {
  transform: scaleX(1.5);
  transition: var(--transition);
}
.c-accordion-arrow.is-active {
  transform: scaleX(1.5) rotate(180deg);
}

/* ========================================
ヘッダー
======================================== */
.is-scroll .lib-header__outer.lib-header-BS02 .lib-induce__btn .txt:before {
  margin-bottom: 0;
}
.lib-induce__btn .txt:before {
  margin-bottom: 0;
}

@media print, screen and (min-width: 1200px) {
  #wrapper:has(.lib-header-BS02) {
    padding-top: 90px;
  }
  .lib-header__outer,
  .lib-header__outer.lib-header-BS02 .lib-induce__outer {
    height: 90px;
  }
}
@media print, screen and (min-width: 1200px) {
  .is-scroll .lib-header__logo img {
    width: 180px;
  }
}
@media print, screen and (max-width: 1199px) {
  .lib-header__logo img {
    width: 180px;
  }
}

/* ========================================
フッター
======================================== */
.lib-footer__guidance > li ~ li:before {
  background-color: var(--WHT);
}
