:root {
  /* ==========================
     Color
     ベース：和紙・木材をイメージした温かみのある生成り色
     メイン：剣道着・袴を連想させる藍色
     アクセント：胴や面紐をイメージした落ち着いた朱色
     ========================== */
  --color-base: #E6DFD3;
  --color-main: #1E3A5F;
  --color-accent: #A23B2A;
  --color-sub: #333333;

  --site-width: 1200px;
}

body {
  margin: 0;
  padding: 0;
  color: #444;
  line-height: 150%;
  background: var(--color-base);
  font-family: "sans-serif";
}

h1,h2,h3,h4,h5,h6,p{
  margin: 0;
  padding: 0;
}



/*========================================
  リンク
========================================*/

a,
a:active,
a:focus {
  color: #b6a489;
}
a:hover {
  text-decoration: none;
}
/*========================================
  フォント
========================================*/
/*
.num {
  font-family: 'Montserrat', sans-serif;
  
}
*/

/*トップバナー*/

#top-baner {
  width: 100%;
}
/*========================================
  ヘッダー
========================================*/
header {
  margin-bottom: 30px;
  width: 100%;
  height: 80px;
  background: var(--color-main);
}

header h1 {
  float: left;
  margin: 0;
  padding-left: 15px;
  text-align: center;
  font-size: 20px;
  font-family: "sans-serif";
  line-height: 80px;
}

header h1 a {
  color: #b6a489;
  text-decoration: none;
}

header h1 img {
  height: 60px;
  margin-top: 10px;
  width: auto;
  display: block;
  background: #F3EFE8;
  padding: 0 10px;

}

.header-user-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: middle;
}

.header-user-name {
  display: inline-block;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  color: white;
}
/*========================================
  ナビゲーション
========================================*/
#top-nav {
  position: relative;
  float: right;
  width: 500px;
  height: 90px;
}

nav a {
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

#top-nav ul {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  width: 450px;
  height: 80px;
  list-style: none;
  line-height: 80px;
  font-family: "sans-serif";
}

#top-nav ul li {
  float: right;
}
/*========================================
  レイアウト
========================================*/

.site-width {
  margin: 0 auto;
  width: var(--site-width);
}

#contents::after {
  content: "";
  display: block;
  clear: both;
}

#main {
  float: left;
  min-height: 600px;
}

.page-1colum #main {
  width: 100%;
}

.page-2colum #main {
  width: 980px;
}
.page-logined #main{
  box-sizing: border-box;
  border: 5px solid #f1f1f1;
}

/* マイページ */
.page-mypage #main {
  border: none;
}

section h1.title {
  text-align: center;
  font-family: "sans-serif";
}

/* ページタイトル */

.page-title {
  margin-bottom: 50px;
  padding-top: 20px;
  text-align: center;
  font-size: 42px;
  font-family: "sans-serif";
}
/*========================================
  サイドバー
========================================*/

#sidebar {
  float: left;
  box-sizing: border-box;
  margin-right: 20px;
  padding: 15px;
  min-height: 600px;
  width: 200px;
  background: #f6f5f4;
}

#sidebar .title {
  text-align: left;
  font-size: 14px;
}

#sidebar .selectbox {
  position: relative;
}

#sidebar select {
  padding: 10px;
  width: 100%;
  border-color: #ccc;
  border-radius: 0;
  font-size: 14px;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#sidebar .icn_select:after {
  position: absolute;
  top: 15px;
  right: 10px;
  display: block;
  width: 0;
  height: 0;
  border-top: 10px solid #333;
  border-right: 7px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 7px solid transparent;
  content: "";
}
.page-logined #sidebar{
  margin: 0 0 0 20px;
}
.page-logined #sidebar > a{
  display: block;
  margin-bottom: 15px;
}

/*========================================
  フッター
========================================*/

footer {
  padding: 15px;
  width: 100%;
  background: var(--color-sub);
  color: var(--color-base);
  text-align: center;
  font-size: 15px;
  font-family: "sans-serif";
}

