@charset "UTF-8";

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


/************************************
**  Contact Form7
************************************/
/* テーブルの見出しとフォーム */
table.inquiry th,table.inquiry td {
   display:block;
   padding:1em 0!important;
   width:100%;
   border:0;

}
/*テーブル下に余白.枠線・テキストの行間 */
table.inquiry {
   margin-bottom: 30px;
   vertical-align:middle;
}

/* テーブルの行 */
.inquiry tr {
}

/* テーブルの見出し側 */
.inquiry th{
   text-align:left;
   font-size:14px;
   color:#444;
   padding:1em 0.5em;
   width:0;
   background:#eee;
   white-space: nowrap;
   vertical-align: middle;
}

/* 文字Pタグ */
.inquiry th p {
   display: inline;
   background:#eee;
   padding-left: 0px;
}
.inquiry p {
   display: inline;
   background:#fff;
   padding-left: 0px;
}
.inquiry .amozi {
  font-size:16px;
  padding-left: 8px;
}
.inquiry .mozi {
  color:#ff6666;
  margin: 8px;
}
.inquiry .spot {
  color:#ff6600;
  margin: 8px;
}

/* 必須と任意タグ */
.haveto,.any{
   font-size:12px;
   padding:4px;
   background:#ff9393;
   color:#fff;
   border-radius:2px;
   margin-right:5px;
   font-weight:normal;
}

/* 任意タグの背景カラー */
.any{
   background:#93c9ff;
}

/* テーブルフォーム側 */
.inquiry td{
  font-size:12px;
  border:solid px #d7d7d7;	
  background:#fff;
  text-align:left;	
}

/* 入力エリア幅最大 */
.wpcf7-form-control {
   width: 100%;
}

/* フォーム入力欄の余白・背景カラー・枠線消す指定 */
.inquiry input,.inquiry select,.inquiry textarea {
  margin: 0px ;
  background:#fff;
  width: 96%;
}
.inquiry textarea {
   padding-bottom:10em;
}

/* チェックボックスとラジオボタンの位置調整 */
.wpcf7-list-item-label,.wpcf7-checkbox,input[type=checkbox],input[type=radio]{
  vertical-align:middle;
  margin: px;
  background:#fff;
  border: none;
  padding:0 px 0 px;
}
.wpcf7-list-item-label{
}
/*ラジオボタンを縦並び指定*/
.verticallist{
   display:inline-grid;
}

.inquiry days {
   display: inline;
   background:#fff;
   padding-left: 0px;
}

/* 送信ボタンのデザイン */
.wpcf7-submit{
   display: block;
   margin:10px auto;
   padding:1em 0;
   width:80%;
   background:#09b555;
   color:#fff;
   font-size:18px;
   font-weight:bold;	 
   border-radius:4px;
   border: none;
}

/* 送信ボタンマウスホバー時 */
.wpcf7-submit:hover{
   opacity: 0.9;
   transition: 0.3s;
}

/* フォーム上部に表示されるエラーメッセージを非表示 */
.screen-reader-response {
    display: none;
}

/* フォーム内エラーメッセージを赤色に指定 */
.wpcf7-not-valid-tip {
    color: #e92323;
}

/************************************
**  キャスト一覧
************************************/
/* キャスト一覧の全体枠（PCは4列表示） */
.cast-list-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3列にしたい場合は 4 を 3 に変更 */
    gap: 20px; /* カード同士の隙間 */
    margin: 20px 0;
}

/* キャスト1人分のカード枠 */
.cast-photo {
    position: relative; /* 新人アイコンを重ねる基準 */
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* キャスト写真のサイズとトリミング調整 */
.cast-photo .trimming {
    width: 100%;
    aspect-ratio: 3 / 4; /* 縦長写真に最適（正方形なら 1 / 1 に変更） */
    object-fit: cover;   /* 枠に合わせて自動トリミング */
    object-position: top center; /* 顔（上部）が切れないように基準を上にする */
    border-radius: 4px;
    display: block;
    margin-bottom: 8px;
}

/* 本日出勤 */
.todays-cast {
	display: block;            /* 横幅いっぱいに広げる */
    width: 100%;               /* 念のため幅100%を指定 */
    box-sizing: border-box;    /* paddingを含めて幅100%にする */
    text-align: center !important;        /* 文字を中央揃えにする */
    background-color: #000; /* 背景色（お好みの色に変更可） */
    color: #fff;            /* 文字色 */
    font-size: 15px;
    font-weight: bold;
    padding: 6px 10px;         /* 上下・左右の余白 */
    border-radius: 4px;        /* 角丸 */
    line-height: 1.4;	
}

/* 名前 */
.cast-photo .cast-name {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
    color: #333;
}
/* タイプ */
.cast-photo .cast-type{
overflow: hidden;
color: #ff7f00;
font-size: 14px;
text-align:;
font-weight:bold;
}

/* 年齢・身長・スリーサイズ */
.cast-photo .cast-size {
    font-size: 12px;
    line-height: 1.4;
    margin: 2px 0;
    color: #666;
}

/* 特徴リスト全体 */
.article ul.feature-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 枠からはみ出さない2列設定 */
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important; /* 余白を幅の内側に含める */
}

