@charset"UTF-8";

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    background-color: #f5f7fa;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #323232;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
    text-align: center;
    line-height: 2;
}

p {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #323232;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

img {
    width: 100%;
    height: auto;
}

ul {
    margin: 0;
    padding: 0;
}

ul li {
    list-style-type: none;
    padding: 0;
}

table {
    border-collapse: collapse;
}

input {
    cursor: pointer;
}

.inner {
    width: 1096px;
    margin: 0 auto;
}

.catch {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 6rem;
    color: #b4e1ff;
}

.sp {
    display: none;
}

/*---------------------ヘッダー---------------------*/

header {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    /*メニューを右端に置く方法その１*/
    align-items: center;
    background-color: #f5f7fa;
    z-index: 10;
    border-bottom: 1.5px solid #c3ebff;
    position: fixed;
    /*ヘッダーの位置を固定*/
    top: 0;
    /*ヘッダーの位置を固定（上0）*/
    left: 0;
    /*ヘッダーの位置を左固定（左0）*/
}
header .header-flex {
    display: flex;
}

header img {
    width: 160px;
    padding-bottom: 3.5px;
}

ul {
    display: flex;
    padding-top: 18px;
}

li {
    margin-left: 40px;
}

nav {
    margin-left: auto;
    /*メニューを右寄せ*/
}

header nav a {
    font-family: sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}

header a:hover {
    opacity: 0.5;
    border-bottom: none;
}

/*---------------------フッター---------------------*/

footer #copywright {
    margin: 50px 0;
}

footer #copywright p {
    text-align: right;
    font-size: 1.3rem;
    padding-top: 0.2rem;
}

/*---------------------ホーム---------------------*/

#home #kv-back {
    margin-top: -100px;
    padding-top: 100px;
}
#home #kv {
    width: 100%;
    height: 700px;
    margin: 100px auto 120px;
    background: url(img/main_back.jpg) no-repeat center center;

}

#home #kv .inner {
    padding-top: 530px;
    text-align: center;
}

#home #kv .inner p {
    font-size: 1.4rem;
    line-height: 2.5;
}

#home section {
    margin: 0 auto 100px;
}

#home section .catch {
    margin: 0 auto 30px;
}

/*---------------------works---------------------*/

#home #works {
    margin-top: -100px;
    padding-top: 100px;
}

#home #works .item-blk {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 30px;
}

#home #works .item {
    position: relative;
    width: 235px;
}

#home #works .item .photo {
    width: 100%;
    height: 235px;
    /*border: 1px solid #ddd;*/
    overflow: hidden;
}

#home #works .item .photo img {
    width: 100%;
    height: auto;
    transition: all 0.35s ease;
    transform: scale(1);
}
#home #works .item .photo:hover img {
    transform: scale(1.2);
}

#home #works .item .client {
    text-align: left;
    line-height: 1.5;
    margin: 8px 5px 0;
    font-size: 1.2rem;
    font-weight: 700;
}

#home #works .item .tool {
    text-align: left;
    line-height: 1.5;
    margin: 0 5px;
    font-size: 1.2rem;
    font-weight: normal;
}

/*---------------------about---------------------*/

#home #about {
    margin: -100px auto 80px;
    padding-top: 70px;
}
#home #about .catch {
    margin: 0 auto 10px;
}
#home #about .item-blk {
    display: flex;
    justify-content: space-between;
    margin: 0 auto 30px;
}
#home #about .works-content {
    margin: 0 auto 50px;
}
#home #about .item {
    position: relative;
    width: 335px;
    height: 335px;
    border:1.5px solid #c3ebff;
    border-radius: 50%;
    background-color: #fff;
}

#home #about .item .kinds {
    margin: 40px auto 15px;
    color: #005aa5;
    font-size: 2rem;
    font-weight: 700;
}

#home #about .item .text {
    margin: 12px auto;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: normal;
}

#home #about .item img {
    width: 100px;
}

#home #about .portrait img {
    margin-left: 25px;
    width: 230px;
}

#home #about .intr {
    margin-right: 20px;
    text-align: left;
}