footer a {
  color: #f6f5f5;
}
/*contact*/

#contact {
  margin-bottom: 150px;
}
/*========================================
  ページネーション
========================================*/

.pagination {
  position: relative;
  overflow: hidden;
}

.pagination-list {
  position: relative;
  left: 50%;
  float: left;
  padding-left: 0;
  list-style: none;
}

.pagination .list-item {
  position: relative;
  left: -50%;
  float: left;
  margin-right: 5px;
}

.pagination .list-item:last-child {
  margin-right: 0;
}

.pagination .list-item a {
  display: block;
  padding: 5px 10px;
  background: #eee;
  color: black;
  text-decoration: none;
  font-family: "sans-serif";
}

.pagination .list-item.active a {
  background: #333;
  color: white;
}

.pagination .list-item a:hover {
  background: #333;
  color: white;
}
/*========================================
  検索エリア
========================================*/

.search-title {
  overflow: hidden;
  margin-bottom: 30px;
  padding: 5px 10px;
  height: 40px;
  background: #f6f5f4;
  line-height: 40px;
}

.search-left {
  float: left;
}

.search-right {
  float: right;
}

.search-title .total-num {
  padding-right: 5px;
  font-weight: bold;
  font-size: 18px;
  font-family: "sans-serif";
}
/*========================================
  リスト
========================================*/

.list > .title {
  padding-left: 10px;
  border-left: 6px solid #b6a489;
}

.panel-list {
  overflow: hidden;
  margin-right: -15px;
}
.list h2 {
  margin-bottom: 20px;
}

/* マイページ */
.page-mypage .list {
  margin-bottom: 30px;
}

.page-mypage #main .list > .title {
  padding-left: 15px;
}

.panel-list > .panel {
  float: left;
  box-sizing: border-box;
  margin-bottom: 15px;
  padding-right: 15px;
  min-height: 185px;
  width: 25%;
  color: #333;
  text-decoration: none;
  line-height: 1.2em;
}

.panel-body {
  padding: 12px 8px;
}

.panel-list > .panel .panel-title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  color: #333;
  line-height: 1.2;
}

.panel-category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  background: var(--color-main);
  color: white;
  font-size: 12px;
}

.panel-info {
  margin-bottom: 4px;
  color: #666;
  font-size: 14px;
}

a.panel:hover {
  text-decoration: underline;
}

.panel-list > .panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-head {
  height: 150px;
  overflow: hidden;
}
/* テーブルリスト
========================================*/

.list-table > table {
  width: 100%;
  border-spacing: 0 5px;
}

.list-table th,
.list-table td {
  padding: 5px;
}
.list-table th{
  text-align: left;
}
.list-table > .table > tbody td {
  border-right: none;
  background: #f6f5f4;
}
/*========================================
  ボタン
========================================*/

.btn {
  padding: 15px 20px;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
}

.btn.btn-primary {
  background: #b6a489;
  color: white;
}

.btn.btn-mid {
  max-width: 180px;
}

input[type="submit"].btn-danger {
  background: transparent;
  color: #a23b2a;
  border: 1px solid #a23b2a;
}
/*========================================
  フォーム
========================================*/
label{
  display: block;
  font-size: 20px;
}

label.err input, label.err select{
  background: #f7dcd9;
}
input[type="text"], input[type="password"], input[type="number"], .form select,
textarea {
  display: block;
  box-sizing: border-box;
  margin-bottom: 15px;
  padding: 10px;
  width: 100%;
  height: 60px;
  border: none;
  background: #f6f5f5;
  font-size: 18px;
}
input[type="checkbox"]{
  width: 18px;
  height: 18px;
  background: #f6f5f5;
  vertical-align: middle;
}
input[type="number"] {
  width: 100px;
  text-align: left;
}
input[type="submit"] {
  margin: 15px 0;
  padding: 15px 30px;
  width: 100%;
  border: none;
  background: #333;
  color: white;
  font-size: 16px;
}

