asada

ページ作成

  1 +header {
  2 + position: static;
  3 + padding: 10px 0 6px 0;
  4 +}
  5 +
  6 +header .logo {
  7 + text-align: center;
  8 +}
  9 +
  10 +@media only screen and (max-width: 767px) {
  11 + main {
  12 + padding-left: 3%;
  13 + padding-right: 3%;
  14 + }
  15 +}
  16 +
  17 +main .container {
  18 + max-width: 970px;
  19 +}
  20 +
  21 +main h1 {
  22 + font-weight: normal;
  23 + color: #62bcc3;
  24 + font-size: 3.4rem;
  25 +}
  26 +
  27 +@media only screen and (max-width: 767px) {
  28 + main h1 {
  29 + font-size: 2.2rem;
  30 + }
  31 +}
  32 +
  33 +main h1 p {
  34 + border-bottom: 2px #62bcc3 solid;
  35 + padding-bottom: 15px;
  36 +}
  37 +
  38 +main h1 p.small {
  39 + font-size: 2.8rem;
  40 + margin-bottom: 8px;
  41 + margin-top: 20px;
  42 +}
  43 +
  44 +@media only screen and (max-width: 767px) {
  45 + main h1 p.small {
  46 + font-size: 1.8rem;
  47 + }
  48 +}
  49 +
  50 +main h1 p.big {
  51 + margin-bottom: 20px;
  52 +}
  53 +
  54 +main p.catch {
  55 + font-size: 2.0rem;
  56 +}
  57 +
  58 +@media only screen and (max-width: 767px) {
  59 + main p.catch {
  60 + font-size: 1.8rem;
  61 + line-height: 1.7;
  62 + }
  63 +}
  64 +
  65 +main p.writer {
  66 + font-size: 1.2rem;
  67 + text-align: right;
  68 +}
  69 +
  70 +@media only screen and (max-width: 767px) {
  71 + main p.writer {
  72 + margin-top: 2.0rem;
  73 + }
  74 +}
  75 +
  76 +main .block {
  77 + margin-top: 4.0rem;
  78 +}
  79 +
  80 +main .block h2 {
  81 + background-color: #62bcc3;
  82 + color: #fff;
  83 + padding: 8px;
  84 + font-size: 2.2rem;
  85 + margin-bottom: 20px;
  86 +}
  87 +
  88 +main .block p {
  89 + font-weight: 300;
  90 + line-height: 1.7;
  91 +}
  92 +
  93 +main .block p.note {
  94 + font-size: 1.2rem;
  95 +}
  96 +
  97 +main #firstSection > div:nth-child(1) {
  98 + width: 26%;
  99 +}
  100 +
  101 +@media only screen and (max-width: 767px) {
  102 + main #firstSection > div:nth-child(1) {
  103 + width: 100%;
  104 + order: 2;
  105 + }
  106 +}
  107 +
  108 +main #firstSection > div:nth-child(2) {
  109 + width: 71%;
  110 +}
  111 +
  112 +@media only screen and (max-width: 767px) {
  113 + main #firstSection > div:nth-child(2) {
  114 + width: 100%;
  115 + }
  116 +}
  117 +
  118 +main #firstSection .prof {
  119 + margin-bottom: 30px;
  120 +}
  121 +
  122 +@media only screen and (max-width: 767px) {
  123 + main #firstSection .prof figure {
  124 + text-align: center;
  125 + }
  126 +}
  127 +
  128 +main #firstSection .prof p {
  129 + font-size: 1.3rem;
  130 + line-height: 1.7;
  131 +}
  132 +
  133 +main #firstSection .prof p.name {
  134 + font-size: 1.8rem;
  135 +}
  136 +
  137 +main #firstSection #healsio > div:nth-child(1) {
  138 + width: 62%;
  139 +}
  140 +
  141 +@media only screen and (max-width: 767px) {
  142 + main #firstSection #healsio > div:nth-child(1) {
  143 + width: 100%;
  144 + }
  145 +}
  146 +
  147 +main #firstSection #healsio > div:nth-child(2) {
  148 + width: 35%;
  149 +}
  150 +
  151 +@media only screen and (max-width: 767px) {
  152 + main #firstSection #healsio > div:nth-child(2) {
  153 + width: 100%;
  154 + margin-bottom: 20px;
  155 + }
  156 + main #firstSection #healsio > div:nth-child(2) figure {
  157 + text-align: center;
  158 + margin-top: 20px;
  159 + }
  160 +}
  161 +
  162 +main #energy {
  163 + margin-top: 40px;
  164 +}
  165 +
  166 +main #energy > div:nth-child(1) {
  167 + width: 35%;
  168 +}
  169 +
  170 +@media only screen and (max-width: 767px) {
  171 + main #energy > div:nth-child(1) {
  172 + width: 100%;
  173 + margin-bottom: 20px;
  174 + }
  175 +}
  176 +
  177 +main #energy > div:nth-child(2) {
  178 + width: 62%;
  179 +}
  180 +
  181 +@media only screen and (max-width: 767px) {
  182 + main #energy > div:nth-child(2) {
  183 + width: 100%;
  184 + }
  185 +}
  186 +
  187 +main #comment {
  188 + max-width: 680px;
  189 + margin-left: auto;
  190 + margin-right: auto;
  191 + margin-top: 40px;
  192 +}
  193 +
  194 +main #comment > div {
  195 + width: 42.5%;
  196 +}
  197 +
  198 +@media only screen and (max-width: 767px) {
  199 + main #comment > div {
  200 + width: 100%;
  201 + }
  202 +}
  203 +
  204 +main #comment > div img {
  205 + margin-left: 30px;
  206 +}
  207 +
  208 +main #comment > div p.remark {
  209 + padding: 40px 20px 10px 20px;
  210 + position: relative;
  211 +}
  212 +
  213 +main #comment > div p.remark:before {
  214 + content: "";
  215 + display: block;
  216 + border: 2px #62bcc3 solid;
  217 + width: 100%;
  218 + height: 100%;
  219 + position: absolute;
  220 + left: 0;
  221 + top: 20px;
  222 +}
  223 +
  224 +main .contact p {
  225 + font-size: 1.4rem;
  226 + line-height: 1.7;
  227 + margin-top: 40px;
  228 +}
  229 +
  230 +main .back {
  231 + text-align: center;
  232 + margin-top: 40px;
  233 +}
  234 +
  235 +@media only screen and (max-width: 767px) {
  236 + main .back img {
  237 + max-width: 100%;
  238 + }
  239 +}
  1 +
  2 +header{
  3 + position: static;
  4 + padding: 10px 0 6px 0;
  5 + .logo{
  6 + text-align: center;
  7 + }
  8 +}
  9 +main{
  10 + @media only screen and (max-width: 767px){
  11 + padding-left: 3%;
  12 + padding-right: 3%;
  13 + }
  14 + .container{
  15 + max-width: 970px;
  16 + }
  17 + h1{
  18 + font-weight: normal;
  19 + color: #62bcc3;
  20 + font-size: 3.4rem;
  21 + @media only screen and (max-width: 767px){
  22 + font-size: 2.2rem;
  23 + }
  24 + p{
  25 + border-bottom: 2px #62bcc3 solid;
  26 + padding-bottom: 15px;
  27 + }
  28 + p.small{
  29 + font-size: 2.8rem;
  30 + margin-bottom: 8px;
  31 + margin-top: 20px;
  32 + @media only screen and (max-width: 767px){
  33 + font-size: 1.8rem;
  34 + }
  35 + }
  36 + p.big{
  37 + margin-bottom: 20px;
  38 + }
  39 + }
  40 + p.catch{
  41 + font-size: 2.0rem;
  42 + @media only screen and (max-width: 767px){
  43 + font-size: 1.8rem;
  44 + line-height: 1.7;
  45 + }
  46 + }
  47 + p.writer{
  48 + font-size: 1.2rem;
  49 + text-align: right;
  50 + @media only screen and (max-width: 767px){
  51 + margin-top: 2.0rem;
  52 + }
  53 + }
  54 + .block{
  55 + margin-top: 4.0rem;
  56 + h2{
  57 + background-color: #62bcc3;
  58 + color: #fff;
  59 + padding: 8px;
  60 + font-size: 2.2rem;
  61 + margin-bottom: 20px;
  62 + }
  63 + p{
  64 + font-weight: 300;
  65 + line-height: 1.7;
  66 + }
  67 + p.note{
  68 + font-size: 1.2rem;
  69 + }
  70 + }
  71 + #firstSection{
  72 + >div:nth-child(1){
  73 + width: 26%;
  74 + @media only screen and (max-width: 767px){
  75 + width: 100%;
  76 + order: 2;
  77 + }
  78 + }
  79 + >div:nth-child(2){
  80 + width: 71%;
  81 + @media only screen and (max-width: 767px){
  82 + width: 100%;
  83 + }
  84 + }
  85 + .prof{
  86 + margin-bottom: 30px;
  87 + @media only screen and (max-width: 767px){
  88 + figure{
  89 + text-align: center;
  90 + }
  91 + }
  92 + p{
  93 + font-size: 1.3rem;
  94 + line-height: 1.7;
  95 + }
  96 + p.name{
  97 + font-size: 1.8rem;
  98 + }
  99 + }
  100 + #healsio{
  101 + >div:nth-child(1){
  102 + width: 62%;
  103 + @media only screen and (max-width: 767px){
  104 + width: 100%;
  105 + }
  106 + }
  107 + >div:nth-child(2){
  108 + width: 35%;
  109 + @media only screen and (max-width: 767px){
  110 + width: 100%;
  111 + margin-bottom: 20px;
  112 + figure{
  113 + text-align: center;
  114 + margin-top: 20px;
  115 + }
  116 + }
  117 + }
  118 + }
  119 + }
  120 + #energy{
  121 + margin-top: 40px;
  122 + >div:nth-child(1){
  123 + width: 35%;
  124 + @media only screen and (max-width: 767px){
  125 + width: 100%;
  126 + margin-bottom: 20px;
  127 + }
  128 + }
  129 + >div:nth-child(2){
  130 + width: 62%;
  131 + @media only screen and (max-width: 767px){
  132 + width: 100%;
  133 + }
  134 + }
  135 + }
  136 + #comment{
  137 + max-width: 680px;
  138 + margin-left: auto;
  139 + margin-right: auto;
  140 + margin-top: 40px;
  141 + >div{
  142 + width: 42.5%;
  143 + @media only screen and (max-width: 767px){
  144 + width: 100%;
  145 + }
  146 + img{
  147 + margin-left: 30px;
  148 + }
  149 + p.remark{
  150 + padding: 40px 20px 10px 20px;
  151 + position: relative;
  152 + &:before{
  153 + content: "";
  154 + display: block;
  155 + border:2px #62bcc3 solid;
  156 + width: 100%;
  157 + height: 100%;
  158 + position: absolute;
  159 + left: 0;
  160 + top: 20px;
  161 + }
  162 + }
  163 + }
  164 + }
  165 + .contact{
  166 + p{
  167 + font-size: 1.4rem;
  168 + line-height: 1.7;
  169 + margin-top: 40px;
  170 + }
  171 + }
  172 + .back{
  173 + text-align: center;
  174 + margin-top: 40px;
  175 + @media only screen and (max-width: 767px){
  176 + img{
  177 + max-width: 100%;
  178 + }
  179 + }
  180 + }
  181 +}
This diff is collapsed. Click to expand it.