@charset "utf-8";

body {
    background-color: #fff;
    color: #333;
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
        /* 全体の行間 */
        line-height:1.8
}
    /* レスポンシブ対応させるため幅と高さを指定 */
img {
    max-width: 100%;
    height: auto;
}
a {
    color: #333;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


/* headerはここから */
header {
    text-align: center;
}

header h1 {
    margin: 24px auto 40px;
    text-align: center;
}

.nav-menu {
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu ul {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.nav-menu ul li {
    font-size: 38px;
    text-align: center;
    width: 200px;
}

/* main画像はここから */
.main-photo {
    background-color: #a3d199;
}

.photo-inner {
    max-width: 1200px;
    margin: 0 auto;

}

.main-photo img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

/* main画像はここから */
.content-wp {
    max-width: 1200px;
    margin: 0 auto;
}

.concept {
    text-align: center;
    border-bottom: #b5b5b5 1px solid;
    margin-top: 64px;
    margin-bottom: 64px;
}

.concept p {
    font-size: 18px;
    margin-bottom: 24px;
}

.concept span {
    /* インライン要素をブロックに変えます縦に並ぶ */
    display: block;
    margin-top: 32px;
    margin-bottom: 32px;
}

/* boxはここから */
.photo-area {
    max-width: 100%;
    margin: 0 auto;
}

.photo-area ul {
    display: flex;
    justify-content: space-between;
    margin-bottom: 56px;
}

h2{
        text-align: center;
    font-size: 48px;
    margin-bottom: 64px;

}
 h3 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 64px;
}

/* 背景を100％ */
.product-area {
    width: 100%;
    background-color: #d6efd1;
    padding: 64px 0px;
}

.product-inner {
    max-width: 1200px;/* 必要に応じて親要素の幅を制限する */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
}

.product-inner div {
    margin-right: 10px;
}

.product-inner div img {
    width: 243px;
}
.product-inner div p{
    max-width: 300px;
}
/* skill */
.skill-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0px;
}

.skill-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;/* 垂直方向の上揃え */
}

.text-box p {
    margin-bottom: 40px;
    font-size: 18px;
}

.text-box p span {
    font-weight: bold;
}

.text-box a {
    display: inline-block;
    background-color: #d6efd1;
    padding: 15px;
    margin-top: 1em;
    border-radius: 30px;
    transition: all 0.8s ease;
}

.text-box a:hover {
    background-color: #a3d199;
    text-decoration: none;
}

/* footer */
footer {
    background-color: #d6efd1;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0px 40px;
}

footer ul.sns {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

footer ul.sns li {
    padding-right: 24px;
}

footer ul.sns li:last-of-type {
    padding-right: 0px;
}

footer ul.sns li img {
    max-width: 50px;
}

footer ul.nav {
    display: flex;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 58px;
}

footer ul.nav li {
    padding-right: 30px;
}

footer ul.nav li:last-of-type {
    padding-right: 0px;
}

small {
    text-align: center;
    display: block;
    font-size: 18px;
}

/*ここからタブレットサイズ（画面の横幅が560px〜959px）*/

@media screen and (max-width: 959px){

.nav-menu ul li {
    font-size: 32px;
}
h2{
     font-size: 40px;
    margin-bottom: 56px;

}
h3 {
    font-size: 36px;
    margin-bottom: 56px;
}
.text-box p, .product-inner, .concept p {
    font-size: 16px;
}
.content-wp{
    width: 90%;
    margin: 0 auto;
}
.photo-area ul li img{
    width: 200px;
}
.product-inner{
    width: 90%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    /* アイテムを折り返します */
}
.product-inner div {
    margin-right: 20px;
    margin-bottom: 20px;
}
.skill-area{
    width: 90%;
}
footer ul.nav{
    font-size: 20px;
}
}
@media screen and (max-width: 559px){

  .nav-menu ul li {
    font-size: 28px;
}
.photo-inner{
    width: 100%;
}
h2{
        font-size: 36px;
    margin-bottom: 48px;

} h3 {
    font-size: 32px;
    margin-bottom: 48px;

}
.concept{
    margin-top: 48px;
    margin-bottom: 48px;
}
.product-area{
padding: 48px 0px;
}
.product-inner {
        width: 90%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
        .product-inner div {
        margin-right: 0px;
        margin-bottom: 20px;
    }
    .product-inner div p {
    max-width: 243px;
}
/* skill */
.skill-area {
    padding: 52px 0px;
}
.skill-inner{
    display: flex;
    flex-direction: column-reverse;/* 必要に応じて逆方向の設定を変更 */
    align-items: center; /* 垂直方向に中央揃え */
}

.text-box a{
    width: 100%;
    text-align: center;
}
.text-box p {
    margin-bottom: 32px;
}
/* footer */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 52px 0px 32px;
}
footer ul.sns li img {
    max-width:35px
}
/* 改行をなくす */
.sp-none{
    display: none;
}
}