@charset "UTF-8";

/*!
Theme Name: Cocoon Child 2027
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* utility */
@media screen and (max-width: 834px) {
  .sp-none {
    display: none;
  }
}

.pc-none {
  display: none;
}

@media screen and (max-width: 834px) {
  .pc-none {
    display: block;
  }
}

.indent {
  text-indent: 1em;
}

.border-wrap {
  border: 1px solid #000;
  padding: 10px;
}

/* 固定ページシェア・フォローボタン非表示 */
.page .sns-share,
.page .sns-follow {
  display: none;
}

/* 講演内容ブロックボックスの折り返し */
.different_box {
  flex-wrap: wrap;
}

/* 大会参加費表の横幅調整 */
.main figure.wp-block-table {
  max-width: 50%;
}

/* ヘッダー背景 */
.header {
  background-image: url("../../uploads/sites/2/2020/12/header_bg01.png"),
    url("../../uploads/sites/8/2026/10/header_bg_sendai-shirayuri.png");
  background-size: 58%, 50%;
  background-position: -3% 96%, 100% 35%;
}

.home .header {
  background-size: 75%, 51%;
  background-position: -40% 99%, 109% 18%;
}

/* トップお問い合わせ背景 */
.mail_container {
  background-image: url("../../uploads/sites/8/2026/10/mail_bg_sendai-shirayuri.png");
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}

/* トップお問い合わせボタン */
.top_contact_btn {
  display: grid;
  gap: 10px;
}

.top_contact_btn .btn01 {
  width: 100%;
  max-width: 270px;
  margin: 0;
  font-size: 16px;
}

@media screen and (max-width: 1250px) {
  .top_contact_btn .btn01 {
    width: 70% !important;
    max-width: initial;
  }
}

@media screen and (max-width: 600px) {
  .top_contact_btn .btn01 {
    width: 100% !important;
  }
}

/* 固定ヘッダーロゴ */
#header-in {
  background-image: url("../../uploads/sites/7/2026/02/images_header_txt2026.png");
}

/* プログラムbox幅広 */
.different_container.different_container--wide {
  width: 90%;
}

.different_container.different_container--wide .different_inner {
  width: 70%;
  /* width: 60%; */
  margin-left: auto;
  margin-right: auto;
}

/* プログラムboxのinnerレイアウト */
.different_inner dl {
  display: flex;
}

.different_inner dt {
  flex-shrink: 0;
}

.different_inner ul {
  list-style: none;
  padding-left: 10px;
}

.different_inner p {
  margin-bottom: 1em;
}

.different_inner span.bold {
  font-weight: bold;
}

.different_inner span.red {
  color: #ff0000;
}

.different_inner span.p-left50 {
  padding-left: 50px;
}

/* 開催概要テーブルの幅調整 */
.main figure.wp-block-table {
  max-width: 80%;
}

.main figure.wp-block-table th {
  width: 20%;
}

/* プログラム概要項目 */
.program dl {
  display: flex;
  gap: 20px;
}

.program dt {
  flex-shrink: 0;
}

.program dd {
  margin-left: 0;
}

/* フッターのロゴの位置調整 */
.footer_logo {
  float: none;
  width: 60%;
}

.footer_txt {
  float: none;
  margin-left: 0;
}

/* 非リンクボタン */
.side_btn p.text_btn02.disabled {
  border: 1px solid #acacac;
}

.side_btn p.text_btn02.disabled a {
  color: #acacac;
}

.side_btn p.text_btn02.disabled a::before {
  display: none;
}

.btn01.disabled {
  background: #acacac;
}

.btn02.disabled {
  background: #acacac;
}