/* 特徴の1つ1つの項目 */
.article ul.feature-list li.feature-item {
  background-color: #e4faf4;
  border: px solid #ddd;
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center !important;
  font-size: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important; /* 枠線と余白を幅の内側に含める */
  display: block !important;
  white-space: nowrap; /* 文字の縦折り返しを防ぐ */
  overflow: hidden !important;    /* 万が一はみ出た場合も枠を壊さない */
}

/* 新人アイコン（写真の左上に重ねて配置） */
.cast-photo {
    position: relative; /* 念のため親要素を基準に固定 */
}

.cast-photo .cast-new {
    position: absolute;
    top: 44px !important; /* 10pxから増やして少し下へ（数値はお好みで調整） */
    bottom: auto !important; /* 他のCSSのbottom指定を強制解除 */
    left: 10px;
    margin: 0;
    width: 50px; /* アイコンの横幅 */
    background: transparent !important;
    background-color: transparent !important;
}

.cast-photo .cast-new img {
    width: 72%;
    height: auto;
    display: block;
}

/* iwishアイコン（写真の左上に重ねて配置） */
.cast-photo {
    position: relative; /* 念のため親要素を基準に固定 */
}
.cast-photo .cast-iwish {
    position: absolute;
    top: 40px !important; /* 10pxから増やして少し下へ（数値はお好みで調整） */
    bottom: auto !important; /* 他のCSSのbottom指定を強制解除 */
    right: 0px;
    margin: 0;
    width: 50px; /* アイコンの横幅 */
    background: transparent !important;
    background-color: transparent !important;
}

.cast-photo .cast-iwish img {
    width: 80%;
    height: auto;
    display: block;
}


/* グレードアイコン */
.cast-photo .cast-grade {
    margin: 8px 0 0;
}
.cast-photo .cast-grade img {
    max-width: 100%;
    height: auto;
    max-height: 28px; /* アイコンの高さ上限 */
}

/* スマホ・タブレット表示の調整（画面幅768px以下は2列表示） */
@media screen and (max-width: 768px) {
    .cast-list-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .cast-photo {
        padding: 8px;
    }
    .cast-photo .cast-name {
        font-size: 18px;
    }
    .cast-photo .cast-size {
        font-size: 13px;
    }	
}


/************************************
**  キャスト個別ページ
************************************/
/* 画像全体の枠 */
.box_around {
    max-width: 400px;
    margin: 0 auto;
}

/* 切り替え用のラジオボタン自体は隠す */
.box_around input[type="radio"] {
    display: none;
}

/* 大きいメイン画像の箱 */
.main_image_box {
    width: 100%;
    margin-bottom: 10px;
}

/* メイン画像は最初はすべて非表示にしておく */
.main_image_box .mainimage {
    display: none;
    width: 100%;
    height: auto;
}

/* 選択された番号のメイン画像だけ大きく表示する */
#img_tab_0:checked ~ .main_image_box .main_0,
#img_tab_1:checked ~ .main_image_box .main_1,
#img_tab_2:checked ~ .main_image_box .main_2,
#img_tab_3:checked ~ .main_image_box .main_3,
#img_tab_4:checked ~ .main_image_box .main_4 {
    display: block;
}

/* サムネイル一覧（5枚を小さく横並びにする） */
.subimage {
    display: flex;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.subimage li {
    width: calc((100% - 24px) / 5); /* 5等分の幅にする */
}

.subimage label {
    display: block;
    cursor: pointer;
}

.subimage img {
    width: 100%;
    height: 70px; /* サムネイルの高さ（お好みで調整してください） */
    object-fit: cover;
    display: block;
    border: 2px solid transparent;
    box-sizing: border-box;
}

/* 選択中のサムネイルにピンクの枠線をつける */
#img_tab_0:checked ~ .detail .subimage li:nth-child(1) img,
#img_tab_1:checked ~ .detail .subimage li:nth-child(2) img,
#img_tab_2:checked ~ .detail .subimage li:nth-child(3) img,
#img_tab_3:checked ~ .detail .subimage li:nth-child(4) img,
#img_tab_4:checked ~ .detail .subimage li:nth-child(5) img {
    border-color: #f3478c;
    opacity: 0.8;
}

