WEBサイト制作の勉強

WEBサイト制作の勉強の為の解説ブログです。

モバイルファーストを意識したレスポンシブサイト(データ)

完成データ

index.html

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>株式会社ネットスマート</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no, email=no">
<link rel="apple-touch-icon" href="touch-icon.png">
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/flexslider.css">
<link rel="stylesheet" href="css/responsive_style.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/script.js"></script>
<script>
// Can also be used with $(document).ready()
$(window).load(function() {
  $('.flexslider').flexslider({
    animation: "slide"
  });
});
</script>
</head>

<body>
  <header id="globalHeader">
    <div class="headerInner">
      <h1><a href="/">株式会社ネットスマート</a></h1>
      <div class="search">
        <p id="searchToggle"><img src="img/icon_search.png" alt="検索" width="20"></p>
        <div class="form">
          <form>
            <span><input type="search" name="q" placeholder="サイト内検索"></span>
            <span><button>検索</button></span>
          </form>
        </div>
      </div>
    </div>
    <nav class="menu">
      <p id="menuToggle"><span>メニュー</span></p>
      <ul>
        <li class="service"><a href="#"><div>サービス紹介</div></a></li>
        <li class="proven"><a href="#"><div>実績紹介</div></a></li>
        <li class="corporate"><a href="#"><div>会社概要</div></a></li>
        <li class="recruit"><a href="#"><div>採用情報</div></a></li>
      </ul>
    </nav>
  </header>
  <div id="body">
    <div id="slide">
      <div class="flexslider">
        <ul class="slides">
          <li><img src="img/img_keyvisual_01_lt_768.jpg" alt=""></li>
          <li><img src="img/img_keyvisual_02_lt_768.jpg" alt=""></li>
          <li><img src="img/img_keyvisual_03_lt_768.jpg" alt=""></li>
        </ul>
      </div>
    </div>
    <div class="alert">
      <ul>
        <li><a href="#"><div><span class="date">2012年10月1日</span>メンテナンスのお知らせ</div></a></li>
      </ul>
    </div>
    <section id="pickup">
      <h2>サービスピックアップ</h2>
      <ul class="tab">
        <li class="current"><a href="#cms">CMS</a></li>
        <li><a href="#seo">SEO</a></li>
        <li><a href="#social">ソーシャル</a></li>
      </ul>
<div class="tabContents current" id="cms">
<div class="round">
<a href="#">
<h3>CMS</h3>
<div>
<p><img src="img/img_pickup_cms.png" width="179" alt="CMS"></p>
 </div>
</a>
</div><!--/round-->
 <p class="text">低価格&amp;高機能なCMS導入。<br>充実の管理画面でサイト運用を効率的に。</p>
</div> <!--/cms-->
      <div class="tabContents" id="seo">
        <div class="round">
          <a href="#">
            <h3>SEO</h3>
            <div>
              <p><img src="img/img_pickup_seo.png" width="193" alt="SEO"></p>
            </div>
          </a>
        </div>
        <p class="text">検索ワードを短期間で上位表示。<br>スマートフォンサイトにも対応します。</p>
      </div>
      <div class="tabContents" id="social">
        <div class="round">
          <a href="#">
            <h3>ソーシャル</h3>
            <div>
              <p><img src="img/img_pickup_social.png" width="169" alt="ソーシャル"></p>
            </div>
          </a>
        </div>
        <p class="text">Facebookページ作成からソーシャルメディアマーケティングまで幅広く支援致します。</p>
      </div>
    </section>
    <div class="columnWrapper">
      <div class="indexBoxes">
    
        <section class="child">
          <a href="#">
            <h2><span>サービス紹介</span></h2>
            <div class="captionBox">
              <div class="image"><img src="img/img_index_service.jpg" alt="サービス紹介"></div>
               <p>全てのインターネットユーザーにスマートさを。</p>
            </div>
           </a>
        </section>
        
        <section class="child">
          <a href="#">
            <h2><span>実績紹介</span></h2>
            <div class="captionBox">
              <div class="image"><img src="img/img_index_proven.jpg" alt="実績紹介"></div>
              <p>これまでに手がけたサービス、制作事例をご紹介します。</p>
            </div>
           </a>
        </section>
        <section class="child">
          <a href="#">
            <h2><span>会社概要</span></h2>
            <div class="captionBox">
              <div class="image"><img src="img/img_index_corporate.jpg" alt="会社概要"></div>
               <p>企業沿革、コーポレートメッセージなどご紹介します。</p>
            </div>
           </a>
        </section>
        <section class="child">
          <a href="#">
            <h2><span>採用情報</span></h2>
            <div class="captionBox">
              <div class="image"><img src="img/img_index_recruit.jpg" alt="採用情報"></div>
              <p>私たちの理念に共感でき、ともに未来を創っていける仲間を募集しております。</p>
            </div>
           </a>
        </section>
      </div>
      <section class="seminar toggle close">
        <h2><span>セミナー</span></h2>
        <dl class="informationLink">
