/* ========================================
   基本設定・配色
======================================== */

:root {
  --blue: #75c6cf;
  --light: #e1f8fa;
  --page-bg: #e4f1fa;  /* ページ全体の背景色 */
  --white: #ffffff;    /* コンテンツの背景色 */
  --orange: #ffa11b;
  --pink: #ff828f;
  --line: #ccc;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: #333;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: .04em;
  overflow-wrap: anywhere;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

p, h2, ul, ol {
  margin: 0;
}

a {
  color: inherit;
}

/* コンテンツの基本幅 */
.inner {
  width: calc(100% - 40px);
  max-width: 960px;
  margin: 0 auto;
}

/* メインコンテンツの白背景 */
main {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 30px 30px;
  background: var(--white);
}

.sp {
  display: none;
}

.pc {
  display: block;
}


/* ========================================
   ヘッダー
======================================== */

header {
  background: #fff;
  padding: 55px 0 12px;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* ACOSTAカラーのライン */
header::after,
footer::before {
  content: "";
  display: block;
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(
    115deg,
    #bde7a8 0 9px,
    #fff 9px 13px,
    #ffa11b 13px 22px,
    #fff 22px 26px,
    #ff828f 26px 35px,
    #fff 35px 39px,
    #75c6cf 39px 48px,
    #fff 48px 52px
  );
}

header::after {
  position: absolute;
  bottom: 0;
}

/* ヘッダーロゴ */
.logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  max-width: 1180px;
}

.knt {
  width: 245px;
}

.acosta {
  width: 130px;
}

.jce {
  width: 65px;
}


/* ========================================
   メインビジュアル
======================================== */

.mv {
  background: var(--white);
  padding: 4px 0 20px;
}

.mv .inner {
  max-width: 980px;
}

.mv img {
  width: 100%;
}


/* メインビジュアル・タイトル */

.mv-title {
  display: block;
  text-align: center;
  font-size: 42px;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #26333e;
  margin: 25px 0 30px;
}

/* 開催年度 */
.mv-year {
  display: block;
  color: #d65b83;
  font-size: 26px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

/* 旅行日数 */
.mv-days {
  display: block;
  font-size: 44px;
  line-height: 1.2;
  margin-top: 8px;
}

.mv-days small {
  display: inline;
  font-size: 26px;
  margin-left: 4px;
}

/* タイトル下のACOSTAカラー装飾 */
.mv-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 6px;
  margin: 20px auto 0;
  transform: skewX(-20deg);
  background: linear-gradient(
    to right,
    #ff828f 0 18%,
    transparent 18% 25%,
    #bde7a8 25% 43%,
    transparent 43% 50%,
    #ffa11b 50% 68%,
    transparent 68% 75%,
    #75c6cf 75% 93%,
    transparent 93% 100%
  );
}


/* メインビジュアル・写真 */

.mv-photo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.mv-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}


/* メインビジュアル・タグ */

.mv-tag {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 10px;
}