/* キャストデーター */
.castcontent {
	padding:10px;
}
.o-h2 {
	margin-top: 10px;
}
div.interview {
	margin-top: px;
}
.message {
	background-color: #fff0f5;
	padding: 10px 10px 10px 10px;
}


.cast-type{
overflow: hidden;
color: #ff7f00;
font-size: 18px;
text-align:;
font-weight:bold;
}

/* 特徴リスト全体 */
ul.cast-feature-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 枠からはみ出さない2列設定 */
  gap: 10px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important; /* 余白を幅の内側に含める */
}

/* 特徴の1つ1つの項目 */
ul.cast-feature-list li.cast-feature-item {
  background-color: #e4faf4;
  border: px solid #ddd;
  border-radius: 4px;
  padding: 8px 6px;
  text-align: center !important;
  font-size: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important; /* 枠線と余白を幅の内側に含める */
  display: block !important;
}

/* =========================================
   スケジュール＆キャスト一覧のカード横並び調整
   ========================================= */

/* カードを囲む親枠（スケジュール用 .p70 と キャスト一覧用 .cast-list-container の両対応） */
.p70,
.cast-list-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* PCは4列並び */
  gap: 20px 15px; /* 上下20px、左右15pxの余白 */
  margin-top: 20px;
}

/* Cocoonの clearfix 疑似要素がグリッドの1枠として認識されるのを防ぐ */
.p70::before,
.p70::after,
.cast-list-container::before,
.cast-list-container::after {
  content: none !important;
  display: none !important;
}

/* キャスト1人分のカード枠 */
.p70 .cast-photo,
.cast-list-container .cast-photo {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  position: relative;
  box-sizing: border-box;
}

/* キャスト画像の比率とトリミングを綺麗に揃える */
.p70 .cast-photo img.trimming,
.cast-list-container .cast-photo img.trimming {
  width: 100%;
  aspect-ratio: 3 / 4; /* 縦長の綺麗な比率に統一（正方形にしたい場合は 1 / 1 に変更） */
  object-fit: cover;
  display: block;
}

/* 文字周りの余白微調整 */
.p70 .cast-photo p,
.cast-list-container .cast-photo p {
  margin: 4px 0;
  line-height: 1.4;
}

/* 新人バッジ（画像）の位置調整（右上に重ねる場合） */
.p70 .cast-photo .cast-new,
.cast-list-container .cast-photo .cast-new {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 55px;
  margin: 0;
}

/* =========================================
   タブレット・スマホ表示の調整
   ========================================= */

/* タブレット（画面幅 1023px 以下）は3列 */
@media screen and (max-width: 1023px) {
  .p70,
  .cast-list-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* スマホ（画面幅 767px 以下）は2列 */
@media screen and (max-width: 767px) {
  .p70,
  .cast-list-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 10px; /* スマホでは余白を少し詰める */
  }

  /* 名前 */
  .p70 .cast-photo .cast-name,
  .cast-list-container .cast-photo .cast-name {
    font-size: 16px;
    font-weight: bold;
  }
  /* サイズ */
  .p70 .cast-photo .cast-size,
  .cast-list-container .cast-photo .cast-size {
    font-size: 11px;
  }
  /* 出勤時間 */
  .p70 .cast-photo .todays-cast,
  .cast-list-container .cast-photo .todays-cast {
    font-size: 13px;
    padding: 3px 5px;
  }
}

/* スケジュール全体 */
.schedule {
  display: block; /* inline-blockからblockに変更して横幅100%に対応 */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 15px;
  margin: 20px 0;
  background-color: #ffffff;
}

/* 5列のグリッド枠 */
.box-schedule {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)); /* 5等分＆中身が長くても突き抜けない指定 */
  border-left: 1px solid #aaa;
  width: 100%;
  box-sizing: border-box;
}

/* 日付セル（上段） */
.box_date {
  width: 100%;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  background-color: #000;
  border-right: 1px solid #aaa;
  border-top: 1px solid #aaa;
  padding: 6px 2px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  word-break: keep-all; /* 単語の途中での変な改行を防ぐ */
}