<dt>2013年4月1日</dt>
<dd><a href="#">テキストテキストテキストテキストテキスト</a></dd>
<dt>2013年4月1日</dt>
<dd><a href="#">テキストテキストテキストテキストテキスト</a></dd>
<dt>2013年4月1日</dt>
<dd><a href="#">テキストテキストテキストテキストテキストテキストテキストテキストテキストテキスト</a></dd>
<dt>2013年4月1日</dt>
<dd><a href="#">テキストテキストテキストテキストテキスト</a></dd>
<dt>2013年4月1日</dt>
<dd><a href="#">テキストテキストテキストテキストテキスト</a></dd>
</dl>
</section>
</div>
    <section class="information toggle">
      <h2><span>お知らせ</span></h2>
      <dl class="informationLink">
        <dt>2013年3月18日</dt>
        <dd><a href="#">採用情報を更新しました</a></dd>
        <dt>2013年3月11日</dt>
        <dd><a href="#">実績紹介を更新しました</a></dd>
        <dt>2013年3月1日</dt>
        <dd><a href="#">サービスが紹介されました</a></dd>
        <dt>2013年2月25日</dt>
        <dd><a href="#">社内ブログを開設しました</a></dd>
      </dl>
    </section>
  </div>
  <footer id="globalFooter">
    <nav>
      <ul>
        <li><a href="#"><div>サイトマップ</div></a></li>
        <li><a href="#"><div>プライバシーポリシー</div></a></li>
        <li><a href="#"><div>サイトのご利用について</div></a></li>
        <li><a href="#"><div>免責事項</div></a></li>
      </ul>
    </nav>
    <p id="copyright">&copy;2013 Net Smart Co., Ltd. All rights Reserved.</p>
  </footer>
</body>
</html>

style.css

@charset "utf-8";

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
  display:block;
}

ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
mark {
  background-color:#ff9;
  color:#000; 
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;   
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}


/*  レイアウト
---------------------------------------------------------- */

body {
  color: #333;
  font: 14px/1.3 sans-serif; /*font指定のショートハンド*/
  -webkit-text-size-adjust: 100%;
}
a {
  color: #333;
  text-decoration: none;
}

/*  Header
---------------------------------------------------------- */

#globalHeader {
  background: #efefef;
  background-image: -webkit-linear-gradient(top, #efefef, #ffffff); /*chrome safari用*/
  background-image: linear-gradient(to bottom, #efefef, #ffffff); /*W3C*/
  border-bottom: 1px solid #ccc;
  padding: 10px 5px;
}
#globalHeader h1 {
  float: left;
  line-height: 0;
  padding: 5px 0 0 5px;
}
#globalHeader h1 img {
  vertical-align: top;
}

/*  Body
---------------------------------------------------------- */
#slide img {
  height: auto;
  vertical-align: top;
  width: 100%;
}
/* Alert */
div.alert {
  background: #ddd;
  padding: 10px;
}
div.alert ul {
  background: #fff;
  border: 1px solid #ababab;
  border-radius: 5px;
}
div.alert ul li {
  list-style: none;
}
div.alert ul li a {
  background: url(../img/icon_alert.png) no-repeat 10px 10px;
  display: block;
  padding: 12px 20px 12px 40px;
}
/* Pick Up */
#pickup {
  background: url(../img/bg_pickup.jpg) no-repeat 0 0;
  background-size: 100% auto;
  color: #fff;
  padding: 5px;
}
#pickup h2 {
  color: #fff;
  font-size: 14px;
  padding: 10px 5px;
}
#pickup ul.tab {
  display: table;
  width: 100%;
}
#pickup ul.tab li {
  display: table-cell;
  width: 33%;
}
#pickup ul.tab li a {
  background: #aaa;
  background-image: -webkit-linear-gradient(top, #eeedf2, #717171 4%, #2b2b2b 74%);
  background-image: linear-gradient(to bottom, #eeedf2, #717171 4%, #2b2b2b 74%);
  border: 1px solid #444444;
  border-bottom: none;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: block;
  font-weight: bold;
  margin: 0 2px;
  padding: 10px 0;
  text-align: center;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 1), 1px 1px 1px rgba(0, 0, 0, 1);
}