.article h3 a {
  color: inherit;
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {

  /*必要ならばここにコードを書く*/
  /* ヘッダー背景 */
  .header {
    background-size: 73%, 50%;
    background-position: -38% -80px, 100% 15%;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {

  /*必要ならばここにコードを書く*/
  /* ヘッダー背景 */
  .header {
    background-size: 75vw, 50%;
    background-position: -13vw -10vw, 100% 10%;
  }

  /* 開催概要テーブルの幅調整 */
  .main figure.wp-block-table {
    max-width: 80%;
  }
}

/*480px以下*/
@media screen and (max-width: 480px) {

  /*必要ならばここにコードを書く*/
  /* ヘッダー背景 */
  .header {
    background-size: 88vw, 50%;
    background-position: -13vw -10vw, 100% 10%;
  }

  /* 開催概要テーブルの幅調整 */
  .main figure.wp-block-table {
    max-width: 100%;
  }

  /* プログラム概要項目 */
  .program dl {
    flex-direction: column;
    gap: 0;
  }

  /* プログラムbox幅広 */
  .different_container.different_container--wide .different_inner {
    width: 100%;
  }

  /* プログラムboxのinnerレイアウト */
  .different_inner dl {
    display: block;
  }
}

.slicknav_nav {
  padding-top: 80px;
  width: 100%;
  position: fixed;
}

.slicknav_nav .menu-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.slicknav_nav .menu-item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.slicknav_btn {
  position: fixed;
  top: 0;
  z-index: 10000;
}

.slicknav_open .slicknav_icon {
  min-width: 38px;
  text-align: center;
}

.slicknav_open .slicknav_icon::after {
  content: "閉じる";
}

/* ========================================
   トップ｜大会事務局
======================================== */

.mail_section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.mail_section .mail_title {
  margin: 0 0 40px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* お問い合わせ・ポスター */
.mail_section .mail_links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.mail_section .mail_links>p {
  flex: 0 1 270px;
  min-width: 0;
  margin: 0 !important;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
}

.mail_section .mail_links a {
  display: block;
  position: relative;
  padding: 9px 15px;
  border-radius: 5px;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

/* お問い合わせボタン */
.mail_section .mail_links .mail_btn a {
  background: url("/wp-content/uploads/sites/2/2020/12/mail_btn_bg.jpg") center / cover no-repeat;
}

.mail_section .mail_links .mail_btn a:hover {
  opacity: 0.7;
}

/* ポスターボタン */
.mail_section .mail_links .btn01 {
  width: auto;
  background-size: cover;
}

.mail_section .mail_links .btn01.disabled a {
  pointer-events: none;
  cursor: default;
}

/* ========================================
   学校情報｜背景画像方式
======================================== */

/* 2校を上下に配置 */
.mail_section .mail_schools {
  display: grid;
  gap: 40px;
}

/* 学校ブロック共通 */
.mail_section .mail_schools .mail_container {
  width: 100%;
  min-height: 260px;
  padding: 30px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
}

/* 仙台白百合大学：左側に写真 */
.mail_section .mail_container--shirayuri {
  background-image: url("../../uploads/sites/8/2026/10/mail_bg_sendai-shirayuri.png");
  background-position: left center;
}

/* 東北生活文化大学：右側に写真 */
.mail_section .mail_container--seibun {
  background-image: url("../../uploads/sites/8/2026/11/mail_bg_tohoku-seikatsu-bunka.png");
  background-position: right center;
}

/* 学校情報の配置 */
.mail_section .mail_schools .mail_container>.mail_container_wrap {
  display: flex;
  width: 100% !important;
  float: none;
}

/* 仙台白百合大学：情報を右側へ */
.mail_section .mail_container--shirayuri>.mail_container_wrap {
  justify-content: flex-end;
}

/* 東北生活文化大学：情報を左側へ */
.mail_section .mail_container--seibun>.mail_container_wrap {
  justify-content: flex-start;
}

/* 学校情報 */
.mail_section .mail_schools .mail_container_inner {
  width: 48% !important;
  min-width: 0;
  float: none;
}

/* ロゴ */
.mail_section .mail_schools .mail_container_logo {
  margin: 0 0 25px !important;
  text-align: center;
}

.mail_section .mail_schools .mail_container_logo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* 住所 */
.mail_section .mail_schools .mail_school_address {
  margin: 0 !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  padding-left: 10%;
}

@media screen and (max-width: 1160px) {
  .mail_section .mail_schools .mail_school_address {
    padding-left: 0;
  }
}

/* ========================================
   スマートフォン
======================================== */

@media screen and (max-width: 767px) {

  .mail_section {
    padding: 40px 15px;
  }

  .mail_section .mail_title {
    margin-bottom: 30px;
    font-size: 22px;
  }

  /* ボタンを縦並び */
  .mail_section .mail_links {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
  }

  .mail_section .mail_links>p {
    flex: none;
    width: 100%;
  }

  .mail_section .mail_links .btn01 {
    width: 100% !important;
  }

  /* 学校情報 */
  .mail_section .mail_schools {
    gap: 30px;
  }

  .mail_section .mail_schools .mail_container {
    min-height: 0;
    padding: 25px 15px;
    background-image: none;
  }

  .mail_section .mail_schools .mail_container_inner {
    width: 100% !important;
  }

  .mail_section .mail_schools .mail_school_address {
    font-size: 16px;
  }
}

/* ========================================
   旧パターンのレイアウト復元
======================================== */

/* 新パターン以外の学校ブロック */
.mail_container:not(.mail_container--shirayuri):not(.mail_container--seibun)>.mail_container_wrap {
  display: flex;
  flex-direction: column;
}

/* 旧パターンのロゴ */
.mail_container:not(.mail_container--shirayuri):not(.mail_container--seibun)>.mail_container_wrap>.mail_container_logo {
  float: none;
  width: 60%;
}

/* 旧パターンの学校情報 */
.mail_container:not(.mail_container--shirayuri):not(.mail_container--seibun) .mail_container_inner {
  float: none;
}