#home #about .item-blk .intr .intr-flex {
    display: flex;
}

#home #about .intr .furigana {
    margin: 20px 0 0 0;
}

#home #about .intr .furigana p {
    margin-right: 140px;
    font-size: 1rem;
    line-height: 1;
    font-weight: 500;
}

#home #about .intr .namae {
    margin: 0 0 5px 0;
}

#home #about .intr .namae p {
    margin: 0 35px 0 0;
    font-size: 2rem;
    letter-spacing: 0.1em;
    line-height: 1.5;
    font-weight: 700;
}

#home #about .intr .words {
    margin-top: 30px;
    font-size: 1.4rem;
}

/*---------------------contact---------------------*/

#home #contact {
    margin-top: -100px;
    padding-top: 100px;
}
#home #contact .catch {
    margin: 0 auto;
}

#home #contact p {
    font-size: 1.2rem;
}
#home #contact p  span {
    color: #005aa5;
}
#home #contact form {
    margin-top: 50px;
}
#home #contact form dl {
    width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.4rem;
}
#home #contact form dt {
    width: 12em;
    margin: 0 0 30px;
    text-align: right;
}
#home #contact form dd {
    width: calc(100% - 13em);
    margin: 0 0 30px 1em;
    text-align: left;
    position: relative;
}
#home #contact form dd input[type="text"], 
#home #contact form dd input[type="email"] {
    width: 100%;
    height: 25px;
    border-radius: 5px;
  border: 1.5px solid #969696;
  text-indent: 0.5em;
}
#home #contact form dd textarea{
    width: 100%;
    height: 150px;
    border-radius: 5px;
    border: 1.5px solid #969696;
    padding: 0.5em 2px;
    text-indent: 0.5em;
}
#home #contact p span {
    font-size: 0.9em;
    color: #fff;
    background: #005aa5;
    margin: 0 0.2em;
    padding: 0 0.5em 0.2em;
    border-radius: 5px;
}
#home #contact form dt span {
    color: #fff;
    font-size: 0.8em;
    vertical-align: 0.1em;
    background: #005aa5;
    margin-left: 0.5em;
    padding: 0 0.5em 0.2em;
    border-radius: 5px;
}
::placeholder {
    color: #969696;
}
#home #contact form input[type="submit"] {
    padding: 4px 12px;
    border-radius: 5px;
    border: 2px solid #005aa5;
    background-color: #fff;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight:700;
    color: #005aa5;
    cursor: pointer;
    appearance: none;
}


/*---------------------トップへボタン---------------------*/

#home #pagetop {
    /* ①ボタンの色と文字の色とサイズ */
    margin: 100px auto 20px;
    color: #005aa5;
    font-size: 1.2rem;
    line-height: 1;

    /* ③次に作る上向きの三角と、TOPの文字の位置を揃えるためのcss */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#home #pagetop::before {
    /* ④絶対必要 */
    content: "";
    display: block;

    /* ⑤三角のサイズ */
    width: 12px;
    height: 12px;

    /* ⑥三角の線と回転角度 */
    border-top: 2.5px solid #005aa5;
    border-right: 2.5px solid #005aa5;
    transform: rotate(-45deg);
}


/*---------------------worksサブページ---------------------*/

#home #works-top {
    margin-top: -100px;
    padding-top: 100px;
}
#home #works-top #work01 {
    margin-top: 180px;
}
#home #works-top .workblock {
    margin-bottom: 100px;
}

#home #works-top .main-photo img {
    width: 800px;
}
#home #works-top .detail {
    width: 600px;
    margin: 25px auto 35px;
}
#home #works-top .detail .client {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}
#home #works-top .detail .client::after {
    display: block;
    width: 600px;
    height: 1px;
    margin: 7px auto 10px;
    background: #969696;
    content: "";
}
#home #works-top .detail .tool {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}
#home #works-top .explanation {
    width: 600px;
    margin: 0 auto 100px;
}
#home #works-top .explanation p {
    font-size: 1.3rem;
    line-height: 2;
    font-weight: normal;
}

