@charset "UTF-8";

/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}



/* 共通部分 */

html {
  font-size: 100%;
}
body {
  font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.7;
  color: #333;
}
img {
  max-width: 100%;
}

/* iframe */
iframe {
  width: 100%;
}


/* HEADER ---------- */

.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 4%;
}

#home {
  background-image: url(../images/naomi2.jpg);
  background-color: #fff;
  min-height: 90vh;
  background-size: cover;
  background-position: center top;
}

.page-header {
  display: flex;
  justify-content: space-between;
}
.icon-box {
  display: flex;
}
/* .icon-box canvas {
  background-color: pink;
} */
.icon-box h2 {
  color: #0bd;
  font-size: 1.25rem;
  line-height: 100px;
  height: 100px;
  margin-left: 10px;
}
/* .icon-box h2 a {
  color: #0bd;
} */
.main-nav {
  display: flex;
  /* color: #555; */
  font-size: 1.125rem;
  text-transform: uppercase;
  margin-top: 34px;
  list-style: none;
}
.main-nav li {
  margin-left: 30px;
}
.main-nav a {
  color: #0bd;
}

/* 見出し */
.page-title {
  color:rgb(246, 45, 145);
  font-size: 4rem;
  line-height: 1;
  font-family: 'Philosopher', serif;
  font-weight: normal;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}
.page-subtitle {
  margin: 40px 30px;
  color: #555;
  font-size: 2rem;
  font-weight: 700;
}
.message0 {
  font-size: 1.125rem;
  /* line-height: 1; */
  color: rgb(241, 57, 149);
  padding: 0 8px 8px;
  border-bottom: 2px solid rgb(241, 57, 149) ;
  font-weight: normal;
  text-align: center;
}
/* ホームContent */

.home-content .content-box {
  display: block;
  margin: 30px 15vw;
}
.home-content .content-box p {
  color: #444;
  text-align: left;
  font-size: 1.125rem;
  margin: 10px 0 20px;
}

/* Contact ボタン */

.button0 {
  display:inline-block;
  font-size: 1.375rem;
  background: rgb(53, 215, 94);
  color: #fff;
  border-radius: 5px;
  padding: 8px 30px;
  width: 120px;
  text-align: center;
  display: block;
  margin: 0 auto;
}
.button {
  display:inline-block;
  font-size: 1.2rem;
  background: rgb(53, 215, 94);
  color: #fff;
  border-radius: 5px;
  padding: 5px 25px;
  margin: 10px;
  width: 100px;
  height: 30px;
  display: block;
}

.button:hover {
  cursor: pointer;
}
.below {
  font-size: 24px;
  color: red;
  margin-left: 60px;
  padding: 20px;
}


/* NEWS -------------- */

#news {
  margin-top: 0;
  display: flex;
  width: 100%;
  /* background-color: pink; */
}
#latest-news {
  width: 70%;
}
#news .container {
  margin-top: 10px;
  width: 95%;
  background-color: #fff;
}
#news .container .item p {
  margin-top: 40px;
  font-family: 'Philosopher', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #0bd;
  text-align: left;
}
#news .container .comment {
  display: block;
  width: 90%;
  height: auto;
  line-height: 1.5rem;
  padding: 5px 20px;
  margin-bottom: 15px;
  box-sizing: border-box;
  border: 1px solid #444;
}
#news .container .image {
  display: block;
  width: 90%;
  height: 200px;
  background-color: antiquewhite;
}
.coding-pic {
  width: 100%;
  height: auto;
  position: relative;
}
.coding-pic .swiper-container {
  display: flex;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.coding-pic .swiper-wrapper {
  background-color: #fff;
}
.coding-pic .swiper-slide {
  width: 100%;
  height: auto;
}
#news .container .image-mono img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: 50% 30%;
}
#news .container .image-reiwa p {
  font-weight: bold;
  text-align: center;
}
#news .container .image-reiwa .word {
  width: 90%;
  height: 200px;
  font-size: 12px;
  overflow-y: scroll;
}



#sns {
  width: 30%;
}
#sns .sns-box {
  margin-bottom: 40px;
}
#sns .sns-box .item {
  font-family: 'Philosopher', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: #0bd;
  text-align: left;
}
#sns .sns-box .box img {
  display: block;
  width: 100%;
  height: 275px;
  object-fit: cover;
  object-position: 30% 80% ;
  background-color: antiquewhite;
}
#sns .sns-box .fb-page {
  display: block;
  width: 100%;
  height: 275px;
  /* object-fit: cover;
  object-position: 30% 80% ; */
  background-color: antiquewhite;
}


/* コミュニケーション */

#communicate {
  margin-top: 50px;
  display: flex;
  width: 100%;
  height: 650px;
  /* background-color: #fb9b9b; */
}

#profile {
  width: 50%;
  height: auto;
  padding-bottom: 20px;
  /* background-color: red; */
}
#profile img {
  width: 120px;
}
#profile .my-message {
  width: 80%;
  height: 80px;
  padding: 8px ;
  overflow-y: scroll;
  border: 1px solid #333;
  background-color: pink;
}
#profile .my-message p {
  font-size: 1rem;
  text-align: left;
  color: red;
}


#contact {
  width: 50%;
  height: 600px;
  /* background-color: antiquewhite; */
}

/*オリジナルの Contact Form */

