#main .gallery .bottom:after, .banners:after {
content: "";
clear: both;
display: block;
}
#main {
width: 1260px;
padding-bottom: 800px;
}
#wrap {
width: 1260px;
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
#main .gallery {
width: 860px;
}
#main .gallery h3 {
font-size: 1.5em;
padding: 0 0 3px 5px;
margin: 30px 0 10px 0;
border-bottom: 2px solid #333;
}
#main .gallery .introduce {
margin: 0 auto 50px;
padding: 10px 20px;
background: #F1F1F1;
}
#main .gallery .introduce p {
margin-bottom: 30px;
}
#main .gallery .introduce figure {
margin: 0 auto 30px;
text-align: center;
width: 100%;
height: auto;
}
#main .gallery .introduce figure img {
width: 100%;
height: auto;
margin: 0 auto 30px;
}
#main .gallery .introduce figure .portrait {
max-width: 400px;
height: auto;
margin: 0 auto 30px;
}
#main .gallery .introduce a {
text-decoration: underline;
}
#main .gallery .introduce .recommend h4 {
margin-bottom: 15px;
}
#main .gallery .introduce .link {
margin-bottom: 15px;
}
#main .gallery .introduce .link::before {
margin-right: 8px;
content: '';
display: inline-block;
background-image: url(https://kaihatsu.uniho.co.jp/img/icon/angle-right-solid-blue.svg);
width: 7.2px;
height: 12px;
background-size: contain;
background-repeat: no-repeat;
vertical-align: middle;
}
#main .gallery .features li, #main .gallery .bottom .detail-2 li {
display: inline-block;
}
#main .gallery .features {
margin-bottom: 5px;
}
#main .gallery .bottom .detail a,
#main .gallery .bottom .detail-2 a,
#main .gallery .features li a {
display: block;
padding: 3px 5px;
color: #1E71A5;
border-radius: 3px;
}
#main .gallery .bottom .detail a::before,
#main .gallery .bottom .detail-2 a::before,
#main .gallery .features li a::before {
content:"#";
}
#main .gallery .bottom .detail, #main .gallery .bottom .detail-2 {
float: left;
width: 49%;
margin-bottom: 20px;
}
#main .gallery .bottom dl {
display: table;
width: 100%;
margin: 0 auto 5px;
}
#main .gallery .bottom dt {
display: table-cell;
text-align: right;
width: 40%;
word-wrap: break-word;
}
#main .gallery .bottom dd {
display: table-cell;
text-align: left;
width: 60%;
word-wrap: break-word;
}
#main .gallery .bottom dt:after {
content: "：";
}
#main .gallery .bottom .detail dt, #main .gallery .bottom .detail dd {
padding: 3px 0;
}
#main .gallery .bottom .banner {
margin: 30px auto; }
#main .gallery .bottom .banner h4 {
font-size: .8em;
font-weight: normal;
margin-top: 0;
margin-bottom: 3px;
}
#main .gallery #form {
margin-bottom: 30px;
}
#main .list {
width: 100%;
margin: 0 auto 10px;
padding: 10px;
}
#main .list h3 {
font-size: 1.2em;
padding: 0 0 3px 5px;
margin: 0 0 10px 0;
border-bottom: 1px dotted #666;
}
#main .list h3 i {
padding-right: 3px;
}
#main .list div {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
width: 100%;
}
#main .list section {
margin: 0 .5% 30px;
width: 24%;
}
#main .list section a {
display: block;
border-radius: 5px;
box-shadow: 1px 1px 3px #CCC;
padding-bottom: 10px;
}
#main .list section a:hover {
background: #F0F0F0;
box-shadow: 0px 0px 0px;
}
#main .list section img{
width: 100%;
height: auto;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}
#main .list h4 {
padding: 0;
margin: 0;
}
#main .list ul {
padding: 10px;
font-size: .8em;
}
#main.medical .detail ul {
text-align: left;
}
#main.medical .detail li:last-child {
font-size: .8em;
}
#main .list .title {
color:#3E7603;
font-size: .85em;
padding: 5px 10px;
height: 65px;
}
#main .list a {
color: #333;
}
#main .past-link {
text-align: right;
margin: 0 1% 20px auto;
}
#main .past-link i {
padding-right: 3px;
}
#main .past-link a {
color: #333;
text-decoration: underline;
padding-bottom: 2px;
}
#main .bottom-links {
width: 100%;
display: flex;
justify-content: space-around;
align-items: center;
}
#main .bottom-links li {
border-left: 1px solid #CCC;
width: 100%;
text-align: center;
}
#main .bottom-links li:last-child {
border-right: 1px solid #CCC;	
font-size: .9em;
}
#main .bottom-links li a {
display: block;
color: #666;
}
.banners {
width: 938px;
margin: 30px auto;
}
.banners li {
margin: 7px 7px 0;
float: left;
max-width: 220px;
}
.banner-bottom {
margin: 30px auto;
text-align: center;
}
.banner-bottom li {
margin-bottom: 10px;
}
#main #post-129 #pankuzu li:nth-child(3) {
display: none;
}
.photo-links {
margin-bottom: 30px;
background: #E9FDD3;
padding: 10px;
}
.photo-links h4 {
font-size: 1.3em;
font-weight: normal;
margin-bottom: 15px;
margin-top: 0;
}
.photo-links li {
display: inline-block;
margin: 0 10px 3px 0;
}
.photo-links a {
display: block;
background: #666;
color: #FFF;
border-radius: 5px;
padding: 5px;
}
#main .photos-2 {
margin-bottom: 50px;
}
#main .photos-2 h4 {
color: #3E7603;;
margin-bottom: 15px;
font-size: 1.2em;
font-weight: normal;
text-align: center;
}
#main .photos-2 ul {
display: flex;
justify-content: flex-start;
flex-wrap: wrap;
}
#main .photos-2 li {
margin: 0 5px 5px;
}
#main .photos-2 li img {
border-radius: 5px;
}
#main .side ul li {
margin-bottom: 15px;
display: block;
}
#main .side ul li img{
width: 100%;
height: auto;
}
@media screen and (max-width: 1260px) {
img {
max-width: 100%;
height: auto;
width: auto;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#main,
#main #wrap,
#main .list {
width: 100%;
}
#main .gallery {
width: 70%;
margin: 0 1%;
}
#main .side {
width: 26%;
}
}
@media screen and (max-width:960px) {
#main {
padding-bottom: 0;
}
#main .list {
margin: 0 auto 40px;
font-size: .9em;
}
#main .list section {
width: 24.5%;
margin: 7px auto;
}
#main .list section a {
width: 100%;
}
#main .list ul {
padding: 8px;
font-size: .85em;
}
#main .bottom-links {
font-size: .9em;
}
.banners {
margin: 0 auto 20px;
width: 96%;
}
.banners li {
width: 23%;
margin: 7px 1%;
}
.banner-bottom {
width: 96%;
}
#main .photos-2 li {
width: 15%;
margin: 0 .5% 5px .5%;
}
}
@media screen and (max-width:768px) {
#main .gallery, #main .side {
width: 96%;
margin: 0 auto 30px;
}
#main .gallery .bottom .details:after {
content: "";
clear: both;
display: block;
}
#main .gallery .bottom .detail {
float: left;
width: 48%;
margin: 0 auto 10px;
height: auto;
}
#main .gallery .bottom .detail-2 {
float: right;
width: 48%;
margin: 0 auto 20px;
height: auto;
}
#main .gallery .bottom .banner {
margin: 20px auto;
text-align: center;
}
#main .gallery .bottom .banner h4 {
text-align: left;
}
#main .photos-2 li {
width: 24%;
}
#main .gallery .lineup {
display: none;
}
#main .list {
font-size: .75em;
}
#main .list section {
width: 48%;
height: 370px;
}
#main .list .title {
height: auto;
}
#main .list section figure, #main .list section ul {
margin: 0 auto;
max-width: 440px;
}
#main .list ul {
padding: 7px;
font-size: .8em;
}
#main .side ul {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
#main .side ul li {
margin-bottom: 15px;
display: inline-block;
width: 48%;
max-width: 316px;
}
}
@media screen and (max-width:600px) {
#main .gallery h3 {
font-size: 1.3em;
}
#main .gallery .bottom .detail,
#main .gallery .bottom .detail-2	{
font-size: .85em;
}
#main .list section {
height: 330px;
}
#main .list ul {
padding: 5px;
}
#main .past-link {
font-size: .9em;
}
#main .bottom-links {
font-size: .8em;
}
.banners li {
width: 48%;
}
}
@media screen and (max-width:480px) {
#main .gallery h3 {
font-size: 1.1em;
margin: 10px 0
}
#main .gallery .features {
font-size: .85em;
}
#main .gallery .list section {
width: 100%;
max-width: 440px;
height: auto;
}
#main .gallery .introduce figure .portrait {
max-width: 70%;
}
#main .list .title {
font-size: 1em;
}
#main .photos-2 h4{
font-size: .9em;
}
#main .side ul li {
width: 100%;
max-width: 316px;
}
}
@media screen and (max-width:400px) {
#main .gallery .bottom .detail, #main .gallery .bottom .detail-2 {
width: 96%;
margin: 0 auto 20px auto;
height: auto;
float: none;
}
}
@media screen and (max-width:320px) {
#main .gallery h3 {
font-size: 1.1em;
}
#main .gallery .list section {
width: 100%;
}
#main .gallery .bottom .banner {
width: auto;
}
}