#pickup ul.tab li.current a {
  background: #fff;
  background-image: -webkit-linear-gradient(top, #e9e9e9 0%, #ffffff 29%);
  background-image: linear-gradient(to bottom, #e9e9e9 0%, #ffffff 29%);
  color: #000;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.2), 1px 1px 1px rgba(0, 0, 0, 0.2);
}
#pickup div.tabContents {
  display: none;
  padding: 0 3px;
}
#pickup div.tabContents.current {
  display: block;
}

#pickup div.round {
  background-image: -webkit-linear-gradient(top, #fff 14%, #dfdddd 100%);
  background-image: linear-gradient(to bottom, #fff 14%, #dfdddd 100%);
  border: 1px solid #fff;
  border-radius: 5px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 10px;
  text-align: center;
}

#pickup div.round a {
  background: url(../img/icon_arrow_black_large.png) no-repeat 100% 50%;
  display: block;
}
#pickup div.tabContents p.text {
  margin: 10px;
}
div.indexBoxes {
  margin: 0 0 20px 0;
}
div.indexBoxes ul {
  border-bottom: 1px solid #ccc;
}

div.indexBoxes ul li,
section.seminar h2,
section.information h2 {
  background-image: -webkit-linear-gradient(top, #ffffff, #efefef);
  background-image: linear-gradient(to bottom, #ffffff, #efefef);
  border-top: 1px solid #ccc;
}

div.indexBoxes ul li a,
section.seminar h2 span,
section.information h2 span {
  background: url(../img/icon_arrow_black.png) no-repeat 100% 50%;
  display: block;
  font-size: 16px;
  font-weight: bold;
  line-hegiht: 1;
  padding: 12px 10px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

section.seminar h2 span,
section.information h2 span {
  background-image: none;
}

ul.informationLink li {
  border-top: 1px solid #ccc;
  list-style: none;
}

ul.informationLink li a {
  background: url(../img/icon_arrow_gray.png) no-repeat 100% 50%;
  display: block;
  margin: 0;
  padding: 12px 30px 12px 9em;
}
ul.informationLink li a span.date {
  color: #777;
  display: block;
  float: left;
  margin-left: -9em;
  padding-left: 10px;
  width: 8em;
}
section.information {
  border-bottom: 1px solid #ccc;
  margin: 0 0 20px 0;
}


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

#globalFooter nav ul {
  background: #eaeaea;
}

#globalFooter nav ul li {
  border: 1px solid #ccc;
  border-bottom: none;
  box-sizing: border-box;
  float: left;
  text-align: center;
  width: 50%;
}
#globalFooter nav ul li a {
  display: block;
  padding: 10px 0;
}

#globalFooter nav ul li:nth-child(odd) {
  border-left: none;
  clear: left;
}

#globalFooter nav ul li:nth-child(even) {
  border-right: none;
  margin-left: -1px;
}

#globalFooter p#copyright {
  background: #2f2f2f;
  color: #fff;
  font-family: helvetica, arial;
  padding: 15px 0;
  text-align: center;
}

/* clearfix */
#globalHeader:after,
#globalFooter nav ul:after {
  content: ""; 
  display: block; 
  clear: both;
}


/*  devicePixelRatio: 2.0
---------------------------------------------------------- */

@media only screen and (-webkit-min-device-pixel-ratio:2){

  div.alert ul li a {
    background-image:url(../img/icon_alert_2x.png);
    background-size: 21px 21px;
  }

  #pickup div.round a {
    background-image: url(../img/icon_arrow_black_large_2x.png);
    background-size: 11px 17px;
  }

  div.indexBoxes ul li a {
    background-image: url(../img/icon_arrow_black_2x.png);
    background-size: 18px 13px;
  }

  ul.informationLink li a {
    background-image: url(../img/icon_arrow_gray_2x.png);
    background-size: 18px 13px;
  }

}