select:hover,
input[type="submit"]:hover {
  cursor: pointer;
}

.form-container {
  margin: 0 auto;
}
.page-1colum .form-container{
  margin: 80px auto;
}

.form {
  margin: 0 auto;
  padding: 30px;
  width: calc(var(--site-width) * 0.7);
  border: 5px solid #f1f1f1;
}

.form .label-require{
  margin-left: 5px;
  background: #fe8a8b;
  font-size: 14px;
  padding: 3px 5px;
  color: white;
  vertical-align: bottom;
}

.form-event {
  width: 100%;
  box-sizing: border-box;
}

.form-note {
  font-size: 12px;
}

.page-logined .form{
  border: none;
}

.form .title {
  margin-bottom: 40px;
  text-align: center;
}
.form .area-msg,.area-send-msg .area-msg{
  padding: 0 0 15px 0;
  color: red;
}
.area-send-msg .area-msg {
  padding-bottom: 0;
}
.msg-right-time {
  float: right;
  margin-right: 70px;
  font-size: 12px;
}
.msg-left-time {
  float: left;
  margin-left: 70px;
  font-size: 12px;
}
.form .btn-container {
  overflow: hidden;
}

.form .btn {
  float: right;
}
.form .area-drop{
  margin-bottom: 15px;
  width: 100%;
  height: 140px;
  background: #f6f5f4;
  color: #ccc;
  text-align: center;
  line-height: 150px;
  position: relative;
  box-sizing: border-box;
}
.form .input-file{
  opacity:0;
  width:100%;
  height:140px;
  position:absolute;
  top:0;
  left:0;
  z-index: 2; /* 必ずz-indexをつけないと登録画像を変更する際にドラッグ＆ドロップできなくなる*/
}
.form .prev-img{
  width:100%;
  height: 100%;   /* 写真アップした際に、枠からはみ出ないようにするために追加 */
  position:absolute;
  top:0;
  left:0;
}
.form .imgDrop-container{
  width: 33.333%;
  float: left;
  padding-right: 15px;
  box-sizing: border-box;
}

.form .counter-text{
  text-align: right;
}
/* フォームグループ
=================================*/
.form-group{
  position: relative;
  overflow: hidden;
}
.form-group > input{
  float: left;
}
.form-group > .option{
  position: relative;
  top: 40px;
  display: block;
  float: left;
  padding-left: 10px;
}

/*========================================
  その他
========================================*/
.msg-slide{
  position: fixed;
  top: 0;
  width:100%;
  height:40px;
  background: rgba(122,206,230,0.6);
  text-align: center;
  font-size:16px;
  line-height: 40px;
  display: none;
}
/*========================================
  イベント詳細ページ
========================================*/
.badge{
  padding: 5px 10px;
  color: white;
  background: #7acee6;
  margin-right: 10px;
  font-size: 16px;
  vertical-align: middle;
  position: relative;
  top: -4px;
}
#main .title{
  font-size: 38px;
  padding: 10px 0;
  font-family: "sans-serif";
}
.event-img-container{
  overflow: hidden;
}
.event-img-container img{
  width: 100%;

}
/* イベント概要 */
.event-description {
  float: left;
  width: 430px;
  margin-right: 15px;
  padding: 20px 30px 30px 20px;
  box-sizing: border-box;

  background: var(--color-main);
  color: #fff;

  font-size: 16px;
  line-height: 1.8;
}

.event-description .event-info-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.event-description .event-info-item:first-child {
  padding-top: 0;
}

.event-description .event-info-label {
  display: block;
  margin-bottom: 5px;

  color: var(--color-base);
  font-size: 13px;
  font-weight: bold;
}

.event-description .event-info-value {
  font-size: 17px;
}

/* 対象 */
.event-description .event-targets {
  padding-top: 20px;
}

.event-description .icon_target {
  display: inline-block;
  padding: 5px;

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;

  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  width: 50px;
  text-align: center;
  height: auto;
}

