@charset "UTF-8";
/*
 * Theme Name: manoii cascade style sheet
 * Version: 1.0.0
 * Description: まのいいりょうしのwebsiteのスタイルシート
 * Author: Taku Sugiyama
 *
 */

html{
  scroll-behavior: smooth;
}

 /* layout */
 div.container{
    display: flex;
    flex-wrap: wrap;

 }

 header{
    background-color: #3F729F;/*中縹*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:antiquewhite;
    padding:1rem;
    position: sticky;
    top: 0;
 }

 main{
    background-color: whitesmoke;
    flex: 3;
    min-width: 300px;
    box-shadow: 8px 0 15px -3px rgba(149, 157, 165, 0.3); 

 }

 aside{
    flex: 1;
    min-width: 200px;
    padding:2rem;
 }

 aside nav{
    background-color: white;
 }

 footer{
    background-color: #48392B;/*セピア*/
    color: antiquewhite;
    padding:2rem;
 }


 /* font */
html {
  font-size: 22px; 
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 0.9rem;
}

h1{
    font-size:1.7rem;
    opacity: 0.1;
    margin-top:0;
    margin-bottom:0;
}

h2{
    font-size: 1.2rem;
}

h3{
  font-size:1rem;
  margin-bottom:0;
}



/* appearance */

.menu-toggle {
  display: none;
}

main {
    line-height: 2;
    padding:7.5rem;
    padding-top:4rem;
}

main p {
  margin-top:0;
  margin-bottom: 1rem;
}

ul {
  list-style-type: none;
  margin:0;
  padding:0;
}

img {
    display: block;
}

/*header*/
header {
  z-index: 100;
}

header nav ul{
  display: flex;
  font-size:0.8rem;
}

header nav li a{
  margin-right:1.3rem;
  text-decoration: none;
  font-weight:900;
  color:antiquewhite;
  
}

header img {
  width:150px;
}

/*vision*/
div.vision{
  font-size:2rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
  background-color: #367963;/*フォレストグリーン*/
  color: antiquewhite;
  padding-top:3rem;
  padding-bottom:3rem;
  text-align: center;
}

div.vision ul {
  margin-top:1rem;
  font-size:1.2rem
}

div.vision a{
  text-decoration: none;
  color:antiquewhite;
}

div.vision a:link {
  color:antiquewhite;
  /*display: none;*/
}

/*about index*/
img#manoiikurashi {
  width:100%;
}


/*work*/
div.column{
  margin-bottom:5em;
}

div.link_to_portfolio{
  clear:both;
  text-align: center;
}

div#manoiiniwa img{
  float: right;
  max-width: 60%;
  margin-bottom:1rem;
  margin-left:1rem;
}

div#tochiokoshi img{
  float:right;
  max-width: 40%;
  margin-bottom:1rem;
  margin-left:1rem;
}

div#kokyupark img{
  max-width:100%
}

div#manoiiie img{
  width:80%;
  display: block; /* ブロック要素に変更 */
  margin: 0 auto; /* 左右の余白を自動で均等に設定 */
}

div#manoiiochakai img{
  display: block;
  text-align: center;
  width:40%;
}

/*philosophy*/
main#philosophy div.column{
  font-size:0.8em;
}

div.column span{
  font-weight:bold;
  color: #367963;
  font-size: 1rem;
}


/* aside */
aside img {
    max-width: 100%;
    height: auto;
    margin-top:0.5rem;
    margin-bottom: 0.5rem;
}

div.magazine_description{
  font-size:0.7rem;
  margin-top:0.7rem;
}

div.article{
  text-align:center;
}

div.article a {
  text-decoration: none;
  font-weight:bold;
}

div.article_date{
    font-size:0.7rem;
    margin-bottom:0.5rem;
}

div.article_author{
    font-size:0.7rem;
}


/*contct関連*/

div.confirm {
    background-color:#f0e5e5;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
}

div.contact {
  margin-bottom:1rem;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
textarea {
    resize: vertical;
    height: 200px;
}
.required::after {
    content: "【必須】";
    color: red;
    font-size: 0.7rem;
    margin-left: 5px;
}
.submit-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top:1.5rem;
}
.submit-button:hover {
    background-color: #0056b3;
}




/**
 * Simple Horizonatal Rule
 * =======================
*/
.hr-dots {
  border: 0;
  height: 1px;
  margin: 2.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;

  &::before {
    content: '•';
    font-size: 1em;
    letter-spacing: .75em;
    opacity: .75;
  }

}

/* 画面幅が768px以下のモバイルデバイスに適用 */
@media screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }

  h1 {
    font-size: 1.5rem;
  }

  /* ハンバーガーアイコンのデザイン */
  .menu-toggle {
    display:block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative; /* 子要素の位置基準 */
    z-index: 200; /* 他の要素より手前に表示 */
  }

  .menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: antiquewhite;
    margin: 5px 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out; /* アニメーション設定 */
  }

  /* メニューの初期状態（非表示） */
  .menu-content {
    position: fixed; /* 画面に固定 */
    top: 0;
    left: 100%; /* 左に完全に隠す */
    width: 100%;
    height: 100%;
    background-color: rgba(22, 56, 86, 0.9);
    transition: left 0.3s ease-in-out; /* スライドインアニメーション */
    z-index: 100;
    text-align:center;
  }

  .menu-content ul{
    display: block; 
    font-size:1.5rem;
    margin-top:5rem;
    line-height: 2;
  }

  /* JavaScriptで追加されるクラス */
  .menu-content.is-open {
    left: 0; 
  }
  .menu-toggle.is-open .bar:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.is-open .bar:nth-child(2) {
      opacity: 0;
  }
  .menu-toggle.is-open .bar:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
  }



  div.vision {
    font-size:1.8rem;
  }

  main{
    line-height: 2;
    padding:2rem;
    padding-top:1rem;
  }

}