/* 時間セル（下段） */
.box_time {
  width: 100%;
  box-sizing: border-box;
  color: #444;
  text-align: center;
  background-color: #fff;
  border-right: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 8px 2px;
  font-size: 13px;
  line-height: 1.4;
  grid-row: 2; /* 元のgrid-row-start:3を2段目に修正（HTML構造に合わせて調整可） */
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
}

/* 日曜・祝日の色 */
.box-schedule .schedule0 {
  color: #0066cc;
  background-color: #99ccff;
}

/* 土曜の色 */
div.box-schedule .schedule6 {
  color: #ff0000;
  background-color: #FFD5EC;
}

/* メモ欄（全角スペースを修正済み） */
.girlmemo {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
}

/* =========================================
   タブレット・スマホ向けの調整（画面幅 768px以下）
========================================= */
@media screen and (max-width: 768px) {
  .schedule {
    padding: 10px 8px;
    margin: 15px 0;
  }

  .box_date {
    font-size: 12px;
    padding: 5px 1px;
  }

  .box_time {
    font-size: 11px;
    padding: 6px 1px;
    line-height: 1.3;
  }
}

/* =========================================
   小型スマホ向けの微調整（画面幅 380px以下）
========================================= */
@media screen and (max-width: 380px) {
  .box_date {
    font-size: 11px;
  }

  .box_time {
    font-size: 10px;
  }
}


/*プロフィール*/
.interview {
　display:inline-block;
  padding: 10px;
  margin: 20px 0px;
	background-color:#ffffff;
	padding: 10px;
}
.interview dl{
 background-color:#fff0f5;
}
dt.q{
  padding: 4px 10px 4px 30px;
  border-top: 1px solid #aaa;
  text-indent: -25px;
  font-size:12px;
}
dd.a {
	border-bottom: px solid #aaa;
	padding: 5px 10px 5px 30px;
  text-indent: -25px ;
	color: #ff6699;
}
.q:before {
  content: "Q.";
  margin: 2px 2px;
  padding: 4px 6px;
}
.a:before {
  content: "A";
	margin: 2px 2px;
	padding: 4px 6px;
	background-color:#ff6699;
	color: #fff;
	font-weight: bold;
  border-radius: px;
}


/*コメント*/
.interview-2{
  width:100%;
}
.message-img {
	display:inline-block;
	padding: 0px 10px 0px 10px;
  float:left;
}
.message-gi{
	display:inline-block;
	width:80%;
	color: #666;
	position: relative;
	margin-right: 0px;
}

/*性格＆タイプ＆雰囲気*/
.girl-personality{
	display:inline-block;
  padding: 10px;
  margin: 20px 0px;
	background-color:#ffffff;
}
.personality{
	background-color:#fff0f5;
	padding: 10px;
}

/*女の子からのコメント*/
.girl-message{
	display:inline-block;
  padding: 10px;
  margin: 20px 0px;
	background-color:#ffffff;
}
.message{
	background-color:#fff0f5;
}

/*予約コメント*/
.girl-reservation{
	display:inline-block;
  padding: 10px;
  margin: 0px 0px;
	background-color:#fff;
}
.reservation p{
	background-color:#fff0f5;
}
.reservation {
	background-color:#fff0f5;
	padding-top: 10px;
	padding-bottom: 10px;
}

/*予約form*/
.reservation-form{
	display:;
  padding: 10px;
  margin: 0px 0px;
	background-color:#fff;
}

/*女の子からのコメント*/
.girl-message{
	display:inline-block;
  padding: 10px;
  margin: 20px 0px;
	background-color:#ffffff;
}
.message{
	background-color:#fff0f5;
}

/*個別写メ*/
.Photodiary{
　display:inline-block;
  padding: 10px;
  margin: 20px 0px;
	background-color:#fff;
	padding: 10px;
}

div.cast-blog .widget-entry-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 2%; /* 上下の隙間8px、左右の隙間2% */
    width: 100%;
    box-sizing: border-box;
	background-color:#fff;
  }

/*--------------------------------
写メ日記
--------------------------------*/
/*写メ日記*/
div.tripblog .widget-entry-card-link{
  border: solid 1px #eee;
  width: 19%;
  display: inline-block;
		background: #;
}

/*カテゴリーラベル*/
.tripblog .cat-label.cat-label{
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
  background: #f57388;
  height: 20px;
  border: solid 1px #f57388;
}