#contact form ul {
  min-width: 30%;
  padding: 20px;
  background-color: rgb(226, 243, 128);
}
#contact form .form-item li {
  list-style: none;
  padding-bottom: 4px;
} 
label {
  font-size: 1.125rem;
  margin-bottom: 2px;
  display: block;
}
input[type="text"],
input[type="email"],
textarea {
  margin-left: 5%;
  background: rgba(255, 255, 255, 0.921);
  border: 1px #fff solid;
  border-radius: 3px;
  padding: 10px;
  font-size: 1rem;
}
input[type="text"],
input[type="email"] {
  width: 90%;
  max-width: 240px;
  margin-bottom: 12px;
}
textarea {
  width: 80%;
  height: 6rem;
}
input[type="submit"] {
  display: block;
  margin: 0 auto;
  border: none;
  cursor: pointer;
  line-height: 1;
}

#contact .thanks {
  display: none;
}
#contact .on {
  display: block;
}
#contact .thanks p {
  font-size: 20px;
  font-weight: 700;
  margin-left: 40px;
  margin-top: 4px;
}


.posts {
  display: block;
  width: 50%;
  margin-left: auto;
  height: 100px;
  overflow-y: scroll;
  color: green;
  /* background-color: skyblue; */
}


/* ホームタウン */

#hometown-info {
  margin-top: 75px;
  display: flex;
  justify-content: space-between;
}
#hometown-info .info {
  width: 55%;
}
#hometown-info .info1, .info2 {
  display: flex;
  padding: 5px 0 5px 5px;
  border: 1px solid #555 ;
  margin: 0 15px 15px 0;
}
#hometown-info .info1 .pic1 {
  display: block;
  width: 50%;
  height: 160px;
  object-fit: cover;
  background-color: antiquewhite;
}
#hometown-info .info1 .comment1 {
  width: 50%;
  height: 160px;
  padding: 10px 0 0 10px;
  overflow-y: scroll;
}
#hometown-info .info2 .pic2 {
  display: block;
  width: 50%;
  height: 160px;
  object-fit: cover;
  background-color: antiquewhite;
}
#hometown-info .info2 .comment2 {
  width: 50%;
  height: 160px;
  padding: 10px 0 0 10px;
  overflow-y: scroll;
}

#hometown-info .map {
  width: 40%;
  height: 400px;
  /* background-color:antiquewhite; */
}


/* フッター */

footer {
  display: inline-block;
  margin-top: 50px;
  width: 100%;
  height: 40px;
  background-color: rgb(2, 70, 83);
  text-align: center;
}
footer a {
  text-decoration: none;
  color: #0bd;
}


/* 交流作りページーーーーー */

#koryu-top {
  background-image: url(../images/kahoku.jpg);
  min-height: 40vh;
  background-size: cover;
  background-position: 50% 0%;
}
.grid {
display: grid;
gap: 40px 60px;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
margin-top: 6%;
}
#koryu-top .item a {
  cursor: pointer;
}



/* モノ造りページ ーーーー*/

#mono-top {
  background-image: url(../images/craft.jpg);
  background-color: #fff;
  min-height: 40vh;
}
.big-bg2 {
  background-size: cover;
  background-position: center top;
}
.grid {
  display: grid;
  gap: 40px 60px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 8%;
  }
.grid .item img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
}


/* 礼和創りページーーーー */

#reiwa-top {
  background-image: url(../images/carp.jpg);
  background-color: #fff;
  height: 40vh;
}
.big-bg3 {
  background-size: cover;
  background-position: center center;
}
.grid {
  display: grid;
  gap: 40px 60px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 8%;
  }
.grid .item p {
  font-weight: bold;
  margin-bottom: 10px;
}
.grid .item .word {
  height: 200px;
  overflow-y: scroll;
}
.grid .item a {
  color: #0bd;
}


/* モバイル版
------------------------------- */
@media (max-width: 600px) {
  .page-title {
      font-size: 2.5rem;
  }
  .page-header {
    flex-direction: column;
    align-items: center;
  }

  /* HEADER */

  .button {
    display:inline-block;
    font-size: 1.125rem;
    background: rgb(102, 209, 128);
    color: #fff;
    border-radius: 5px;
    padding: 5px 20px;
    margin-top: 10px;
  }


  .page-header {
    display: block;
  }
  .icon-box {
    display: block;
  }
  .icon-box canvas {
    display: block;
    margin: 0 auto;
  }
  .icon-box h2 {
    color: #0bd;
    line-height: 60px;
    height: 60px;
    text-align: center;
  }
  .icon-box h2 a {
    color: #0bd;
  }
  .page-header .main-nav {
    display: block;
    margin: 0 auto;
  }
  .main-nav {
    text-align: center;
    display: flex;
    list-style: none;
  }
  .main-nav li {
    font-size: 1.25rem;
  }
  .main-nav a {
    color: #0bd;
  }


  #news {
    margin-top: 100px;
    display: block;
    width: 100%;
  }
  #latest-news {
    display: block;
    width: 100%;
  }
  #news .container {
    display: block;
    margin-left: 5%;
    /* margin: 0 auto; */
    width: 100%;
    background-color: #fff;
  }
  #sns {
    width: 70%;
    margin: 150px auto;
  }
  #sns .sns-box {
    margin-bottom: 50px;
  }


  #communicate {
    margin-top: 150px;
    display: block;
    width: 100%;
    height: auto;
  }
  #profile {
    width: 80%;
    margin: 0 auto;
  }

  #contact {
    width: 75%;
    max-width: 80vw;
    margin: 120px auto;
    background-color: rgb(246, 238, 228);
  }

  .posts {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
  }


  #hometown-info {
    display: block;
  }
  #hometown-info .info {
    width: 95%;
    margin-top: 150px;
    margin: 0 auto;
  }

  #hometown-info .map {
    width: 85%;
    height: 450px;
    margin: 10px auto;
    /* background-color:antiquewhite; */
  }

}





