/*  ドロップダウンメニュー
---------------------------------------------------------- */

body.removeHighlight {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /*アンドロイド用の不具合調整*/
}
#globalHeader {
  padding-bottom: 0;
}
#globalHeader nav,
#globalHeader div.search {
  float: right;
  margin: 0 0 0 5px;
}

#globalHeader nav ul,
#globalHeader div.search div.form {
  display: none;
}
#globalHeader nav p#menuToggle,
#globalHeader div.search p#searchToggle,
#globalHeader div.search div.form button {
  background: #2b2b2b;
  background: -webkit-linear-gradient(top, #eeedf2 1%, #717171 4%, #2b2b2b 84%);
  background: linear-gradient(to bottom, #eeedf2 1%, #717171 4%, #2b2b2b 84%);
  border: 1px solid #444;
  border-radius: 5px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
  color: #fff;
  font-weight: bold;
  padding: 7px;
  text-shadow: -1px -1px 1px rgba(0, 0, 0, 1), 1px 1px 1px rgba(0, 0, 0, 1);
}

#globalHeader nav {
  padding-bottom: 10px;
}

#globalHeader nav p#menuToggle {
  line-height: 23px;
  padding: 5px 10px;
  width: 100px;
}

#globalHeader nav p#menuToggle span {
  background-image: url(../img/icon_arrow_down_white.png) , url(../img/bg_line.png);
  background-position: 100% 50%, 75px 50%;
  background-repeat: no-repeat, repeat-y;
  background-size: auto auto, 2px auto;
  display: block;
  padding-left: 9px;
}

#globalHeader nav.open {
  display: block;
  background: url(../img/bg_dropdown.png) no-repeat 90% 100%;
  background-size: 12px;
}

#globalHeader nav.open ul {
  background: #333;
  border-bottom: 1px solid #000;
  -webkit-box-shadow: 0 3px 5px 0px rgba(0, 0, 0, 0.4);
  box-shadow:0 3px 5px 0px rgba(0, 0, 0, 0.4);
  display: block;
  left: 0;
  position: absolute;
  top: 55px;
  width: 100%;
  z-index: 99;
}

#globalHeader nav.open ul li {
  border-top: 1px solid #000;
}

#globalHeader nav.open ul li a {
  border-top: 1px solid #666;
  color: #fff;
  display: block;
  padding: 10px;
}

#globalHeader nav.open ul li:first-child,
#globalHeader nav.open ul li:first-child a {
  border-top: none;
}

#globalHeader div.search {
  padding-bottom: 10px;
}

#globalHeader div.search.open {
  background: url(../img/bg_dropdown.png) no-repeat 50% 100%;
  background-size: 12px;
}

#globalHeader div.search.open div.form {
  display: block;
}

#globalHeader div.search p#searchToggle {
  font-size: 1px;
  line-height: 0;
}
#globalHeader div.search p#searchToggle img {
  vertical-align: top;
}
#globalHeader div.search div.form {
  background: #333;
  box-sizing: border-box;
  box-shadow:0 3px 3px 0px rgba(0, 0, 0, 0.3);
  left: 0;
  padding: 10px;
  position: absolute;
  top: 55px;
  width: 100%;
  z-index: 99;
}
#globalHeader div.search form {
  display: table;
  width: 100%;
}
#globalHeader div.search form span {
  display: table-cell;
}
#globalHeader div.search form span:last-child {
  padding-left: 10px;
  width: 60px;
}
#globalHeader div.search form input[type="search"] {
 -webkit-appearance: textfield; /*iPhone用*/
  border: 1px solid #ccc;
  box-sizing: border-box;
  display: inline-block;
  font-size: 14px;
  padding: 7px 5px;
  width: 100%;
}
#globalHeader div.search form button {
  box-shadow: none;
  font-size: 14px;
  padding-left: 0;
  padding-right: 0;
  width: 60px;
}

/*アコーディオン*/
.toggle h2 span {
  background-image: url(../img/icon_minus_white.png) !important;
}
.toggle.close h2 span {
  background-image: url(../img/icon_plus_white.png) !important;
}
.toggle.close ul {
  display: none;
}

