pet salon ambre-2作目-

実走 https://b406.deau-ac.com/ambre2/

HTML・CSSを自身で記述。作成。

画像引用一覧

Canine Salon Tiara

トリミング室・物販引用

URL https://www.tiara-wan.jp/concept

COO&RIKU

ホテル引用

URL https://yoyaku.pet-coo.com/hotel/index.php?action=store_view&id=3321025

参考HTML/CSS

  • pet salon ambre
  • HOME
  • ABOUT
  • PRICE LIST
  • COUPON
  • ACCESS
  • CONTACT
  • HOME
  • ABOUT
  • <article>
  • <h1>pet salon ambreについて</h1>
  • <p class=”lead”>pet salon ambreはワンちゃんも飼い主様も安心して利用できるペットショップです。こだわりのシャンプーとカット技術、居心地の良い環境を心がけています。</p>
  • <section id=”inside” class=”clearfix”>
  • <h2>店内紹介</h2>
  • <div class=”box”>
  • <p class=”photo”><img src=”images/trimming-photo.png” alt=”清潔感のあるtrimming room”></p>
  • <h3>trimming room</h3>
  • <p>機能的で清潔感のあるトリミングスペースを心がけております。</p>
  • </div>
  • <div class=”box”>
  • <p class=”photo”><img src=”images/goods-photo.png” alt=”おしゃれで可愛いgoods”></p>
  • <h3>goods</h3>
  • <p>店内にはオーナーこだわりの雑貨を販売しております。フードの取り寄せも可能ですので、ご希望の方は<a href=”contact.html”>お問い合わせフォーム</a>よりお問い合わせください。</p>
  • </div>
  • <div class=”box”>
  • <p class=”photo”><img src=”images/hotel-photo.png” alt=”清潔で広々としたhotel”></p>
  • <h3>hotel</h3>
  • <p>ワンちゃんに合わせたホテルをご用意しております。雨の日は前のホールで遊ぶこともできます。</p>
  • </div>
  • </section>
  • <section id=”shop_info”>
  • <h2>店舗情報</h2>
  • <table>
  • <tr>
  • <th>店名</th>
  • <td>pet salon ambre</td>
  • </tr>
  • <tr>
  • <th>住所</th>
  • <td>〒000-0000 埼玉県さいたま市大宮区○○町000-0</td>
  • </tr>
  • <tr>
  • <th>電話番号</th>
  • <td>000-000-0000</td>
  • </tr>
  • <tr>
  • <th>営業時間</th>
  • <td>9:30~18:00</td>
  • </tr>
  • <tr>
  • <th>定休日</th>
  • <td>水曜・祝日</td>
  • </tr>
  • <tr>
  • <th>駐車場</th>
  • <td>2台可能です。譲り合ってご利用ください。</td>
  • </tr>
  • </table>
  • </section>
  • </article>
  • <p class=”page_top”><a href=”#top”>ページトップ</a></p>
  • </main>
  • <!–/メイン –>
  • <!– フッター –>
  • <footer>
  • <ul>
  • <li><a href=”index.html”>HOME</a></li>
  • <li><a href=”about.html”>ABOUT</a></li>
  • <li><a href=”price-list.html”>PRICE LIST</a></li>
  • <li><a href=”coupon.html”>COUPON</a></li>
  • <li><a href=”access.html”>ACCESS</a></li>
  • <li><a href=”contact.html”>CONTACT</a></li>
  • </ul>
  • <small>copyright &copy; 2024 pet saron ambre, all rights reserved.</small>
  • </footer>
  • <!– フッター –>
  • </body>
  • /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
  • /* Document
  • ========================================================================== */
  • /**
  • 1. Correct the line height in all browsers.
  • 2. Prevent adjustments of font size after orientation changes in iOS.
    */
  • html {
  • line-height: 1.15; /* 1 / -webkit-text-size-adjust: 100%; / 2 */
  • }
  • /* Sections
  • ========================================================================== */
  • /**
  • Remove the margin in all browsers.
    */
  • body {
  • margin: 0;
  • }
  • /**
  • Render the main element consistently in IE.
    */
  • main {
  • display: block;
  • }
  • /**
  • Correct the font size and margin on h1 elements within section and
  • article contexts in Chrome, Firefox, and Safari.
    */
  • h1 {
  • font-size: 2em;
  • margin: 0.67em 0;
  • }
  • /* Grouping content
  • ========================================================================== */
  • /**
  • 1. Add the correct box sizing in Firefox.
  • 2. Show the overflow in Edge and IE.
    */
  • hr {
  • box-sizing: content-box; /* 1 / height: 0; / 1 / overflow: visible; / 2 */
  • }
  • /**
  • 1. Correct the inheritance and scaling of font size in all browsers.
  • 2. Correct the odd em font sizing in all browsers.
    */
  • pre {
  • font-family: monospace, monospace; /* 1 / font-size: 1em; / 2 */
  • }
  • /* Text-level semantics
  • ========================================================================== */
  • /**
  • Remove the gray background on active links in IE 10.
    */
  • a {
  • background-color: transparent;
  • }
  • /**
  • 1. Remove the bottom border in Chrome 57-
  • 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
    */
  • abbr[title] {
  • border-bottom: none; /* 1 / text-decoration: underline; / 2 / text-decoration: underline dotted; / 2 */
  • }
  • /**
  • Add the correct font weight in Chrome, Edge, and Safari.
    */
  • b,
  • strong {
  • font-weight: bolder;
  • }
  • /**
  • 1. Correct the inheritance and scaling of font size in all browsers.
  • 2. Correct the odd em font sizing in all browsers.
    */
  • code,
  • kbd,
  • samp {
  • font-family: monospace, monospace; /* 1 / font-size: 1em; / 2 */
  • }
  • /**
  • Add the correct font size in all browsers.
    */
  • small {
  • font-size: 80%;
  • }
  • /**
  • Prevent sub and sup elements from affecting the line height in
  • all browsers.
    */
  • sub,
  • sup {
  • font-size: 75%;
  • line-height: 0;
  • position: relative;
  • vertical-align: baseline;
  • }
  • sub {
  • bottom: -0.25em;
  • }
  • sup {
  • top: -0.5em;
  • }
  • /* Embedded content
  • ========================================================================== */
  • /**
  • Remove the border on images inside links in IE 10.
    */
  • img {
  • border-style: none;
  • }
  • /* Forms
  • ========================================================================== */
  • /**
  • 1. Change the font styles in all browsers.
  • 2. Remove the margin in Firefox and Safari.
    */
  • button,
  • input,
  • optgroup,
  • select,
  • textarea {
  • font-family: inherit; /* 1 / font-size: 100%; / 1 / line-height: 1.15; / 1 / margin: 0; / 2 */
  • }
  • /**
  • Show the overflow in IE.
  • 1. Show the overflow in Edge.
    */
  • button,
  • input { /* 1 */
  • overflow: visible;
  • }
  • /**
  • Remove the inheritance of text transform in Edge, Firefox, and IE.
  • 1. Remove the inheritance of text transform in Firefox.
    */
  • button,
  • select { /* 1 */
  • text-transform: none;
  • }
  • /**
  • Correct the inability to style clickable types in iOS and Safari.
    */
  • button,
  • type=”button”,
  • type=”reset”,
  • [type=”submit”] {
  • -webkit-appearance: button;
  • }
  • /**
  • Remove the inner border and padding in Firefox.
    */
  • button::-moz-focus-inner,
  • [type=”submit”]::-moz-focus-inner {
  • border-style: none;
  • padding: 0;
  • }
  • /**
  • Restore the focus styles unset by the previous rule.
    */
  • button:-moz-focusring,
  • [type=”submit”]:-moz-focusring {
  • outline: 1px dotted ButtonText;
  • }
  • /**
  • Correct the padding in Firefox.
    */
  • fieldset {
  • padding: 0.35em 0.75em 0.625em;
  • }
  • /**
  • 1. Correct the text wrapping in Edge and IE.
  • 2. Correct the color inheritance from fieldset elements in IE.
  • 3. Remove the padding so developers are not caught out when they zero out
  • fieldset elements in all browsers.
    */
  • legend {
  • box-sizing: border-box; /* 1 / color: inherit; / 2 / display: table; / 1 / max-width: 100%; / 1 / padding: 0; / 3 / white-space: normal; / 1 */
  • }
  • /**
  • Add the correct vertical alignment in Chrome, Firefox, and Opera.
    */
  • progress {
  • vertical-align: baseline;
  • }
  • /**
  • Remove the default vertical scrollbar in IE 10+.
    */
  • textarea {
  • overflow: auto;
  • }
  • /**
  • 1. Add the correct box sizing in IE 10.
  • 2. Remove the padding in IE 10.
    */
  • [type=”checkbox”],
  • [type=”radio”] {
  • box-sizing: border-box; /* 1 / padding: 0; / 2 */
  • }
  • /**
  • Correct the cursor style of increment and decrement buttons in Chrome.
    */
  • type=”number”::-webkit-outer-spin-button {
  • height: auto;
  • }
  • /**
  • 1. Correct the odd appearance in Chrome and Safari.
  • 2. Correct the outline style in Safari.
    */
  • [type=”search”] {
  • -webkit-appearance: textfield; /* 1 / outline-offset: -2px; / 2 */
  • }
  • /**
  • Remove the inner padding in Chrome and Safari on macOS.
    */
  • [type=”search”]::-webkit-search-decoration {
  • -webkit-appearance: none;
  • }
  • /**
  • 1. Correct the inability to style clickable types in iOS and Safari.
  • 2. Change font properties to inherit in Safari.
    */
  • ::-webkit-file-upload-button {
  • -webkit-appearance: button; /* 1 / font: inherit; / 2 */
  • }
  • /* Interactive
  • ========================================================================== */
  • /*
  • Add the correct display in Edge, IE 10+, and Firefox.
    */
  • details {
  • display: block;
  • }
  • /*
  • Add the correct display in all browsers.
    */
  • summary {
  • display: list-item;
  • }
  • /* Misc
  • ========================================================================== */
  • /**
  • Add the correct display in IE 10+.
    */
  • template {
  • display: none;
  • }
  • /**
  • Add the correct display in IE 10.
    */
  • [hidden] {
  • display: none;
  • }
  • @charset “UFT-8”;
  • body {
  • font-family: “BIZ UD明朝”, “BIZ UDゴシック”;
  • }
  • header {
  • border-top: 18px ridge rgba(81, 159, 173, 1);
  • }
  • header h1 {
  • text-align: center;/内容を中央ぞろえ/
  • }
  • header nav ul {/リスト/
  • width: 940px;/幅指定/
  • padding-left: 0;/デフォルトスタイルリセット/
  • margin: 0 auto 30px auto;/マージン上0px 右auto 下30px 左auto/
  • list-style-type: none;/リストマーカーを消す/
  • }
  • header nav ul li {/リスト/
  • width: 155px;
  • margin-right: 2px;/リスト項目と右隣のリスト項目の間を2px空ける/
  • float: left;/左フロート/
  • text-align: center;/内容を中央ぞろえ/
  • }
  • header nav ul li:last-child {/最後のリスト項目/
  • margin-right: 0;/右マージン0/
  • }
  • .clearfix:after {/リストclearfix/
  • content:””;
  • display: block;
  • clear: both;
  • }
  • header nav ul li a {/リスト/
  • text-decoration: none;/下線を消す/
  • background-color: #add3da;/リスト背景色/
  • color: #9f7131;/文字色/
  • padding: 10px 0;/パディング上下10px 左右0px/
  • display: block;/ブロックレベル表示/
  • }
  • a {
  • padding: 10px;
  • display: block;
  • }
  • header nav ul li a:hover,
  • header nav ul li a:active,
  • header nav ul li.current a {
  • background-color: #519fad;
  • }
  • footer {
  • background-color: #519fad;
  • color: #fff;
  • padding: 5spx 0;
  • text-align: center;
  • }
  • footer ul {
  • padding: 0;
  • margin-bottom: 5px;
  • }
  • footer ul li {
  • display: inline-block;/インライン表示にして横並びに配置/
  • margin: 0 10px;
  • }
  • footer ul li a {
  • color: #fff;
  • }
  • footer ul li a:link,
  • footer ul li a:visited {
  • text-decoration: none;/下線を消す/
  • }
  • footer ul li a:hover,
  • footer ul li a:active {
  • text-decoration: underline;/下線を表示する/
  • }
  • main {
  • width: 940px;
  • margin: 0 auto;
  • }
  • /↓パンくずリスト/
  • topic_path {
  • padding-left: 0;
  • }
  • topic_path li {
  • list-style-type: none;
  • display: ruby;
  • font-size: 80%;
  • }
  • topic_path li:after {
  • padding: 0 10px;
  • content: “\003E”;/*←大なり記号*/
  • }
  • topic_path li:last-child:after {/最後のli要素のうしろ/
  • content: none;
  • }
  • main a:link,
  • main a:visited {
  • color: #9f7131;
  • }
  • /メインエリア/
  • main h1 {
  • border-left: 10px solid #9f7131;/左ボーダー10px幅の実線/
  • border-bottom: 2px solid #9f7131;/下ボーダー2px幅の実線/
  • padding: 5px 10px;/上下5px、左右10pxのパディング/
  • margin-bottom: 30px;/下マージン30px/
  • font-size: 1.8em;
  • }
  • main h2 {
  • font-size: 1.5em;
  • text-align: center;
  • position: relative;/基準位置/
  • margin-bottom: 50px;
  • }
  • main h2:before,
  • main h2:after {
  • position: absolute;/絶対位置/
  • content: “”;/空の内容注入/
  • border-top: 1px dotted #9f7131;
  • width: 300px;
  • top: 50%;
  • }
  • main h2:before {
  • left: 0;
  • }
  • main h2:after {
  • right: 0;
  • }
  • banner {
  • padding-top: 30px;
  • }
  • news {
  • padding-top: 18px;
  • }
  • /ページトップへ戻るリンク/
  • .page_top {
  • margin-top: 100px;
  • margin-bottom: 10px;
  • text-align: center;
  • }
  • .page_top a:before {
  • content: “↑”;
  • }
  • .page_top a:link,
  • .page_top a:visited {
  • color: #9f7131;
  • text-decoration: none;
  • }
  • /メインビジュアル/
  • main_visual {
  • margin-bottom: 30px;
  • }
  • main_content {
  • width: 600px;
  • float: left;
  • }
  • banner{
  • width: 300px;
  • float: right;
  • }
  • /トップページ中見出し調整/
  • home h2 {
  • text-align: left;
  • border-left: 10px solid #9f7131;/*左ボーダー10px幅の実線*/
  • border-bottom: 2px solid #9f7131;/*下ボーダー2px幅の実線*/
  • padding: 5px 10px;/*上下5px、左右10pxのパディング*/
  • margin-top: 0;
  • margin-bottom: 30px;/*下マージン30px*/
  • font-size: 1.5em;
  • }
  • home main h2:before,
  • home main h2:after {
  • border-top: none;
  • }
  • /お知らせと店舗情報/
  • dl {
  • width: 500px;
  • border: 0px solid;
  • border-top: 0;
  • }
  • dt {
  • float: left;
  • width: 130px;
  • padding: 10px;
  • border-top: 0px solid;
  • }
  • dd {
  • margin-left: 150px;
  • padding: 10px;
  • border-top: 0px solid;
  • border-left: 0px solid;
  • }
  • banner ul {
  • margin: 0;
  • padding: 0;
  • list-style-type: none;
  • }
  • banner ul li {
  • margin-bottom: 20px;
  • }
  • /about/
  • .box {
  • width: 300px;
  • margin-right: 20px;
  • float: left;
  • }
  • .box:last-child {/最後のボックス/
  • margin-right: 0;
  • }
  • .box h3 {
  • text-align: center;
  • }
  • .box img {
  • width: 300px;
  • height: auto;
  • display: block;
  • border: 5px solid #fff;
  • box-sizing: border-box;/幅の算出にボーダーを含める/
  • box-shadow: 0 0 8px raga(0, 0, 0, 0.22);/影を付ける/
  • }
  • p.photo{
  • margin-bottom: 30px;
  • }
  • inside p {
  • font-size: 0.9em;
  • line-height: 1.8;
  • }
  • table {
  • border-collapse: collapse;
  • margin: 0 auto 30px;
  • border: 1px solid #813737;
  • text-align: center;
  • }
  • table th, table td {
  • padding: 10px 20px;
  • border-right: 1px solid #813737;
  • }
  • table tr:nth-child(odd) {/奇数行/
  • background-color: #E1CFBA;
  • }
  • /contact/
  • contact form {
  • width: 820px;
  • margin: 0 auto;
  • }
  • contact dl dt, #contact dl dd {
  • line-height: 2em;
  • margin-left: 0;
  • }
  • contact dl dt {
  • width: 380px;
  • float: left;
  • text-align: right;
  • padding: 10px;
  • }
  • contact dl dd {
  • width: 400px;
  • float: right;
  • padding: 10px;
  • }
  • contact input[type=”text”],
  • contact input[type=”email”],
  • contact textarea {
  • padding: 5px;
  • width: 300px;
  • }
  • contact textarea {
  • height: 5em;
  • }
  • contact .button {
  • text-align: center;
  • }
  • contact input[type=”submit”] {
  • background-color: #511717;
  • color: #fff;
  • padding: 10px 30px;
  • border: 1px solid #511717;
  • cursor: pointer;/*カーソルをポインターに*/
  • }
  • /access/
  • access h2 {
  • letter-spacing: 2em;
  • }
  • /price list/
  • .p.lead {
  • text-align: center;
  • }
  • price-list table {
  • width: 540px;
  • }
  • p class lead {
  • text-align: center;
  • }
  • /coupon/
  • .coupon {
  • border: 3px dashed #630;
  • padding: 30px;
  • width: 60%;
  • margin: 0 auto 30px auto;
  • background: #fff;
  • font-family: “BIZ UDゴシック”;
  • }
  • .coupon h3 {
  • font-size:200%;
  • text-align: center;
  • margin-top: 0;
  • margin-bottom: 20px
  • }
  • .coupon em {
  • font-style: normal;
  • }
  • .sv {
  • background: #add3da;
  • padding: 5px;
  • margin-bottom: 20px;
  • text-align: center;
  • font-size: 150%;
  • }
  • .sv em {
  • padding-left:10px;
  • font-size: 150%;
  • font-weight: bold;
  • color: #c33;
  • }
  • .code {
  • background: #c33;
  • color: #fff;
  • text-align: center;
  • padding: 4px;
  • margin: 0;
  • }
  • .code {
  • background: #c33;
  • color: #fff;
  • text-align: center;
  • padding: 4px;
  • margin: 0;
  • }
  • .code p {
  • border: 1px dashed #fff;
  • line-height: 1;
  • margin: 0;
  • padding: 20px;
  • }
  • .code span {
  • display: block;
  • font-size: 80%;
  • padding-bottom: 10px;
  • }
  • .code em {
  • font-size: 150%;
  • ;
  • }
  • /ビューポート設定/
  • @media screen and (max-width: 767px) {/スマートフォン用のスタイルを追記/
  • img{
  • max-width: 100%;
  • height: auto;
  • }
  • }
  • @media screen and (max-width: 767px) {
  • img {
  • max-width: 100%;
  • height: auto;
  • }
  • header, main, #main_content, #banner, header nav ul {
  • width: 100%;
  • }
  • header nav ul li {
  • margin-right: 0;
  • width: 50%;/幅50%に指定/
  • border:1px solid #fff;
  • box-sizing: border-box;/ボーダーの幅を50%に含める/
  • }
  • main {
  • padding: 0 15px;/上下0px、左右15px/
  • box-sizing: border-box;/パディングを幅に含める/
  • }
  • #banner {
  • float: none;
  • text-align: center;
  • }
  • footer {
  • padding-top:20px;
  • }
  • footer ul {
  • display: none;/フッターメニュー非表示/
  • }
  • }