/*------------------------------------------------------------------------
スマホ
------------------------------------------------------------------------*/

@media screen and (max-width: 430px) {
.sp {
    display: block;
}

.inner {
    width: 100%;
}

/*---------------------ヘッダー---------------------*/

header {
    height: 80px;
}
#nav-toggle {
    position: fixed;
    top: 25px;
    right: 25px;
    height: 32px;
    cursor: pointer;
    z-index: 1000;
}

#nav-toggle > div {
    position: relative;
    width: 36px;
}

#nav-toggle > div span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #969696;
    position: absolute;
}

#nav-toggle > div span:nth-child(1) {
    top: 0;
}

#nav-toggle > div span:nth-child(2) {
    top: 14px;
}

#nav-toggle > div span:nth-child(3) {
    top: 28px;
}

.open #nav-toggle > div span:nth-child(1) {
    top: 15px;
    transform: rotate(45deg);
    background: #fff;
    transition: transform .5s ease;
}

.open #nav-toggle > div span:nth-child(2) {
width: 0;
}

.open #nav-toggle > div span:nth-child(3) {
    top: 15px;
    transform: rotate(-45deg);
    background: #fff;
    transition: transform .5s ease;
}

.header-flex h1 img {
    padding-left: 25px;
}

header ul {
    background: #005aa5;
    position: fixed;
    width: 40%;
    padding-top: 100px;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 990;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .5s ease;
}

.open header ul {
    transform: translateX(0) !important;
}

header ul li {
    position: relative;
    margin: 0 25px 0 35px;
    text-align: left;
    transform: translateX(100%);
    transition: transform .5s ease;
}

.open header ul li {
    transform: translateX(0);
}

header ul a {
    display: inline-block;
    color: #fff;
    padding: 15px 0;
    font-size: 1.8rem;
}

/*---------------------フッター---------------------*/

footer #copywright {
    width: 94%;
    margin: 30px 0;
}

footer #copywright p {
    font-size: 1rem;
    padding: 0;
}
/*---------------------ホーム---------------------*/

#home #kv-back {
    margin-top: -80px;
    padding-top: 80px;
}
#home #kv {
    width: 100%;
    height: 350px;
    margin: 80px 0 40px;
    background: url(img/main_SMP.jpg) no-repeat center center;
    top: 0;
}

#home #kv .inner {
padding-top: 240px;
}

#home #kv .inner p {
    font-size: 1.1rem;
}

#home section {
    margin: 0 auto 30px;
}
#home section .catch {
    margin: 0 auto 10px;
    font-size: 3.5rem;

}

/*---------------------works---------------------*/

#home #works {
    margin-top: -80px;
    padding-top: 80px;
}

#home #works .item-blk {
width: 94%;
flex-wrap: wrap;
margin: 0 auto 10px;
}

#home #works .item {
    width: calc(50% - 10px);
    margin: 0 auto 10px;
}

#home #works .item .photo {
    height: auto;
}

#home #works .item .client {
    margin: 0 5px 0;
    font-size: 1.1rem;
}

#home #works .item .tool {
    margin: 0 5px 8px;
    font-size: 1.1rem;

}

/*---------------------about---------------------*/

#home #about {
    margin-top: -80px;
    padding-top: 80px;
}
#home #about .item-blk {
    width: 94%;
    display: block;
    flex-wrap: wrap;
    margin: 0 auto 10px;
}

#home #about .portrait img {
    margin: 0 auto 10px;
    width: 170px;
}

#home #about .intr {
    margin: 0 auto;
    text-align: center;
}

#home #about .intr .furigana {
    margin: 0 auto;
}


#home #about .intr .furigana p {
    margin: 0 auto;
}

#home #about .intr .furigana p:nth-child(1) {
margin-right: 5em;

}
#home #about .intr .furigana p:nth-child(2) {
    margin-left: 5em;
}

#home #about .intr .namae {
    margin: 0 auto;
}