@media screen and (-webkit-min-device-pixel-ratio:2){

  #globalHeader nav p.menu span {
    background-image: url(../img/icon_arrow_down_white_2x.png), url(../img/bg_line.png);
    background-size: 10px 6px, 1px auto;
  }

}

responsive_style.css

@charset "utf-8";

#globalHeader h1 a {
  background: url(../img/logo_lt_768.png) left top no-repeat;
  background-size: 100%;
  display: block;
  height: 28px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  width: 118px;
}

div.alert span, 
#pickup h3,
div.indexBoxes div.captionBox {
  display: none;
}

#globalHeader nav.menu #menuToggle,
#globalHeader div.search p#searchToggle,
#globalHeader div.search div.form button {
  background: -moz-linear-gradient(top, #eeedf2 1%, #717171 4%, #2b2b2b 84%);
}
#pickup ul.tab li a {
  background-image: -moz-linear-gradient(top, #eeedf2, #717171 4%, #2b2b2b 74%);
}

#pickup ul.tab li.current a {
  background-image: -moz-linear-gradient(top, #e9e9e9 0%, #ffffff 29%);
}

#pickup {
  background-image: url(../img/bg_pickup_lt_768.jpg);
}

#pickup div.round {
  background-image: -moz-linear-gradient(top, #ffffff 14%, #dfdddd 100%);
}

div.indexBoxes {
  margin: 0 0 20px 0;
}

div.indexBoxes section.child {
  border-top: 1px solid #ccc;
}

div.indexBoxes section.child:last-child {
  border-bottom: 1px solid #ccc;
}

div.indexBoxes section.child a h2 {
  background-image: -moz-linear-gradient(top, #ffffff, #efefef);
  background-image: -webkit-linear-gradient(top, #ffffff, #efefef);
  background-image: linear-gradient(top, #ffffff, #efefef);
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

div.indexBoxes section.child a h2 span {
  background: url(../img/icon_arrow_black.png) no-repeat 100% 50%;
  display: block;
  padding: 12px 10px;
}

section.seminar h2,
section.information h2 {
  background-image: -moz-linear-gradient(top, #ffffff, #efefef);
}

dl.informationLink dt {
  clear: left;
  color: #777;
  float: left;
  margin-top: 12px;
  padding-left: 10px;
  position: relative;
  width: 8em;
  z-index: 1;
}

dl.informationLink dd {
  background: url(../img/icon_arrow_gray.png) no-repeat 100% 50%;
  border-top: 1px solid #ccc;
  position: relative;
  z-index:10;
}

dl.informationLink dd a {
  display: block;
  margin: 0;
  padding: 12px 30px 12px 10em;
}

section.information {
  border-bottom: 1px solid #ccc;
  margin: 0 0 20px 0;
}

.toggle h2 {
  cursor: pointer;
}

.toggle.close dl {
  display: none;
}

@media screen and (min-width:768px){
/* 追加した記述▽▽▽*/
  a:link,
  a:visited {
    text-decoration: none;
  }

  a:active,
  a:hover {
    text-decoration: underline;
  }
/* 追加した記述△△△*/


  #globalHeader {
    border: none;
    padding: 0;
  }

  #globalHeader .headerInner {
    margin: 0 auto;
    position: relative;
    width: 768px;
  }

  #globalHeader h1 {
    float: none;
    padding: 28px 0 0 2px;
  }

  #globalHeader h1 a {
    background: url(../img/logo_gte_768.png) left top no-repeat;
    height: 43px;
    width: 402px;
  }

  #globalHeader nav.menu,
  #globalHeader nav.menu.open {
    background: url(../img/bg_nav_header.png) left top repeat-x;
    background-size: contain;
    float: none;
    margin: 0;
    padding: 0;
  }

  #globalHeader nav.menu #menuToggle {
    display: none;
  }

  #globalHeader nav.menu ul,
  #globalHeader nav.menu.open ul {
    background: none;
    border: none !important;
    box-shadow: none;
    display: block;
    margin: 30px auto 0;
    width: 768px;
    padding: 0 0 4px;
    position: static;
  }

  #globalHeader nav.menu ul li,
  #globalHeader nav.menu.open ul li {
    background: left top no-repeat;
    background-size: 100%;
    border: none;
    float: left;
    width: 25%;
  }

  #globalHeader nav.menu ul li.service,
  #globalHeader nav.menu.open ul li.service {
    background-image: url(../img/nav_header_service.png);
  }

  #globalHeader nav.menu ul li.proven,
  #globalHeader nav.menu.open ul li.proven {
    background-image: url(../img/nav_header_proven.png);
  }

  #globalHeader nav.menu ul li.corporate,
  #globalHeader nav.menu.open ul li.corporate {
    background-image: url(../img/nav_header_corporate.png);
  }

  #globalHeader nav.menu ul li.recruit,
  #globalHeader nav.menu.open ul li.recruit {
    background-image: url(../img/nav_header_recruit.png);
  }

  #globalHeader nav.menu ul li a,
  #globalHeader nav.menu.open ul li a {
    border: none;
    display: block;
    height: 44px;
    overflow: hidden;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    width: 100%;
  }

  #globalHeader nav.menu ul li a:hover,
  #globalHeader nav.menu.open ul li a:hover {
    background: #fff;
    opacity: 0.2;
  }
 
  #globalHeader .search {
    position: absolute;
    right: 0;
    top: 35px;
  }

  #globalHeader .search #searchToggle {
    display: none;
  }
 
  #globalHeader div.search div.form {
    background: none;
    box-shadow: none;
    display: block;
    padding: 0;
    position: static;
  }

  #globalHeader div.search form {
    display: block;
    width: 350px;
  }

  #globalHeader div.search form span {
    display: inline;
    float: left;
    padding: 0 !important;
    width: auto !important;
  }

  #globalHeader div.search form span:last-child:hover {
    background: #fff;
    opacity: 0.7;
  }

  #globalHeader div.search form input[type="search"] {
    border-radius: 5px 0 0 5px;
    margin: 0;
    padding: 8px 0 7px;
    width: 258px;
  }

  #globalHeader div.search div.form button {
    background: url(../img/btn_search.png) left top no-repeat;
    border: none;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    height: 33px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    text-indent: 100%;
    text-shadow: none;
    white-space: nowrap;
    width: 92px ;
  }

  #globalHeader div.menu.open,
  #globalHeader div.search.open {
    background: none;
  }

