@charset "utf-8";

/******* リセット記載 ******/
* {
  padding: 0;
  margin: 0;
}

body {
  font-family: sans-serif;
  line-height: 1;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}


img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/******* リセット記載終了 ******/


.container{
  width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

header,footer,h2{
  background: #365699;
  color: #fff;
}

header .container{
  padding: 20px 0;
  align-items: center;
}

h1{
  font-size: 22px;
  background: url(../img/logo-1.png) no-repeat left center;
  padding-left: 55px;
  line-height: 50px;
}

header p{
  line-height: 1.5;
}

.key{
  font-family: 'Anton', sans-serif;
  background: url(../img/mall_bg-1.jpg) no-repeat center top/cover;
  padding: 70px 0;
  color: #fff;
  text-align: center;
  font-size: 35px;
  line-height: 1.5;
  letter-spacing:2px;
}

nav .container{
justify-content: flex-start;
gap: 20px;
padding: 20px 0; 
}

nav a{
  padding-bottom: 2px;
}

nav .current,.current:hover{
  border-bottom: 5px solid #f60;
}

nav a:hover{
  border-bottom:5px solid #365699;
}

h2{
  padding: 10px 40px;
  width: 7em;
  margin: 0 auto 50px;
  text-align: center;
}


.mall h3{
  border-left: 10px solid #f00;
  padding-left:5px;
  font-size: 18px;
}

/* ＝＝＝＝サービス＝＝＝＝ */

.service{
  background: #ddd;
  padding: 80px 0;
}

.service h2{
  width: 7em;
  padding: 10px;
  margin: 0 auto;
  background: #fff;
  color: #365699;
  margin-bottom: 50px;
}


.service a{
  width: 80%;
  margin: 0 auto;
}


.service a h3{
  text-align: center;
  margin: 0 auto 20px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgb(54, 86, 153);
  color: #fff;
  font-size: 1.3em;
}

.service a:hover h3{
  background: rgb(54, 86, 153,0.4);
}

.service p{
  line-height: 1.5;
}

.service i{
  color: #fff;
  display:block;
  font-size: 2.5em;
  padding: 1em 0 20px;
}

/* ＝＝＝＝サービス＝＝＝＝ */


/* ＝＝＝＝インフォメーション＝＝＝＝ */

.info dt{
  padding-left: 5px;
  border-left: 1em solid #f60;
  float: left;
}

.info dd{
  margin: 0 0 20px 130px;
}

.info img{
  box-sizing: border-box;
  width: 300px;
  padding: 10px;
  border:1px solid #ccc ;
}

/* ＝＝＝＝インフォメーション＝＝＝＝ */



/* 後からコンテンツ追加していくのでここでマージンとってる */
.mall,.service,.info{
  margin: 80px;
}

.mall section,.service .section{
  width: calc(100%/3);
  padding: 10px;
}

.mall img+p{
  line-height: 1.8;
  height: 8em;
}

section img{
  height: 200px;
  padding: 10px 0;
  object-fit: cover;
}

.mall section:hover{
  background:#fea;
}

.more{
  background: #fa7;
  color: #fff;
  padding: 10px 25px;
  width: 5em;
  float: right;
  border-radius: 5px;
}

.mall a{
  overflow: hidden;
}

/* ホバーしたときボタンもフォーカス状態になる */
.mall a:hover .more{
  background: #f00;
  color: #fff;
}


footer{
  text-align: center;
  padding: 30px 0;
}