.mv-tag span {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid #efb6c6;
  border-radius: 6px;
  background: #fff0f4;
  color: #c64f75;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}


/* ========================================
   ココがポイント！
======================================== */

.points {
  background: var(--white);
  padding: 36px 0 40px;
}

.ttl {
  text-align: center;
  border: 0;
  padding: 0;
  margin: 0 0 22px;
}

.point {
  list-style: none;
  padding: 0;
  background: #fff;
  border: 2px solid var(--blue);
}

.point li {
  position: relative;
  padding: 18px 20px 18px 50px;
  font-weight: bold;
}

.point li + li {
  border-top: 1px dashed var(--line);
}

.point li::before {
  content: "●";
  color: var(--orange);
  position: absolute;
  left: 20px;
  top: 18px;
}


/* ========================================
   見出し・本文
======================================== */

.block {
  padding: 38px 0 0;
}

h2 {
  font-size: 26px;
  line-height: 1.5;
  border-bottom: 4px solid var(--blue);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

/* コース名 */
.course {
  font-weight: bold;
  color: #087f8b;
}

.course:not(:first-child) {
  margin-top: 12px;
}

/* 申込締切 */
.deadline {
  font-size: 20px;
  font-weight: bold;
  color: #d52323;
}

/* 注釈 */
.note {
  font-size: 14px;
  margin-top: 8px;
}

/* 赤文字 */
.red {
  color: #d52323;
}

/* 区切り線 */
hr {
  border: 0;
  border-top: 1px dashed var(--line);
  margin: 12px 0;
}


/* ========================================
   表の共通設定
======================================== */

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

th,
td {
  border: 1px solid var(--line);
  padding: 12px 10px;
  vertical-align: top;
}

th {
  background: var(--light);
  font-weight: normal;
}


/* ========================================
   プログラム概要
======================================== */

.about th {
  width: 155px;
  text-align: left;
}

.about td > p + p:not(.course) {
  margin-top: 5px;
}


/* ========================================
   スケジュール
======================================== */

.daily .date,
.daily .meal {
  width: 10%;
}

.daily th {
  text-align: center;
  vertical-align: middle;
}

/* 宿泊地 */
.stay {
  text-align: right;
}


/* ========================================
   旅行代金表
======================================== */

.price-table {
  width: 100%;
  table-layout: fixed;
}

.price-table th,
.price-table td {
  padding: 8px 10px;
  border: 1px solid #999;
}


/* ========================================
   旅行代金に含まれるもの・含まれないもの
======================================== */

.fees {
  list-style: none;
  padding: 0;
}

.fees li {
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 5px;
}

/* 注意事項 */
.notes {
  background: #f0f7fc;
  padding: 16px;
  margin-top: 24px;
  font-size: 14px;
}

/* TOPへ戻る */
.top {
  text-align: right;
  margin: 26px 0;
  color: #cf5264;
}


/* ========================================
   フッター
======================================== */

footer {
  width: 100%;
  background: #fff;
  font-size: 12px;
  line-height: 1.8;
}

footer img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.foot {
  width: 92%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}


/* 研修企画 */

.foot-plan {
  padding: 8px 0;
  border-bottom: 1px dashed #b2b2b2;
}


/* 旅行企画・実施 */

.foot-info {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 0 18px;
  border-bottom: 1px dashed #b2b2b2;
}

.foot-label {
  white-space: nowrap;
}

.foot-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-logo {
  width: 210px;
  flex-shrink: 0;
}

.foot-member {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.foot-member img {
  max-width: 110px;
  max-height: 22px;
  object-fit: contain;
}


/* J-CROSS */

.foot-cert {
  width: 90px;
  flex-shrink: 0;
}


/* 後援・賛同 */

.foot-end {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  padding: 8px 0 5px;
}

.foot-support p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.foot-support img {
  max-width: 105px;
  max-height: 24px;
  object-fit: contain;
}


/* お問い合わせ */

.contact {
  width: 100%;
  background: #333 url(../images/bg_foot02.png) repeat;
  color: #fff;
  padding: 12px 0 8px;
}

.contact .inner {
  width: 92%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

.contact p {
  font-size: 14px;
  text-align: left;
}

.contact strong {
  font-size: 25px;
  font-weight: normal;
}

.contact a {
  color: #fff;
  text-decoration: none;
}

.contact small {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-top: 20px;
}

/* コピーライト */
small {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-top: 15px;
}


/* ========================================
   スマートフォン（640px以下）
======================================== */

@media screen and (max-width: 640px) {

  /* 基本設定 */

  body {
    font-size: 15px;
    letter-spacing: 0;
  }

  main {
    width: 100%;
    padding: 0 0 20px;
  }

  .inner {
    width: 92%;
  }

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }


  /* ヘッダー */

  header {
    padding: 12px 0 15px;
  }

  .logos {
    justify-content: flex-start;
    gap: 10px;
  }

  .logos img {
    min-width: 0;
    object-fit: contain;
  }

  .knt {
    width: 48%;
    max-width: 245px;
  }

  .acosta {
    width: 27%;
    max-width: 130px;
  }

  .jce {
    width: 13%;
    max-width: 65px;
  }


  /* メインビジュアル */

  .mv .inner {
    width: 92%;
  }

  .mv-title {
    font-size: 26px;
    margin: 15px 0 20px;
    line-height: 1.5;
  }

  .mv-year {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .mv-days {
    font-size: 36px;
  }

  .mv-days small {
    font-size: 20px;
  }

  .mv-title::after {
    margin-top: 15px;
  }


  /* メインビジュアル・写真 */

  .mv-photo {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mv-photo img {
    border-radius: 10px;
  }


  /* メインビジュアル・タグ */

  .mv-tag {
    gap: 6px;
    margin: 15px 0 5px;
  }

  .mv-tag span {
    padding: 4px 10px;
    font-size: 12px;
  }


  /* ココがポイント！ */

  .points {
    padding: 25px 0;
  }

  .point li {
    padding: 13px 12px 13px 30px;
  }

  .point li::before {
    left: 10px;
    top: 13px;
  }


  /* 見出し・本文 */

  .block {
    padding-top: 28px;
  }

  h2 {
    font-size: 21px;
  }


  /* プログラム概要 */

  .about,
  .about tbody,
  .about tr,
  .about th,
  .about td {
    display: block;
    width: 100%;
  }

  .about {
    border: 1px solid var(--line);
  }

  .about th {
    background: var(--blue);
    font-weight: bold;
    color: #173e42;
    border: 0;
  }

  .about td {
    border: 0;
    padding: 12px;
  }


  /* スケジュール */

  .daily {
    font-size: 14px;
    line-height: 1.65;
  }

  .daily .date {
    width: 55px;
  }

  .daily .meal {
    width: 40px;
  }

  .daily th,
  .daily td {
    padding: 8px 5px;
  }

  .daily td:nth-child(2) {
    padding: 8px;
  }

  .stay {
    font-size: 12px;
  }


  /* 旅行代金表 */

  .price-table th,
  .price-table td {
    padding: 8px 4px;
    font-size: 13px;
  }


  /* フッター */

  .contact strong {
    font-size: 20px;
  }

  .contact p {
    text-align: center;
  }

  small {
    font-size: 10px;
  }

}


/* ========================================
   小型スマートフォン（iPhone SEなど）
======================================== */

@media screen and (max-width: 375px) {

  .mv-title {
    font-size: 23px;
  }

  .mv-year {
    font-size: 18px;
  }

  .mv-days {
    font-size: 32px;
  }

  .mv-tag span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .daily {
    font-size: 13px;
  }

  .daily .date {
    width: 48px;
  }

  .daily .meal {
    width: 34px;
  }

  .price-table th,
  .price-table td {
    font-size: 12px;
    padding: 8px 3px;
  }

}