.event-description .icon_target.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.event-img-container .img-main{
  width: 600px;
  float: left;
  padding-right: 15px;
  box-sizing: border-box;
}
.event-img-container .img-sub{
  width: 150px;
  float: left;
  background: #f6f5f4;
  padding: 15px;
  box-sizing: border-box;
}
.event-img-container .img-sub:hover{
  cursor: pointer;
}
.event-img-container .img-sub img{
  margin-bottom: 15px;
}
.event-img-container .img-sub img:last-child{
  margin-bottom: 0;
}
.icon_target {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  
}
.icon_target.active {
  background-color: pink;
}
.event-detail{
  background: #f6f5f4;
  padding: 15px;
  margin-top: 15px;
  min-height: 150px;
  overflow-wrap: anywhere;
}
.event-buy{
  overflow: hidden;
  margin-top: 15px;
  margin-bottom: 50px;
  height: 50px;
  line-height: 50px;
}
.event-buy .btn {
  border: none;
  box-sizing: border-box;
  height: 44px;
  padding: 0 30px;
  font-size: 18px;
  vertical-align: middle;
}

.event-buy a.btn {
  display: inline-block;
  line-height: 44px;
}

.event-buy .item-left{
  float: left;
}
.event-buy .item-right{
  float: right;
}
.event-buy .price{
  font-size: 32px;
  margin-right: 30px;
}

.event-buy .btn:hover{
  cursor: pointer;
}

/* 連絡掲示板 */
.msg-info{
  background: #f6f5f4;
  padding: 15px;
  overflow: hidden;
  margin-bottom: 15px;
}
.msg-info h3 {
  text-align: center;
  margin-bottom: 15px;
}
.msg-comment {
  float: right;
  text-align: left;
  height: 100px;
  width: 50%;
  border: 2px solid #333;
  overflow-wrap: anywhere;
  overflow-y: auto;
}
.msg-info img:nth-child(3) {
  margin-right: 5px;
  margin-left: 5px;
}

.msg-info .event-info .left,
.msg-info .event-info .right{
  float: left;
}
.msg-info .event-info .right{
  padding-left: 15px;
}
.msg-info .event-info .price{
  display: inline-block;
}
.area-bord{
  height: 500px;
  overflow-y: scroll;
  background: #f6f5f4;
  padding: 15px;
}
.area-send-msg{
  background: #f6f5f4;
  padding: 15px;
  overflow: hidden;
}
.area-send-msg textarea{
  width:100%;
  background: white;
  height: 100px;
  padding: 15px;
}
.area-send-msg .btn-send{
  width: 150px;
  float: right;
  margin-top: 0;
}
.area-bord .msg-cnt{
  width: 80%;
  overflow: hidden;
  margin-bottom: 30px;
}
.area-bord .msg-cnt .avatar{
  width: 5%;
  overflow: hidden;
  float: left;
}
.area-bord .msg-cnt .avatar img{
  width: 40px;
  height: 40px;
  border-radius: 20px;
  float: left;
}
.area-bord .msg-cnt .avatar-name {
  font-size: 10px;
}
.area-bord .msg-cnt .msg-inrTxt{
  width: 85%;
  float: left;
  border-radius: 5px;
  padding: 10px;
  margin: 0 0 0 25px;
  position: relative;

  overflow-wrap: anywhere;
}
.area-bord .msg-cnt.msg-left .msg-inrTxt{
  background: #f6e2df;
}
.area-bord .msg-cnt.msg-left .msg-inrTxt > .triangle{
  position: absolute;
  left: -20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-right: 15px solid #f6e2df;
  border-left: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.area-bord .msg-cnt.msg-right{
  float: right;
}
.area-bord .msg-cnt.msg-right .msg-inrTxt{
  background: #d2eaf0;
  margin: 0 25px 0 0;
}
.area-bord .msg-cnt.msg-right .msg-inrTxt > .triangle{
  position: absolute;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-left: 15px solid #d2eaf0;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.area-bord .msg-cnt.msg-right .msg-inrTxt{
  float: right;
}
.area-bord .msg-cnt.msg-right .avatar{
  float: right;
}

/* お気に入り */
.icn-like {
  float: right;
  color: #ccc;
}
.icn-like:hover {
  cursor: pointer;
}
.icn-like.active {
  color: crimson;
}

/*========================================
* プロフィール編集
*========================================*/

.page-profEdit .prof-img-drop {
  width: 400px;
  height: 400px;
  line-height: 400px;
}

.page-profEdit .prof-img-drop .input-file {
  height: 400px;
}

/* =========================
   TOPページ
========================= */

.page-top {
  background: #f7f6f2;
}
.page-top header {
  margin-bottom: 0px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 160px 0;
  text-align: center;
  background:
    linear-gradient(rgba(30, 58, 95, 0.55), rgba(30, 58, 95, 0.55)),
    url('img/main.png');
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero-inner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-subtitle {
  margin-bottom: 18px;
  font-size: 16px;
  letter-spacing: 0.12em;
  color: #e6dfd3;
}

.hero-title {
  margin-bottom: 24px;
  font-size: 72px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: bold;
}

.hero-description {
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  text-align: center;
  margin-top: 50px;
}

.hero-btns .btn {
  display: inline-block;
  min-width: 180px;
  margin: 0 8px;
  padding: 16px 28px;
  box-sizing: border-box;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  transition: 0.25s;
}

.hero-btns .btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}


/* ---------- 共通 ---------- */

.top-section {
  padding: 100px 0;
}

.top-inner {
  width: 90%;
  max-width: 1080px;
  margin: 0 auto;
}

.top-title {
  position: relative;
  margin-bottom: 50px;
  text-align: center;
  font-size: 32px;
  color: #1e3a5f;
}

.top-title::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 18px auto 0;
  background: #a23b2a;
  content: "";
}