/* 削除する記述▽▽▽
 #globalHeader nav ul:after,
  #globalHeader div.search form:after {
    content: "";
    display: block;
    clear: both;
  }
   削除する記述△△△*/


  #body {
    margin: 15px auto 0;
    width: 768px;
  }
  
/* 追加した記述▽▽▽*/
  div.alert {
    margin-top: 18px;
  }

  div.alert ul li a {
    padding-left: 11.2em;
  }

  div.alert ul li a span {
    color: #777;
    display: block;
    float: left;
    margin-left: -9em;
    padding-left: 10px;
    width: 8em;
  }

  #pickup ul.tab {
    display: none;
  }

  #pickup h3, 
  #pickup div.tabContents,
  div.indexBoxes div.captionBox {
    display: block;
  }

  #pickup {
    background: url(../img/bg_pickup_gte_768.jpg) left top no-repeat;
    background-size: 100%;
    margin-top: 18px;
    padding: 0 18px 0;
  }

  #pickup h2 {
    font-size: 18px;
    padding: 10px 0;
  }

  #pickup div.tabContents {
    box-sizing: border-box;
    float: left;
    padding: 0 18px 0 0;
    width: 33.3%;
  }

  #pickup div.tabContents:last-child {
    padding: 0;
  }

  #pickup div.round {
    border-radius: 5px !important;
  }

  #pickup div.round a:hover {
    text-decoration: none;
  }

  #pickup div.round div {
    display: table;
    height: 105px;
    width: 100%;
  }

  #pickup div.round div p {
    display: table-cell;
    vertical-align: middle;
  }

  #pickup div.round div p img {
    width: 50%;
  }

  #pickup div.tabContents p.text {
    margin: 10px 10px;
  }

  div.columnWrapper {
    margin-top: 18px;
  }

  div.indexBoxes {
    float: left;
    margin: 0;
    width: 68.2%;
  }

  div.indexBoxes section.child {
    border: none !important;
    box-sizing: border-box;
    float: left;
    margin-bottom: 12px;
    padding-right: 18px;
    width: 50%;
  }

  div.indexBoxes section.child a:hover {
    text-decoration: none;
  }

  div.indexBoxes section.child a h2 {
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  div.indexBoxes section.child a:hover h2 {
    text-decoration: underline;
  }

  div.indexBoxes section.child a div.captionBox {
    margin-top: 12px;
  }

  div.indexBoxes section.child a div.captionBox div.image {
    border: 1px solid #ccc;
    clear: left;
    float: left;
    margin-right: 12px;
    padding: 3px;
  }

  div.indexBoxes section.child a div.captionBox div.image img {
    vertical-align: top;
  }

  section.seminar {
    float: right;
    width: 31.8%;
  }
 
  section.information {
    border: none;
    margin-top: 18px;
  }

  section.seminar h2,
  section.information h2 {
    border: 1px solid #ccc;
    border-radius: 5px;
  } 

  .toggle.close dl {
    display: block !important;
  }

  dl.informationLink dt {
    padding: 0 10px;
    width: auto;
  }

  dl.informationLink dd {
    background: none;
    border-top: none;
    border-bottom: 1px solid #ccc;
  }

  dl.informationLink dd a {
    padding: 12px 10px;
  }
 
  section.information dl.informationLink dt {
    width: 8em;
  }

  section.information dl.informationLink dd a {
    padding-left: 10em;
  }

  .toggle h2 {
    cursor: default;
  }

  .toggle h2 span,
  .toggle.close h2 span {
    background: none !important;
  }

  #slide {
    background: #fff;
    border: 1px solid #d6d6d6;
    padding: 5px;
  }

  #globalFooter nav {
    background: #eaeaea;
  }

  #globalFooter nav ul {
    margin: 0 auto;
    padding: 16px 6px;
    width: 756px;
  }

  #globalFooter nav ul li {
    border: none;
    margin-right: 30px;
    width: auto;
  }

  #globalFooter nav ul li:nth-child(odd) {
    clear: none;
  }

  #globalFooter nav ul li a {
    background: url(../img/icon_arrow_gray_gte_768.png) left center no-repeat;
    border: none;
    padding-left: 12px;
    width: auto;
  }

  #globalHeader nav ul:after,
  #globalHeader div.search form:after,
  #pickup:after,
  .columnWrapper:after,
  div.indexBoxes section.child:after,
  div.indexBoxes section.child a div.captionBox:after {  
    content: "";
    display: block;
    clear: both;
  }
  
  /* 追加した記述△△△*/
}