/*画像*/
.tripblog .widget-entry-cards.card-large-image figure img {
  background: #aaa;
}

/*タイトル*/
.tripblog .widget-entry-card-title{
  text-align: left;
  overflow: hidden;
  height: 32px;
  font-size: 12px;
  margin-bottom: 0px;
  line-height: 1.3;
  padding: 0px;
  border-bottom: solid 2px #eee;
}

/*スニペット*/
.tripblog .widget-entry-card-snippet.card-snippet{
  overflow: hidden;
  height: 48px;
  font-size: 14px;
  margin: 6px;
  line-height: 1.2;
}

/*更新日*/
.tripblog .widget-entry-card-update-date {
  display: none;
}

/*投稿日*/
.tripblog .new-entry-card-date {
  display: block;
  font-size: 10px;
  position: absolute;
  bottom: -8px;
  right: 0px;
  color: #888;
}

span.new-entry-card-post-date.widget-entry-card-post-date.post-date{
  display: block !important;
}

.tripblog .post-date {
  display: block !important;
}

.tripblog .datetime {
  padding: 4px 4px 0px 0px;
  font-size: 8px;
  display: block !important;
  text-align: right;
}

.entry-time:before {
  display: inline-block !important;
  content: "\f017";
  padding-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  opacity: 0.6;
}


/*個別写メモバイルメニュー*/
/* スマホ表示（画面幅768px以下）で3列にする調整 */
@media screen and (max-width: 768px) {
  /* カードを囲む親要素を横並び・均等配置にする */
  div.tripblog .widget-entry-cards {
    display: flex;
    flex-wrap: wrap;
    		justify-content: center;
    gap: 8px 2%; /* 上下の隙間8px、左右の隙間2% */
    width: 100%;
    box-sizing: border-box;
  }

  /* カード1枚の幅を3列分（30%）にする（30%×3枚 + 隙間2%×2箇所 = 100%） */
  div.tripblog .widget-entry-card-link {
    width: 30% !important;
    margin: 0 !important;
    box-sizing: border-box;

  }
}

/*--------------------------------
出勤情報ページ
--------------------------------*/
/*日付切り替えタブデザイン*/
div.schedule-header{
	background:#fff;
	border-top:solid px #000;
	border-radius:0px 0px 8px 8px;
}
.schedule-text{
	color: #f3478c;	
	font-size:20px;
	font-weight:bold;
}

/*時間表示*/
div.scheduletime{
  text-align:center;
	background:#fff;
  color: #fc6c85;	
  font-weight:bold;
}

div.work-schedule {
  margin:0;
	font-weight:bold;
  font-size:14px;
	background:#fff;
}
div.work-schedule ul{
  display: table;
  table-layout: fixed;
  list-style-type: none;
  padding: 0;
  margin:0;
  width: 100%;
  height: 100%;
}
div.work-schedule li{
  display: table-cell;
  vertical-align: middle;
  border-right: 4px solid #fff;
  word-wrap: break-word;
  height: 100%;	
}
div.work-schedule li:first-child{
  border-left: px solid #fff;
}
div.work-schedule a{
  display: inline-block;
  vertical-align: middle;
  padding: 12px;
  width: 100%;
  height: 100%;
  color: #000;
  text-decoration: none;
  text-align: center;
	border:solid 1px #000;
	border-radius:8px 8px 0px 0px;
  background: #fff;
  box-sizing: border-box;
}
div.work-schedule a:hover {
 background-color:#fff;
 color: #000;
}
div.work-schedule ul li.weeklysun a {
 color: #ff4d4d;
background-color:#;
}
div.work-schedule ul li.weeklysat a{
 color: #0066cc;
	background-color:#;
}
div.work-schedule .weeklytarget a {
background-color:#000;
	color: #fff;
	font-size:px;
	border-top:solid 1px #000;
	border-right:solid 1px #000;
	border-left:solid 1px #000;
	border-bottom:solid px #000;
	border-radius:8px 8px 0px 0px;
}
h6.work-h6{
  background-color:#fff;
	border-top:solid px #000;
	border-bottom:solid 1px #fff;
	color: #fff;
	font-size:2px;
	margin-top:0px;
}	

@media screen and (max-width: 480px) {
.schedule-text{
	color: #f3478c;	
	font-size:16px;
	font-weight:bold;
}	
div.s-info h3{
  margin-top:0px;
	background-color:#ffcccc;
}	
div.work-schedule {
  font-size:10px;
}	
div.work-schedule a{
  padding: 8px;
}	
}




/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