.top-lead {
  margin-bottom: 24px;
  text-align: center;
  font-size: 20px;
  line-height: 2;
  color: #333;
}

.top-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 2;
  color: #666;
}


/* ---------- Features ---------- */

.top-feature {
  background: #ece8e1;
}

.feature-list {
  text-align: center;
  font-size: 0;
}

.feature-item {
  display: inline-block;
  vertical-align: top;
  width: 235px;
  min-height: 210px;
  margin: 0 10px;
  padding: 40px 28px;
  box-sizing: border-box;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transition: 0.25s;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
  margin-bottom: 18px;
  color: #1e3a5f;
  font-size: 22px;
}

.feature-item p {
  color: #666;
  font-size: 14px;
  line-height: 1.9;
}

.feature-icon {
  display: block;
  margin-bottom: 24px;
  color: var(--color-base);
}
.feature-icon::before {
  font-size: 50px;
}

/* ---------- CTA ---------- */

.top-cta {
  padding: 110px 0;
  background: #1e3a5f;
  color: #fff;
  text-align: center;
}

.top-cta h2 {
  margin-bottom: 20px;
  font-size: 34px;
}

.top-cta p {
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.top-cta .btn {
  display: inline-block;
  min-width: 200px;
  padding: 16px 30px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #a23b2a;
  color: #fff;
  font-weight: bold;
  transition: 0.25s;
  margin-top: 40px;
}

.top-cta .btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

/* ========================================
   タブレット・スマートフォン
   768px以下
======================================== */
@media screen and (max-width: 768px) {

  /* ---------- 共通 ---------- */

  body {
    min-width: 0;
  }

  .site-width {
    width: 92%;
    margin: 0 auto;
  }

  #main {
    float: none;
    width: 100%;
    min-height: auto;
  }

  .page-1colum #main,
  .page-2colum #main {
    width: 100%;
  }


  /* ---------- ヘッダー ---------- */

  header {
    height: auto;
    min-height: 70px;
  }

  header::after {
    content: "";
    display: block;
    clear: both;
  }

  header h1 {
    padding-left: 0;
    height: 70px;
    line-height: 70px;
  }

  header h1 img {
    height: 50px;
    margin-top: 10px;
  }

  #top-nav {
    width: auto;
    height: 70px;
  }

  #top-nav ul {
    position: static;
    width: auto;
    height: 70px;
    line-height: 70px;
  }

  nav a {
    padding: 8px 7px;
    font-size: 12px;
  }

  .header-user-name {
    display: none;
  }

  .header-user-icon {
    width: 30px;
    height: 30px;
  }


  /* ---------- ページタイトル ---------- */

  .page-title {
    margin-bottom: 30px;
    padding-top: 10px;
    font-size: 30px;
  }


  /* ---------- サイドバー ---------- */

  #sidebar,
  .page-logined #sidebar {
    float: none;
    width: 100%;
    min-height: 0;
    margin: 10px 0 30px 0;
    box-sizing: border-box;
  }


  /* ---------- フォーム ---------- */

  .page-1colum .form-container {
    margin: 40px auto;
  }

  .form {
    width: 100%;
    padding: 25px 20px;
    box-sizing: border-box;
  }

  label {
    font-size: 16px;
  }

  input[type="text"],
  input[type="password"],
  input[type="number"],
  .form select,
  textarea {
    height: 50px;
    font-size: 16px;
  }

  .form .btn {
    float: none;
  }

  .form .btn-container {
    text-align: center;
  }

  .btn.btn-mid {
    max-width: none;
    width: 100%;
    font-size: 16px;
  }


  /* ---------- 画像アップロード ---------- */

  .form .imgDrop-container {
    float: none;
    width: 100%;
    padding-right: 0;
    margin-bottom: 20px;
  }


  /* ---------- イベント一覧 ---------- */

  .panel-list {
    margin-right: 0;
  }

  .panel-list > .panel {
    width: 50%;
    padding: 0 8px;
  }


  /* ---------- 検索 ---------- */

  .search-title {
    height: auto;
    overflow: hidden;
  }

  .search-left,
  .search-right {
    float: none;
    width: 100%;
  }


  /* ---------- イベント詳細 ---------- */

  #main .title {
    font-size: 28px;
  }

  .event-description {
    float: none;
    width: 100%;
    min-height: 0;
    margin: 0 0 15px 0;
  }

  .event-img-container .img-main {
    float: none;
    width: 100%;
    padding-right: 0;
    margin-bottom: 15px;
  }

  .event-img-container .img-sub {
    float: none;
    width: 100%;
    overflow: hidden;
  }

  .event-img-container .img-sub img {
    float: left;
    width: 31%;
    margin-right: 3.5%;
  }

  .event-img-container .img-sub img:last-child {
    margin-right: 0;
  }

  .event-buy {
    height: auto;
    line-height: normal;
    overflow: hidden;
  }

  .event-buy .item-left,
  .event-buy .item-right {
    float: none;
    width: 100%;
    margin-bottom: 15px;
  }

  .event-buy .item-right {
    text-align: center;
  }

  .event-buy .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
    text-align: center;
  }

  /* ---------- プロフィール編集 ---------- */
  .page-profEdit .prof-img-drop {
    width: 100%;
    height: 300px;
    line-height: 300px;
  }

  .page-profEdit .prof-img-drop .input-file {
    height: 300px;
  }
  /* ---------- 掲示板 ---------- */

  .msg-info img {
    max-width: 30%;
    height: auto;
  }

  .msg-comment {
    float: none;
    width: 100%;
    height: auto;
    min-height: 80px;
    margin-top: 15px;
    box-sizing: border-box;
  }

  .area-bord {
    height: 400px;
    padding: 10px;
  }

  .area-bord .msg-cnt {
    width: 95%;
  }

  .area-bord .msg-cnt .avatar {
    width: 45px;
  }

  .area-bord .msg-cnt .msg-inrTxt {
    width: calc(100% - 75px);
    box-sizing: border-box;
  }

  .area-send-msg .btn-send {
    width: 100%;
    float: none;
  }


  /* ==================================================
     TOPページ
  ================================================== */

  /* ---------- Hero ---------- */

  .hero {
    padding: 100px 0;
  }

  .hero-inner {
    width: 90%;
  }

  .hero-title {
    font-size: 52px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-description {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-description br {
    display: none;
  }

  .hero-btns {
    margin-top: 35px;
  }

  .hero-btns .btn {
    min-width: 0;
    width: 44%;
    margin: 5px 1%;
    padding: 14px 10px;
    font-size: 14px;
  }


  /* ---------- TOP共通 ---------- */

  .top-section {
    padding: 70px 0;
  }

  .top-inner {
    width: 90%;
  }

  .top-title {
    margin-bottom: 35px;
    font-size: 28px;
  }

  .top-lead {
    font-size: 18px;
    line-height: 1.8;
  }

  .top-text {
    font-size: 15px;
    line-height: 1.9;
  }


  /* ---------- TOP Features ---------- */

  .feature-list {
    width: 92%;
    margin: 0 auto;
  }

  .feature-item {
    width: 45%;
    min-height: 230px;
    margin: 10px 2%;
    padding: 30px 20px;
  }

  .feature-item h3 {
    font-size: 19px;
  }

  .feature-icon::before {
    font-size: 42px;
  }


  /* ---------- TOP CTA ---------- */

  .top-cta {
    padding: 70px 0;
  }

  .top-cta h2 {
    font-size: 27px;
    line-height: 1.5;
  }

  .top-cta p {
    font-size: 15px;
    line-height: 1.8;
  }

  .top-cta .btn {
    width: 80%;
    max-width: 320px;
  }


  /* ---------- Footer ---------- */

  footer {
    box-sizing: border-box;
    font-size: 13px;
  }
}


/* ========================================
   スマートフォン
   480px以下
======================================== */
@media screen and (max-width: 480px) {

  /* ---------- ヘッダー ---------- */

  header h1 img {
    height: 42px;
    margin-top: 14px;
  }

  nav a {
    padding: 6px 4px;
    font-size: 11px;
  }

  .header-user-icon {
    width: 28px;
    height: 28px;
  }


  /* ---------- フォーム ---------- */

  .page-1colum .form-container {
    margin: 25px auto;
  }

  .form {
    padding: 20px 15px;
  }

  .form .title {
    margin-bottom: 30px;
    font-size: 26px;
  }


  /* ---------- イベント一覧 ---------- */

  .panel-list > .panel {
    float: none;
    width: 100%;
    padding: 0;
    margin-bottom: 25px;
  }

  .panel-head {
    height: 220px;
  }


  /* ---------- イベント詳細 ---------- */

  #main .title {
    font-size: 24px;
  }

  .badge {
    font-size: 13px;
  }

  .event-buy .btn {
    font-size: 15px;
    padding: 12px 10px;
  }

  /* ---------- プロフィール編集 ---------- */

  .page-profEdit .prof-img-drop {
    height: 250px;
    line-height: 250px;
  }

  .page-profEdit .prof-img-drop .input-file {
    height: 250px;
  }

  /* ---------- Hero ---------- */

  .hero {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 42px;
    letter-spacing: 0.08em;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-btns .btn {
    display: block;
    width: 90%;
    margin: 10px auto;
  }


  /* ---------- TOP ---------- */

  .top-section {
    padding: 55px 0;
  }

  .top-title {
    font-size: 25px;
  }

  .top-lead {
    font-size: 16px;
  }

  .top-lead br {
    display: none;
  }

  .top-text {
    font-size: 14px;
  }


  /* ---------- Features ---------- */

  .feature-item {
    display: block;
    width: 90%;
    min-height: 0;
    margin: 0 auto 20px;
    padding: 30px 20px;
  }

  .feature-icon::before {
    font-size: 45px;
  }


  /* ---------- CTA ---------- */

  .top-cta {
    padding: 60px 0;
  }

  .top-cta h2 {
    font-size: 23px;
  }

  .top-cta p br {
    display: none;
  }

  .top-cta .btn {
    width: 90%;
  }
}