@media screen and (min-width:960px){
  #globalHeader .headerInner {
    width: 960px;
  }

  #globalHeader nav.menu ul,
  #globalHeader nav.menu.open ul {
    width: 960px;
  }

  #globalHeader nav.menu ul li a,
  #globalHeader nav.menu.open ul li a {
    height: 55px;
  }

  #body {
    width: 960px;
  }

  #pickup h2 {
    padding: 15px 0;
  }

  #pickup div.round h3 {
    font-size: 20px;
  }

  #pickup div.round div {
    height: 152px;
  }

  #pickup div.round div p img {
    width: auto;
  }

  #pickup div.tabContents p.text {
    margin: 21px 10px;
  }

  #globalFooter nav ul {
    width: 948px;
  }
}

script.js

$(function(){
  // 検索、メニュー
  $('#searchToggle, #menuToggle').click(function(){
    $(this).parent().toggleClass('open').siblings('.open').removeClass('open');
    $('body').addClass('removeHighlight'); //アンドロイド用の不具合調整
  });
  $('body').click(function(e){
    if( !$(e.target).parents().hasClass('open') ){
      $('.search, .menu').removeClass('open');
      $('body').removeClass('removeHighlight'); //アンドロイド用の不具合調整
    }
  });

  // タブ
  $('#pickup').find('.tab a').click(function(){
    $(this).parent().addClass('current').siblings('.current').removeClass('current');
    var tabTarget = $(this).attr('href');
    $( tabTarget ).addClass('current').siblings('.current').removeClass('current');
    return false;
  });

  // アコーディオン
$('.toggle').find('h2').click(function(){
 $(this).siblings('dl').slideToggle(100, function(){
   $(this).parent().toggleClass('close');
   });
  });
});