#home #about .intr .namae p {
    margin: 0 auto;
    font-size: 1.8rem;
    letter-spacing: 0.05em;

}
#home #about .intr .namae p:nth-child(1) {
    margin-right: 0.5em;

}
#home #about .intr .namae p:nth-child(2) {
    margin-left: 0.5em;

}

#home #about .intr .words {
    margin: 15px auto 30px;
    font-size: 1.2rem;
}

#home #about .works-content {
    margin: 0 auto -20px;
}
#home #about .item {
    margin: 0 auto 15px;
    width: 265px;
    height: 265px;
    border-radius: 50%;
    background-color: #fff;
}

#home #about .item .kinds {
    margin: 15px auto 10px;
    padding-top: 15px;
    color: #005aa5;
    font-size: 1.8rem;
    font-weight: 700;
}

#home #about .item .text {
    margin: 5px auto;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: normal;
}

#home #about .item img {
    width: 80px;
}

/*---------------------contact---------------------*/

#home #contact {
    margin-top: -80px;
    padding-top: 80px;
}

#home #contact p {
    width: 90%;
    margin: 0 auto 15px;
    font-size: 1.1rem;
}

#home #contact form {
width: 94%;
margin: 0 auto;
}
#home #contact form dl {
    display: block;
    width: 100%;
    /*width: 600px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    font-size: 1.4rem;*/
}
#home #contact form dt {
    margin: 0 0 3px;
    text-align: left;
    /*width: 12em;
    text-align: right;*/
}
#home #contact form dd {
    width: 100%;
    margin: 0 0 20px;
    /*width: calc(100% - 13em);
    margin: 0 0 30px 1em;
    text-align: left;
    position: relative;*/
}

#home #contact form dd input[type="text"], 
#home #contact form dd input[type="email"] {
    width: 98%;
}

#home #contact form dd textarea{
    width: 98%;
}
/*#home #contact form dd input[type="text"], 
#home #contact form dd input[type="email"] {
    width: 100%;
    height: 25px;
    border-radius: 5px;
  border: 1.5px solid #969696;
  text-indent: 0.5em;
}
#home #contact form dd textarea{
    width: 100%;
    height: 80px;
    border-radius: 5px;
    border: 1.5px solid #969696;
    padding: 0.5em 2px;
    text-indent: 0.5em;
}
#home #contact p span {
    font-size: 0.9em;
    color: #fff;
    background: #005aa5;
    margin: 0 0.2em;
    padding: 0 0.5em 0.2em;
    border-radius: 5px;
}
#home #contact form dt span {
    color: #fff;
    font-size: 0.8em;
    vertical-align: 0.1em;
    background: #005aa5;
    margin-left: 0.5em;
    padding: 0 0.5em 0.2em;
    border-radius: 5px;
}
::placeholder {
    color: #969696;
}
#home #contact form input[type="submit"] {
    padding: 4px 12px;
    border-radius: 5px;
    border: 2px solid #005aa5;
    background-color: #fff;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    font-weight:700;
    color: #005aa5;
    cursor: pointer;
    appearance: none;
}*/

/*---------------------トップへボタン---------------------*/

#home #pagetop {
    margin: 60px auto 50px;
}

/*---------------------worksサブページ---------------------*/

#home #works-top #work01 {
    margin-top: 80px;
}
#home #works-top {
    margin-top: -80px;
    padding-top: 80px;
}
#home #works-top .main-photo {
    width: 100%;
    margin: 0 0 25px;
    top: 0;
}
#home #works-top .main-photo img {
    width: 100%;
    height: auto;
}
#home #works-top .detail {
    width: 94%;
    margin: 0 auto 35px;
}
#home #works-top .detail .client {
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}
#home #works-top .detail .client::after {
    display: block;
    width: 95%;
    height: 1px;
    margin: 7px auto 10px;
    background: #969696;
    content: "";
}
#home #works-top .detail .tool {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: 700;
}
#home #works-top .explanation {
    width: 90%;
    margin: 0 auto 100px;
}
#home #works-top .explanation p {
    font-size: 1.2rem;
    line-height: 2;
    font-weight: 400;
}

}
